xref: /openbmc/linux/crypto/testmgr.h (revision 407e7517)
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 		.np	= 2,
1056 		.tap	= { 28, 28 },
1057 	}, {
1058 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1059 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1060 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1061 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1062 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1063 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1064 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1065 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1066 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1067 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1068 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1069 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1070 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1071 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1072 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1073 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1074 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1075 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1076 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1077 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1078 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1079 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1080 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1081 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1082 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1083 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1084 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1085 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1086 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1087 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1088 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1089 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1090 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1091 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1092 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1093 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1094 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1095 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1096 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1097 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1098 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1099 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1100 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1101 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1102 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1103 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1104 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1105 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1106 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1107 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1108 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1109 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1110 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1111 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1112 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1113 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1114 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1115 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1116 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1117 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1118 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1119 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1120 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1121 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1122 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1123 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1124 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1125 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1126 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1127 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1128 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1129 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1130 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1131 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1132 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1133 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1134 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1135 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1136 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1137 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1138 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1139 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1140 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1141 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1142 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1143 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1144 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1145 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1146 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1147 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1148 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1149 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1150 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1151 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1152 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1153 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1154 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1155 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1156 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1157 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1158 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1159 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1160 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1161 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1162 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1163 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1164 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1165 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1166 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1167 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1168 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1169 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1170 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1171 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1172 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1173 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1174 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1175 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1176 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1177 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1178 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1179 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1180 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1181 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1182 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1183 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1184 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1185 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1186 		.psize     = 1023,
1187 		.digest    = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
1188 			     "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
1189 			     "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
1190 			     "\xb6\x79\x10\x72",
1191 	},
1192 };
1193 
1194 static const struct hash_testvec sha3_256_tv_template[] = {
1195 	{
1196 		.plaintext = "",
1197 		.digest	= "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
1198 				"\x51\xc1\x47\x56\xa0\x61\xd6\x62"
1199 				"\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
1200 				"\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
1201 	}, {
1202 		.plaintext = "a",
1203 		.psize	= 1,
1204 		.digest	= "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
1205 				"\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
1206 				"\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
1207 				"\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
1208 	}, {
1209 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1210 			     "jklmklmnlmnomnopnopq",
1211 		.psize	= 56,
1212 		.digest	= "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
1213 				"\x49\x10\x03\x76\xa8\x23\x5e\x2c"
1214 				"\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
1215 				"\xdb\x32\xdd\x97\x49\x6d\x33\x76",
1216 		.np	= 2,
1217 		.tap	= { 28, 28 },
1218 	}, {
1219 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1220 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1221 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1222 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1223 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1224 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1225 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1226 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1227 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1228 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1229 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1230 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1231 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1232 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1233 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1234 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1235 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1236 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1237 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1238 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1239 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1240 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1241 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1242 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1243 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1244 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1245 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1246 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1247 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1248 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1249 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1250 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1251 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1252 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1253 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1254 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1255 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1256 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1257 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1258 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1259 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1260 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1261 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1262 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1263 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1264 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1265 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1266 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1267 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1268 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1269 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1270 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1271 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1272 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1273 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1274 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1275 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1276 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1277 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1278 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1279 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1280 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1281 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1282 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1283 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1284 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1285 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1286 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1287 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1288 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1289 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1290 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1291 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1292 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1293 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1294 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1295 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1296 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1297 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1298 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1299 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1300 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1301 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1302 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1303 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1304 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1305 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1306 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1307 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1308 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1309 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1310 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1311 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1312 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1313 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1314 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1315 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1316 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1317 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1318 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1319 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1320 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1321 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1322 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1323 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1324 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1325 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1326 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1327 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1328 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1329 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1330 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1331 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1332 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1333 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1334 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1335 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1336 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1337 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1338 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1339 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1340 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1341 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1342 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1343 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1344 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1345 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1346 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1347 		.psize     = 1023,
1348 		.digest    = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
1349 			     "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
1350 			     "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
1351 			     "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
1352 	},
1353 };
1354 
1355 
1356 static const struct hash_testvec sha3_384_tv_template[] = {
1357 	{
1358 		.plaintext = "",
1359 		.digest	= "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
1360 				"\x01\x10\x7d\x85\x2e\x4c\x24\x85"
1361 				"\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
1362 				"\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
1363 				"\xc3\x71\x38\x31\x26\x4a\xdb\x47"
1364 				"\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
1365 	}, {
1366 		.plaintext = "a",
1367 		.psize	= 1,
1368 		.digest	= "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
1369 				"\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
1370 				"\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
1371 				"\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
1372 				"\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
1373 				"\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
1374 	}, {
1375 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1376 			     "jklmklmnlmnomnopnopq",
1377 		.psize	= 56,
1378 		.digest	= "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
1379 				"\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
1380 				"\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
1381 				"\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
1382 				"\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
1383 				"\x9e\xef\x51\xac\xd0\x65\x7c\x22",
1384 		.np	= 2,
1385 		.tap	= { 28, 28 },
1386 	}, {
1387 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1388 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1389 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1390 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1391 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1392 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1393 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1394 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1395 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1396 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1397 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1398 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1399 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1400 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1401 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1402 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1403 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1404 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1405 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1406 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1407 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1408 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1409 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1410 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1411 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1412 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1413 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1414 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1415 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1416 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1417 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1418 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1419 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1420 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1421 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1422 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1423 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1424 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1425 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1426 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1427 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1428 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1429 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1430 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1431 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1432 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1433 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1434 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1435 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1436 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1437 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1438 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1439 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1440 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1441 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1442 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1443 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1444 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1445 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1446 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1447 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1448 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1449 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1450 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1451 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1452 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1453 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1454 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1455 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1456 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1457 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1458 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1459 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1460 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1461 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1462 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1463 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1464 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1465 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1466 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1467 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1468 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1469 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1470 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1471 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1472 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1473 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1474 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1475 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1476 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1477 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1478 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1479 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1480 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1481 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1482 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1483 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1484 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1485 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1486 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1487 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1488 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1489 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1490 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1491 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1492 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1493 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1494 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1495 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1496 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1497 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1498 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1499 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1500 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1501 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1502 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1503 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1504 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1505 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1506 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1507 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1508 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1509 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1510 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1511 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1512 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1513 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1514 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1515 		.psize     = 1023,
1516 		.digest    = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
1517 			     "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
1518 			     "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
1519 			     "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
1520 			     "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
1521 			     "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
1522 	},
1523 };
1524 
1525 
1526 static const struct hash_testvec sha3_512_tv_template[] = {
1527 	{
1528 		.plaintext = "",
1529 		.digest	= "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
1530 				"\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
1531 				"\x97\xc9\x82\x16\x4f\xe2\x58\x59"
1532 				"\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
1533 				"\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
1534 				"\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
1535 				"\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
1536 				"\x01\x75\x85\x86\x28\x1d\xcd\x26",
1537 	}, {
1538 		.plaintext = "a",
1539 		.psize	= 1,
1540 		.digest	= "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1541 				"\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1542 				"\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1543 				"\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1544 				"\x3f\x4f\x93\xff\x24\x39\x35\x86"
1545 				"\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1546 				"\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1547 				"\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1548 	}, {
1549 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1550 			     "jklmklmnlmnomnopnopq",
1551 		.psize	= 56,
1552 		.digest	= "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1553 				"\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1554 				"\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1555 				"\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1556 				"\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1557 				"\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1558 				"\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1559 				"\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1560 		.np	= 2,
1561 		.tap	= { 28, 28 },
1562 	}, {
1563 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1564 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1565 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1566 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1567 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1568 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1569 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1570 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1571 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1572 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1573 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1574 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1575 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1576 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1577 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1578 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1579 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1580 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1581 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1582 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1583 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1584 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1585 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1586 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1587 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1588 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1589 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1590 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1591 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1592 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1593 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1594 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1595 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1596 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1597 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1598 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1599 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1600 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1601 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1602 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1603 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1604 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1605 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1606 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1607 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1608 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1609 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1610 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1611 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1612 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1613 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1614 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1615 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1616 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1617 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1618 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1619 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1620 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1621 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1622 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1623 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1624 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1625 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1626 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1627 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1628 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1629 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1630 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1631 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1632 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1633 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1634 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1635 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1636 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1637 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1638 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1639 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1640 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1641 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1642 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1643 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1644 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1645 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1646 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1647 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1648 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1649 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1650 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1651 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1652 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1653 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1654 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1655 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1656 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1657 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1658 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1659 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1660 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1661 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1662 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1663 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1664 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1665 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1666 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1667 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1668 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1669 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1670 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1671 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1672 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1673 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1674 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1675 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1676 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1677 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1678 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1679 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1680 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1681 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1682 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1683 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1684 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1685 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1686 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1687 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1688 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1689 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1690 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1691 		.psize     = 1023,
1692 		.digest    = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
1693 			     "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
1694 			     "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
1695 			     "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
1696 			     "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
1697 			     "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
1698 			     "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
1699 			     "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
1700 	},
1701 };
1702 
1703 
1704 /*
1705  * MD5 test vectors from RFC1321
1706  */
1707 static const struct hash_testvec md5_tv_template[] = {
1708 	{
1709 		.digest	= "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1710 			  "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1711 	}, {
1712 		.plaintext = "a",
1713 		.psize	= 1,
1714 		.digest	= "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1715 			  "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1716 	}, {
1717 		.plaintext = "abc",
1718 		.psize	= 3,
1719 		.digest	= "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1720 			  "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1721 	}, {
1722 		.plaintext = "message digest",
1723 		.psize	= 14,
1724 		.digest	= "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1725 			  "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1726 	}, {
1727 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1728 		.psize	= 26,
1729 		.digest	= "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1730 			  "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1731 		.np	= 2,
1732 		.tap	= {13, 13}
1733 	}, {
1734 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1735 		.psize	= 62,
1736 		.digest	= "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1737 			  "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1738 	}, {
1739 		.plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1740 			   "345678901234567890",
1741 		.psize	= 80,
1742 		.digest	= "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1743 			  "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1744 	}
1745 
1746 };
1747 
1748 /*
1749  * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1750  */
1751 static const struct hash_testvec rmd128_tv_template[] = {
1752 	{
1753 		.digest	= "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1754 			  "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1755 	}, {
1756 		.plaintext = "a",
1757 		.psize	= 1,
1758 		.digest	= "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1759 			  "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1760 	}, {
1761 		.plaintext = "abc",
1762 		.psize	= 3,
1763 		.digest	= "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1764 			  "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1765 	}, {
1766 		.plaintext = "message digest",
1767 		.psize	= 14,
1768 		.digest	= "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1769 			  "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1770 	}, {
1771 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1772 		.psize	= 26,
1773 		.digest	= "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1774 			  "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1775 	}, {
1776 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1777 			     "fghijklmnopqrstuvwxyz0123456789",
1778 		.psize	= 62,
1779 		.digest	= "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1780 			  "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1781 	}, {
1782 		.plaintext = "1234567890123456789012345678901234567890"
1783 			     "1234567890123456789012345678901234567890",
1784 		.psize	= 80,
1785 		.digest	= "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1786 			  "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1787 	}, {
1788 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1789 			     "hijkijkljklmklmnlmnomnopnopq",
1790 		.psize	= 56,
1791 		.digest	= "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1792 			  "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1793 		.np	= 2,
1794 		.tap	= { 28, 28 },
1795 	}, {
1796 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1797 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1798 			     "lmnopqrsmnopqrstnopqrstu",
1799 		.psize	= 112,
1800 		.digest	= "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1801 			  "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1802 	}, {
1803 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1804 		.psize	= 32,
1805 		.digest	= "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1806 			  "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1807 	}
1808 };
1809 
1810 /*
1811  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1812  */
1813 static const struct hash_testvec rmd160_tv_template[] = {
1814 	{
1815 		.digest	= "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1816 			  "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1817 	}, {
1818 		.plaintext = "a",
1819 		.psize	= 1,
1820 		.digest	= "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1821 			  "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1822 	}, {
1823 		.plaintext = "abc",
1824 		.psize	= 3,
1825 		.digest	= "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1826 			  "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1827 	}, {
1828 		.plaintext = "message digest",
1829 		.psize	= 14,
1830 		.digest	= "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1831 			  "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1832 	}, {
1833 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1834 		.psize	= 26,
1835 		.digest	= "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1836 			  "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1837 	}, {
1838 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1839 			     "fghijklmnopqrstuvwxyz0123456789",
1840 		.psize	= 62,
1841 		.digest	= "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1842 			  "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1843 	}, {
1844 		.plaintext = "1234567890123456789012345678901234567890"
1845 			     "1234567890123456789012345678901234567890",
1846 		.psize	= 80,
1847 		.digest	= "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1848 			  "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1849 	}, {
1850 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1851 			     "hijkijkljklmklmnlmnomnopnopq",
1852 		.psize	= 56,
1853 		.digest	= "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1854 			  "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1855 		.np	= 2,
1856 		.tap	= { 28, 28 },
1857 	}, {
1858 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1859 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1860 			     "lmnopqrsmnopqrstnopqrstu",
1861 		.psize	= 112,
1862 		.digest	= "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1863 			  "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1864 	}, {
1865 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1866 		.psize	= 32,
1867 		.digest	= "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1868 			  "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1869 	}
1870 };
1871 
1872 /*
1873  * RIPEMD-256 test vectors
1874  */
1875 static const struct hash_testvec rmd256_tv_template[] = {
1876 	{
1877 		.digest	= "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1878 			  "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1879 			  "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1880 			  "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1881 	}, {
1882 		.plaintext = "a",
1883 		.psize	= 1,
1884 		.digest	= "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1885 			  "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1886 			  "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1887 			  "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1888 	}, {
1889 		.plaintext = "abc",
1890 		.psize	= 3,
1891 		.digest	= "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1892 			  "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1893 			  "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1894 			  "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1895 	}, {
1896 		.plaintext = "message digest",
1897 		.psize	= 14,
1898 		.digest	= "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1899 			  "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1900 			  "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1901 			  "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1902 	}, {
1903 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1904 		.psize	= 26,
1905 		.digest	= "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1906 			  "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1907 			  "\x78\x96\x11\x8a\x51\x97\x96\x87"
1908 			  "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1909 	}, {
1910 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1911 			     "fghijklmnopqrstuvwxyz0123456789",
1912 		.psize	= 62,
1913 		.digest	= "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1914 			  "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1915 			  "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1916 			  "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1917 	}, {
1918 		.plaintext = "1234567890123456789012345678901234567890"
1919 			     "1234567890123456789012345678901234567890",
1920 		.psize	= 80,
1921 		.digest	= "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1922 			  "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1923 			  "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1924 			  "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1925 	}, {
1926 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1927 			     "hijkijkljklmklmnlmnomnopnopq",
1928 		.psize	= 56,
1929 		.digest	= "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1930 			  "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1931 			  "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1932 			  "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1933 		.np	= 2,
1934 		.tap	= { 28, 28 },
1935 	}
1936 };
1937 
1938 /*
1939  * RIPEMD-320 test vectors
1940  */
1941 static const struct hash_testvec rmd320_tv_template[] = {
1942 	{
1943 		.digest	= "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1944 			  "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1945 			  "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1946 			  "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1947 	}, {
1948 		.plaintext = "a",
1949 		.psize	= 1,
1950 		.digest	= "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1951 			  "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1952 			  "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1953 			  "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1954 	}, {
1955 		.plaintext = "abc",
1956 		.psize	= 3,
1957 		.digest	= "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1958 			  "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1959 			  "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1960 			  "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1961 	}, {
1962 		.plaintext = "message digest",
1963 		.psize	= 14,
1964 		.digest	= "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1965 			  "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1966 			  "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1967 			  "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1968 	}, {
1969 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1970 		.psize	= 26,
1971 		.digest	= "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1972 			  "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1973 			  "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1974 			  "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1975 	}, {
1976 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1977 			     "fghijklmnopqrstuvwxyz0123456789",
1978 		.psize	= 62,
1979 		.digest	= "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1980 			  "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1981 			  "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1982 			  "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1983 	}, {
1984 		.plaintext = "1234567890123456789012345678901234567890"
1985 			     "1234567890123456789012345678901234567890",
1986 		.psize	= 80,
1987 		.digest	= "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1988 			  "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1989 			  "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1990 			  "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1991 	}, {
1992 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1993 			     "hijkijkljklmklmnlmnomnopnopq",
1994 		.psize	= 56,
1995 		.digest	= "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1996 			  "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1997 			  "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1998 			  "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
1999 		.np	= 2,
2000 		.tap	= { 28, 28 },
2001 	}
2002 };
2003 
2004 static const struct hash_testvec crct10dif_tv_template[] = {
2005 	{
2006 		.plaintext	= "abc",
2007 		.psize		= 3,
2008 		.digest		= (u8 *)(u16 []){ 0x443b },
2009 	}, {
2010 		.plaintext 	= "1234567890123456789012345678901234567890"
2011 				  "123456789012345678901234567890123456789",
2012 		.psize		= 79,
2013 		.digest 	= (u8 *)(u16 []){ 0x4b70 },
2014 		.np		= 2,
2015 		.tap		= { 63, 16 },
2016 	}, {
2017 		.plaintext	= "abcdddddddddddddddddddddddddddddddddddddddd"
2018 				  "ddddddddddddd",
2019 		.psize		= 56,
2020 		.digest		= (u8 *)(u16 []){ 0x9ce3 },
2021 		.np		= 8,
2022 		.tap		= { 1, 2, 28, 7, 6, 5, 4, 3 },
2023 	}, {
2024 		.plaintext 	= "1234567890123456789012345678901234567890"
2025 				  "1234567890123456789012345678901234567890"
2026 				  "1234567890123456789012345678901234567890"
2027 				  "1234567890123456789012345678901234567890"
2028 				  "1234567890123456789012345678901234567890"
2029 				  "1234567890123456789012345678901234567890"
2030 				  "1234567890123456789012345678901234567890"
2031 				  "123456789012345678901234567890123456789",
2032 		.psize		= 319,
2033 		.digest		= (u8 *)(u16 []){ 0x44c6 },
2034 	}, {
2035 		.plaintext 	= "1234567890123456789012345678901234567890"
2036 				  "1234567890123456789012345678901234567890"
2037 				  "1234567890123456789012345678901234567890"
2038 				  "1234567890123456789012345678901234567890"
2039 				  "1234567890123456789012345678901234567890"
2040 				  "1234567890123456789012345678901234567890"
2041 				  "1234567890123456789012345678901234567890"
2042 				  "123456789012345678901234567890123456789",
2043 		.psize		= 319,
2044 		.digest		= (u8 *)(u16 []){ 0x44c6 },
2045 		.np		= 4,
2046 		.tap		= { 1, 255, 57, 6 },
2047 	}
2048 };
2049 
2050 /* Example vectors below taken from
2051  * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
2052  *
2053  * The rest taken from
2054  * https://github.com/adamws/oscca-sm3
2055  */
2056 static const struct hash_testvec sm3_tv_template[] = {
2057 	{
2058 		.plaintext = "",
2059 		.psize = 0,
2060 		.digest = (u8 *)(u8 []) {
2061 			0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
2062 			0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
2063 			0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
2064 			0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
2065 	}, {
2066 		.plaintext = "a",
2067 		.psize = 1,
2068 		.digest = (u8 *)(u8 []) {
2069 			0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
2070 			0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
2071 			0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
2072 			0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
2073 	}, {
2074 		/* A.1. Example 1 */
2075 		.plaintext = "abc",
2076 		.psize = 3,
2077 		.digest = (u8 *)(u8 []) {
2078 			0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
2079 			0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
2080 			0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
2081 			0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
2082 	}, {
2083 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2084 		.psize = 26,
2085 		.digest = (u8 *)(u8 []) {
2086 			0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
2087 			0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
2088 			0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
2089 			0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
2090 	}, {
2091 		/* A.1. Example 2 */
2092 		.plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
2093 			     "cdabcdabcdabcdabcd",
2094 		.psize = 64,
2095 		.digest = (u8 *)(u8 []) {
2096 			0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
2097 			0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
2098 			0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
2099 			0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
2100 	}, {
2101 		.plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2102 			     "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2103 			     "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2104 			     "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2105 			     "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2106 			     "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2107 			     "abcdabcdabcdabcdabcdabcdabcdabcd",
2108 		.psize = 256,
2109 		.digest = (u8 *)(u8 []) {
2110 			0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
2111 			0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
2112 			0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
2113 			0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
2114 	}
2115 };
2116 
2117 /*
2118  * SHA1 test vectors  from from FIPS PUB 180-1
2119  * Long vector from CAVS 5.0
2120  */
2121 static const struct hash_testvec sha1_tv_template[] = {
2122 	{
2123 		.plaintext = "",
2124 		.psize	= 0,
2125 		.digest	= "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
2126 			  "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
2127 	}, {
2128 		.plaintext = "abc",
2129 		.psize	= 3,
2130 		.digest	= "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
2131 			  "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
2132 	}, {
2133 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2134 		.psize	= 56,
2135 		.digest	= "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
2136 			  "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
2137 		.np	= 2,
2138 		.tap	= { 28, 28 }
2139 	}, {
2140 		.plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
2141 			     "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
2142 			     "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
2143 			     "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
2144 			     "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
2145 			     "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
2146 			     "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
2147 			     "\x72\x28\x26\xc0\x66\x86\x9e\xda"
2148 			     "\xcd\x73\xb2\x54\x80\x35\x18\x58"
2149 			     "\x13\xe2\x26\x34\xa9\xda\x44\x00"
2150 			     "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
2151 			     "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
2152 			     "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
2153 			     "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
2154 			     "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
2155 			     "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
2156 			     "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
2157 			     "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
2158 			     "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
2159 			     "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
2160 			     "\x5a\x90\x11",
2161 		.psize	= 163,
2162 		.digest	= "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
2163 			  "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
2164 		.np	= 4,
2165 		.tap	= { 63, 64, 31, 5 }
2166 	}, {
2167 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2168 		.psize	= 64,
2169 		.digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
2170 			  "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
2171 	}, {
2172 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2173 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2174 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2175 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2176 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2177 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2178 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2179 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2180 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2181 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2182 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2183 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2184 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2185 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2186 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2187 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2188 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2189 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2190 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2191 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2192 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2193 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2194 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2195 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2196 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2197 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2198 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2199 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2200 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2201 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2202 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2203 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2204 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2205 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2206 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2207 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2208 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2209 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2210 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2211 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2212 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2213 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2214 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2215 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2216 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2217 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2218 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2219 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2220 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2221 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2222 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2223 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2224 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2225 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2226 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2227 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2228 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2229 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2230 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2231 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2232 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2233 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2234 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2235 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2236 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2237 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2238 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2239 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2240 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2241 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2242 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2243 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2244 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2245 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2246 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2247 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2248 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2249 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2250 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2251 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2252 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2253 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2254 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2255 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2256 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2257 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2258 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2259 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2260 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2261 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2262 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2263 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2264 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2265 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2266 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2267 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2268 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2269 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2270 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2271 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2272 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2273 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2274 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2275 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2276 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2277 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2278 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2279 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2280 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2281 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2282 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2283 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2284 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2285 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2286 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2287 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2288 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2289 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2290 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2291 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2292 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2293 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2294 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2295 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2296 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2297 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2298 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2299 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2300 		.psize     = 1023,
2301 		.digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
2302 			     "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
2303 			     "\x30\xd6\xc9\x85",
2304 	}
2305 };
2306 
2307 
2308 /*
2309  * SHA224 test vectors from from FIPS PUB 180-2
2310  */
2311 static const struct hash_testvec sha224_tv_template[] = {
2312 	{
2313 		.plaintext = "",
2314 		.psize	= 0,
2315 		.digest	= "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
2316 			  "\x47\x61\x02\xbb\x28\x82\x34\xc4"
2317 			  "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
2318 			  "\xc5\xb3\xe4\x2f",
2319 	}, {
2320 		.plaintext = "abc",
2321 		.psize  = 3,
2322 		.digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
2323 			  "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
2324 			  "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
2325 			  "\xE3\x6C\x9D\xA7",
2326 	}, {
2327 		.plaintext =
2328 		"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2329 		.psize  = 56,
2330 		.digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
2331 			  "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
2332 			  "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
2333 			  "\x52\x52\x25\x25",
2334 		.np     = 2,
2335 		.tap    = { 28, 28 }
2336 	}, {
2337 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2338 		.psize	= 64,
2339 		.digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
2340 			  "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
2341 			  "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
2342 			  "\xef\x3b\xcb\x0e",
2343 	}, {
2344 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2345 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2346 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2347 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2348 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2349 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2350 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2351 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2352 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2353 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2354 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2355 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2356 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2357 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2358 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2359 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2360 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2361 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2362 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2363 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2364 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2365 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2366 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2367 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2368 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2369 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2370 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2371 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2372 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2373 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2374 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2375 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2376 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2377 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2378 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2379 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2380 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2381 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2382 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2383 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2384 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2385 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2386 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2387 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2388 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2389 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2390 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2391 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2392 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2393 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2394 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2395 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2396 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2397 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2398 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2399 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2400 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2401 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2402 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2403 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2404 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2405 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2406 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2407 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2408 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2409 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2410 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2411 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2412 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2413 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2414 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2415 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2416 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2417 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2418 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2419 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2420 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2421 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2422 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2423 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2424 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2425 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2426 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2427 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2428 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2429 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2430 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2431 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2432 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2433 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2434 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2435 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2436 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2437 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2438 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2439 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2440 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2441 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2442 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2443 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2444 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2445 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2446 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2447 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2448 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2449 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2450 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2451 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2452 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2453 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2454 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2455 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2456 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2457 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2458 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2459 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2460 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2461 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2462 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2463 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2464 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2465 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2466 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2467 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2468 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2469 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2470 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2471 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2472 		.psize     = 1023,
2473 		.digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
2474 			     "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
2475 			     "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
2476 			     "\xe6\xf9\x4f\xcc",
2477 	}
2478 };
2479 
2480 /*
2481  * SHA256 test vectors from from NIST
2482  */
2483 static const struct hash_testvec sha256_tv_template[] = {
2484 	{
2485 		.plaintext = "",
2486 		.psize	= 0,
2487 		.digest	= "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
2488 			  "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
2489 			  "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
2490 			  "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
2491 	}, {
2492 		.plaintext = "abc",
2493 		.psize	= 3,
2494 		.digest	= "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
2495 			  "\x41\x41\x40\xde\x5d\xae\x22\x23"
2496 			  "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
2497 			  "\xb4\x10\xff\x61\xf2\x00\x15\xad",
2498 	}, {
2499 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2500 		.psize	= 56,
2501 		.digest	= "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
2502 			  "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
2503 			  "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
2504 			  "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
2505 		.np	= 2,
2506 		.tap	= { 28, 28 }
2507 	}, {
2508 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2509 		.psize	= 64,
2510 		.digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
2511 			  "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
2512 			  "\xd6\xff\x94\xa3\x72\x91\x85\x66"
2513 			  "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
2514 	}, {
2515 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2516 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2517 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2518 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2519 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2520 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2521 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2522 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2523 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2524 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2525 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2526 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2527 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2528 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2529 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2530 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2531 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2532 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2533 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2534 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2535 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2536 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2537 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2538 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2539 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2540 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2541 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2542 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2543 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2544 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2545 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2546 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2547 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2548 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2549 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2550 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2551 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2552 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2553 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2554 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2555 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2556 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2557 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2558 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2559 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2560 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2561 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2562 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2563 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2564 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2565 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2566 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2567 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2568 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2569 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2570 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2571 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2572 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2573 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2574 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2575 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2576 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2577 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2578 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2579 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2580 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2581 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2582 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2583 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2584 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2585 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2586 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2587 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2588 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2589 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2590 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2591 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2592 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2593 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2594 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2595 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2596 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2597 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2598 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2599 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2600 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2601 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2602 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2603 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2604 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2605 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2606 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2607 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2608 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2609 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2610 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2611 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2612 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2613 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2614 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2615 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2616 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2617 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2618 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2619 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2620 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2621 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2622 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2623 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2624 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2625 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2626 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2627 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2628 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2629 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2630 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2631 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2632 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2633 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2634 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2635 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2636 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2637 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2638 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2639 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2640 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2641 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2642 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2643 		.psize     = 1023,
2644 		.digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
2645 			     "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
2646 			     "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
2647 			     "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
2648 	}
2649 };
2650 
2651 /*
2652  * SHA384 test vectors from from NIST and kerneli
2653  */
2654 static const struct hash_testvec sha384_tv_template[] = {
2655 	{
2656 		.plaintext = "",
2657 		.psize	= 0,
2658 		.digest	= "\x38\xb0\x60\xa7\x51\xac\x96\x38"
2659 			  "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
2660 			  "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
2661 			  "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
2662 			  "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
2663 			  "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
2664 	}, {
2665 		.plaintext= "abc",
2666 		.psize	= 3,
2667 		.digest	= "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
2668 			  "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
2669 			  "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
2670 			  "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
2671 			  "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
2672 			  "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
2673 	}, {
2674 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2675 		.psize	= 56,
2676 		.digest	= "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
2677 			  "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
2678 			  "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
2679 			  "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
2680 			  "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
2681 			  "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
2682 	}, {
2683 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2684 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2685 		.psize	= 112,
2686 		.digest	= "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
2687 			  "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
2688 			  "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
2689 			  "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
2690 			  "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
2691 			  "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
2692 	}, {
2693 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2694 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2695 		.psize	= 104,
2696 		.digest	= "\x3d\x20\x89\x73\xab\x35\x08\xdb"
2697 			  "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
2698 			  "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
2699 			  "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
2700 			  "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
2701 			  "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
2702 		.np	= 4,
2703 		.tap	= { 26, 26, 26, 26 }
2704 	}, {
2705 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2706 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2707 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2708 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2709 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2710 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2711 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2712 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2713 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2714 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2715 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2716 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2717 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2718 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2719 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2720 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2721 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2722 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2723 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2724 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2725 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2726 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2727 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2728 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2729 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2730 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2731 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2732 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2733 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2734 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2735 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2736 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2737 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2738 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2739 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2740 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2741 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2742 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2743 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2744 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2745 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2746 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2747 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2748 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2749 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2750 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2751 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2752 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2753 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2754 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2755 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2756 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2757 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2758 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2759 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2760 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2761 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2762 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2763 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2764 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2765 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2766 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2767 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2768 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2769 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2770 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2771 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2772 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2773 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2774 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2775 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2776 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2777 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2778 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2779 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2780 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2781 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2782 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2783 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2784 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2785 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2786 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2787 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2788 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2789 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2790 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2791 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2792 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2793 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2794 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2795 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2796 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2797 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2798 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2799 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2800 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2801 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2802 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2803 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2804 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2805 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2806 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2807 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2808 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2809 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2810 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2811 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2812 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2813 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2814 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2815 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2816 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2817 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2818 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2819 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2820 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2821 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2822 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2823 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2824 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2825 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2826 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2827 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2828 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2829 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2830 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2831 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2832 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2833 		.psize     = 1023,
2834 		.digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
2835 			     "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
2836 			     "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
2837 			     "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
2838 			     "\x75\x29\x62\x83\xae\x3f\x17\xab"
2839 			     "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
2840 	}
2841 };
2842 
2843 /*
2844  * SHA512 test vectors from from NIST and kerneli
2845  */
2846 static const struct hash_testvec sha512_tv_template[] = {
2847 	{
2848 		.plaintext = "",
2849 		.psize	= 0,
2850 		.digest	= "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
2851 			  "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
2852 			  "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
2853 			  "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
2854 			  "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
2855 			  "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
2856 			  "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
2857 			  "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
2858 	}, {
2859 		.plaintext = "abc",
2860 		.psize	= 3,
2861 		.digest	= "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
2862 			  "\xcc\x41\x73\x49\xae\x20\x41\x31"
2863 			  "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
2864 			  "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
2865 			  "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
2866 			  "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
2867 			  "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
2868 			  "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
2869 	}, {
2870 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2871 		.psize	= 56,
2872 		.digest	= "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
2873 			  "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
2874 			  "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
2875 			  "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
2876 			  "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
2877 			  "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
2878 			  "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
2879 			  "\x54\xec\x63\x12\x38\xca\x34\x45",
2880 	}, {
2881 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2882 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2883 		.psize	= 112,
2884 		.digest	= "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
2885 			  "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
2886 			  "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
2887 			  "\x72\x99\xae\xad\xb6\x88\x90\x18"
2888 			  "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
2889 			  "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
2890 			  "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
2891 			  "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
2892 	}, {
2893 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2894 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2895 		.psize	= 104,
2896 		.digest	= "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
2897 			  "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
2898 			  "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
2899 			  "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
2900 			  "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
2901 			  "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
2902 			  "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
2903 			  "\xed\xb4\x19\x87\x23\x28\x50\xc9",
2904 		.np	= 4,
2905 		.tap	= { 26, 26, 26, 26 }
2906 	}, {
2907 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2908 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2909 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2910 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2911 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2912 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2913 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2914 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2915 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2916 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2917 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2918 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2919 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2920 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2921 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2922 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2923 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2924 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2925 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2926 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2927 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2928 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2929 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2930 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2931 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2932 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2933 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2934 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2935 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2936 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2937 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2938 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2939 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2940 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2941 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2942 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2943 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2944 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2945 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2946 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2947 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2948 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2949 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2950 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2951 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2952 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2953 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2954 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2955 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2956 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2957 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2958 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2959 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2960 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2961 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2962 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2963 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2964 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2965 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2966 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2967 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2968 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2969 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2970 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2971 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2972 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2973 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2974 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2975 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2976 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2977 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2978 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2979 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2980 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2981 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2982 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2983 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2984 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2985 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2986 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2987 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2988 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2989 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2990 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2991 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2992 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2993 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2994 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2995 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2996 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2997 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2998 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2999 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3000 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3001 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3002 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3003 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3004 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3005 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3006 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3007 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3008 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3009 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3010 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3011 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3012 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3013 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3014 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3015 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3016 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3017 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3018 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3019 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3020 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3021 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3022 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3023 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3024 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3025 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3026 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3027 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3028 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3029 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3030 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3031 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3032 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3033 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3034 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3035 		.psize     = 1023,
3036 		.digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
3037 			     "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
3038 			     "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
3039 			     "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
3040 			     "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
3041 			     "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
3042 			     "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
3043 			     "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
3044 	}
3045 };
3046 
3047 
3048 /*
3049  * WHIRLPOOL test vectors from Whirlpool package
3050  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
3051  * submission
3052  */
3053 static const struct hash_testvec wp512_tv_template[] = {
3054 	{
3055 		.plaintext = "",
3056 		.psize	= 0,
3057 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3058 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3059 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3060 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3061 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3062 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
3063 			  "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
3064 			  "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
3065 
3066 
3067 	}, {
3068 		.plaintext = "a",
3069 		.psize	= 1,
3070 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3071 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3072 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3073 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3074 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3075 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
3076 			  "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
3077 			  "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
3078 	}, {
3079 		.plaintext = "abc",
3080 		.psize	= 3,
3081 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3082 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3083 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3084 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3085 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3086 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
3087 			  "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
3088 			  "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
3089 	}, {
3090 		.plaintext = "message digest",
3091 		.psize	= 14,
3092 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3093 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3094 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3095 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3096 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3097 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
3098 			  "\x92\xED\x92\x00\x52\x83\x8F\x33"
3099 			  "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
3100 	}, {
3101 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
3102 		.psize	= 26,
3103 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3104 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3105 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3106 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3107 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3108 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
3109 			  "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
3110 			  "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
3111 	}, {
3112 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3113 			   "abcdefghijklmnopqrstuvwxyz0123456789",
3114 		.psize	= 62,
3115 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3116 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3117 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3118 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3119 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3120 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
3121 			  "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
3122 			  "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
3123 	}, {
3124 		.plaintext = "1234567890123456789012345678901234567890"
3125 			   "1234567890123456789012345678901234567890",
3126 		.psize	= 80,
3127 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3128 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3129 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3130 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3131 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3132 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
3133 			  "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
3134 			  "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
3135 	}, {
3136 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3137 		.psize	= 32,
3138 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3139 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3140 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3141 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3142 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3143 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
3144 			  "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
3145 			  "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
3146 	},
3147 };
3148 
3149 static const struct hash_testvec wp384_tv_template[] = {
3150 	{
3151 		.plaintext = "",
3152 		.psize	= 0,
3153 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3154 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3155 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3156 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3157 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3158 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
3159 
3160 
3161 	}, {
3162 		.plaintext = "a",
3163 		.psize	= 1,
3164 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3165 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3166 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3167 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3168 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3169 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
3170 	}, {
3171 		.plaintext = "abc",
3172 		.psize	= 3,
3173 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3174 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3175 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3176 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3177 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3178 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
3179 	}, {
3180 		.plaintext = "message digest",
3181 		.psize	= 14,
3182 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3183 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3184 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3185 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3186 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3187 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
3188 	}, {
3189 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
3190 		.psize	= 26,
3191 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3192 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3193 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3194 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3195 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3196 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
3197 	}, {
3198 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3199 			   "abcdefghijklmnopqrstuvwxyz0123456789",
3200 		.psize	= 62,
3201 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3202 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3203 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3204 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3205 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3206 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
3207 	}, {
3208 		.plaintext = "1234567890123456789012345678901234567890"
3209 			   "1234567890123456789012345678901234567890",
3210 		.psize	= 80,
3211 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3212 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3213 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3214 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3215 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3216 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
3217 	}, {
3218 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3219 		.psize	= 32,
3220 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3221 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3222 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3223 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3224 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3225 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
3226 	},
3227 };
3228 
3229 static const struct hash_testvec wp256_tv_template[] = {
3230 	{
3231 		.plaintext = "",
3232 		.psize	= 0,
3233 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3234 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3235 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3236 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
3237 
3238 
3239 	}, {
3240 		.plaintext = "a",
3241 		.psize	= 1,
3242 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3243 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3244 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3245 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
3246 	}, {
3247 		.plaintext = "abc",
3248 		.psize	= 3,
3249 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3250 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3251 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3252 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
3253 	}, {
3254 		.plaintext = "message digest",
3255 		.psize	= 14,
3256 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3257 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3258 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3259 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
3260 	}, {
3261 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
3262 		.psize	= 26,
3263 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3264 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3265 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3266 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
3267 	}, {
3268 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3269 			   "abcdefghijklmnopqrstuvwxyz0123456789",
3270 		.psize	= 62,
3271 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3272 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3273 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3274 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
3275 	}, {
3276 		.plaintext = "1234567890123456789012345678901234567890"
3277 			   "1234567890123456789012345678901234567890",
3278 		.psize	= 80,
3279 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3280 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3281 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3282 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
3283 	}, {
3284 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3285 		.psize	= 32,
3286 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3287 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3288 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3289 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
3290 	},
3291 };
3292 
3293 /*
3294  * TIGER test vectors from Tiger website
3295  */
3296 static const struct hash_testvec tgr192_tv_template[] = {
3297 	{
3298 		.plaintext = "",
3299 		.psize	= 0,
3300 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3301 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3302 			  "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
3303 	}, {
3304 		.plaintext = "abc",
3305 		.psize	= 3,
3306 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3307 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3308 			  "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
3309 	}, {
3310 		.plaintext = "Tiger",
3311 		.psize	= 5,
3312 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3313 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3314 			  "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
3315 	}, {
3316 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3317 		.psize	= 64,
3318 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3319 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3320 			  "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
3321 	}, {
3322 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3323 		.psize	= 64,
3324 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3325 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3326 			  "\x57\x89\x65\x65\x97\x5f\x91\x97",
3327 	}, {
3328 		.plaintext = "Tiger - A Fast New Hash Function, "
3329 			   "by Ross Anderson and Eli Biham, "
3330 			   "proceedings of Fast Software Encryption 3, "
3331 			   "Cambridge, 1996.",
3332 		.psize  = 125,
3333 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3334 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3335 			  "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
3336 	},
3337 };
3338 
3339 static const struct hash_testvec tgr160_tv_template[] = {
3340 	{
3341 		.plaintext = "",
3342 		.psize	= 0,
3343 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3344 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3345 			  "\xf3\x73\xde\x2d",
3346 	}, {
3347 		.plaintext = "abc",
3348 		.psize	= 3,
3349 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3350 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3351 			  "\x93\x5f\x7b\x95",
3352 	}, {
3353 		.plaintext = "Tiger",
3354 		.psize	= 5,
3355 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3356 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3357 			  "\x37\x79\x0c\x11",
3358 	}, {
3359 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3360 		.psize	= 64,
3361 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3362 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3363 			  "\xb5\x86\x44\x50",
3364 	}, {
3365 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3366 		.psize	= 64,
3367 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3368 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3369 			  "\x57\x89\x65\x65",
3370 	}, {
3371 		.plaintext = "Tiger - A Fast New Hash Function, "
3372 			   "by Ross Anderson and Eli Biham, "
3373 			   "proceedings of Fast Software Encryption 3, "
3374 			   "Cambridge, 1996.",
3375 		.psize  = 125,
3376 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3377 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3378 			  "\xdd\x68\x15\x1d",
3379 	},
3380 };
3381 
3382 static const struct hash_testvec tgr128_tv_template[] = {
3383 	{
3384 		.plaintext = "",
3385 		.psize	= 0,
3386 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3387 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
3388 	}, {
3389 		.plaintext = "abc",
3390 		.psize	= 3,
3391 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3392 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
3393 	}, {
3394 		.plaintext = "Tiger",
3395 		.psize	= 5,
3396 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3397 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
3398 	}, {
3399 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3400 		.psize	= 64,
3401 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3402 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
3403 	}, {
3404 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3405 		.psize	= 64,
3406 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3407 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
3408 	}, {
3409 		.plaintext = "Tiger - A Fast New Hash Function, "
3410 			   "by Ross Anderson and Eli Biham, "
3411 			   "proceedings of Fast Software Encryption 3, "
3412 			   "Cambridge, 1996.",
3413 		.psize  = 125,
3414 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3415 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
3416 	},
3417 };
3418 
3419 static const struct hash_testvec ghash_tv_template[] =
3420 {
3421 	{
3422 		.key	= "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
3423 			  "\xff\xca\xff\x95\xf8\x30\xf0\x61",
3424 		.ksize	= 16,
3425 		.plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3426 			     "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
3427 		.psize	= 16,
3428 		.digest	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3429 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
3430 	}, {
3431 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3432 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3433 		.ksize	= 16,
3434 		.plaintext = "what do ya want for nothing?",
3435 		.psize	= 28,
3436 		.digest	= "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
3437 			  "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
3438 		.np	= 2,
3439 		.tap	= {14, 14}
3440 	}, {
3441 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3442 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3443 		.ksize	= 16,
3444 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3445 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3446 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3447 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3448 		.psize	= 50,
3449 		.digest	= "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
3450 			  "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
3451 	}, {
3452 		.key	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3453 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
3454 		.ksize	= 16,
3455 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3456 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3457 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3458 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3459 		.psize	= 50,
3460 		.digest	= "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
3461 			  "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
3462 	}, {
3463 		.key	= "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3464 			  "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
3465 		.ksize	= 16,
3466 		.plaintext = "Test With Truncation",
3467 		.psize	= 20,
3468 		.digest	= "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
3469 			  "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
3470 	}, {
3471 		.key	= "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
3472 			"\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
3473 		.ksize	= 16,
3474 		.plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
3475 			"\x65\x72\x20\x4c\x61\x75\x73\x63"
3476 			"\x68\x65\x6e\x20\x75\x6e\x64\x20"
3477 			"\x53\x74\x61\x75\x6e\x65\x6e\x20"
3478 			"\x73\x65\x69\x20\x73\x74\x69\x6c"
3479 			"\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
3480 			"\x69\x6e\x20\x74\x69\x65\x66\x74"
3481 			"\x69\x65\x66\x65\x73\x20\x4c\x65"
3482 			"\x62\x65\x6e\x3b\x0a\x64\x61\x73"
3483 			"\x73\x20\x64\x75\x20\x77\x65\x69"
3484 			"\xc3\x9f\x74\x20\x77\x61\x73\x20"
3485 			"\x64\x65\x72\x20\x57\x69\x6e\x64"
3486 			"\x20\x64\x69\x72\x20\x77\x69\x6c"
3487 			"\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
3488 			"\x63\x68\x20\x64\x69\x65\x20\x42"
3489 			"\x69\x72\x6b\x65\x6e\x20\x62\x65"
3490 			"\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
3491 			"\x64\x20\x77\x65\x6e\x6e\x20\x64"
3492 			"\x69\x72\x20\x65\x69\x6e\x6d\x61"
3493 			"\x6c\x20\x64\x61\x73\x20\x53\x63"
3494 			"\x68\x77\x65\x69\x67\x65\x6e\x20"
3495 			"\x73\x70\x72\x61\x63\x68\x2c\x0a"
3496 			"\x6c\x61\x73\x73\x20\x64\x65\x69"
3497 			"\x6e\x65\x20\x53\x69\x6e\x6e\x65"
3498 			"\x20\x62\x65\x73\x69\x65\x67\x65"
3499 			"\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
3500 			"\x20\x48\x61\x75\x63\x68\x65\x20"
3501 			"\x67\x69\x62\x74\x20\x64\x69\x63"
3502 			"\x68\x2c\x20\x67\x69\x62\x20\x6e"
3503 			"\x61\x63\x68\x2c\x0a\x65\x72\x20"
3504 			"\x77\x69\x72\x64\x20\x64\x69\x63"
3505 			"\x68\x20\x6c\x69\x65\x62\x65\x6e"
3506 			"\x20\x75\x6e\x64\x20\x77\x69\x65"
3507 			"\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
3508 			"\x64\x20\x64\x61\x6e\x6e\x20\x6d"
3509 			"\x65\x69\x6e\x65\x20\x53\x65\x65"
3510 			"\x6c\x65\x20\x73\x65\x69\x74\x20"
3511 			"\x77\x65\x69\x74\x2c\x20\x73\x65"
3512 			"\x69\x20\x77\x65\x69\x74\x2c\x0a"
3513 			"\x64\x61\x73\x73\x20\x64\x69\x72"
3514 			"\x20\x64\x61\x73\x20\x4c\x65\x62"
3515 			"\x65\x6e\x20\x67\x65\x6c\x69\x6e"
3516 			"\x67\x65\x2c\x0a\x62\x72\x65\x69"
3517 			"\x74\x65\x20\x64\x69\x63\x68\x20"
3518 			"\x77\x69\x65\x20\x65\x69\x6e\x20"
3519 			"\x46\x65\x69\x65\x72\x6b\x6c\x65"
3520 			"\x69\x64\x0a\xc3\xbc\x62\x65\x72"
3521 			"\x20\x64\x69\x65\x20\x73\x69\x6e"
3522 			"\x6e\x65\x6e\x64\x65\x6e\x20\x44"
3523 			"\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
3524 		.psize	= 400,
3525 		.digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
3526 			"\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
3527 	},
3528 };
3529 
3530 /*
3531  * HMAC-MD5 test vectors from RFC2202
3532  * (These need to be fixed to not use strlen).
3533  */
3534 static const struct hash_testvec hmac_md5_tv_template[] =
3535 {
3536 	{
3537 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3538 		.ksize	= 16,
3539 		.plaintext = "Hi There",
3540 		.psize	= 8,
3541 		.digest	= "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
3542 			  "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
3543 	}, {
3544 		.key	= "Jefe",
3545 		.ksize	= 4,
3546 		.plaintext = "what do ya want for nothing?",
3547 		.psize	= 28,
3548 		.digest	= "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
3549 			  "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
3550 		.np	= 2,
3551 		.tap	= {14, 14}
3552 	}, {
3553 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3554 		.ksize	= 16,
3555 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3556 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3557 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3558 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3559 		.psize	= 50,
3560 		.digest	= "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
3561 			  "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
3562 	}, {
3563 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3564 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3565 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3566 		.ksize	= 25,
3567 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3568 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3569 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3570 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3571 		.psize	= 50,
3572 		.digest	= "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
3573 			  "\x3a\x75\x16\x47\x46\xff\xaa\x79",
3574 	}, {
3575 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3576 		.ksize	= 16,
3577 		.plaintext = "Test With Truncation",
3578 		.psize	= 20,
3579 		.digest	= "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
3580 			  "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
3581 	}, {
3582 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3583 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3584 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3585 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3586 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3587 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3588 			"\xaa\xaa",
3589 		.ksize	= 80,
3590 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3591 		.psize	= 54,
3592 		.digest	= "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
3593 			  "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
3594 	}, {
3595 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3596 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3597 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3598 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3599 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3600 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3601 			"\xaa\xaa",
3602 		.ksize	= 80,
3603 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3604 			   "Block-Size Data",
3605 		.psize	= 73,
3606 		.digest	= "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
3607 			  "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
3608 	},
3609 };
3610 
3611 /*
3612  * HMAC-RIPEMD128 test vectors from RFC2286
3613  */
3614 static const struct hash_testvec hmac_rmd128_tv_template[] = {
3615 	{
3616 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3617 		.ksize	= 16,
3618 		.plaintext = "Hi There",
3619 		.psize	= 8,
3620 		.digest	= "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
3621 			  "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
3622 	}, {
3623 		.key	= "Jefe",
3624 		.ksize	= 4,
3625 		.plaintext = "what do ya want for nothing?",
3626 		.psize	= 28,
3627 		.digest	= "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
3628 			  "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
3629 		.np	= 2,
3630 		.tap	= { 14, 14 },
3631 	}, {
3632 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3633 		.ksize	= 16,
3634 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3635 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3636 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3637 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3638 		.psize	= 50,
3639 		.digest	= "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
3640 			  "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
3641 	}, {
3642 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3643 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3644 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3645 		.ksize	= 25,
3646 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3647 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3648 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3649 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3650 		.psize	= 50,
3651 		.digest	= "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
3652 			  "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
3653 	}, {
3654 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3655 		.ksize	= 16,
3656 		.plaintext = "Test With Truncation",
3657 		.psize	= 20,
3658 		.digest	= "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
3659 			  "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
3660 	}, {
3661 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3662 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3663 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3664 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3665 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3666 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3667 			"\xaa\xaa",
3668 		.ksize	= 80,
3669 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3670 		.psize	= 54,
3671 		.digest	= "\xdc\x73\x29\x28\xde\x98\x10\x4a"
3672 			  "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
3673 	}, {
3674 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3675 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3676 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3677 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3678 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3679 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3680 			"\xaa\xaa",
3681 		.ksize	= 80,
3682 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3683 			   "Block-Size Data",
3684 		.psize	= 73,
3685 		.digest	= "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
3686 			  "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
3687 	},
3688 };
3689 
3690 /*
3691  * HMAC-RIPEMD160 test vectors from RFC2286
3692  */
3693 static const struct hash_testvec hmac_rmd160_tv_template[] = {
3694 	{
3695 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3696 		.ksize	= 20,
3697 		.plaintext = "Hi There",
3698 		.psize	= 8,
3699 		.digest	= "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
3700 			  "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
3701 	}, {
3702 		.key	= "Jefe",
3703 		.ksize	= 4,
3704 		.plaintext = "what do ya want for nothing?",
3705 		.psize	= 28,
3706 		.digest	= "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
3707 			  "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
3708 		.np	= 2,
3709 		.tap	= { 14, 14 },
3710 	}, {
3711 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3712 		.ksize	= 20,
3713 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3714 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3715 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3716 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3717 		.psize	= 50,
3718 		.digest	= "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
3719 			  "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
3720 	}, {
3721 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3722 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3723 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3724 		.ksize	= 25,
3725 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3726 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3727 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3728 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3729 		.psize	= 50,
3730 		.digest	= "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
3731 			  "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
3732 	}, {
3733 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3734 		.ksize	= 20,
3735 		.plaintext = "Test With Truncation",
3736 		.psize	= 20,
3737 		.digest	= "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
3738 			  "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
3739 	}, {
3740 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3741 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3742 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3743 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3744 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3745 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3746 			"\xaa\xaa",
3747 		.ksize	= 80,
3748 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3749 		.psize	= 54,
3750 		.digest	= "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
3751 			  "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
3752 	}, {
3753 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3754 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3755 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3756 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3757 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3758 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3759 			"\xaa\xaa",
3760 		.ksize	= 80,
3761 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3762 			   "Block-Size Data",
3763 		.psize	= 73,
3764 		.digest	= "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
3765 			  "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
3766 	},
3767 };
3768 
3769 /*
3770  * HMAC-SHA1 test vectors from RFC2202
3771  */
3772 static const struct hash_testvec hmac_sha1_tv_template[] = {
3773 	{
3774 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3775 		.ksize	= 20,
3776 		.plaintext = "Hi There",
3777 		.psize	= 8,
3778 		.digest	= "\xb6\x17\x31\x86\x55\x05\x72\x64"
3779 			  "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
3780 			  "\x46\xbe",
3781 	}, {
3782 		.key	= "Jefe",
3783 		.ksize	= 4,
3784 		.plaintext = "what do ya want for nothing?",
3785 		.psize	= 28,
3786 		.digest	= "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
3787 			  "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
3788 		.np	= 2,
3789 		.tap	= { 14, 14 }
3790 	}, {
3791 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3792 		.ksize	= 20,
3793 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3794 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3795 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3796 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3797 		.psize	= 50,
3798 		.digest	= "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
3799 			  "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
3800 	}, {
3801 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3802 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3803 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3804 		.ksize	= 25,
3805 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3806 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3807 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3808 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3809 		.psize	= 50,
3810 		.digest	= "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
3811 			  "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
3812 	}, {
3813 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3814 		.ksize	= 20,
3815 		.plaintext = "Test With Truncation",
3816 		.psize	= 20,
3817 		.digest	= "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
3818 			  "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
3819 	}, {
3820 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3821 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3822 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3823 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3824 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3825 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3826 			"\xaa\xaa",
3827 		.ksize	= 80,
3828 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3829 		.psize	= 54,
3830 		.digest	= "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
3831 			  "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
3832 	}, {
3833 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3834 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3835 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3836 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3837 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3838 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3839 			"\xaa\xaa",
3840 		.ksize	= 80,
3841 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3842 			   "Block-Size Data",
3843 		.psize	= 73,
3844 		.digest	= "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
3845 			  "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
3846 	},
3847 };
3848 
3849 
3850 /*
3851  * SHA224 HMAC test vectors from RFC4231
3852  */
3853 static const struct hash_testvec hmac_sha224_tv_template[] = {
3854 	{
3855 		.key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3856 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3857 			"\x0b\x0b\x0b\x0b",
3858 		.ksize  = 20,
3859 		/*  ("Hi There") */
3860 		.plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
3861 		.psize  = 8,
3862 		.digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
3863 			"\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
3864 			"\x47\xb4\xb1\x16\x99\x12\xba\x4f"
3865 			"\x53\x68\x4b\x22",
3866 	}, {
3867 		.key    = "Jefe",
3868 		.ksize  = 4,
3869 		/* ("what do ya want for nothing?") */
3870 		.plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
3871 			"\x79\x61\x20\x77\x61\x6e\x74\x20"
3872 			"\x66\x6f\x72\x20\x6e\x6f\x74\x68"
3873 			"\x69\x6e\x67\x3f",
3874 		.psize  = 28,
3875 		.digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
3876 			"\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
3877 			"\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
3878 			"\x8f\xd0\x5e\x44",
3879 		.np = 4,
3880 		.tap    = { 7, 7, 7, 7 }
3881 	}, {
3882 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3883 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3884 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3885 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3886 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3887 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3888 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3889 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3890 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3891 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3892 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3893 			"\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",
3899 		.ksize  = 131,
3900 		/* ("Test Using Larger Than Block-Size Key - Hash Key First") */
3901 		.plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
3902 			"\x6e\x67\x20\x4c\x61\x72\x67\x65"
3903 			"\x72\x20\x54\x68\x61\x6e\x20\x42"
3904 			"\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
3905 			"\x65\x20\x4b\x65\x79\x20\x2d\x20"
3906 			"\x48\x61\x73\x68\x20\x4b\x65\x79"
3907 			"\x20\x46\x69\x72\x73\x74",
3908 		.psize  = 54,
3909 		.digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
3910 			"\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
3911 			"\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
3912 			"\x3f\xa6\x87\x0e",
3913 	}, {
3914 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3915 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3916 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3917 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3918 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3919 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3920 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3921 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3922 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3923 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3924 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3925 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3926 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3927 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3928 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3929 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3930 			"\xaa\xaa\xaa",
3931 		.ksize  = 131,
3932 		/* ("This is a test using a larger than block-size key and a")
3933 		(" larger than block-size data. The key needs to be")
3934 			(" hashed before being used by the HMAC algorithm.") */
3935 		.plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
3936 			"\x61\x20\x74\x65\x73\x74\x20\x75"
3937 			"\x73\x69\x6e\x67\x20\x61\x20\x6c"
3938 			"\x61\x72\x67\x65\x72\x20\x74\x68"
3939 			"\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
3940 			"\x2d\x73\x69\x7a\x65\x20\x6b\x65"
3941 			"\x79\x20\x61\x6e\x64\x20\x61\x20"
3942 			"\x6c\x61\x72\x67\x65\x72\x20\x74"
3943 			"\x68\x61\x6e\x20\x62\x6c\x6f\x63"
3944 			"\x6b\x2d\x73\x69\x7a\x65\x20\x64"
3945 			"\x61\x74\x61\x2e\x20\x54\x68\x65"
3946 			"\x20\x6b\x65\x79\x20\x6e\x65\x65"
3947 			"\x64\x73\x20\x74\x6f\x20\x62\x65"
3948 			"\x20\x68\x61\x73\x68\x65\x64\x20"
3949 			"\x62\x65\x66\x6f\x72\x65\x20\x62"
3950 			"\x65\x69\x6e\x67\x20\x75\x73\x65"
3951 			"\x64\x20\x62\x79\x20\x74\x68\x65"
3952 			"\x20\x48\x4d\x41\x43\x20\x61\x6c"
3953 			"\x67\x6f\x72\x69\x74\x68\x6d\x2e",
3954 		.psize  = 152,
3955 		.digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
3956 			"\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
3957 			"\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
3958 			"\xf6\xf5\x65\xd1",
3959 	},
3960 };
3961 
3962 /*
3963  * HMAC-SHA256 test vectors from
3964  * draft-ietf-ipsec-ciph-sha-256-01.txt
3965  */
3966 static const struct hash_testvec hmac_sha256_tv_template[] = {
3967 	{
3968 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3969 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3970 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3971 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3972 		.ksize	= 32,
3973 		.plaintext = "abc",
3974 		.psize	= 3,
3975 		.digest	= "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
3976 			  "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
3977 			  "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
3978 			  "\x92\x75\x90\x21\xcf\xab\x81\x81",
3979 	}, {
3980 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3981 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3982 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3983 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3984 		.ksize	= 32,
3985 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3986 		.psize	= 56,
3987 		.digest	= "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
3988 			  "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
3989 			  "\xe6\x98\xe3\x61\x19\x42\x11\x49"
3990 			  "\xea\x8c\x71\x24\x56\x69\x7d\x30",
3991 	}, {
3992 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3993 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3994 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3995 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3996 		.ksize	= 32,
3997 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3998 			   "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3999 		.psize	= 112,
4000 		.digest	= "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
4001 			  "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
4002 			  "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
4003 			  "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
4004 	}, {
4005 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4006 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4007 			"\x0b\x0b\x0b\x0b\x0b\x0b",
4008 		.ksize	= 32,
4009 		.plaintext = "Hi There",
4010 		.psize	= 8,
4011 		.digest	= "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
4012 			  "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
4013 			  "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
4014 			  "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
4015 	}, {
4016 		.key	= "Jefe",
4017 		.ksize	= 4,
4018 		.plaintext = "what do ya want for nothing?",
4019 		.psize	= 28,
4020 		.digest	= "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
4021 			  "\x6a\x04\x24\x26\x08\x95\x75\xc7"
4022 			  "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
4023 			  "\x9d\xec\x58\xb9\x64\xec\x38\x43",
4024 		.np	= 2,
4025 		.tap	= { 14, 14 }
4026 	}, {
4027 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4028 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4029 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4030 		.ksize	= 32,
4031 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4032 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4033 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4034 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4035 		.psize	= 50,
4036 		.digest	= "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
4037 			  "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
4038 			  "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
4039 			  "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
4040 	}, {
4041 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
4042 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4043 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
4044 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
4045 			  "\x21\x22\x23\x24\x25",
4046 		.ksize	= 37,
4047 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4048 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4049 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4050 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4051 		.psize	= 50,
4052 		.digest	= "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
4053 			  "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
4054 			  "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
4055 			  "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
4056 	}, {
4057 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4058 			"\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4059 			"\x0c\x0c\x0c\x0c\x0c\x0c",
4060 		.ksize	= 32,
4061 		.plaintext = "Test With Truncation",
4062 		.psize	= 20,
4063 		.digest	= "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
4064 			  "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
4065 			  "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
4066 			  "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
4067 	}, {
4068 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4069 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4070 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4071 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4072 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4073 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4074 			"\xaa\xaa",
4075 		.ksize	= 80,
4076 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4077 		.psize	= 54,
4078 		.digest	= "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
4079 			  "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
4080 			  "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
4081 			  "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
4082 	}, {
4083 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4084 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4085 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4086 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4087 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4088 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4089 			"\xaa\xaa",
4090 		.ksize	= 80,
4091 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
4092 			   "One Block-Size Data",
4093 		.psize	= 73,
4094 		.digest	= "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
4095 			  "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
4096 			  "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
4097 			  "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
4098 	},
4099 };
4100 
4101 static const struct hash_testvec aes_cmac128_tv_template[] = {
4102 	{ /* From NIST Special Publication 800-38B, AES-128 */
4103 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4104 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4105 		.plaintext	= zeroed_string,
4106 		.digest		= "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
4107 				  "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
4108 		.psize		= 0,
4109 		.ksize		= 16,
4110 	}, {
4111 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4112 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4113 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4114 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4115 		.digest		= "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
4116 				  "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
4117 		.psize		= 16,
4118 		.ksize		= 16,
4119 	}, {
4120 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4121 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4122 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4123 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4124 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4125 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4126 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
4127 		.digest		= "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
4128 				  "\x30\xca\x32\x61\x14\x97\xc8\x27",
4129 		.psize		= 40,
4130 		.ksize		= 16,
4131 	}, {
4132 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4133 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4134 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4135 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4136 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4137 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4138 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4139 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4140 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4141 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4142 		.digest		= "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
4143 				  "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
4144 		.psize		= 64,
4145 		.ksize		= 16,
4146 	}, { /* From NIST Special Publication 800-38B, AES-256 */
4147 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4148 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4149 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4150 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4151 		.plaintext	= zeroed_string,
4152 		.digest		= "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
4153 				  "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
4154 		.psize		= 0,
4155 		.ksize		= 32,
4156 	}, {
4157 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4158 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4159 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4160 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4161 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4162 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4163 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4164 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4165 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4166 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4167 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4168 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4169 		.digest		= "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
4170 				  "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
4171 		.psize		= 64,
4172 		.ksize		= 32,
4173 	}
4174 };
4175 
4176 static const struct hash_testvec aes_cbcmac_tv_template[] = {
4177 	{
4178 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4179 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4180 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4181 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4182 		.digest		= "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
4183 				  "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
4184 		.psize		= 16,
4185 		.ksize		= 16,
4186 	}, {
4187 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4188 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4189 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4190 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4191 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4192 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4193 				  "\x30",
4194 		.digest		= "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
4195 				  "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
4196 		.psize		= 33,
4197 		.ksize		= 16,
4198 		.np		= 2,
4199 		.tap		= { 7, 26 },
4200 	}, {
4201 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4202 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4203 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4204 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4205 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4206 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4207 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4208 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4209 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4210 				  "\xad\x2b\x41\x7b\xe6\x6c\x37",
4211 		.digest		= "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
4212 				  "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
4213 		.psize		= 63,
4214 		.ksize		= 16,
4215 	}, {
4216 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4217 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4218 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4219 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4220 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4221 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4222 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4223 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4224 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4225 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4226 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4227 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
4228 				  "\x1c",
4229 		.digest		= "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
4230 				  "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
4231 		.psize		= 65,
4232 		.ksize		= 32,
4233 	}
4234 };
4235 
4236 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
4237 /*
4238  * From NIST Special Publication 800-38B, Three Key TDEA
4239  * Corrected test vectors from:
4240  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
4241  */
4242 	{
4243 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4244 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4245 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4246 		.plaintext	= zeroed_string,
4247 		.digest		= "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
4248 		.psize		= 0,
4249 		.ksize		= 24,
4250 	}, {
4251 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4252 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4253 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4254 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
4255 		.digest		= "\x8e\x8f\x29\x31\x36\x28\x37\x97",
4256 		.psize		= 8,
4257 		.ksize		= 24,
4258 	}, {
4259 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4260 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4261 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4262 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4263 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4264 				  "\xae\x2d\x8a\x57",
4265 		.digest		= "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
4266 		.psize		= 20,
4267 		.ksize		= 24,
4268 	}, {
4269 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4270 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4271 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4272 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4273 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4274 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4275 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
4276 		.digest		= "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
4277 		.psize		= 32,
4278 		.ksize		= 24,
4279 	}
4280 };
4281 
4282 static const struct hash_testvec aes_xcbc128_tv_template[] = {
4283 	{
4284 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4285 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4286 		.plaintext = zeroed_string,
4287 		.digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
4288 			  "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
4289 		.psize	= 0,
4290 		.ksize	= 16,
4291 	}, {
4292 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4293 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4294 		.plaintext = "\x00\x01\x02",
4295 		.digest	= "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
4296 			  "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
4297 		.psize	= 3,
4298 		.ksize	= 16,
4299 	} , {
4300 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4301 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4302 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4303 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4304 		.digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
4305 			  "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
4306 		.psize	= 16,
4307 		.ksize	= 16,
4308 	}, {
4309 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4310 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4311 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4312 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4313 			     "\x10\x11\x12\x13",
4314 		.digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
4315 			  "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
4316 		.tap	= { 10, 10 },
4317 		.psize	= 20,
4318 		.np	= 2,
4319 		.ksize	= 16,
4320 	}, {
4321 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4322 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4323 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4324 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4325 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
4326 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4327 		.digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
4328 			  "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
4329 		.psize	= 32,
4330 		.ksize	= 16,
4331 	}, {
4332 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4333 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4334 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4335 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4336 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
4337 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
4338 			     "\x20\x21",
4339 		.digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
4340 			  "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
4341 		.tap	= { 17, 17 },
4342 		.psize	= 34,
4343 		.np	= 2,
4344 		.ksize	= 16,
4345 	}
4346 };
4347 
4348 static const char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
4349 				       '\x02', '\x03', '\x02', '\x02',
4350 				       '\x02', '\x04', '\x01', '\x07',
4351 				       '\x04', '\x01', '\x04', '\x03',};
4352 static const char vmac_string2[128] = {'a', 'b', 'c',};
4353 static const char vmac_string3[128] = {'a', 'b', 'c', 'a', 'b', 'c',
4354 				       'a', 'b', 'c', 'a', 'b', 'c',
4355 				       'a', 'b', 'c', 'a', 'b', 'c',
4356 				       'a', 'b', 'c', 'a', 'b', 'c',
4357 				       'a', 'b', 'c', 'a', 'b', 'c',
4358 				       'a', 'b', 'c', 'a', 'b', 'c',
4359 				       'a', 'b', 'c', 'a', 'b', 'c',
4360 				       'a', 'b', 'c', 'a', 'b', 'c',
4361 				      };
4362 
4363 static const char vmac_string4[17] = {'b', 'c', 'e', 'f',
4364 				      'i', 'j', 'l', 'm',
4365 				      'o', 'p', 'r', 's',
4366 				      't', 'u', 'w', 'x', 'z'};
4367 
4368 static const char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
4369 				       'o', 'l', 'k', ']', '%',
4370 				       '9', '2', '7', '!', 'A'};
4371 
4372 static const char vmac_string6[129] = {'p', 't', '*', '7', 'l',
4373 				       'i', '!', '#', 'w', '0',
4374 				       'z', '/', '4', 'A', 'n'};
4375 
4376 static const struct hash_testvec aes_vmac128_tv_template[] = {
4377 	{
4378 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
4379 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4380 		.plaintext = NULL,
4381 		.digest	= "\x07\x58\x80\x35\x77\xa4\x7b\x54",
4382 		.psize	= 0,
4383 		.ksize	= 16,
4384 	}, {
4385 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
4386 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4387 		.plaintext = vmac_string1,
4388 		.digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
4389 		.psize  = 128,
4390 		.ksize  = 16,
4391 	}, {
4392 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
4393 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4394 		.plaintext = vmac_string2,
4395 		.digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
4396 		.psize  = 128,
4397 		.ksize  = 16,
4398 	}, {
4399 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
4400 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4401 		.plaintext = vmac_string3,
4402 		.digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
4403 		.psize  = 128,
4404 		.ksize  = 16,
4405 	}, {
4406 		.key	= "abcdefghijklmnop",
4407 		.plaintext = NULL,
4408 		.digest	= "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
4409 		.psize	= 0,
4410 		.ksize	= 16,
4411 	}, {
4412 		.key    = "abcdefghijklmnop",
4413 		.plaintext = vmac_string1,
4414 		.digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
4415 		.psize  = 128,
4416 		.ksize  = 16,
4417 	}, {
4418 		.key    = "abcdefghijklmnop",
4419 		.plaintext = vmac_string2,
4420 		.digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
4421 		.psize  = 128,
4422 		.ksize  = 16,
4423 	}, {
4424 		.key    = "abcdefghijklmnop",
4425 		.plaintext = vmac_string3,
4426 		.digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
4427 		.psize  = 128,
4428 		.ksize  = 16,
4429 	}, {
4430 		.key = "a09b5cd!f#07K\x00\x00\x00",
4431 		.plaintext = vmac_string4,
4432 		.digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
4433 		.psize = sizeof(vmac_string4),
4434 		.ksize = 16,
4435 	}, {
4436 		.key = "a09b5cd!f#07K\x00\x00\x00",
4437 		.plaintext = vmac_string5,
4438 		.digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
4439 		.psize = sizeof(vmac_string5),
4440 		.ksize = 16,
4441 	}, {
4442 		.key = "a09b5cd!f#07K\x00\x00\x00",
4443 		.plaintext = vmac_string6,
4444 		.digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
4445 		.psize = sizeof(vmac_string6),
4446 		.ksize = 16,
4447 	},
4448 };
4449 
4450 /*
4451  * SHA384 HMAC test vectors from RFC4231
4452  */
4453 
4454 static const struct hash_testvec hmac_sha384_tv_template[] = {
4455 	{
4456 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4457 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4458 			  "\x0b\x0b\x0b\x0b",
4459 		.ksize	= 20,
4460 		.plaintext = "Hi There",
4461 		.psize	= 8,
4462 		.digest	= "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
4463 			  "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
4464 			  "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
4465 			  "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
4466 			  "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
4467 			  "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
4468 	}, {
4469 		.key	= "Jefe",
4470 		.ksize	= 4,
4471 		.plaintext = "what do ya want for nothing?",
4472 		.psize	= 28,
4473 		.digest	= "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
4474 			  "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
4475 			  "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
4476 			  "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
4477 			  "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
4478 			  "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
4479 		.np	= 4,
4480 		.tap	= { 7, 7, 7, 7 }
4481 	}, {
4482 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4483 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4484 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4485 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4486 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4487 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4488 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4489 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4490 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4491 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4492 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4493 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4494 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4495 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4496 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4497 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4498 			  "\xaa\xaa\xaa",
4499 		.ksize	= 131,
4500 		.plaintext = "Test Using Larger Than Block-Siz"
4501 			   "e Key - Hash Key First",
4502 		.psize	= 54,
4503 		.digest	= "\x4e\xce\x08\x44\x85\x81\x3e\x90"
4504 			  "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
4505 			  "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
4506 			  "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
4507 			  "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
4508 			  "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
4509 	}, {
4510 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4511 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4512 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4513 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4514 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4515 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4516 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4517 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4518 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4519 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4520 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4521 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4522 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4523 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4524 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4525 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4526 			  "\xaa\xaa\xaa",
4527 		.ksize	= 131,
4528 		.plaintext = "This is a test u"
4529 			   "sing a larger th"
4530 			   "an block-size ke"
4531 			   "y and a larger t"
4532 			   "han block-size d"
4533 			   "ata. The key nee"
4534 			   "ds to be hashed "
4535 			   "before being use"
4536 			   "d by the HMAC al"
4537 			   "gorithm.",
4538 		.psize	= 152,
4539 		.digest	= "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
4540 			  "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
4541 			  "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
4542 			  "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
4543 			  "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
4544 			  "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
4545 	},
4546 };
4547 
4548 /*
4549  * SHA512 HMAC test vectors from RFC4231
4550  */
4551 
4552 static const struct hash_testvec hmac_sha512_tv_template[] = {
4553 	{
4554 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4555 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4556 			  "\x0b\x0b\x0b\x0b",
4557 		.ksize	= 20,
4558 		.plaintext = "Hi There",
4559 		.psize	= 8,
4560 		.digest	= "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
4561 			  "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
4562 			  "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
4563 			  "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
4564 			  "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
4565 			  "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
4566 			  "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
4567 			  "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
4568 	}, {
4569 		.key	= "Jefe",
4570 		.ksize	= 4,
4571 		.plaintext = "what do ya want for nothing?",
4572 		.psize	= 28,
4573 		.digest	= "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
4574 			  "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
4575 			  "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
4576 			  "\x10\x27\x0c\xd7\xea\x25\x05\x54"
4577 			  "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
4578 			  "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
4579 			  "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
4580 			  "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
4581 		.np	= 4,
4582 		.tap	= { 7, 7, 7, 7 }
4583 	}, {
4584 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4585 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4586 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4587 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4588 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4589 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4590 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4591 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4592 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4593 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4594 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4595 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4596 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4597 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4598 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4599 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4600 			  "\xaa\xaa\xaa",
4601 		.ksize	= 131,
4602 		.plaintext = "Test Using Large"
4603 			   "r Than Block-Siz"
4604 			   "e Key - Hash Key"
4605 			   " First",
4606 		.psize	= 54,
4607 		.digest	= "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
4608 			"\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
4609 			"\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
4610 			"\x12\x1b\x01\x37\x83\xf8\xf3\x52"
4611 			"\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
4612 			"\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
4613 			"\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
4614 			"\x8b\x91\x5a\x98\x5d\x78\x65\x98",
4615 	}, {
4616 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4617 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4618 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4619 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4620 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4621 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4622 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4623 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4624 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4625 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4626 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4627 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4628 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4629 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4630 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4631 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4632 			"\xaa\xaa\xaa",
4633 		.ksize	= 131,
4634 		.plaintext =
4635 			  "This is a test u"
4636 			  "sing a larger th"
4637 			  "an block-size ke"
4638 			  "y and a larger t"
4639 			  "han block-size d"
4640 			  "ata. The key nee"
4641 			  "ds to be hashed "
4642 			  "before being use"
4643 			  "d by the HMAC al"
4644 			  "gorithm.",
4645 		.psize	= 152,
4646 		.digest	= "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
4647 			"\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
4648 			"\xde\xbd\x71\xf8\x86\x72\x89\x86"
4649 			"\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
4650 			"\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
4651 			"\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
4652 			"\x13\x46\x76\xfb\x6d\xe0\x44\x60"
4653 			"\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
4654 	},
4655 };
4656 
4657 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
4658 	{
4659 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4660 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4661 			  "\x0b\x0b\x0b\x0b",
4662 		.ksize	= 20,
4663 		.plaintext = "Hi There",
4664 		.psize	= 8,
4665 		.digest	= "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
4666 			  "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
4667 			  "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
4668 			  "\xf3\xc8\x60\xf7",
4669 	}, {
4670 		.key	= "Jefe",
4671 		.ksize	= 4,
4672 		.plaintext = "what do ya want for nothing?",
4673 		.psize	= 28,
4674 		.digest	= "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
4675 			  "\x1b\x79\x86\x34\xad\x38\x68\x11"
4676 			  "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
4677 			  "\xba\xce\x5e\x66",
4678 		.np	= 4,
4679 		.tap	= { 7, 7, 7, 7 }
4680 	}, {
4681 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4682 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4683 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4684 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4685 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4686 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4687 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4688 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4689 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4690 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4691 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4692 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4693 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4694 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4695 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4696 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4697 			  "\xaa\xaa\xaa",
4698 		.ksize	= 131,
4699 		.plaintext = "Test Using Large"
4700 			   "r Than Block-Siz"
4701 			   "e Key - Hash Key"
4702 			   " First",
4703 		.psize	= 54,
4704 		.digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
4705 			  "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
4706 			  "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
4707 			  "\x5f\xb9\x99\x5f",
4708 	}, {
4709 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4710 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4711 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4712 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4713 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4714 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4715 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4716 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4717 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4718 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4719 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4720 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4721 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4722 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4723 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4724 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4725 			  "\xaa\xaa\xaa",
4726 		.ksize	= 131,
4727 		.plaintext =
4728 			  "This is a test u"
4729 			  "sing a larger th"
4730 			  "an block-size ke"
4731 			  "y and a larger t"
4732 			  "han block-size d"
4733 			  "ata. The key nee"
4734 			  "ds to be hashed "
4735 			  "before being use"
4736 			  "d by the HMAC al"
4737 			  "gorithm.",
4738 		.psize	= 152,
4739 		.digest	= "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
4740 			  "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
4741 			  "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
4742 			  "\x29\xcd\x62\xa0",
4743 	},
4744 };
4745 
4746 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
4747 	{
4748 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4749 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4750 			  "\x0b\x0b\x0b\x0b",
4751 		.ksize	= 20,
4752 		.plaintext = "Hi There",
4753 		.psize	= 8,
4754 		.digest	= "\xba\x85\x19\x23\x10\xdf\xfa\x96"
4755 			  "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
4756 			  "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
4757 			  "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
4758 	}, {
4759 		.key	= "Jefe",
4760 		.ksize	= 4,
4761 		.plaintext = "what do ya want for nothing?",
4762 		.psize	= 28,
4763 		.digest	= "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
4764 			  "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
4765 			  "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
4766 			  "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
4767 		.np	= 4,
4768 		.tap	= { 7, 7, 7, 7 }
4769 	}, {
4770 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4771 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4772 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4773 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4774 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4775 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4776 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4777 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4778 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4779 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4780 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4781 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4782 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4783 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4784 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4785 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4786 			  "\xaa\xaa\xaa",
4787 		.ksize	= 131,
4788 		.plaintext = "Test Using Large"
4789 			   "r Than Block-Siz"
4790 			   "e Key - Hash Key"
4791 			   " First",
4792 		.psize	= 54,
4793 		.digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
4794 			  "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
4795 			  "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
4796 			  "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
4797 	}, {
4798 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4799 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4800 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4801 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4802 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4803 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4804 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4805 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4806 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4807 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4808 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4809 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4810 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4811 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4812 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4813 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4814 			  "\xaa\xaa\xaa",
4815 		.ksize	= 131,
4816 		.plaintext =
4817 			  "This is a test u"
4818 			  "sing a larger th"
4819 			  "an block-size ke"
4820 			  "y and a larger t"
4821 			  "han block-size d"
4822 			  "ata. The key nee"
4823 			  "ds to be hashed "
4824 			  "before being use"
4825 			  "d by the HMAC al"
4826 			  "gorithm.",
4827 		.psize	= 152,
4828 		.digest	= "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
4829 			  "\x7a\xef\x87\x63\x26\x1e\x49\xad"
4830 			  "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
4831 			  "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
4832 	},
4833 };
4834 
4835 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
4836 	{
4837 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4838 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4839 			  "\x0b\x0b\x0b\x0b",
4840 		.ksize	= 20,
4841 		.plaintext = "Hi There",
4842 		.psize	= 8,
4843 		.digest	= "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
4844 			  "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
4845 			  "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
4846 			  "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
4847 			  "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
4848 			  "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
4849 	}, {
4850 		.key	= "Jefe",
4851 		.ksize	= 4,
4852 		.plaintext = "what do ya want for nothing?",
4853 		.psize	= 28,
4854 		.digest	= "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
4855 			  "\x67\x64\xd2\xed\x61\x90\x3f\x21"
4856 			  "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
4857 			  "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
4858 			  "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
4859 			  "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
4860 		.np	= 4,
4861 		.tap	= { 7, 7, 7, 7 }
4862 	}, {
4863 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4864 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4865 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4866 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4867 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4868 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4869 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4870 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4871 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4872 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4873 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4874 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4875 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4876 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4877 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4878 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4879 			  "\xaa\xaa\xaa",
4880 		.ksize	= 131,
4881 		.plaintext = "Test Using Large"
4882 			   "r Than Block-Siz"
4883 			   "e Key - Hash Key"
4884 			   " First",
4885 		.psize	= 54,
4886 		.digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
4887 			  "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
4888 			  "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
4889 			  "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
4890 			  "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
4891 			  "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
4892 	}, {
4893 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4894 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4895 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4896 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4897 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4898 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4899 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4900 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4901 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4902 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4903 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4904 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4905 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4906 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4907 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4908 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4909 			  "\xaa\xaa\xaa",
4910 		.ksize	= 131,
4911 		.plaintext =
4912 			  "This is a test u"
4913 			  "sing a larger th"
4914 			  "an block-size ke"
4915 			  "y and a larger t"
4916 			  "han block-size d"
4917 			  "ata. The key nee"
4918 			  "ds to be hashed "
4919 			  "before being use"
4920 			  "d by the HMAC al"
4921 			  "gorithm.",
4922 		.psize	= 152,
4923 		.digest	= "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
4924 			  "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
4925 			  "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
4926 			  "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
4927 			  "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
4928 			  "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
4929 	},
4930 };
4931 
4932 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
4933 	{
4934 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4935 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4936 			  "\x0b\x0b\x0b\x0b",
4937 		.ksize	= 20,
4938 		.plaintext = "Hi There",
4939 		.psize	= 8,
4940 		.digest	= "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
4941 			  "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
4942 			  "\xec\x15\x77\x0a\x7c\xab\xac\x53"
4943 			  "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
4944 			  "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
4945 			  "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
4946 			  "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
4947 			  "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
4948 	}, {
4949 		.key	= "Jefe",
4950 		.ksize	= 4,
4951 		.plaintext = "what do ya want for nothing?",
4952 		.psize	= 28,
4953 		.digest	= "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
4954 			  "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
4955 			  "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
4956 			  "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
4957 			  "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
4958 			  "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
4959 			  "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
4960 			  "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
4961 		.np	= 4,
4962 		.tap	= { 7, 7, 7, 7 }
4963 	}, {
4964 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4965 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4966 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4967 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4968 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4969 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4970 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4971 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4972 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4973 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4974 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4975 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4976 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4977 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4978 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4979 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4980 			  "\xaa\xaa\xaa",
4981 		.ksize	= 131,
4982 		.plaintext = "Test Using Large"
4983 			   "r Than Block-Siz"
4984 			   "e Key - Hash Key"
4985 			   " First",
4986 		.psize	= 54,
4987 		.digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
4988 			  "\x90\xed\x69\x11\xa4\xb6\x55\x24"
4989 			  "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
4990 			  "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
4991 			  "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
4992 			  "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
4993 			  "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
4994 			  "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
4995 	}, {
4996 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4997 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4998 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4999 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5000 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5001 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5002 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5003 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5004 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5005 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5006 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5007 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5008 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5009 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5010 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5011 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5012 			  "\xaa\xaa\xaa",
5013 		.ksize	= 131,
5014 		.plaintext =
5015 			  "This is a test u"
5016 			  "sing a larger th"
5017 			  "an block-size ke"
5018 			  "y and a larger t"
5019 			  "han block-size d"
5020 			  "ata. The key nee"
5021 			  "ds to be hashed "
5022 			  "before being use"
5023 			  "d by the HMAC al"
5024 			  "gorithm.",
5025 		.psize	= 152,
5026 		.digest	= "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
5027 			  "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
5028 			  "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
5029 			  "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
5030 			  "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
5031 			  "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
5032 			  "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
5033 			  "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
5034 	},
5035 };
5036 
5037 /*
5038  * Poly1305 test vectors from RFC7539 A.3.
5039  */
5040 
5041 static const struct hash_testvec poly1305_tv_template[] = {
5042 	{ /* Test Vector #1 */
5043 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
5044 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5045 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5046 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5047 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5048 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5049 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5050 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5051 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5052 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5053 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5054 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5055 		.psize		= 96,
5056 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
5057 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5058 	}, { /* Test Vector #2 */
5059 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
5060 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5061 				  "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5062 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5063 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
5064 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5065 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
5066 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5067 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
5068 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5069 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
5070 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5071 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5072 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5073 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
5074 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
5075 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5076 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
5077 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
5078 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5079 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5080 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
5081 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
5082 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5083 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5084 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
5085 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
5086 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5087 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
5088 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5089 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5090 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
5091 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5092 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5093 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5094 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5095 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
5096 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
5097 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5098 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5099 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
5100 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5101 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5102 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5103 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5104 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
5105 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5106 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5107 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
5108 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
5109 				  "\x73\x73\x65\x64\x20\x74\x6f",
5110 		.psize		= 407,
5111 		.digest		= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5112 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
5113 	}, { /* Test Vector #3 */
5114 		.plaintext	= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5115 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5116 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5117 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5118 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
5119 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5120 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
5121 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5122 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
5123 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5124 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
5125 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5126 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5127 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5128 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
5129 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
5130 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5131 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
5132 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
5133 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5134 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5135 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
5136 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
5137 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5138 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5139 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
5140 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
5141 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5142 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
5143 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5144 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5145 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
5146 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5147 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5148 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5149 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5150 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
5151 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
5152 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5153 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5154 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
5155 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5156 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5157 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5158 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5159 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
5160 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5161 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5162 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
5163 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
5164 				  "\x73\x73\x65\x64\x20\x74\x6f",
5165 		.psize		= 407,
5166 		.digest		= "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
5167 				  "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
5168 	}, { /* Test Vector #4 */
5169 		.plaintext	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
5170 				  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
5171 				  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
5172 				  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
5173 				  "\x27\x54\x77\x61\x73\x20\x62\x72"
5174 				  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
5175 				  "\x6e\x64\x20\x74\x68\x65\x20\x73"
5176 				  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
5177 				  "\x76\x65\x73\x0a\x44\x69\x64\x20"
5178 				  "\x67\x79\x72\x65\x20\x61\x6e\x64"
5179 				  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
5180 				  "\x69\x6e\x20\x74\x68\x65\x20\x77"
5181 				  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
5182 				  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
5183 				  "\x65\x72\x65\x20\x74\x68\x65\x20"
5184 				  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
5185 				  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
5186 				  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
5187 				  "\x72\x61\x74\x68\x73\x20\x6f\x75"
5188 				  "\x74\x67\x72\x61\x62\x65\x2e",
5189 		.psize		= 159,
5190 		.digest		= "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
5191 				  "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
5192 	}, { /* Test Vector #5 */
5193 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
5194 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5195 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5196 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5197 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5198 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
5199 		.psize		= 48,
5200 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
5201 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5202 	}, { /* Test Vector #6 */
5203 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
5204 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5205 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5206 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5207 				  "\x02\x00\x00\x00\x00\x00\x00\x00"
5208 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5209 		.psize		= 48,
5210 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
5211 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5212 	}, { /* Test Vector #7 */
5213 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
5214 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5215 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5216 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5217 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5218 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5219 				  "\xf0\xff\xff\xff\xff\xff\xff\xff"
5220 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5221 				  "\x11\x00\x00\x00\x00\x00\x00\x00"
5222 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5223 		.psize		= 80,
5224 		.digest		= "\x05\x00\x00\x00\x00\x00\x00\x00"
5225 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5226 	}, { /* Test Vector #8 */
5227 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
5228 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5229 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5230 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5231 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5232 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
5233 				  "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5234 				  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5235 				  "\x01\x01\x01\x01\x01\x01\x01\x01"
5236 				  "\x01\x01\x01\x01\x01\x01\x01\x01",
5237 		.psize		= 80,
5238 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
5239 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5240 	}, { /* Test Vector #9 */
5241 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
5242 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5243 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5244 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5245 				  "\xfd\xff\xff\xff\xff\xff\xff\xff"
5246 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
5247 		.psize		= 48,
5248 		.digest		= "\xfa\xff\xff\xff\xff\xff\xff\xff"
5249 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
5250 	}, { /* Test Vector #10 */
5251 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
5252 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
5253 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5254 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5255 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
5256 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5257 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5258 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
5259 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5260 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5261 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
5262 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5263 		.psize		= 96,
5264 		.digest		= "\x14\x00\x00\x00\x00\x00\x00\x00"
5265 				  "\x55\x00\x00\x00\x00\x00\x00\x00",
5266 	}, { /* Test Vector #11 */
5267 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
5268 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
5269 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5270 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5271 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
5272 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5273 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5274 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
5275 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
5276 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5277 		.psize		= 80,
5278 		.digest		= "\x13\x00\x00\x00\x00\x00\x00\x00"
5279 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
5280 	},
5281 };
5282 
5283 /*
5284  * DES test vectors.
5285  */
5286 static const struct cipher_testvec des_enc_tv_template[] = {
5287 	{ /* From Applied Cryptography */
5288 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5289 		.klen	= 8,
5290 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5291 		.ilen	= 8,
5292 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5293 		.rlen	= 8,
5294 	}, { /* Same key, different plaintext block */
5295 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5296 		.klen	= 8,
5297 		.input	= "\x22\x33\x44\x55\x66\x77\x88\x99",
5298 		.ilen	= 8,
5299 		.result	= "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5300 		.rlen	= 8,
5301 	}, { /* Sbox test from NBS */
5302 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
5303 		.klen	= 8,
5304 		.input	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
5305 		.ilen	= 8,
5306 		.result	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5307 		.rlen	= 8,
5308 	}, { /* Three blocks */
5309 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5310 		.klen	= 8,
5311 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5312 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
5313 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
5314 		.ilen	= 24,
5315 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5316 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5317 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
5318 		.rlen	= 24,
5319 	}, { /* Weak key */
5320 		.fail	= true,
5321 		.wk	= 1,
5322 		.key	= "\x01\x01\x01\x01\x01\x01\x01\x01",
5323 		.klen	= 8,
5324 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5325 		.ilen	= 8,
5326 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5327 		.rlen	= 8,
5328 	}, { /* Two blocks -- for testing encryption across pages */
5329 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5330 		.klen	= 8,
5331 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5332 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
5333 		.ilen	= 16,
5334 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5335 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5336 		.rlen	= 16,
5337 		.np	= 2,
5338 		.tap	= { 8, 8 }
5339 	}, { /* Four blocks -- for testing encryption with chunking */
5340 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5341 		.klen	= 8,
5342 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5343 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
5344 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
5345 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
5346 		.ilen	= 32,
5347 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5348 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5349 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
5350 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5351 		.rlen	= 32,
5352 		.np	= 3,
5353 		.tap	= { 14, 10, 8 }
5354 	}, {
5355 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5356 		.klen	= 8,
5357 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5358 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
5359 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
5360 		.ilen	= 24,
5361 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5362 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5363 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
5364 		.rlen	= 24,
5365 		.np	= 4,
5366 		.tap	= { 2, 1, 3, 18 }
5367 	}, {
5368 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5369 		.klen	= 8,
5370 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5371 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
5372 		.ilen	= 16,
5373 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5374 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5375 		.rlen	= 16,
5376 		.np	= 5,
5377 		.tap	= { 2, 2, 2, 2, 8 }
5378 	}, {
5379 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5380 		.klen	= 8,
5381 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5382 		.ilen	= 8,
5383 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5384 		.rlen	= 8,
5385 		.np	= 8,
5386 		.tap	= { 1, 1, 1, 1, 1, 1, 1, 1 }
5387 	}, { /* Generated with Crypto++ */
5388 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5389 		.klen	= 8,
5390 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5391 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5392 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5393 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5394 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5395 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5396 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5397 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5398 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5399 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5400 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5401 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5402 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5403 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5404 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5405 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5406 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5407 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5408 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5409 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5410 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5411 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5412 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5413 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5414 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5415 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5416 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5417 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5418 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5419 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5420 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5421 		.ilen	= 248,
5422 		.result	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
5423 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
5424 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
5425 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
5426 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
5427 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
5428 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
5429 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
5430 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
5431 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
5432 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
5433 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
5434 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
5435 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
5436 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
5437 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
5438 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
5439 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
5440 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
5441 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
5442 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
5443 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
5444 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
5445 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
5446 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
5447 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
5448 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
5449 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
5450 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
5451 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
5452 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
5453 		.rlen	= 248,
5454 		.also_non_np = 1,
5455 		.np	= 3,
5456 		.tap	= { 248 - 10, 2, 8 },
5457 	},
5458 };
5459 
5460 static const struct cipher_testvec des_dec_tv_template[] = {
5461 	{ /* From Applied Cryptography */
5462 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5463 		.klen	= 8,
5464 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5465 		.ilen	= 8,
5466 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5467 		.rlen	= 8,
5468 	}, { /* Sbox test from NBS */
5469 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
5470 		.klen	= 8,
5471 		.input	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5472 		.ilen	= 8,
5473 		.result	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
5474 		.rlen	= 8,
5475 	}, { /* Two blocks, for chunking test */
5476 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5477 		.klen	= 8,
5478 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5479 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5480 		.ilen	= 16,
5481 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5482 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
5483 		.rlen	= 16,
5484 		.np	= 2,
5485 		.tap	= { 8, 8 }
5486 	}, {
5487 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5488 		.klen	= 8,
5489 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5490 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5491 		.ilen	= 16,
5492 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5493 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
5494 		.rlen	= 16,
5495 		.np	= 3,
5496 		.tap	= { 3, 12, 1 }
5497 	}, { /* Generated with Crypto++ */
5498 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5499 		.klen	= 8,
5500 		.input	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
5501 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
5502 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
5503 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
5504 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
5505 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
5506 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
5507 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
5508 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
5509 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
5510 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
5511 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
5512 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
5513 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
5514 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
5515 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
5516 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
5517 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
5518 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
5519 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
5520 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
5521 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
5522 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
5523 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
5524 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
5525 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
5526 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
5527 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
5528 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
5529 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
5530 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
5531 		.ilen	= 248,
5532 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5533 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5534 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5535 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5536 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5537 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5538 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5539 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5540 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5541 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5542 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5543 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5544 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5545 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5546 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5547 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5548 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5549 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5550 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5551 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5552 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5553 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5554 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5555 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5556 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5557 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5558 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5559 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5560 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5561 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5562 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5563 		.rlen	= 248,
5564 		.also_non_np = 1,
5565 		.np	= 3,
5566 		.tap	= { 248 - 10, 2, 8 },
5567 	},
5568 };
5569 
5570 static const struct cipher_testvec des_cbc_enc_tv_template[] = {
5571 	{ /* From OpenSSL */
5572 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5573 		.klen	= 8,
5574 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5575 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
5576 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5577 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
5578 		.ilen	= 24,
5579 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5580 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5581 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
5582 		.rlen	= 24,
5583 	}, { /* FIPS Pub 81 */
5584 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5585 		.klen	= 8,
5586 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
5587 		.input	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5588 		.ilen	= 8,
5589 		.result	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5590 		.rlen	= 8,
5591 	}, {
5592 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5593 		.klen	= 8,
5594 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5595 		.input	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
5596 		.ilen	= 8,
5597 		.result	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5598 		.rlen	= 8,
5599 	}, {
5600 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5601 		.klen	= 8,
5602 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5603 		.input	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5604 		.ilen	= 8,
5605 		.result	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5606 		.rlen	= 8,
5607 	}, { /* Copy of openssl vector for chunk testing */
5608 	     /* From OpenSSL */
5609 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5610 		.klen	= 8,
5611 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5612 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
5613 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5614 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
5615 		.ilen	= 24,
5616 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5617 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5618 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
5619 		.rlen	= 24,
5620 		.np	= 2,
5621 		.tap	= { 13, 11 }
5622 	}, { /* Generated with Crypto++ */
5623 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5624 		.klen	= 8,
5625 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5626 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5627 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5628 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5629 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5630 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5631 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5632 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5633 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5634 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5635 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5636 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5637 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5638 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5639 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5640 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5641 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5642 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5643 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5644 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5645 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5646 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5647 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5648 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5649 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5650 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5651 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5652 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5653 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5654 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5655 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5656 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5657 		.ilen	= 248,
5658 		.result	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5659 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5660 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5661 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5662 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5663 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5664 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
5665 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5666 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5667 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5668 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5669 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5670 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5671 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5672 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5673 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5674 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5675 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5676 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5677 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5678 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5679 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5680 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5681 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5682 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5683 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5684 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5685 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5686 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5687 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5688 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5689 		.rlen	= 248,
5690 		.also_non_np = 1,
5691 		.np	= 3,
5692 		.tap	= { 248 - 10, 2, 8 },
5693 	},
5694 };
5695 
5696 static const struct cipher_testvec des_cbc_dec_tv_template[] = {
5697 	{ /* FIPS Pub 81 */
5698 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5699 		.klen	= 8,
5700 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
5701 		.input	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5702 		.ilen	= 8,
5703 		.result	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5704 		.rlen	= 8,
5705 	}, {
5706 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5707 		.klen	= 8,
5708 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5709 		.input	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5710 		.ilen	= 8,
5711 		.result	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
5712 		.rlen	= 8,
5713 	}, {
5714 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5715 		.klen	= 8,
5716 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5717 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5718 		.ilen	= 8,
5719 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5720 		.rlen	= 8,
5721 	}, { /* Copy of above, for chunk testing */
5722 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5723 		.klen	= 8,
5724 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5725 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5726 		.ilen	= 8,
5727 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5728 		.rlen	= 8,
5729 		.np	= 2,
5730 		.tap	= { 4, 4 }
5731 	}, { /* Generated with Crypto++ */
5732 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5733 		.klen	= 8,
5734 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5735 		.input	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5736 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5737 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5738 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5739 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5740 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5741 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
5742 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5743 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5744 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5745 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5746 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5747 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5748 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5749 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5750 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5751 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5752 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5753 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5754 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5755 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5756 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5757 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5758 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5759 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5760 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5761 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5762 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5763 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5764 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5765 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5766 		.ilen	= 248,
5767 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5768 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5769 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5770 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5771 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5772 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5773 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5774 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5775 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5776 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5777 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5778 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5779 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5780 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5781 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5782 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5783 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5784 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5785 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5786 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5787 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5788 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5789 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5790 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5791 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5792 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5793 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5794 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5795 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5796 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5797 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5798 		.rlen	= 248,
5799 		.also_non_np = 1,
5800 		.np	= 3,
5801 		.tap	= { 248 - 10, 2, 8 },
5802 	},
5803 };
5804 
5805 static const struct cipher_testvec des_ctr_enc_tv_template[] = {
5806 	{ /* Generated with Crypto++ */
5807 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5808 		.klen	= 8,
5809 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5810 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5811 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5812 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5813 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5814 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5815 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5816 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5817 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5818 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5819 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5820 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5821 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5822 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5823 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5824 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5825 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5826 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5827 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5828 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5829 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5830 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5831 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5832 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5833 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5834 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5835 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5836 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5837 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5838 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5839 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5840 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5841 		.ilen	= 248,
5842 		.result	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5843 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5844 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5845 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5846 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5847 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5848 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5849 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5850 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5851 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5852 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5853 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5854 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5855 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5856 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5857 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5858 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5859 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5860 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5861 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5862 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5863 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5864 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5865 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5866 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5867 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5868 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5869 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5870 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5871 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5872 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5873 		.rlen	= 248,
5874 		.also_non_np = 1,
5875 		.np	= 3,
5876 		.tap	= { 248 - 10, 2, 8 },
5877 	}, { /* Generated with Crypto++ */
5878 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5879 		.klen	= 8,
5880 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5881 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5882 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5883 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5884 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5885 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5886 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5887 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5888 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5889 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5890 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5891 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5892 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5893 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5894 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5895 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5896 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5897 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5898 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5899 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5900 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5901 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5902 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5903 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5904 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5905 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5906 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5907 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5908 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5909 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5910 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5911 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5912 		.ilen	= 247,
5913 		.result	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5914 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5915 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5916 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5917 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5918 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5919 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5920 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5921 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5922 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5923 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5924 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5925 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5926 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5927 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5928 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5929 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5930 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5931 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5932 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5933 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5934 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5935 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5936 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5937 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5938 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5939 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5940 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5941 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5942 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5943 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5944 		.rlen	= 247,
5945 		.also_non_np = 1,
5946 		.np	= 2,
5947 		.tap	= { 247 - 8, 8 },
5948 	},
5949 };
5950 
5951 static const struct cipher_testvec des_ctr_dec_tv_template[] = {
5952 	{ /* Generated with Crypto++ */
5953 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5954 		.klen	= 8,
5955 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5956 		.input	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5957 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5958 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5959 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5960 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5961 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5962 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5963 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5964 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5965 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5966 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5967 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5968 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5969 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5970 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5971 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5972 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5973 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5974 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5975 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5976 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5977 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5978 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5979 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5980 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5981 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5982 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5983 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5984 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5985 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5986 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5987 		.ilen	= 248,
5988 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5989 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5990 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5991 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5992 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5993 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5994 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5995 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5996 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5997 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5998 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5999 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
6000 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
6001 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
6002 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
6003 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
6004 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
6005 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
6006 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
6007 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
6008 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
6009 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
6010 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
6011 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
6012 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
6013 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
6014 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
6015 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
6016 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
6017 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
6018 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
6019 		.rlen	= 248,
6020 		.also_non_np = 1,
6021 		.np	= 3,
6022 		.tap	= { 248 - 10, 2, 8 },
6023 	}, { /* Generated with Crypto++ */
6024 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
6025 		.klen	= 8,
6026 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
6027 		.input	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
6028 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
6029 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
6030 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
6031 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
6032 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
6033 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
6034 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
6035 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
6036 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
6037 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
6038 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
6039 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
6040 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
6041 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
6042 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
6043 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
6044 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
6045 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
6046 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
6047 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
6048 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
6049 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
6050 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
6051 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
6052 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
6053 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
6054 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
6055 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
6056 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
6057 			  "\x91\x45\x05\x3E\x58\xBF\x32",
6058 		.ilen	= 247,
6059 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
6060 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
6061 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
6062 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
6063 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
6064 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
6065 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
6066 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
6067 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
6068 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
6069 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
6070 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
6071 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
6072 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
6073 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
6074 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
6075 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
6076 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
6077 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
6078 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
6079 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
6080 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
6081 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
6082 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
6083 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
6084 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
6085 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
6086 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
6087 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
6088 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
6089 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
6090 		.rlen	= 247,
6091 		.also_non_np = 1,
6092 		.np	= 2,
6093 		.tap	= { 247 - 8, 8 },
6094 	},
6095 };
6096 
6097 static const struct cipher_testvec des3_ede_enc_tv_template[] = {
6098 	{ /* These are from openssl */
6099 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
6100 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
6101 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6102 		.klen	= 24,
6103 		.input	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
6104 		.ilen	= 8,
6105 		.result	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
6106 		.rlen	= 8,
6107 	}, {
6108 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
6109 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
6110 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
6111 		.klen	= 24,
6112 		.input	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
6113 		.ilen	= 8,
6114 		.result	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
6115 		.rlen	= 8,
6116 	}, {
6117 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
6118 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
6119 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
6120 		.klen	= 24,
6121 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6122 		.ilen	= 8,
6123 		.result	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
6124 		.rlen	= 8,
6125 	}, { /* Generated with Crypto++ */
6126 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
6127 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
6128 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
6129 		.klen	= 24,
6130 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6131 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6132 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6133 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6134 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6135 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6136 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6137 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6138 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6139 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6140 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6141 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6142 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6143 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6144 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6145 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6146 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6147 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6148 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6149 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6150 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6151 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6152 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6153 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6154 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6155 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6156 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6157 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6158 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6159 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6160 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6161 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6162 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6163 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6164 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6165 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6166 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6167 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6168 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6169 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6170 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6171 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6172 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6173 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6174 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6175 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6176 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6177 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6178 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6179 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6180 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6181 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6182 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6183 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6184 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6185 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6186 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6187 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6188 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6189 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6190 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6191 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6192 		.ilen	= 496,
6193 		.result	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
6194 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
6195 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
6196 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
6197 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
6198 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
6199 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
6200 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
6201 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
6202 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
6203 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
6204 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
6205 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
6206 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
6207 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
6208 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
6209 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
6210 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
6211 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
6212 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
6213 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
6214 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
6215 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
6216 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
6217 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
6218 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
6219 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
6220 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
6221 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
6222 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
6223 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
6224 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
6225 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
6226 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
6227 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
6228 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
6229 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
6230 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
6231 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
6232 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
6233 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
6234 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
6235 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
6236 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
6237 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
6238 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
6239 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
6240 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
6241 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
6242 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
6243 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
6244 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
6245 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
6246 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
6247 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
6248 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
6249 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
6250 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
6251 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
6252 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
6253 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
6254 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
6255 		.rlen	= 496,
6256 		.also_non_np = 1,
6257 		.np	= 3,
6258 		.tap	= { 496 - 20, 4, 16 },
6259 	},
6260 };
6261 
6262 static const struct cipher_testvec des3_ede_dec_tv_template[] = {
6263 	{ /* These are from openssl */
6264 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
6265 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
6266 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6267 		.klen	= 24,
6268 		.input	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
6269 		.ilen	= 8,
6270 		.result	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
6271 		.rlen	= 8,
6272 	}, {
6273 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
6274 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
6275 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
6276 		.klen	= 24,
6277 		.input	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
6278 		.ilen	= 8,
6279 		.result	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
6280 		.rlen	= 8,
6281 	}, {
6282 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
6283 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
6284 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
6285 		.klen	= 24,
6286 		.input	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
6287 		.ilen	= 8,
6288 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6289 		.rlen	= 8,
6290 	}, { /* Generated with Crypto++ */
6291 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
6292 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
6293 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
6294 		.klen	= 24,
6295 		.input	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
6296 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
6297 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
6298 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
6299 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
6300 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
6301 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
6302 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
6303 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
6304 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
6305 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
6306 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
6307 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
6308 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
6309 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
6310 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
6311 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
6312 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
6313 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
6314 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
6315 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
6316 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
6317 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
6318 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
6319 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
6320 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
6321 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
6322 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
6323 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
6324 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
6325 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
6326 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
6327 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
6328 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
6329 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
6330 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
6331 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
6332 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
6333 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
6334 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
6335 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
6336 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
6337 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
6338 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
6339 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
6340 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
6341 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
6342 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
6343 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
6344 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
6345 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
6346 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
6347 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
6348 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
6349 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
6350 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
6351 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
6352 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
6353 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
6354 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
6355 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
6356 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
6357 		.ilen	= 496,
6358 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6359 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6360 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6361 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6362 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6363 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6364 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6365 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6366 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6367 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6368 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6369 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6370 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6371 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6372 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6373 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6374 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6375 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6376 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6377 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6378 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6379 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6380 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6381 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6382 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6383 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6384 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6385 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6386 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6387 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6388 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6389 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6390 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6391 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6392 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6393 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6394 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6395 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6396 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6397 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6398 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6399 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6400 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6401 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6402 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6403 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6404 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6405 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6406 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6407 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6408 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6409 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6410 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6411 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6412 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6413 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6414 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6415 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6416 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6417 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6418 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6419 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6420 		.rlen	= 496,
6421 		.also_non_np = 1,
6422 		.np	= 3,
6423 		.tap	= { 496 - 20, 4, 16 },
6424 	},
6425 };
6426 
6427 static const struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
6428 	{ /* Generated from openssl */
6429 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
6430 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
6431 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
6432 		.klen	= 24,
6433 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
6434 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
6435 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
6436 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
6437 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
6438 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
6439 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
6440 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
6441 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
6442 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
6443 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
6444 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
6445 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
6446 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
6447 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
6448 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
6449 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
6450 		.ilen	= 128,
6451 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
6452 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
6453 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
6454 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
6455 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
6456 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
6457 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
6458 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
6459 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
6460 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
6461 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
6462 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
6463 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
6464 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
6465 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
6466 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
6467 		.rlen	= 128,
6468 	}, { /* Generated with Crypto++ */
6469 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6470 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6471 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6472 		.klen	= 24,
6473 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6474 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6475 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6476 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6477 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6478 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6479 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6480 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6481 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6482 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6483 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6484 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6485 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6486 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6487 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6488 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6489 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6490 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6491 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6492 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6493 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6494 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6495 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6496 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6497 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6498 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6499 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6500 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6501 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6502 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6503 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6504 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6505 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6506 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6507 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6508 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6509 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6510 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6511 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6512 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6513 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6514 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6515 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6516 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6517 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6518 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6519 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6520 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6521 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6522 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6523 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6524 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6525 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6526 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6527 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6528 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6529 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6530 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6531 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6532 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6533 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6534 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6535 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6536 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6537 		.ilen	= 496,
6538 		.result	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
6539 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
6540 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
6541 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
6542 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
6543 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
6544 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
6545 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
6546 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
6547 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
6548 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
6549 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
6550 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
6551 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
6552 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
6553 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
6554 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
6555 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
6556 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
6557 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
6558 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
6559 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
6560 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
6561 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
6562 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
6563 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
6564 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
6565 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
6566 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
6567 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
6568 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
6569 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
6570 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
6571 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
6572 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
6573 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
6574 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6575 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6576 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6577 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6578 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6579 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
6580 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6581 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6582 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6583 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6584 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6585 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6586 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6587 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6588 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6589 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6590 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6591 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6592 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6593 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6594 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6595 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6596 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6597 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6598 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6599 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6600 		.rlen	= 496,
6601 		.also_non_np = 1,
6602 		.np	= 3,
6603 		.tap	= { 496 - 20, 4, 16 },
6604 	},
6605 };
6606 
6607 static const struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
6608 	{ /* Generated from openssl */
6609 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
6610 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
6611 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
6612 		.klen	= 24,
6613 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
6614 		.input	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
6615 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
6616 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
6617 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
6618 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
6619 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
6620 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
6621 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
6622 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
6623 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
6624 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
6625 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
6626 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
6627 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
6628 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
6629 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
6630 		.ilen	= 128,
6631 		.result	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
6632 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
6633 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
6634 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
6635 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
6636 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
6637 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
6638 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
6639 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
6640 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
6641 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
6642 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
6643 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
6644 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
6645 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
6646 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
6647 		.rlen	= 128,
6648 	}, { /* Generated with Crypto++ */
6649 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6650 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6651 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6652 		.klen	= 24,
6653 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6654 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6655 		.input	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
6656 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
6657 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
6658 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
6659 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
6660 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
6661 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
6662 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
6663 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
6664 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
6665 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
6666 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
6667 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
6668 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
6669 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
6670 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
6671 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
6672 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
6673 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
6674 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
6675 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
6676 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
6677 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
6678 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
6679 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
6680 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
6681 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
6682 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
6683 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
6684 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
6685 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
6686 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
6687 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
6688 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
6689 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
6690 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
6691 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6692 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6693 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6694 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6695 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6696 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
6697 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6698 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6699 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6700 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6701 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6702 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6703 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6704 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6705 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6706 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6707 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6708 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6709 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6710 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6711 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6712 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6713 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6714 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6715 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6716 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6717 		.ilen	= 496,
6718 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6719 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6720 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6721 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6722 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6723 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6724 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6725 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6726 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6727 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6728 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6729 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6730 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6731 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6732 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6733 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6734 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6735 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6736 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6737 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6738 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6739 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6740 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6741 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6742 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6743 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6744 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6745 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6746 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6747 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6748 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6749 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6750 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6751 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6752 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6753 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6754 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6755 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6756 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6757 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6758 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6759 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6760 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6761 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6762 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6763 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6764 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6765 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6766 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6767 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6768 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6769 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6770 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6771 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6772 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6773 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6774 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6775 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6776 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6777 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6778 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6779 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6780 		.rlen	= 496,
6781 		.also_non_np = 1,
6782 		.np	= 3,
6783 		.tap	= { 496 - 20, 4, 16 },
6784 	},
6785 };
6786 
6787 static const struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
6788 	{ /* Generated with Crypto++ */
6789 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6790 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6791 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6792 		.klen	= 24,
6793 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6794 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6795 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6796 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6797 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6798 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6799 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6800 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6801 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6802 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6803 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6804 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6805 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6806 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6807 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6808 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6809 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6810 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6811 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6812 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6813 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6814 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6815 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6816 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6817 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6818 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6819 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6820 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6821 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6822 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6823 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6824 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6825 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6826 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6827 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6828 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6829 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6830 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6831 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6832 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6833 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6834 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6835 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6836 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6837 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6838 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6839 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6840 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6841 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6842 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6843 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6844 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6845 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6846 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6847 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6848 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6849 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6850 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6851 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6852 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6853 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6854 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6855 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6856 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6857 		.ilen	= 496,
6858 		.result	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6859 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6860 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6861 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6862 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6863 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6864 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6865 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6866 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6867 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6868 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6869 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6870 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6871 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6872 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6873 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6874 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6875 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6876 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6877 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6878 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6879 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6880 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6881 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6882 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6883 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6884 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6885 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6886 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6887 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6888 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6889 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6890 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6891 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6892 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6893 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6894 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6895 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6896 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6897 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6898 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6899 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6900 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6901 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6902 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6903 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6904 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6905 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6906 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6907 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6908 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6909 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6910 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6911 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6912 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6913 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6914 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6915 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6916 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6917 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6918 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6919 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6920 		.rlen	= 496,
6921 		.also_non_np = 1,
6922 		.np	= 3,
6923 		.tap	= { 496 - 20, 4, 16 },
6924 	}, { /* Generated with Crypto++ */
6925 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6926 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6927 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6928 		.klen	= 24,
6929 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6930 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6931 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6932 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6933 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6934 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6935 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6936 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6937 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6938 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6939 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6940 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6941 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6942 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6943 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6944 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6945 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6946 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6947 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6948 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6949 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6950 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6951 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6952 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6953 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6954 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6955 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6956 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6957 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6958 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6959 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6960 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6961 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6962 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6963 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6964 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6965 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6966 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6967 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6968 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6969 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6970 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6971 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6972 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6973 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6974 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6975 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6976 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6977 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6978 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6979 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6980 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6981 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6982 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6983 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6984 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6985 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6986 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6987 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6988 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6989 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6990 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6991 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6992 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6993 			  "\x2E\xB1\x18",
6994 		.ilen	= 499,
6995 		.result	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6996 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6997 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6998 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6999 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
7000 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
7001 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
7002 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
7003 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
7004 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
7005 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
7006 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
7007 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
7008 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
7009 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
7010 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
7011 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
7012 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
7013 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
7014 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
7015 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
7016 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
7017 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
7018 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
7019 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
7020 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
7021 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
7022 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
7023 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
7024 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
7025 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
7026 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
7027 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
7028 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
7029 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
7030 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
7031 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
7032 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
7033 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
7034 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
7035 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
7036 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
7037 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
7038 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
7039 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
7040 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
7041 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
7042 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
7043 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
7044 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
7045 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
7046 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
7047 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
7048 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
7049 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
7050 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
7051 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
7052 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
7053 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
7054 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
7055 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
7056 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
7057 			  "\xF2\x79\xD9",
7058 		.rlen	= 499,
7059 		.also_non_np = 1,
7060 		.np	= 2,
7061 		.tap	= { 499 - 16, 16 },
7062 	},
7063 };
7064 
7065 static const struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
7066 	{ /* Generated with Crypto++ */
7067 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
7068 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
7069 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
7070 		.klen	= 24,
7071 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
7072 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7073 		.input	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
7074 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
7075 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
7076 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
7077 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
7078 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
7079 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
7080 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
7081 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
7082 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
7083 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
7084 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
7085 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
7086 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
7087 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
7088 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
7089 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
7090 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
7091 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
7092 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
7093 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
7094 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
7095 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
7096 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
7097 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
7098 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
7099 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
7100 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
7101 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
7102 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
7103 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
7104 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
7105 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
7106 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
7107 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
7108 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
7109 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
7110 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
7111 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
7112 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
7113 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
7114 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
7115 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
7116 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
7117 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
7118 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
7119 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
7120 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
7121 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
7122 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
7123 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
7124 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
7125 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
7126 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
7127 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
7128 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
7129 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
7130 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
7131 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
7132 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
7133 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
7134 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
7135 		.ilen	= 496,
7136 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
7137 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
7138 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
7139 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
7140 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
7141 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
7142 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
7143 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
7144 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
7145 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
7146 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
7147 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
7148 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
7149 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
7150 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
7151 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
7152 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
7153 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
7154 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
7155 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
7156 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
7157 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
7158 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
7159 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
7160 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
7161 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
7162 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
7163 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
7164 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
7165 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
7166 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
7167 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
7168 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
7169 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
7170 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
7171 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
7172 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
7173 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
7174 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
7175 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
7176 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
7177 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
7178 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
7179 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
7180 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
7181 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
7182 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
7183 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
7184 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
7185 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
7186 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
7187 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
7188 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
7189 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
7190 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
7191 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
7192 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
7193 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
7194 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
7195 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
7196 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
7197 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
7198 		.rlen	= 496,
7199 		.also_non_np = 1,
7200 		.np	= 3,
7201 		.tap	= { 496 - 20, 4, 16 },
7202 	}, { /* Generated with Crypto++ */
7203 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
7204 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
7205 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
7206 		.klen	= 24,
7207 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
7208 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
7209 		.input	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
7210 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
7211 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
7212 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
7213 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
7214 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
7215 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
7216 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
7217 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
7218 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
7219 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
7220 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
7221 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
7222 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
7223 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
7224 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
7225 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
7226 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
7227 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
7228 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
7229 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
7230 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
7231 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
7232 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
7233 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
7234 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
7235 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
7236 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
7237 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
7238 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
7239 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
7240 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
7241 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
7242 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
7243 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
7244 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
7245 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
7246 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
7247 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
7248 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
7249 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
7250 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
7251 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
7252 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
7253 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
7254 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
7255 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
7256 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
7257 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
7258 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
7259 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
7260 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
7261 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
7262 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
7263 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
7264 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
7265 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
7266 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
7267 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
7268 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
7269 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
7270 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
7271 			  "\xF2\x79\xD9",
7272 		.ilen	= 499,
7273 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
7274 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
7275 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
7276 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
7277 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
7278 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
7279 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
7280 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
7281 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
7282 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
7283 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
7284 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
7285 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
7286 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
7287 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
7288 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
7289 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
7290 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
7291 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
7292 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
7293 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
7294 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
7295 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
7296 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
7297 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
7298 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
7299 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
7300 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
7301 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
7302 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
7303 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
7304 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
7305 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
7306 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
7307 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
7308 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
7309 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
7310 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
7311 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
7312 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
7313 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
7314 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
7315 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
7316 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
7317 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
7318 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
7319 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
7320 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
7321 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
7322 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
7323 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
7324 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
7325 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
7326 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
7327 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
7328 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
7329 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
7330 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
7331 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
7332 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
7333 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
7334 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
7335 			  "\x2E\xB1\x18",
7336 		.rlen	= 499,
7337 		.also_non_np = 1,
7338 		.np	= 2,
7339 		.tap	= { 499 - 16, 16 },
7340 	},
7341 };
7342 
7343 /*
7344  * Blowfish test vectors.
7345  */
7346 static const struct cipher_testvec bf_enc_tv_template[] = {
7347 	{ /* DES test vectors from OpenSSL */
7348 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
7349 		.klen	= 8,
7350 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
7351 		.ilen	= 8,
7352 		.result	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
7353 		.rlen	= 8,
7354 	}, {
7355 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
7356 		.klen	= 8,
7357 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
7358 		.ilen	= 8,
7359 		.result	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
7360 		.rlen	= 8,
7361 	}, {
7362 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7363 		.klen	= 8,
7364 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7365 		.ilen	= 8,
7366 		.result	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
7367 		.rlen	= 8,
7368 	}, { /* Vary the keylength... */
7369 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7370 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
7371 		.klen	= 16,
7372 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7373 		.ilen	= 8,
7374 		.result	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
7375 		.rlen	= 8,
7376 	}, {
7377 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7378 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
7379 			  "\x00\x11\x22\x33\x44",
7380 		.klen	= 21,
7381 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7382 		.ilen	= 8,
7383 		.result	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
7384 		.rlen	= 8,
7385 	}, { /* Generated with bf488 */
7386 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7387 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
7388 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
7389 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
7390 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
7391 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
7392 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
7393 		.klen	= 56,
7394 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7395 		.ilen	= 8,
7396 		.result	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
7397 		.rlen	= 8,
7398 	}, { /* Generated with Crypto++ */
7399 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7400 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7401 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7402 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7403 		.klen	= 32,
7404 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7405 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7406 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7407 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7408 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7409 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7410 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7411 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7412 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7413 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7414 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7415 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7416 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7417 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7418 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7419 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7420 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7421 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7422 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7423 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7424 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7425 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7426 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7427 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7428 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7429 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7430 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7431 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7432 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7433 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7434 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7435 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7436 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7437 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7438 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7439 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7440 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7441 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7442 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7443 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7444 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7445 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7446 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7447 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7448 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7449 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7450 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7451 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7452 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7453 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7454 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7455 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7456 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7457 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7458 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7459 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7460 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7461 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7462 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7463 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7464 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7465 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7466 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7467 		.ilen	= 504,
7468 		.result	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
7469 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
7470 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
7471 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
7472 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
7473 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
7474 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
7475 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
7476 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
7477 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
7478 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
7479 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
7480 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
7481 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
7482 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
7483 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
7484 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
7485 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
7486 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
7487 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
7488 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
7489 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
7490 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
7491 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
7492 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
7493 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
7494 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
7495 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
7496 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
7497 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
7498 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
7499 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
7500 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
7501 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
7502 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
7503 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
7504 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
7505 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
7506 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
7507 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
7508 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
7509 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
7510 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
7511 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
7512 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
7513 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
7514 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
7515 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
7516 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
7517 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
7518 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
7519 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
7520 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
7521 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
7522 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
7523 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
7524 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
7525 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
7526 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
7527 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
7528 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
7529 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
7530 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
7531 		.rlen	= 504,
7532 		.also_non_np = 1,
7533 		.np	= 3,
7534 		.tap	= { 504 - 10, 2, 8 },
7535 	},
7536 };
7537 
7538 static const struct cipher_testvec bf_dec_tv_template[] = {
7539 	{ /* DES test vectors from OpenSSL */
7540 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
7541 		.klen	= 8,
7542 		.input	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
7543 		.ilen	= 8,
7544 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
7545 		.rlen	= 8,
7546 	}, {
7547 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
7548 		.klen	= 8,
7549 		.input	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
7550 		.ilen	= 8,
7551 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
7552 		.rlen	= 8,
7553 	}, {
7554 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7555 		.klen	= 8,
7556 		.input	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
7557 		.ilen	= 8,
7558 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7559 		.rlen	= 8,
7560 	}, { /* Vary the keylength... */
7561 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7562 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
7563 		.klen	= 16,
7564 		.input	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
7565 		.ilen	= 8,
7566 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7567 		.rlen	= 8,
7568 	}, {
7569 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7570 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
7571 			  "\x00\x11\x22\x33\x44",
7572 		.klen	= 21,
7573 		.input	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
7574 		.ilen	= 8,
7575 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7576 		.rlen	= 8,
7577 	}, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
7578 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7579 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
7580 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
7581 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
7582 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
7583 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
7584 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
7585 		.klen	= 56,
7586 		.input	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
7587 		.ilen	= 8,
7588 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7589 		.rlen	= 8,
7590 	}, { /* Generated with Crypto++ */
7591 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7592 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7593 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7594 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7595 		.klen	= 32,
7596 		.input	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
7597 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
7598 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
7599 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
7600 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
7601 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
7602 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
7603 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
7604 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
7605 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
7606 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
7607 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
7608 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
7609 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
7610 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
7611 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
7612 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
7613 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
7614 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
7615 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
7616 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
7617 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
7618 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
7619 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
7620 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
7621 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
7622 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
7623 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
7624 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
7625 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
7626 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
7627 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
7628 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
7629 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
7630 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
7631 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
7632 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
7633 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
7634 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
7635 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
7636 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
7637 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
7638 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
7639 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
7640 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
7641 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
7642 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
7643 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
7644 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
7645 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
7646 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
7647 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
7648 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
7649 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
7650 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
7651 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
7652 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
7653 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
7654 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
7655 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
7656 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
7657 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
7658 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
7659 		.ilen	= 504,
7660 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7661 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7662 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7663 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7664 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7665 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7666 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7667 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7668 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7669 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7670 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7671 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7672 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7673 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7674 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7675 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7676 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7677 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7678 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7679 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7680 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7681 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7682 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7683 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7684 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7685 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7686 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7687 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7688 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7689 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7690 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7691 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7692 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7693 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7694 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7695 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7696 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7697 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7698 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7699 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7700 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7701 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7702 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7703 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7704 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7705 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7706 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7707 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7708 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7709 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7710 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7711 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7712 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7713 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7714 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7715 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7716 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7717 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7718 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7719 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7720 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7721 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7722 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7723 		.rlen	= 504,
7724 		.also_non_np = 1,
7725 		.np	= 3,
7726 		.tap	= { 504 - 10, 2, 8 },
7727 	},
7728 };
7729 
7730 static const struct cipher_testvec bf_cbc_enc_tv_template[] = {
7731 	{ /* From OpenSSL */
7732 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7733 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7734 		.klen	= 16,
7735 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7736 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7737 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7738 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7739 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7740 		.ilen	= 32,
7741 		.result	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7742 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7743 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7744 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7745 		.rlen	= 32,
7746 	}, { /* Generated with Crypto++ */
7747 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7748 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7749 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7750 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7751 		.klen	= 32,
7752 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7753 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7754 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7755 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7756 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7757 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7758 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7759 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7760 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7761 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7762 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7763 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7764 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7765 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7766 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7767 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7768 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7769 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7770 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7771 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7772 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7773 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7774 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7775 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7776 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7777 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7778 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7779 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7780 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7781 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7782 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7783 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7784 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7785 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7786 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7787 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7788 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7789 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7790 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7791 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7792 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7793 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7794 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7795 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7796 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7797 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7798 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7799 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7800 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7801 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7802 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7803 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7804 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7805 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7806 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7807 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7808 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7809 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7810 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7811 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7812 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7813 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7814 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7815 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7816 		.ilen	= 504,
7817 		.result	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7818 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7819 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7820 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7821 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7822 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7823 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7824 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7825 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7826 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7827 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7828 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7829 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7830 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7831 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7832 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7833 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7834 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7835 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7836 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7837 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7838 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7839 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7840 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7841 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7842 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7843 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7844 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7845 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7846 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7847 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7848 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7849 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7850 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7851 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7852 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7853 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7854 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7855 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7856 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7857 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7858 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7859 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7860 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7861 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7862 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7863 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7864 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7865 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7866 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7867 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7868 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7869 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7870 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7871 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7872 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7873 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7874 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7875 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7876 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7877 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7878 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7879 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7880 		.rlen	= 504,
7881 		.also_non_np = 1,
7882 		.np	= 3,
7883 		.tap	= { 504 - 10, 2, 8 },
7884 	},
7885 };
7886 
7887 static const struct cipher_testvec bf_cbc_dec_tv_template[] = {
7888 	{ /* From OpenSSL */
7889 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7890 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7891 		.klen	= 16,
7892 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7893 		.input	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7894 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7895 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7896 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7897 		.ilen	= 32,
7898 		.result	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7899 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7900 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7901 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7902 		.rlen	= 32,
7903 	}, { /* Generated with Crypto++ */
7904 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7905 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7906 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7907 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7908 		.klen	= 32,
7909 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7910 		.input	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7911 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7912 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7913 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7914 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7915 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7916 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7917 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7918 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7919 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7920 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7921 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7922 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7923 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7924 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7925 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7926 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7927 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7928 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7929 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7930 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7931 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7932 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7933 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7934 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7935 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7936 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7937 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7938 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7939 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7940 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7941 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7942 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7943 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7944 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7945 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7946 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7947 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7948 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7949 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7950 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7951 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7952 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7953 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7954 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7955 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7956 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7957 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7958 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7959 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7960 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7961 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7962 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7963 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7964 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7965 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7966 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7967 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7968 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7969 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7970 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7971 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7972 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7973 		.ilen	= 504,
7974 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7975 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7976 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7977 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7978 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7979 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7980 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7981 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7982 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7983 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7984 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7985 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7986 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7987 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7988 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7989 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7990 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7991 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7992 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7993 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7994 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7995 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7996 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7997 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7998 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7999 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8000 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8001 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8002 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8003 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8004 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8005 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8006 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8007 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8008 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8009 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8010 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8011 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8012 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8013 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8014 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8015 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8016 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8017 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8018 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8019 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8020 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8021 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8022 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8023 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8024 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8025 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8026 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8027 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8028 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8029 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8030 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8031 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8032 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8033 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8034 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8035 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8036 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8037 		.rlen	= 504,
8038 		.also_non_np = 1,
8039 		.np	= 3,
8040 		.tap	= { 504 - 10, 2, 8 },
8041 	},
8042 };
8043 
8044 static const struct cipher_testvec bf_ctr_enc_tv_template[] = {
8045 	{ /* Generated with Crypto++ */
8046 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8047 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8048 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8049 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8050 		.klen	= 32,
8051 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8052 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8053 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8054 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8055 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8056 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8057 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8058 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8059 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8060 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8061 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8062 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8063 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8064 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8065 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8066 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8067 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8068 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8069 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8070 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8071 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8072 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8073 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8074 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8075 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8076 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8077 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8078 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8079 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8080 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8081 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8082 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8083 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8084 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8085 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8086 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8087 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8088 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8089 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8090 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8091 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8092 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8093 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8094 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8095 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8096 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8097 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8098 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8099 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8100 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8101 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8102 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8103 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8104 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8105 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8106 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8107 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8108 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8109 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8110 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8111 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8112 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8113 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8114 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8115 		.ilen	= 504,
8116 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
8117 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8118 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8119 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8120 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8121 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8122 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8123 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8124 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8125 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8126 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8127 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8128 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8129 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8130 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8131 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8132 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8133 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8134 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8135 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8136 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8137 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8138 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8139 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8140 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8141 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8142 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8143 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8144 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8145 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8146 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8147 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8148 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8149 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8150 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8151 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8152 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8153 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8154 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8155 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8156 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8157 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8158 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8159 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8160 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
8161 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8162 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8163 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8164 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8165 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8166 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8167 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8168 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8169 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8170 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8171 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8172 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8173 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8174 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8175 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8176 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8177 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8178 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
8179 		.rlen	= 504,
8180 	}, { /* Generated with Crypto++ */
8181 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8182 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8183 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8184 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8185 		.klen	= 32,
8186 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8187 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8188 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8189 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8190 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8191 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8192 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8193 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8194 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8195 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8196 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8197 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8198 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8199 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8200 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8201 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8202 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8203 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8204 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8205 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8206 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8207 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8208 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8209 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8210 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8211 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8212 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8213 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8214 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8215 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8216 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8217 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8218 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8219 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8220 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8221 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8222 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8223 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8224 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8225 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8226 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8227 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8228 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8229 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8230 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8231 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8232 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8233 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8234 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8235 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8236 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8237 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8238 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8239 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8240 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8241 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8242 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8243 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8244 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8245 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8246 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8247 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8248 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8249 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
8250 		.ilen	= 503,
8251 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
8252 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8253 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8254 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8255 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8256 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8257 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8258 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8259 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8260 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8261 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8262 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8263 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8264 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8265 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8266 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8267 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8268 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8269 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8270 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8271 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8272 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8273 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8274 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8275 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8276 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8277 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8278 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8279 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8280 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8281 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8282 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8283 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8284 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8285 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8286 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8287 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8288 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8289 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8290 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8291 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8292 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8293 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8294 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8295 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
8296 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8297 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8298 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8299 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8300 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8301 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8302 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8303 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8304 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8305 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8306 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8307 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8308 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8309 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8310 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8311 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8312 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8313 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
8314 		.rlen	= 503,
8315 		.also_non_np = 1,
8316 		.np	= 2,
8317 		.tap	= { 503 - 8, 8 },
8318 	}, { /* Generated with Crypto++ */
8319 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8320 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8321 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8322 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8323 		.klen	= 32,
8324 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8325 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8326 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8327 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8328 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8329 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8330 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8331 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8332 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8333 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8334 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8335 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8336 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8337 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8338 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8339 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8340 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8341 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8342 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8343 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8344 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8345 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8346 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8347 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8348 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8349 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8350 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8351 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8352 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8353 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8354 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8355 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8356 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8357 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8358 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8359 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8360 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8361 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8362 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8363 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8364 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8365 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8366 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8367 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8368 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8369 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8370 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8371 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8372 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8373 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8374 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8375 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8376 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8377 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8378 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8379 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8380 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8381 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8382 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8383 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8384 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8385 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8386 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8387 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8388 		.ilen	= 504,
8389 		.result	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
8390 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8391 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8392 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8393 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8394 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8395 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8396 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8397 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8398 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8399 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8400 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8401 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8402 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8403 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
8404 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8405 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8406 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8407 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8408 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8409 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8410 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8411 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8412 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8413 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8414 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8415 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8416 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8417 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8418 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8419 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8420 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8421 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8422 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8423 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8424 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8425 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8426 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8427 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8428 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8429 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8430 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8431 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8432 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8433 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8434 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8435 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8436 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8437 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8438 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8439 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8440 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8441 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8442 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8443 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8444 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8445 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8446 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8447 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8448 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8449 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8450 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8451 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8452 		.rlen	= 504,
8453 	},
8454 };
8455 
8456 static const struct cipher_testvec bf_ctr_dec_tv_template[] = {
8457 	{ /* Generated with Crypto++ */
8458 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8459 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8460 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8461 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8462 		.klen	= 32,
8463 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8464 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
8465 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8466 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8467 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8468 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8469 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8470 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8471 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8472 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8473 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8474 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8475 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8476 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8477 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8478 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8479 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8480 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8481 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8482 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8483 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8484 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8485 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8486 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8487 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8488 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8489 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8490 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8491 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8492 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8493 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8494 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8495 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8496 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8497 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8498 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8499 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8500 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8501 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8502 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8503 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8504 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8505 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8506 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8507 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8508 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
8509 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8510 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8511 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8512 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8513 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8514 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8515 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8516 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8517 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8518 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8519 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8520 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8521 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8522 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8523 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8524 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8525 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8526 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
8527 		.ilen	= 504,
8528 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8529 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8530 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8531 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8532 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8533 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8534 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8535 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8536 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8537 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8538 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8539 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8540 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8541 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8542 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8543 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8544 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8545 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8546 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8547 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8548 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8549 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8550 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8551 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8552 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8553 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8554 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8555 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8556 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8557 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8558 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8559 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8560 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8561 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8562 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8563 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8564 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8565 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8566 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8567 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8568 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8569 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8570 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8571 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8572 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8573 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8574 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8575 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8576 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8577 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8578 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8579 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8580 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8581 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8582 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8583 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8584 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8585 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8586 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8587 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8588 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8589 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8590 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8591 		.rlen	= 504,
8592 	}, { /* Generated with Crypto++ */
8593 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8594 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8595 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8596 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8597 		.klen	= 32,
8598 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8599 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
8600 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8601 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8602 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8603 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8604 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8605 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8606 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8607 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8608 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8609 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8610 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8611 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8612 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8613 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8614 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8615 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8616 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8617 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8618 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8619 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8620 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8621 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8622 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8623 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8624 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8625 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8626 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8627 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8628 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8629 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8630 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8631 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8632 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8633 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8634 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8635 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8636 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8637 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8638 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8639 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8640 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8641 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8642 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8643 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
8644 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8645 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8646 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8647 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8648 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8649 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8650 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8651 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8652 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8653 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8654 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8655 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8656 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8657 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8658 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8659 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8660 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8661 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
8662 		.ilen	= 503,
8663 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8664 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8665 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8666 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8667 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8668 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8669 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8670 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8671 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8672 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8673 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8674 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8675 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8676 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8677 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8678 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8679 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8680 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8681 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8682 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8683 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8684 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8685 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8686 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8687 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8688 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8689 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8690 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8691 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8692 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8693 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8694 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8695 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8696 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8697 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8698 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8699 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8700 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8701 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8702 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8703 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8704 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8705 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8706 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8707 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8708 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8709 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8710 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8711 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8712 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8713 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8714 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8715 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8716 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8717 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8718 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8719 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8720 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8721 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8722 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8723 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8724 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8725 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
8726 		.rlen	= 503,
8727 		.also_non_np = 1,
8728 		.np	= 2,
8729 		.tap	= { 503 - 8, 8 },
8730 	}, { /* Generated with Crypto++ */
8731 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8732 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8733 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8734 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8735 		.klen	= 32,
8736 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8737 		.input	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
8738 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8739 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8740 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8741 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8742 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8743 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8744 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8745 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8746 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8747 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8748 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8749 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8750 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8751 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
8752 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8753 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8754 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8755 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8756 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8757 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8758 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8759 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8760 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8761 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8762 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8763 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8764 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8765 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8766 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8767 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8768 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8769 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8770 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8771 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8772 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8773 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8774 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8775 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8776 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8777 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8778 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8779 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8780 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8781 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8782 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8783 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8784 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8785 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8786 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8787 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8788 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8789 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8790 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8791 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8792 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8793 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8794 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8795 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8796 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8797 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8798 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8799 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8800 		.ilen	= 504,
8801 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8802 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8803 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8804 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8805 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8806 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8807 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8808 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8809 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8810 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8811 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8812 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8813 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8814 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8815 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8816 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8817 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8818 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8819 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8820 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8821 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8822 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8823 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8824 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8825 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8826 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8827 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8828 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8829 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8830 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8831 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8832 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8833 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8834 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8835 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8836 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8837 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8838 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8839 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8840 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8841 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8842 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8843 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8844 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8845 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8846 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8847 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8848 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8849 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8850 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8851 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8852 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8853 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8854 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8855 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8856 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8857 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8858 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8859 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8860 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8861 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8862 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8863 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8864 		.rlen	= 504,
8865 	},
8866 };
8867 
8868 /*
8869  * Twofish test vectors.
8870  */
8871 static const struct cipher_testvec tf_enc_tv_template[] = {
8872 	{
8873 		.key	= zeroed_string,
8874 		.klen	= 16,
8875 		.input	= zeroed_string,
8876 		.ilen	= 16,
8877 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8878 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8879 		.rlen	= 16,
8880 	}, {
8881 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8882 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8883 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8884 		.klen	= 24,
8885 		.input	= zeroed_string,
8886 		.ilen	= 16,
8887 		.result	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8888 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8889 		.rlen	= 16,
8890 	}, {
8891 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8892 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8893 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8894 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8895 		.klen	= 32,
8896 		.input	= zeroed_string,
8897 		.ilen	= 16,
8898 		.result	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8899 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8900 		.rlen	= 16,
8901 	}, { /* Generated with Crypto++ */
8902 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8903 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8904 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8905 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8906 		.klen	= 32,
8907 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8908 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8909 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8910 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8911 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8912 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8913 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8914 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8915 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8916 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8917 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8918 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8919 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8920 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8921 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8922 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8923 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8924 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8925 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8926 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8927 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8928 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8929 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8930 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8931 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8932 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8933 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8934 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8935 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8936 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8937 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8938 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8939 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8940 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8941 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8942 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8943 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8944 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8945 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8946 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8947 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8948 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8949 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8950 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8951 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8952 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8953 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8954 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8955 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8956 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8957 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8958 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8959 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8960 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8961 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8962 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8963 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8964 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8965 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8966 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8967 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8968 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8969 		.ilen	= 496,
8970 		.result	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8971 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8972 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8973 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8974 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8975 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8976 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8977 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8978 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8979 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8980 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8981 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8982 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8983 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8984 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8985 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8986 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8987 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8988 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8989 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8990 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8991 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8992 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8993 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8994 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8995 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8996 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8997 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8998 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8999 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
9000 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
9001 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
9002 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
9003 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
9004 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
9005 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
9006 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
9007 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
9008 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
9009 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
9010 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
9011 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
9012 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
9013 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
9014 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
9015 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
9016 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
9017 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
9018 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
9019 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
9020 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
9021 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
9022 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
9023 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
9024 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
9025 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
9026 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
9027 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
9028 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
9029 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
9030 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
9031 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
9032 		.rlen	= 496,
9033 		.also_non_np = 1,
9034 		.np	= 3,
9035 		.tap	= { 496 - 20, 4, 16 },
9036 	},
9037 };
9038 
9039 static const struct cipher_testvec tf_dec_tv_template[] = {
9040 	{
9041 		.key	= zeroed_string,
9042 		.klen	= 16,
9043 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9044 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9045 		.ilen	= 16,
9046 		.result	= zeroed_string,
9047 		.rlen	= 16,
9048 	}, {
9049 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
9050 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
9051 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
9052 		.klen	= 24,
9053 		.input	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
9054 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
9055 		.ilen	= 16,
9056 		.result	= zeroed_string,
9057 		.rlen	= 16,
9058 	}, {
9059 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
9060 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
9061 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
9062 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
9063 		.klen	= 32,
9064 		.input	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
9065 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
9066 		.ilen	= 16,
9067 		.result	= zeroed_string,
9068 		.rlen	= 16,
9069 	}, { /* Generated with Crypto++ */
9070 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
9071 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
9072 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
9073 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
9074 		.klen	= 32,
9075 		.input	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
9076 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
9077 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
9078 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
9079 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
9080 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
9081 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
9082 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
9083 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
9084 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
9085 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
9086 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
9087 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
9088 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
9089 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
9090 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
9091 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
9092 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
9093 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
9094 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
9095 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
9096 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
9097 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
9098 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
9099 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
9100 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
9101 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
9102 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
9103 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
9104 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
9105 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
9106 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
9107 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
9108 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
9109 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
9110 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
9111 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
9112 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
9113 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
9114 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
9115 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
9116 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
9117 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
9118 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
9119 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
9120 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
9121 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
9122 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
9123 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
9124 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
9125 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
9126 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
9127 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
9128 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
9129 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
9130 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
9131 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
9132 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
9133 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
9134 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
9135 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
9136 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
9137 		.ilen	= 496,
9138 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9139 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9140 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9141 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9142 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9143 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9144 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9145 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9146 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9147 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9148 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9149 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9150 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9151 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9152 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9153 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9154 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9155 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9156 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9157 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9158 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9159 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9160 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9161 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9162 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9163 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9164 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9165 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9166 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9167 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9168 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9169 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9170 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9171 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9172 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9173 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9174 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9175 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9176 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9177 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9178 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9179 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9180 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9181 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9182 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9183 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9184 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9185 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9186 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9187 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9188 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9189 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9190 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9191 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9192 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9193 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9194 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9195 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9196 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9197 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9198 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9199 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9200 		.rlen	= 496,
9201 		.also_non_np = 1,
9202 		.np	= 3,
9203 		.tap	= { 496 - 20, 4, 16 },
9204 	},
9205 };
9206 
9207 static const struct cipher_testvec tf_cbc_enc_tv_template[] = {
9208 	{ /* Generated with Nettle */
9209 		.key	= zeroed_string,
9210 		.klen	= 16,
9211 		.iv	= zeroed_string,
9212 		.input	= zeroed_string,
9213 		.ilen	= 16,
9214 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9215 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9216 		.rlen	= 16,
9217 	}, {
9218 		.key	= zeroed_string,
9219 		.klen	= 16,
9220 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9221 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9222 		.input	= zeroed_string,
9223 		.ilen	= 16,
9224 		.result	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9225 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9226 		.rlen	= 16,
9227 	}, {
9228 		.key	= zeroed_string,
9229 		.klen	= 16,
9230 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9231 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9232 		.input	= zeroed_string,
9233 		.ilen	= 16,
9234 		.result	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9235 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9236 		.rlen	= 16,
9237 	}, {
9238 		.key	= zeroed_string,
9239 		.klen	= 16,
9240 		.iv	= zeroed_string,
9241 		.input	= zeroed_string,
9242 		.ilen	= 48,
9243 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9244 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
9245 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9246 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
9247 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9248 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9249 		.rlen	= 48,
9250 	}, { /* Generated with Crypto++ */
9251 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9252 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9253 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9254 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9255 		.klen	= 32,
9256 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9257 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9258 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9259 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9260 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9261 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9262 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9263 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9264 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9265 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9266 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9267 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9268 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9269 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9270 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9271 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9272 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9273 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9274 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9275 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9276 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9277 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9278 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9279 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9280 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9281 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9282 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9283 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9284 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9285 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9286 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9287 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9288 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9289 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9290 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9291 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9292 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9293 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9294 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9295 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9296 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9297 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9298 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9299 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9300 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9301 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9302 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9303 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9304 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9305 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9306 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9307 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9308 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9309 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9310 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9311 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9312 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9313 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9314 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9315 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9316 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9317 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9318 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9319 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9320 		.ilen	= 496,
9321 		.result	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
9322 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
9323 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
9324 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
9325 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
9326 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
9327 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
9328 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
9329 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
9330 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
9331 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
9332 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
9333 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
9334 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
9335 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
9336 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
9337 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
9338 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
9339 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
9340 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
9341 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
9342 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
9343 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
9344 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
9345 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
9346 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
9347 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
9348 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
9349 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
9350 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
9351 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
9352 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
9353 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
9354 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
9355 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
9356 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
9357 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
9358 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
9359 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
9360 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
9361 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
9362 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
9363 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
9364 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
9365 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
9366 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
9367 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
9368 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
9369 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
9370 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
9371 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
9372 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
9373 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
9374 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
9375 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
9376 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
9377 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
9378 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
9379 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
9380 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
9381 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9382 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
9383 		.rlen	= 496,
9384 		.also_non_np = 1,
9385 		.np	= 3,
9386 		.tap	= { 496 - 20, 4, 16 },
9387 	},
9388 };
9389 
9390 static const struct cipher_testvec tf_cbc_dec_tv_template[] = {
9391 	{ /* Reverse of the first four above */
9392 		.key	= zeroed_string,
9393 		.klen	= 16,
9394 		.iv	= zeroed_string,
9395 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9396 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9397 		.ilen	= 16,
9398 		.result	= zeroed_string,
9399 		.rlen	= 16,
9400 	}, {
9401 		.key	= zeroed_string,
9402 		.klen	= 16,
9403 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9404 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9405 		.input	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9406 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9407 		.ilen	= 16,
9408 		.result	= zeroed_string,
9409 		.rlen	= 16,
9410 	}, {
9411 		.key	= zeroed_string,
9412 		.klen	= 16,
9413 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9414 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9415 		.input	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9416 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9417 		.ilen	= 16,
9418 		.result	= zeroed_string,
9419 		.rlen	= 16,
9420 	}, {
9421 		.key	= zeroed_string,
9422 		.klen	= 16,
9423 		.iv	= zeroed_string,
9424 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9425 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
9426 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9427 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
9428 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9429 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9430 		.ilen	= 48,
9431 		.result	= zeroed_string,
9432 		.rlen	= 48,
9433 	}, { /* Generated with Crypto++ */
9434 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9435 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9436 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9437 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9438 		.klen	= 32,
9439 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9440 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9441 		.input	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
9442 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
9443 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
9444 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
9445 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
9446 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
9447 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
9448 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
9449 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
9450 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
9451 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
9452 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
9453 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
9454 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
9455 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
9456 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
9457 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
9458 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
9459 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
9460 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
9461 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
9462 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
9463 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
9464 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
9465 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
9466 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
9467 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
9468 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
9469 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
9470 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
9471 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
9472 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
9473 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
9474 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
9475 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
9476 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
9477 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
9478 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
9479 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
9480 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
9481 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
9482 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
9483 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
9484 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
9485 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
9486 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
9487 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
9488 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
9489 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
9490 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
9491 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
9492 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
9493 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
9494 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
9495 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
9496 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
9497 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
9498 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
9499 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
9500 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
9501 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9502 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
9503 		.ilen	= 496,
9504 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9505 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9506 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9507 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9508 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9509 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9510 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9511 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9512 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9513 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9514 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9515 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9516 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9517 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9518 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9519 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9520 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9521 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9522 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9523 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9524 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9525 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9526 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9527 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9528 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9529 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9530 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9531 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9532 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9533 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9534 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9535 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9536 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9537 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9538 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9539 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9540 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9541 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9542 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9543 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9544 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9545 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9546 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9547 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9548 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9549 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9550 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9551 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9552 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9553 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9554 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9555 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9556 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9557 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9558 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9559 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9560 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9561 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9562 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9563 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9564 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9565 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9566 		.rlen	= 496,
9567 		.also_non_np = 1,
9568 		.np	= 3,
9569 		.tap	= { 496 - 20, 4, 16 },
9570 	},
9571 };
9572 
9573 static const struct cipher_testvec tf_ctr_enc_tv_template[] = {
9574 	{ /* Generated with Crypto++ */
9575 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9576 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9577 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9578 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9579 		.klen	= 32,
9580 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9581 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9582 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9583 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9584 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9585 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9586 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9587 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9588 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9589 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9590 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9591 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9592 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9593 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9594 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9595 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9596 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9597 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9598 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9599 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9600 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9601 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9602 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9603 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9604 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9605 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9606 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9607 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9608 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9609 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9610 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9611 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9612 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9613 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9614 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9615 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9616 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9617 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9618 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9619 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9620 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9621 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9622 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9623 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9624 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9625 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9626 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9627 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9628 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9629 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9630 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9631 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9632 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9633 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9634 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9635 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9636 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9637 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9638 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9639 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9640 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9641 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9642 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9643 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9644 		.ilen	= 496,
9645 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9646 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9647 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9648 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9649 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9650 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9651 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9652 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9653 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9654 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9655 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9656 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9657 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9658 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9659 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9660 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9661 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9662 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9663 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9664 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9665 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9666 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9667 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9668 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9669 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9670 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9671 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9672 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9673 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9674 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9675 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9676 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9677 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9678 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9679 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9680 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9681 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9682 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9683 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9684 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9685 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9686 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9687 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9688 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9689 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9690 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9691 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9692 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9693 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9694 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9695 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9696 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9697 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9698 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9699 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9700 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9701 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9702 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9703 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9704 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9705 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9706 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9707 		.rlen	= 496,
9708 	}, { /* Generated with Crypto++ */
9709 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9710 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9711 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9712 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9713 		.klen	= 32,
9714 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9715 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9716 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9717 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9718 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9719 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9720 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9721 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9722 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9723 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9724 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9725 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9726 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9727 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9728 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9729 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9730 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9731 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9732 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9733 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9734 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9735 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9736 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9737 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9738 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9739 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9740 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9741 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9742 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9743 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9744 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9745 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9746 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9747 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9748 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9749 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9750 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9751 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9752 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9753 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9754 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9755 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9756 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9757 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9758 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9759 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9760 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9761 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9762 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9763 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9764 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9765 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9766 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9767 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9768 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9769 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9770 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9771 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9772 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9773 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9774 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9775 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9776 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9777 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9778 		.ilen	= 496,
9779 		.result	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9780 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9781 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9782 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9783 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9784 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9785 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9786 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9787 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9788 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9789 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9790 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9791 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9792 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9793 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9794 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9795 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9796 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9797 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9798 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9799 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9800 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9801 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9802 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9803 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9804 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9805 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9806 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9807 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9808 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9809 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9810 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9811 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9812 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9813 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9814 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9815 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9816 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9817 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9818 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9819 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9820 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9821 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9822 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9823 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9824 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9825 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9826 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9827 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9828 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9829 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9830 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9831 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9832 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9833 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9834 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9835 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9836 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9837 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9838 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9839 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9840 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9841 		.rlen	= 496,
9842 	}, { /* Generated with Crypto++ */
9843 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9844 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9845 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9846 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9847 		.klen	= 32,
9848 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9849 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9850 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9851 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9852 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9853 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9854 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9855 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9856 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9857 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9858 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9859 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9860 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9861 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9862 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9863 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9864 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9865 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9866 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9867 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9868 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9869 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9870 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9871 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9872 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9873 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9874 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9875 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9876 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9877 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9878 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9879 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9880 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9881 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9882 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9883 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9884 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9885 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9886 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9887 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9888 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9889 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9890 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9891 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9892 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9893 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9894 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9895 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9896 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9897 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9898 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9899 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9900 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9901 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9902 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9903 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9904 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9905 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9906 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9907 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9908 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9909 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9910 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9911 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9912 			  "\x2B\xC2\x59",
9913 		.ilen	= 499,
9914 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9915 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9916 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9917 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9918 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9919 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9920 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9921 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9922 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9923 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9924 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9925 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9926 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9927 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9928 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9929 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9930 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9931 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9932 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9933 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9934 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9935 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9936 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9937 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9938 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9939 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9940 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9941 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9942 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9943 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9944 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9945 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9946 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9947 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9948 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9949 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9950 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9951 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9952 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9953 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9954 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9955 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9956 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9957 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9958 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9959 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9960 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9961 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9962 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9963 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9964 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9965 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9966 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9967 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9968 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9969 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9970 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9971 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9972 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9973 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9974 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9975 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9976 			  "\x6C\x82\x9D",
9977 		.rlen	= 499,
9978 		.also_non_np = 1,
9979 		.np	= 2,
9980 		.tap	= { 499 - 16, 16 },
9981 	},
9982 };
9983 
9984 static const struct cipher_testvec tf_ctr_dec_tv_template[] = {
9985 	{ /* Generated with Crypto++ */
9986 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9987 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9988 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9989 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9990 		.klen	= 32,
9991 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9992 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9993 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9994 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9995 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9996 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9997 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9998 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9999 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
10000 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
10001 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
10002 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
10003 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
10004 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
10005 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
10006 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
10007 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
10008 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
10009 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
10010 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
10011 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
10012 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
10013 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
10014 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
10015 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
10016 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
10017 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
10018 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
10019 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
10020 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
10021 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
10022 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
10023 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
10024 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
10025 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
10026 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
10027 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
10028 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
10029 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
10030 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
10031 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
10032 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
10033 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
10034 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
10035 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
10036 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
10037 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
10038 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
10039 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
10040 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
10041 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
10042 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
10043 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
10044 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
10045 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
10046 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
10047 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
10048 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
10049 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
10050 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
10051 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
10052 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
10053 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
10054 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
10055 		.ilen	= 496,
10056 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10057 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10058 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10059 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10060 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10061 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10062 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10063 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10064 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10065 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10066 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10067 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10068 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10069 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10070 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10071 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10072 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10073 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10074 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10075 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10076 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10077 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10078 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10079 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10080 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10081 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10082 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10083 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10084 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10085 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10086 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10087 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10088 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10089 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10090 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10091 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10092 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10093 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10094 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10095 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10096 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10097 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10098 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10099 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10100 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10101 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10102 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10103 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10104 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10105 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10106 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10107 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10108 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10109 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10110 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10111 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10112 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10113 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10114 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10115 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10116 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10117 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10118 		.rlen	= 496,
10119 	}, { /* Generated with Crypto++ */
10120 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10121 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10122 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10123 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10124 		.klen	= 32,
10125 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
10126 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10127 		.input	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
10128 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
10129 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
10130 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
10131 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
10132 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
10133 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
10134 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
10135 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
10136 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
10137 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
10138 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
10139 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
10140 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
10141 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
10142 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
10143 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
10144 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
10145 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
10146 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
10147 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
10148 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
10149 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
10150 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
10151 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
10152 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
10153 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
10154 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
10155 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
10156 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
10157 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
10158 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
10159 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
10160 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
10161 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
10162 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
10163 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
10164 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
10165 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
10166 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
10167 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
10168 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
10169 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
10170 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
10171 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
10172 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
10173 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
10174 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
10175 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
10176 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
10177 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
10178 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
10179 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
10180 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
10181 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
10182 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
10183 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
10184 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
10185 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
10186 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
10187 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
10188 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
10189 		.ilen	= 496,
10190 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10191 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10192 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10193 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10194 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10195 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10196 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10197 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10198 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10199 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10200 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10201 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10202 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10203 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10204 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10205 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10206 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10207 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10208 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10209 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10210 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10211 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10212 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10213 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10214 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10215 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10216 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10217 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10218 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10219 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10220 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10221 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10222 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10223 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10224 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10225 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10226 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10227 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10228 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10229 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10230 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10231 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10232 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10233 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10234 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10235 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10236 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10237 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10238 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10239 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10240 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10241 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10242 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10243 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10244 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10245 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10246 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10247 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10248 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10249 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10250 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10251 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10252 		.rlen	= 496,
10253 	}, { /* Generated with Crypto++ */
10254 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10255 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10256 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10257 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10258 		.klen	= 32,
10259 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10260 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10261 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
10262 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
10263 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
10264 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
10265 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
10266 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
10267 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
10268 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
10269 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
10270 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
10271 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
10272 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
10273 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
10274 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
10275 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
10276 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
10277 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
10278 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
10279 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
10280 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
10281 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
10282 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
10283 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
10284 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
10285 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
10286 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
10287 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
10288 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
10289 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
10290 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
10291 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
10292 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
10293 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
10294 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
10295 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
10296 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
10297 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
10298 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
10299 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
10300 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
10301 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
10302 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
10303 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
10304 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
10305 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
10306 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
10307 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
10308 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
10309 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
10310 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
10311 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
10312 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
10313 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
10314 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
10315 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
10316 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
10317 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
10318 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
10319 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
10320 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
10321 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
10322 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
10323 			  "\x6C\x82\x9D",
10324 		.ilen	= 499,
10325 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10326 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10327 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10328 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10329 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10330 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10331 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10332 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10333 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10334 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10335 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10336 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10337 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10338 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10339 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10340 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10341 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10342 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10343 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10344 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10345 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10346 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10347 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10348 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10349 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10350 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10351 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10352 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10353 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10354 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10355 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10356 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10357 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10358 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10359 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10360 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10361 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10362 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10363 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10364 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10365 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10366 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10367 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10368 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10369 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10370 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10371 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10372 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10373 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10374 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10375 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10376 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10377 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10378 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10379 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10380 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10381 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10382 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10383 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10384 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10385 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10386 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10387 			  "\x2B\xC2\x59",
10388 		.rlen	= 499,
10389 		.also_non_np = 1,
10390 		.np	= 2,
10391 		.tap	= { 499 - 16, 16 },
10392 	},
10393 };
10394 
10395 static const struct cipher_testvec tf_lrw_enc_tv_template[] = {
10396 	/* Generated from AES-LRW test vectors */
10397 	{
10398 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10399 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10400 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10401 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10402 		.klen	= 32,
10403 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10404 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10405 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10406 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10407 		.ilen	= 16,
10408 		.result	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
10409 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
10410 		.rlen	= 16,
10411 	}, {
10412 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10413 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10414 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10415 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10416 		.klen	= 32,
10417 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10418 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
10419 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10420 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10421 		.ilen	= 16,
10422 		.result	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
10423 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
10424 		.rlen	= 16,
10425 	}, {
10426 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10427 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10428 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10429 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10430 		.klen	= 32,
10431 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10432 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10433 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10434 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10435 		.ilen	= 16,
10436 		.result	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
10437 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
10438 		.rlen	= 16,
10439 	}, {
10440 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10441 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10442 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10443 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10444 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10445 		.klen	= 40,
10446 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10447 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10448 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10449 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10450 		.ilen	= 16,
10451 		.result	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
10452 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
10453 		.rlen	= 16,
10454 	}, {
10455 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10456 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10457 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10458 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10459 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10460 		.klen	= 40,
10461 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10462 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10463 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10464 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10465 		.ilen	= 16,
10466 		.result	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
10467 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
10468 		.rlen	= 16,
10469 	}, {
10470 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10471 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10472 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10473 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10474 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10475 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10476 		.klen	= 48,
10477 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10478 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10479 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10480 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10481 		.ilen	= 16,
10482 		.result	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10483 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10484 		.rlen	= 16,
10485 	}, {
10486 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10487 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10488 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10489 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10490 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10491 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10492 		.klen	= 48,
10493 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10494 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10495 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10496 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10497 		.ilen	= 16,
10498 		.result	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10499 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10500 		.rlen	= 16,
10501 	}, {
10502 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10503 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10504 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10505 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10506 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10507 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10508 		.klen	= 48,
10509 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10510 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10511 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10512 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10513 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10514 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10515 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10516 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10517 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10518 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10519 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10520 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10521 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10522 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10523 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10524 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10525 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10526 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10527 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10528 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10529 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10530 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10531 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10532 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10533 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10534 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10535 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10536 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10537 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10538 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10539 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10540 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10541 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10542 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10543 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10544 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10545 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10546 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10547 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10548 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10549 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10550 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10551 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10552 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10553 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10554 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10555 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10556 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10557 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10558 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10559 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10560 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10561 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10562 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10563 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10564 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10565 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10566 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10567 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10568 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10569 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10570 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10571 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10572 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10573 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10574 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10575 		.ilen	= 512,
10576 		.result	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10577 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10578 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10579 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10580 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10581 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10582 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10583 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10584 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10585 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10586 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10587 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10588 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10589 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10590 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10591 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10592 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10593 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10594 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10595 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10596 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10597 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10598 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10599 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10600 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10601 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10602 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10603 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10604 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10605 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10606 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10607 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10608 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10609 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10610 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10611 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10612 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10613 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10614 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10615 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10616 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10617 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10618 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10619 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10620 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10621 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10622 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10623 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10624 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10625 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10626 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10627 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10628 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10629 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10630 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10631 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10632 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10633 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10634 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10635 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10636 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10637 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10638 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10639 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10640 		.rlen	= 512,
10641 		.also_non_np = 1,
10642 		.np	= 3,
10643 		.tap	= { 512 - 20, 4, 16 },
10644 	},
10645 };
10646 
10647 static const struct cipher_testvec tf_lrw_dec_tv_template[] = {
10648 	/* Generated from AES-LRW test vectors */
10649 	/* same as enc vectors with input and result reversed */
10650 	{
10651 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10652 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10653 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10654 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10655 		.klen	= 32,
10656 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10657 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10658 		.input	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
10659 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
10660 		.ilen	= 16,
10661 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10662 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10663 		.rlen	= 16,
10664 	}, {
10665 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10666 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10667 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10668 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10669 		.klen	= 32,
10670 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10671 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
10672 		.input	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
10673 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
10674 		.ilen	= 16,
10675 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10676 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10677 		.rlen	= 16,
10678 	}, {
10679 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10680 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10681 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10682 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10683 		.klen	= 32,
10684 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10685 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10686 		.input	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
10687 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
10688 		.ilen	= 16,
10689 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10690 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10691 		.rlen	= 16,
10692 	}, {
10693 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10694 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10695 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10696 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10697 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10698 		.klen	= 40,
10699 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10700 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10701 		.input	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
10702 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
10703 		.ilen	= 16,
10704 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10705 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10706 		.rlen	= 16,
10707 	}, {
10708 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10709 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10710 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10711 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10712 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10713 		.klen	= 40,
10714 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10715 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10716 		.input	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
10717 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
10718 		.ilen	= 16,
10719 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10720 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10721 		.rlen	= 16,
10722 	}, {
10723 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10724 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10725 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10726 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10727 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10728 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10729 		.klen	= 48,
10730 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10731 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10732 		.input	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10733 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10734 		.ilen	= 16,
10735 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10736 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10737 		.rlen	= 16,
10738 	}, {
10739 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10740 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10741 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10742 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10743 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10744 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10745 		.klen	= 48,
10746 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10747 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10748 		.input	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10749 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10750 		.ilen	= 16,
10751 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10752 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10753 		.rlen	= 16,
10754 	}, {
10755 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10756 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10757 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10758 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10759 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10760 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10761 		.klen	= 48,
10762 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10763 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10764 		.input	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10765 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10766 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10767 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10768 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10769 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10770 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10771 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10772 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10773 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10774 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10775 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10776 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10777 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10778 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10779 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10780 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10781 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10782 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10783 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10784 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10785 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10786 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10787 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10788 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10789 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10790 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10791 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10792 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10793 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10794 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10795 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10796 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10797 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10798 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10799 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10800 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10801 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10802 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10803 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10804 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10805 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10806 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10807 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10808 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10809 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10810 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10811 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10812 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10813 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10814 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10815 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10816 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10817 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10818 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10819 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10820 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10821 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10822 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10823 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10824 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10825 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10826 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10827 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10828 		.ilen	= 512,
10829 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10830 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10831 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10832 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10833 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10834 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10835 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10836 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10837 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10838 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10839 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10840 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10841 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10842 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10843 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10844 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10845 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10846 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10847 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10848 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10849 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10850 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10851 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10852 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10853 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10854 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10855 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10856 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10857 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10858 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10859 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10860 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10861 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10862 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10863 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10864 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10865 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10866 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10867 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10868 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10869 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10870 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10871 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10872 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10873 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10874 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10875 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10876 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10877 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10878 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10879 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10880 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10881 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10882 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10883 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10884 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10885 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10886 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10887 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10888 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10889 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10890 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10891 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10892 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10893 		.rlen	= 512,
10894 		.also_non_np = 1,
10895 		.np	= 3,
10896 		.tap	= { 512 - 20, 4, 16 },
10897 	},
10898 };
10899 
10900 static const struct cipher_testvec tf_xts_enc_tv_template[] = {
10901 	/* Generated from AES-XTS test vectors */
10902 {
10903 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10904 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10905 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10906 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10907 		.klen	= 32,
10908 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10909 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10910 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10911 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10912 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10913 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10914 		.ilen	= 32,
10915 		.result	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10916 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10917 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10918 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10919 		.rlen	= 32,
10920 	}, {
10921 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10922 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10923 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10924 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10925 		.klen	= 32,
10926 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10927 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10928 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10929 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10930 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10931 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10932 		.ilen	= 32,
10933 		.result	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10934 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10935 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10936 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10937 		.rlen	= 32,
10938 	}, {
10939 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10940 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10941 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10942 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10943 		.klen	= 32,
10944 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10945 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10946 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10947 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10948 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10949 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10950 		.ilen	= 32,
10951 		.result	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10952 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10953 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10954 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10955 		.rlen	= 32,
10956 	}, {
10957 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10958 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10959 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10960 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10961 		.klen	= 32,
10962 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10963 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10964 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10965 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10966 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10967 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10968 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10969 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10970 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10971 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10972 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10973 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10974 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10975 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10976 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10977 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10978 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10979 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10980 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10981 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10982 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10983 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10984 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10985 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10986 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10987 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10988 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10989 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10990 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10991 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10992 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10993 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10994 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10995 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10996 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10997 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10998 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10999 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11000 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11001 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11002 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11003 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11004 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11005 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11006 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11007 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11008 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11009 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11010 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11011 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11012 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11013 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11014 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11015 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11016 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11017 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11018 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11019 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11020 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11021 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11022 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11023 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11024 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11025 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11026 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11027 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11028 		.ilen	= 512,
11029 		.result	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
11030 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
11031 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
11032 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
11033 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
11034 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
11035 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
11036 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
11037 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
11038 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
11039 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
11040 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
11041 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
11042 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
11043 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
11044 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
11045 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
11046 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
11047 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
11048 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
11049 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
11050 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
11051 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
11052 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
11053 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
11054 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
11055 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
11056 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
11057 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
11058 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
11059 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
11060 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
11061 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
11062 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
11063 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
11064 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
11065 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
11066 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
11067 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
11068 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
11069 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
11070 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
11071 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
11072 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
11073 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
11074 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
11075 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
11076 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
11077 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
11078 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
11079 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
11080 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
11081 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
11082 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
11083 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
11084 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
11085 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
11086 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
11087 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
11088 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
11089 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
11090 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
11091 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
11092 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
11093 		.rlen	= 512,
11094 	}, {
11095 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
11096 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
11097 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
11098 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
11099 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
11100 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
11101 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
11102 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
11103 		.klen	= 64,
11104 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
11105 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11106 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11107 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11108 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11109 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11110 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11111 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11112 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11113 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11114 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11115 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11116 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11117 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11118 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11119 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11120 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11121 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11122 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11123 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11124 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11125 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11126 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11127 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11128 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11129 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11130 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11131 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11132 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11133 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11134 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11135 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11136 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11137 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11138 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
11139 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11140 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11141 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11142 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11143 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11144 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11145 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11146 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11147 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11148 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11149 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11150 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11151 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11152 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11153 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11154 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11155 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11156 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11157 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11158 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11159 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11160 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11161 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11162 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11163 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11164 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11165 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11166 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11167 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11168 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11169 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11170 		.ilen	= 512,
11171 		.result	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
11172 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
11173 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
11174 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
11175 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
11176 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
11177 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
11178 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
11179 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
11180 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
11181 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
11182 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
11183 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
11184 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
11185 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
11186 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
11187 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
11188 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
11189 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
11190 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
11191 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
11192 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
11193 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
11194 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
11195 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
11196 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
11197 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
11198 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
11199 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
11200 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
11201 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
11202 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
11203 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
11204 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
11205 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
11206 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
11207 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
11208 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
11209 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
11210 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
11211 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
11212 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
11213 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
11214 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
11215 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
11216 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
11217 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
11218 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
11219 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
11220 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
11221 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
11222 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
11223 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
11224 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
11225 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
11226 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
11227 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
11228 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
11229 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
11230 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
11231 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
11232 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
11233 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
11234 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
11235 		.rlen	= 512,
11236 		.also_non_np = 1,
11237 		.np	= 3,
11238 		.tap	= { 512 - 20, 4, 16 },
11239 	},
11240 };
11241 
11242 static const struct cipher_testvec tf_xts_dec_tv_template[] = {
11243 	/* Generated from AES-XTS test vectors */
11244 	/* same as enc vectors with input and result reversed */
11245 	{
11246 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11247 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11248 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11249 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11250 		.klen	= 32,
11251 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11252 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11253 		.input	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
11254 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
11255 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
11256 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
11257 		.ilen	= 32,
11258 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11259 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11260 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11261 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11262 		.rlen	= 32,
11263 	}, {
11264 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
11265 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
11266 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
11267 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
11268 		.klen	= 32,
11269 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
11270 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11271 		.input	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
11272 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
11273 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
11274 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
11275 		.ilen	= 32,
11276 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
11277 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
11278 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
11279 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
11280 		.rlen	= 32,
11281 	}, {
11282 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
11283 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
11284 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
11285 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
11286 		.klen	= 32,
11287 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
11288 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11289 		.input	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
11290 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
11291 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
11292 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
11293 		.ilen	= 32,
11294 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
11295 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
11296 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
11297 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
11298 		.rlen	= 32,
11299 	}, {
11300 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
11301 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
11302 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
11303 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
11304 		.klen	= 32,
11305 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11306 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11307 		.input	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
11308 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
11309 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
11310 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
11311 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
11312 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
11313 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
11314 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
11315 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
11316 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
11317 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
11318 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
11319 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
11320 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
11321 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
11322 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
11323 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
11324 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
11325 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
11326 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
11327 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
11328 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
11329 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
11330 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
11331 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
11332 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
11333 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
11334 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
11335 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
11336 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
11337 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
11338 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
11339 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
11340 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
11341 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
11342 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
11343 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
11344 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
11345 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
11346 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
11347 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
11348 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
11349 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
11350 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
11351 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
11352 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
11353 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
11354 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
11355 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
11356 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
11357 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
11358 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
11359 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
11360 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
11361 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
11362 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
11363 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
11364 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
11365 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
11366 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
11367 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
11368 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
11369 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
11370 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
11371 		.ilen	= 512,
11372 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11373 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11374 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11375 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11376 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11377 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11378 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11379 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11380 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11381 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11382 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11383 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11384 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11385 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11386 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11387 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11388 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11389 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11390 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11391 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11392 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11393 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11394 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11395 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11396 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11397 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11398 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11399 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11400 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11401 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11402 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11403 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11404 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
11405 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11406 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11407 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11408 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11409 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11410 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11411 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11412 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11413 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11414 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11415 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11416 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11417 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11418 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11419 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11420 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11421 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11422 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11423 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11424 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11425 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11426 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11427 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11428 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11429 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11430 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11431 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11432 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11433 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11434 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11435 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11436 		.rlen	= 512,
11437 	}, {
11438 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
11439 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
11440 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
11441 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
11442 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
11443 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
11444 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
11445 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
11446 		.klen	= 64,
11447 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
11448 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11449 		.input	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
11450 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
11451 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
11452 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
11453 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
11454 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
11455 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
11456 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
11457 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
11458 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
11459 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
11460 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
11461 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
11462 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
11463 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
11464 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
11465 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
11466 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
11467 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
11468 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
11469 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
11470 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
11471 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
11472 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
11473 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
11474 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
11475 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
11476 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
11477 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
11478 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
11479 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
11480 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
11481 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
11482 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
11483 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
11484 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
11485 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
11486 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
11487 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
11488 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
11489 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
11490 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
11491 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
11492 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
11493 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
11494 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
11495 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
11496 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
11497 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
11498 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
11499 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
11500 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
11501 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
11502 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
11503 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
11504 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
11505 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
11506 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
11507 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
11508 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
11509 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
11510 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
11511 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
11512 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
11513 		.ilen	= 512,
11514 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11515 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11516 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11517 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11518 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11519 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11520 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11521 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11522 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11523 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11524 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11525 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11526 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11527 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11528 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11529 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11530 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11531 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11532 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11533 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11534 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11535 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11536 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11537 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11538 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11539 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11540 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11541 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11542 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11543 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11544 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11545 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11546 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
11547 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11548 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11549 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11550 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
11551 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11552 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
11553 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11554 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
11555 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11556 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
11557 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11558 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
11559 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11560 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
11561 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11562 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
11563 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11564 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
11565 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11566 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11567 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11568 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11569 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11570 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11571 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11572 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11573 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11574 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11575 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11576 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11577 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11578 		.rlen	= 512,
11579 		.also_non_np = 1,
11580 		.np	= 3,
11581 		.tap	= { 512 - 20, 4, 16 },
11582 	},
11583 };
11584 
11585 /*
11586  * Serpent test vectors.  These are backwards because Serpent writes
11587  * octet sequences in right-to-left mode.
11588  */
11589 static const struct cipher_testvec serpent_enc_tv_template[] = {
11590 	{
11591 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11592 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11593 		.ilen	= 16,
11594 		.result	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11595 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11596 		.rlen	= 16,
11597 	}, {
11598 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11599 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11600 		.klen	= 16,
11601 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11602 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11603 		.ilen	= 16,
11604 		.result	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11605 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11606 		.rlen	= 16,
11607 	}, {
11608 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11609 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11610 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11611 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11612 		.klen	= 32,
11613 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11614 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11615 		.ilen	= 16,
11616 		.result	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11617 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11618 		.rlen	= 16,
11619 	}, {
11620 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11621 		.klen	= 16,
11622 		.input	= zeroed_string,
11623 		.ilen	= 16,
11624 		.result	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11625 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11626 		.rlen	= 16,
11627 	}, { /* Generated with Crypto++ */
11628 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11629 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11630 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11631 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11632 		.klen	= 32,
11633 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11634 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11635 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11636 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11637 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11638 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11639 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11640 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11641 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11642 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11643 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11644 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11645 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11646 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11647 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11648 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11649 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11650 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11651 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11652 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11653 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11654 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11655 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11656 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11657 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11658 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11659 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11660 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11661 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11662 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11663 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11664 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11665 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11666 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11667 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11668 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11669 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11670 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11671 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11672 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11673 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11674 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11675 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11676 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11677 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11678 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11679 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11680 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11681 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11682 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11683 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11684 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11685 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11686 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11687 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11688 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11689 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11690 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11691 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11692 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11693 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11694 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11695 		.ilen	= 496,
11696 		.result	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11697 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11698 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11699 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11700 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11701 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11702 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11703 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11704 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11705 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11706 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11707 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11708 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11709 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11710 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11711 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11712 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11713 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11714 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11715 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11716 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11717 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11718 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11719 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11720 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11721 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11722 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11723 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11724 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11725 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11726 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11727 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11728 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11729 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11730 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11731 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11732 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11733 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11734 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11735 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11736 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11737 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11738 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11739 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11740 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11741 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11742 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11743 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11744 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11745 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11746 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11747 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11748 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11749 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11750 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11751 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11752 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11753 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11754 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11755 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11756 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11757 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11758 		.rlen	= 496,
11759 		.also_non_np = 1,
11760 		.np	= 3,
11761 		.tap	= { 496 - 20, 4, 16 },
11762 	},
11763 };
11764 
11765 static const struct cipher_testvec tnepres_enc_tv_template[] = {
11766 	{ /* KeySize=128, PT=0, I=1 */
11767 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11768 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11769 		.key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11770 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11771 		.klen   = 16,
11772 		.ilen	= 16,
11773 		.result	= "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11774 			  "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11775 		.rlen	= 16,
11776 	}, { /* KeySize=192, PT=0, I=1 */
11777 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11778 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11779 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11780 		.klen	= 24,
11781 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11782 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11783 		.ilen	= 16,
11784 		.result	= "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11785 			  "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11786 		.rlen	= 16,
11787 	}, { /* KeySize=256, PT=0, I=1 */
11788 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11789 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11790 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11791 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11792 		.klen	= 32,
11793 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11794 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11795 		.ilen	= 16,
11796 		.result	= "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11797 			  "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11798 		.rlen	= 16,
11799 	}, { /* KeySize=256, I=257 */
11800 		.key	= "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11801 			  "\x17\x16\x15\x14\x13\x12\x11\x10"
11802 			  "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11803 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11804 		.klen	= 32,
11805 		.input	= "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11806 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11807 		.ilen	= 16,
11808 		.result	= "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11809 			  "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11810 		.rlen	= 16,
11811 	},
11812 };
11813 
11814 
11815 static const struct cipher_testvec serpent_dec_tv_template[] = {
11816 	{
11817 		.input	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11818 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11819 		.ilen	= 16,
11820 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11821 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11822 		.rlen	= 16,
11823 	}, {
11824 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11825 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11826 		.klen	= 16,
11827 		.input	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11828 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11829 		.ilen	= 16,
11830 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11831 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11832 		.rlen	= 16,
11833 	}, {
11834 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11835 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11836 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11837 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11838 		.klen	= 32,
11839 		.input	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11840 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11841 		.ilen	= 16,
11842 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11843 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11844 		.rlen	= 16,
11845 	}, {
11846 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11847 		.klen	= 16,
11848 		.input	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11849 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11850 		.ilen	= 16,
11851 		.result	= zeroed_string,
11852 		.rlen	= 16,
11853 	}, { /* Generated with Crypto++ */
11854 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11855 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11856 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11857 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11858 		.klen	= 32,
11859 		.input	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11860 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11861 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11862 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11863 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11864 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11865 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11866 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11867 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11868 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11869 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11870 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11871 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11872 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11873 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11874 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11875 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11876 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11877 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11878 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11879 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11880 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11881 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11882 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11883 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11884 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11885 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11886 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11887 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11888 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11889 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11890 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11891 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11892 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11893 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11894 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11895 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11896 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11897 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11898 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11899 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11900 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11901 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11902 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11903 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11904 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11905 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11906 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11907 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11908 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11909 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11910 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11911 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11912 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11913 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11914 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11915 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11916 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11917 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11918 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11919 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11920 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11921 		.ilen	= 496,
11922 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11923 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11924 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11925 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11926 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11927 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11928 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11929 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11930 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11931 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11932 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11933 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11934 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11935 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11936 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11937 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11938 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11939 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11940 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11941 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11942 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11943 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11944 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11945 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11946 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11947 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11948 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11949 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11950 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11951 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11952 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11953 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11954 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11955 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11956 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11957 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11958 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11959 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11960 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11961 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11962 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11963 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11964 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11965 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11966 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11967 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11968 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11969 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11970 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11971 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11972 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11973 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11974 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11975 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11976 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11977 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11978 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11979 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11980 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11981 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11982 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11983 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11984 		.rlen	= 496,
11985 		.also_non_np = 1,
11986 		.np	= 3,
11987 		.tap	= { 496 - 20, 4, 16 },
11988 	},
11989 };
11990 
11991 static const struct cipher_testvec tnepres_dec_tv_template[] = {
11992 	{
11993 		.input	= "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11994 			  "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11995 		.ilen	= 16,
11996 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11997 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11998 		.rlen	= 16,
11999 	}, {
12000 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
12001 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12002 		.klen	= 16,
12003 		.input	= "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
12004 			  "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
12005 		.ilen	= 16,
12006 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
12007 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12008 		.rlen	= 16,
12009 	}, {
12010 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
12011 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12012 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
12013 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12014 		.klen	= 32,
12015 		.input	= "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
12016 			  "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
12017 		.ilen	= 16,
12018 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
12019 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12020 		.rlen	= 16,
12021 	}, { /* KeySize=128, I=121 */
12022 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
12023 		.klen	= 16,
12024 		.input	= "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
12025 			  "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
12026 		.ilen	= 16,
12027 		.result	= zeroed_string,
12028 		.rlen	= 16,
12029 	},
12030 };
12031 
12032 static const struct cipher_testvec serpent_cbc_enc_tv_template[] = {
12033 	{ /* Generated with Crypto++ */
12034 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12035 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12036 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12037 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12038 		.klen	= 32,
12039 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12040 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12041 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12042 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12043 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12044 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12045 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12046 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12047 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12048 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12049 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12050 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12051 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12052 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12053 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12054 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12055 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12056 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12057 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12058 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12059 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12060 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12061 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12062 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12063 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12064 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12065 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12066 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12067 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12068 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12069 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12070 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12071 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12072 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12073 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12074 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12075 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12076 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12077 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12078 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12079 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12080 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12081 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12082 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12083 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12084 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12085 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12086 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12087 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12088 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12089 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12090 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12091 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12092 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12093 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12094 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12095 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12096 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12097 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12098 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12099 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12100 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12101 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12102 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12103 		.ilen	= 496,
12104 		.result	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
12105 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
12106 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
12107 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
12108 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
12109 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
12110 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
12111 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
12112 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
12113 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
12114 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
12115 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
12116 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
12117 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
12118 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
12119 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
12120 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
12121 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
12122 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
12123 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
12124 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
12125 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
12126 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
12127 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
12128 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
12129 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
12130 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
12131 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
12132 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
12133 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
12134 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
12135 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
12136 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
12137 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
12138 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
12139 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
12140 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
12141 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
12142 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
12143 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
12144 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
12145 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
12146 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
12147 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
12148 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
12149 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
12150 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
12151 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
12152 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
12153 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
12154 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
12155 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
12156 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
12157 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
12158 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
12159 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
12160 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
12161 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
12162 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
12163 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
12164 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
12165 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
12166 		.rlen	= 496,
12167 		.also_non_np = 1,
12168 		.np	= 3,
12169 		.tap	= { 496 - 20, 4, 16 },
12170 	},
12171 };
12172 
12173 static const struct cipher_testvec serpent_cbc_dec_tv_template[] = {
12174 	{ /* Generated with Crypto++ */
12175 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12176 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12177 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12178 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12179 		.klen	= 32,
12180 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12181 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12182 		.input	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
12183 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
12184 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
12185 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
12186 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
12187 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
12188 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
12189 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
12190 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
12191 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
12192 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
12193 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
12194 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
12195 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
12196 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
12197 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
12198 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
12199 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
12200 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
12201 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
12202 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
12203 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
12204 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
12205 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
12206 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
12207 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
12208 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
12209 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
12210 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
12211 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
12212 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
12213 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
12214 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
12215 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
12216 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
12217 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
12218 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
12219 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
12220 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
12221 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
12222 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
12223 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
12224 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
12225 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
12226 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
12227 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
12228 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
12229 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
12230 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
12231 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
12232 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
12233 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
12234 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
12235 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
12236 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
12237 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
12238 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
12239 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
12240 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
12241 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
12242 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
12243 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
12244 		.ilen	= 496,
12245 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12246 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12247 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12248 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12249 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12250 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12251 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12252 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12253 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12254 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12255 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12256 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12257 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12258 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12259 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12260 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12261 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12262 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12263 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12264 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12265 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12266 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12267 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12268 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12269 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12270 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12271 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12272 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12273 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12274 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12275 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12276 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12277 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12278 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12279 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12280 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12281 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12282 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12283 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12284 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12285 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12286 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12287 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12288 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12289 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12290 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12291 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12292 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12293 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12294 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12295 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12296 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12297 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12298 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12299 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12300 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12301 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12302 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12303 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12304 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12305 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12306 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12307 		.rlen	= 496,
12308 		.also_non_np = 1,
12309 		.np	= 3,
12310 		.tap	= { 496 - 20, 4, 16 },
12311 	},
12312 };
12313 
12314 static const struct cipher_testvec serpent_ctr_enc_tv_template[] = {
12315 	{ /* Generated with Crypto++ */
12316 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12317 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12318 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12319 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12320 		.klen	= 32,
12321 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12322 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12323 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12324 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12325 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12326 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12327 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12328 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12329 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12330 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12331 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12332 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12333 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12334 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12335 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12336 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12337 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12338 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12339 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12340 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12341 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12342 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12343 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12344 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12345 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12346 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12347 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12348 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12349 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12350 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12351 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12352 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12353 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12354 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12355 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12356 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12357 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12358 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12359 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12360 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12361 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12362 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12363 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12364 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12365 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12366 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12367 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12368 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12369 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12370 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12371 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12372 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12373 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12374 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12375 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12376 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12377 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12378 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12379 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12380 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12381 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12382 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12383 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12384 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12385 		.ilen	= 496,
12386 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12387 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12388 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12389 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12390 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12391 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12392 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12393 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12394 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12395 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12396 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12397 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12398 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12399 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12400 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12401 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12402 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12403 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12404 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12405 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12406 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12407 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12408 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12409 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12410 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12411 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12412 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12413 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12414 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12415 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12416 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12417 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12418 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12419 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12420 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12421 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12422 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12423 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12424 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12425 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12426 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12427 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12428 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12429 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12430 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12431 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12432 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12433 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12434 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12435 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12436 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12437 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12438 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12439 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12440 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12441 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12442 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12443 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12444 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12445 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12446 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12447 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12448 		.rlen	= 496,
12449 	}, { /* Generated with Crypto++ */
12450 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12451 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12452 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12453 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12454 		.klen	= 32,
12455 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12456 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12457 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12458 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12459 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12460 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12461 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12462 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12463 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12464 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12465 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12466 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12467 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12468 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12469 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12470 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12471 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12472 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12473 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12474 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12475 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12476 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12477 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12478 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12479 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12480 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12481 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12482 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12483 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12484 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12485 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12486 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12487 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12488 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12489 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12490 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12491 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12492 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12493 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12494 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12495 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12496 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12497 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12498 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12499 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12500 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12501 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12502 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12503 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12504 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12505 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12506 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12507 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12508 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12509 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12510 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12511 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12512 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12513 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12514 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12515 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12516 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12517 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12518 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12519 			  "\x2B\xC2\x59",
12520 		.ilen	= 499,
12521 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12522 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12523 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12524 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12525 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12526 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12527 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12528 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12529 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12530 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12531 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12532 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12533 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12534 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12535 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12536 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12537 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12538 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12539 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12540 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12541 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12542 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12543 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12544 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12545 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12546 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12547 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12548 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12549 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12550 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12551 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12552 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12553 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12554 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12555 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12556 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12557 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12558 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12559 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12560 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12561 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12562 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12563 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12564 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12565 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12566 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12567 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12568 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12569 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12570 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12571 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12572 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12573 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12574 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12575 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12576 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12577 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12578 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12579 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12580 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12581 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12582 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12583 			  "\x38\xE2\xE5",
12584 		.rlen	= 499,
12585 		.also_non_np = 1,
12586 		.np	= 2,
12587 		.tap	= { 499 - 16, 16 },
12588 	}, { /* Generated with Crypto++ */
12589 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12590 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12591 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12592 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12593 		.klen	= 32,
12594 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12595 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12596 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12597 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12598 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12599 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12600 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12601 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12602 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12603 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12604 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12605 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12606 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12607 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12608 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12609 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12610 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12611 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12612 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12613 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12614 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12615 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12616 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12617 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12618 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12619 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12620 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12621 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12622 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12623 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12624 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12625 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12626 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12627 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12628 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12629 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12630 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12631 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12632 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12633 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12634 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12635 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12636 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12637 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12638 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12639 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12640 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12641 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12642 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12643 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12644 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12645 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12646 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12647 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12648 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12649 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12650 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12651 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12652 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12653 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12654 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12655 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12656 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12657 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12658 		.ilen	= 496,
12659 		.result	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12660 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12661 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12662 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12663 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12664 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12665 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12666 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12667 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12668 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12669 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12670 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12671 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12672 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12673 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12674 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12675 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12676 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12677 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12678 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12679 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12680 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12681 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12682 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12683 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12684 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12685 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12686 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12687 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12688 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12689 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12690 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12691 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12692 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12693 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12694 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12695 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12696 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12697 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12698 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12699 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12700 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12701 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12702 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12703 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12704 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12705 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12706 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12707 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12708 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12709 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12710 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12711 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12712 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12713 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12714 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12715 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12716 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12717 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12718 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12719 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12720 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12721 		.rlen	= 496,
12722 	},
12723 };
12724 
12725 static const struct cipher_testvec serpent_ctr_dec_tv_template[] = {
12726 	{ /* Generated with Crypto++ */
12727 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12728 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12729 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12730 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12731 		.klen	= 32,
12732 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12733 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12734 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12735 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12736 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12737 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12738 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12739 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12740 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12741 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12742 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12743 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12744 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12745 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12746 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12747 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12748 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12749 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12750 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12751 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12752 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12753 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12754 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12755 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12756 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12757 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12758 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12759 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12760 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12761 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12762 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12763 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12764 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12765 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12766 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12767 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12768 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12769 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12770 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12771 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12772 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12773 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12774 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12775 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12776 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12777 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12778 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12779 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12780 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12781 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12782 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12783 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12784 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12785 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12786 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12787 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12788 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12789 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12790 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12791 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12792 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12793 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12794 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12795 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12796 		.ilen	= 496,
12797 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12798 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12799 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12800 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12801 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12802 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12803 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12804 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12805 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12806 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12807 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12808 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12809 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12810 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12811 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12812 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12813 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12814 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12815 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12816 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12817 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12818 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12819 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12820 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12821 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12822 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12823 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12824 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12825 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12826 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12827 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12828 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12829 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12830 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12831 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12832 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12833 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12834 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12835 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12836 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12837 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12838 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12839 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12840 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12841 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12842 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12843 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12844 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12845 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12846 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12847 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12848 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12849 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12850 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12851 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12852 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12853 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12854 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12855 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12856 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12857 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12858 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12859 		.rlen	= 496,
12860 	}, { /* Generated with Crypto++ */
12861 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12862 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12863 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12864 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12865 		.klen	= 32,
12866 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12867 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12868 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12869 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12870 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12871 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12872 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12873 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12874 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12875 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12876 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12877 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12878 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12879 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12880 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12881 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12882 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12883 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12884 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12885 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12886 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12887 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12888 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12889 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12890 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12891 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12892 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12893 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12894 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12895 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12896 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12897 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12898 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12899 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12900 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12901 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12902 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12903 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12904 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12905 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12906 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12907 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12908 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12909 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12910 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12911 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12912 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12913 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12914 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12915 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12916 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12917 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12918 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12919 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12920 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12921 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12922 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12923 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12924 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12925 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12926 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12927 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12928 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12929 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12930 			  "\x38\xE2\xE5",
12931 		.ilen	= 499,
12932 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12933 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12934 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12935 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12936 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12937 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12938 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12939 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12940 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12941 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12942 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12943 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12944 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12945 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12946 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12947 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12948 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12949 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12950 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12951 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12952 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12953 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12954 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12955 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12956 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12957 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12958 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12959 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12960 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12961 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12962 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12963 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12964 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12965 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12966 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12967 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12968 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12969 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12970 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12971 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12972 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12973 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12974 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12975 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12976 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12977 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12978 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12979 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12980 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12981 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12982 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12983 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12984 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12985 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12986 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12987 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12988 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12989 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12990 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12991 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12992 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12993 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12994 			  "\x2B\xC2\x59",
12995 		.rlen	= 499,
12996 		.also_non_np = 1,
12997 		.np	= 2,
12998 		.tap	= { 499 - 16, 16 },
12999 	}, { /* Generated with Crypto++ */
13000 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13001 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13002 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13003 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13004 		.klen	= 32,
13005 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
13006 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
13007 		.input	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
13008 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
13009 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
13010 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
13011 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
13012 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
13013 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
13014 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
13015 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
13016 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
13017 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
13018 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
13019 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
13020 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
13021 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
13022 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
13023 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
13024 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
13025 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
13026 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
13027 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
13028 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
13029 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
13030 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
13031 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
13032 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
13033 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
13034 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
13035 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
13036 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
13037 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
13038 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
13039 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
13040 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
13041 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
13042 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
13043 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
13044 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
13045 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
13046 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
13047 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
13048 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
13049 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
13050 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
13051 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
13052 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
13053 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
13054 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
13055 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
13056 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
13057 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
13058 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
13059 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
13060 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
13061 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
13062 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
13063 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
13064 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
13065 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
13066 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
13067 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
13068 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
13069 		.ilen	= 496,
13070 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13071 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13072 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13073 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13074 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13075 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13076 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13077 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13078 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13079 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13080 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13081 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13082 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13083 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13084 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13085 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13086 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13087 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13088 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13089 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13090 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13091 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13092 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13093 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13094 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13095 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13096 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13097 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13098 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13099 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13100 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13101 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13102 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13103 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13104 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13105 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13106 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13107 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13108 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13109 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13110 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13111 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13112 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13113 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13114 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13115 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13116 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13117 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13118 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13119 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13120 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13121 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13122 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13123 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13124 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13125 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13126 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13127 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13128 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13129 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13130 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13131 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13132 		.rlen	= 496,
13133 	},
13134 };
13135 
13136 static const struct cipher_testvec serpent_lrw_enc_tv_template[] = {
13137 	/* Generated from AES-LRW test vectors */
13138 	{
13139 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13140 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13141 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13142 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13143 		.klen	= 32,
13144 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13145 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13146 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13147 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13148 		.ilen	= 16,
13149 		.result	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
13150 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
13151 		.rlen	= 16,
13152 	}, {
13153 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
13154 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
13155 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
13156 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
13157 		.klen	= 32,
13158 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13159 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
13160 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13161 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13162 		.ilen	= 16,
13163 		.result	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
13164 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
13165 		.rlen	= 16,
13166 	}, {
13167 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
13168 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
13169 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
13170 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
13171 		.klen	= 32,
13172 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13173 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13174 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13175 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13176 		.ilen	= 16,
13177 		.result	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
13178 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
13179 		.rlen	= 16,
13180 	}, {
13181 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
13182 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
13183 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
13184 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
13185 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
13186 		.klen	= 40,
13187 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13188 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13189 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13190 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13191 		.ilen	= 16,
13192 		.result	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
13193 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
13194 		.rlen	= 16,
13195 	}, {
13196 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
13197 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
13198 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
13199 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
13200 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
13201 		.klen	= 40,
13202 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13203 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13204 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13205 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13206 		.ilen	= 16,
13207 		.result	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
13208 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
13209 		.rlen	= 16,
13210 	}, {
13211 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13212 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13213 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13214 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13215 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13216 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13217 		.klen	= 48,
13218 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13219 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13220 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13221 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13222 		.ilen	= 16,
13223 		.result	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
13224 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
13225 		.rlen	= 16,
13226 	}, {
13227 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
13228 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
13229 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
13230 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
13231 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
13232 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
13233 		.klen	= 48,
13234 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13235 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13236 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13237 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13238 		.ilen	= 16,
13239 		.result	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
13240 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
13241 		.rlen	= 16,
13242 	}, {
13243 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13244 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13245 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13246 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13247 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13248 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13249 		.klen	= 48,
13250 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13251 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13252 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13253 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13254 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13255 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13256 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13257 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13258 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13259 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13260 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13261 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13262 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13263 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13264 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13265 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13266 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13267 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13268 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13269 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13270 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13271 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13272 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13273 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13274 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13275 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13276 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13277 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13278 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13279 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13280 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13281 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13282 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13283 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13284 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13285 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13286 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13287 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13288 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13289 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13290 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13291 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13292 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13293 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13294 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13295 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13296 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13297 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13298 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13299 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13300 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13301 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13302 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13303 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13304 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13305 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13306 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13307 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13308 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13309 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13310 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13311 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13312 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13313 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13314 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13315 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13316 		.ilen	= 512,
13317 		.result	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
13318 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
13319 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
13320 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
13321 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
13322 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
13323 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
13324 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
13325 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
13326 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
13327 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
13328 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
13329 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
13330 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
13331 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
13332 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
13333 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
13334 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
13335 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
13336 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
13337 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
13338 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
13339 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
13340 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
13341 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
13342 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
13343 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
13344 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
13345 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
13346 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
13347 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
13348 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
13349 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
13350 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
13351 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
13352 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
13353 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
13354 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
13355 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
13356 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
13357 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
13358 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
13359 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
13360 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
13361 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
13362 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
13363 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
13364 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
13365 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
13366 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
13367 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
13368 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
13369 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
13370 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
13371 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
13372 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
13373 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
13374 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
13375 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
13376 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
13377 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
13378 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
13379 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
13380 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
13381 		.rlen	= 512,
13382 		.also_non_np = 1,
13383 		.np	= 3,
13384 		.tap	= { 512 - 20, 4, 16 },
13385 	},
13386 };
13387 
13388 static const struct cipher_testvec serpent_lrw_dec_tv_template[] = {
13389 	/* Generated from AES-LRW test vectors */
13390 	/* same as enc vectors with input and result reversed */
13391 	{
13392 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13393 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13394 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13395 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13396 		.klen	= 32,
13397 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13398 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13399 		.input	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
13400 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
13401 		.ilen	= 16,
13402 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13403 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13404 		.rlen	= 16,
13405 	}, {
13406 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
13407 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
13408 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
13409 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
13410 		.klen	= 32,
13411 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13412 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
13413 		.input	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
13414 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
13415 		.ilen	= 16,
13416 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13417 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13418 		.rlen	= 16,
13419 	}, {
13420 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
13421 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
13422 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
13423 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
13424 		.klen	= 32,
13425 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13426 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13427 		.input	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
13428 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
13429 		.ilen	= 16,
13430 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13431 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13432 		.rlen	= 16,
13433 	}, {
13434 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
13435 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
13436 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
13437 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
13438 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
13439 		.klen	= 40,
13440 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13441 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13442 		.input	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
13443 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
13444 		.ilen	= 16,
13445 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13446 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13447 		.rlen	= 16,
13448 	}, {
13449 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
13450 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
13451 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
13452 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
13453 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
13454 		.klen	= 40,
13455 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13456 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13457 		.input	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
13458 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
13459 		.ilen	= 16,
13460 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13461 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13462 		.rlen	= 16,
13463 	}, {
13464 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13465 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13466 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13467 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13468 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13469 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13470 		.klen	= 48,
13471 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13472 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13473 		.input	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
13474 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
13475 		.ilen	= 16,
13476 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13477 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13478 		.rlen	= 16,
13479 	}, {
13480 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
13481 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
13482 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
13483 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
13484 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
13485 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
13486 		.klen	= 48,
13487 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13488 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
13489 		.input	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
13490 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
13491 		.ilen	= 16,
13492 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
13493 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
13494 		.rlen	= 16,
13495 	}, {
13496 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13497 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13498 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13499 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13500 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13501 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13502 		.klen	= 48,
13503 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13504 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
13505 		.input	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
13506 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
13507 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
13508 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
13509 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
13510 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
13511 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
13512 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
13513 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
13514 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
13515 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
13516 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
13517 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
13518 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
13519 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
13520 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
13521 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
13522 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
13523 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
13524 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
13525 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
13526 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
13527 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
13528 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
13529 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
13530 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
13531 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
13532 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
13533 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
13534 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
13535 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
13536 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
13537 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
13538 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
13539 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
13540 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
13541 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
13542 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
13543 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
13544 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
13545 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
13546 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
13547 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
13548 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
13549 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
13550 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
13551 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
13552 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
13553 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
13554 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
13555 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
13556 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
13557 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
13558 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
13559 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
13560 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
13561 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
13562 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
13563 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
13564 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
13565 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
13566 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
13567 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
13568 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
13569 		.ilen	= 512,
13570 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13571 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13572 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13573 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13574 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13575 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13576 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13577 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13578 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13579 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13580 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13581 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13582 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13583 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13584 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13585 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13586 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13587 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13588 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13589 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13590 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13591 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13592 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13593 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13594 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13595 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13596 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13597 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13598 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13599 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13600 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13601 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13602 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13603 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13604 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13605 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13606 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13607 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13608 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13609 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13610 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13611 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13612 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13613 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13614 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13615 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13616 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13617 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13618 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13619 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13620 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13621 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13622 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13623 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13624 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13625 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13626 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13627 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13628 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13629 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13630 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13631 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13632 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13633 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13634 		.rlen	= 512,
13635 		.also_non_np = 1,
13636 		.np	= 3,
13637 		.tap	= { 512 - 20, 4, 16 },
13638 	},
13639 };
13640 
13641 static const struct cipher_testvec serpent_xts_enc_tv_template[] = {
13642 	/* Generated from AES-XTS test vectors */
13643 	{
13644 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13645 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13646 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13647 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13648 		.klen	= 32,
13649 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13650 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13651 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13652 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13653 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13654 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13655 		.ilen	= 32,
13656 		.result	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13657 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13658 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13659 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13660 		.rlen	= 32,
13661 	}, {
13662 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
13663 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
13664 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13665 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13666 		.klen	= 32,
13667 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13668 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13669 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13670 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13671 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13672 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13673 		.ilen	= 32,
13674 		.result	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13675 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13676 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13677 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13678 		.rlen	= 32,
13679 	}, {
13680 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13681 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13682 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13683 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13684 		.klen	= 32,
13685 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13686 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13687 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13688 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13689 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13690 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13691 		.ilen	= 32,
13692 		.result	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13693 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13694 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13695 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13696 		.rlen	= 32,
13697 	}, {
13698 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13699 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13700 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13701 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13702 		.klen	= 32,
13703 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13704 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13705 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13706 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13707 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13708 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13709 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13710 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13711 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13712 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13713 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13714 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13715 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13716 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13717 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13718 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13719 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13720 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13721 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13722 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13723 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13724 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13725 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13726 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13727 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13728 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13729 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13730 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13731 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13732 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13733 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13734 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13735 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13736 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13737 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13738 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13739 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13740 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13741 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13742 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13743 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13744 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13745 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13746 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13747 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13748 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13749 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13750 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13751 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13752 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13753 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13754 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13755 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13756 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13757 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13758 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13759 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13760 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13761 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13762 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13763 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13764 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13765 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13766 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13767 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13768 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13769 		.ilen	= 512,
13770 		.result	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13771 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13772 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13773 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13774 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13775 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13776 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13777 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13778 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13779 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13780 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13781 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13782 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13783 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13784 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13785 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13786 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13787 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13788 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13789 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13790 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13791 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13792 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13793 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13794 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13795 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13796 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13797 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13798 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13799 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13800 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13801 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13802 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13803 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13804 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13805 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13806 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13807 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13808 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13809 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13810 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13811 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13812 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13813 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13814 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13815 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13816 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13817 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13818 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13819 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13820 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13821 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13822 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13823 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13824 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13825 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13826 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13827 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13828 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13829 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13830 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13831 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13832 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13833 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13834 		.rlen	= 512,
13835 	}, {
13836 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13837 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13838 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13839 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13840 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13841 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13842 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13843 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13844 		.klen	= 64,
13845 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13846 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13847 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13848 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13849 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13850 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13851 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13852 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13853 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13854 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13855 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13856 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13857 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13858 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13859 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13860 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13861 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13862 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13863 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13864 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13865 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13866 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13867 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13868 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13869 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13870 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13871 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13872 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13873 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13874 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13875 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13876 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13877 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13878 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13879 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13880 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13881 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13882 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13883 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13884 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13885 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13886 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13887 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13888 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13889 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13890 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13891 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13892 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13893 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13894 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13895 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13896 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13897 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13898 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13899 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13900 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13901 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13902 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13903 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13904 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13905 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13906 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13907 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13908 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13909 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13910 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13911 		.ilen	= 512,
13912 		.result	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13913 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13914 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13915 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13916 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13917 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13918 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13919 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13920 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13921 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13922 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13923 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13924 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13925 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13926 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13927 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13928 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13929 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13930 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13931 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13932 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13933 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13934 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13935 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13936 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13937 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13938 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13939 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13940 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13941 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13942 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13943 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13944 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13945 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13946 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13947 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13948 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13949 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13950 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13951 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13952 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13953 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13954 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13955 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13956 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13957 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13958 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13959 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13960 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13961 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13962 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13963 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13964 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13965 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13966 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13967 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13968 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13969 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13970 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13971 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13972 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13973 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13974 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13975 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13976 		.rlen	= 512,
13977 		.also_non_np = 1,
13978 		.np	= 3,
13979 		.tap	= { 512 - 20, 4, 16 },
13980 	},
13981 };
13982 
13983 static const struct cipher_testvec serpent_xts_dec_tv_template[] = {
13984 	/* Generated from AES-XTS test vectors */
13985 	/* same as enc vectors with input and result reversed */
13986 	{
13987 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13988 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13989 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13990 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13991 		.klen	= 32,
13992 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13993 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13994 		.input	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13995 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13996 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13997 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13998 		.ilen	= 32,
13999 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14000 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
14001 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
14002 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14003 		.rlen	= 32,
14004 	}, {
14005 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
14006 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
14007 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
14008 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
14009 		.klen	= 32,
14010 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
14011 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14012 		.input	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
14013 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
14014 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
14015 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
14016 		.ilen	= 32,
14017 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
14018 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
14019 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
14020 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
14021 		.rlen	= 32,
14022 	}, {
14023 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14024 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14025 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
14026 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
14027 		.klen	= 32,
14028 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
14029 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14030 		.input	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
14031 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
14032 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
14033 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
14034 		.ilen	= 32,
14035 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
14036 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
14037 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
14038 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
14039 		.rlen	= 32,
14040 	}, {
14041 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14042 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14043 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14044 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
14045 		.klen	= 32,
14046 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14047 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14048 		.input	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
14049 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
14050 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
14051 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
14052 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
14053 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
14054 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
14055 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
14056 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
14057 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
14058 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
14059 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
14060 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
14061 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
14062 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
14063 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
14064 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
14065 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
14066 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
14067 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
14068 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
14069 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
14070 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
14071 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
14072 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
14073 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
14074 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
14075 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
14076 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
14077 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
14078 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
14079 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
14080 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
14081 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
14082 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
14083 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
14084 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
14085 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
14086 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
14087 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
14088 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
14089 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
14090 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
14091 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
14092 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
14093 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
14094 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
14095 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
14096 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
14097 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
14098 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
14099 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
14100 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
14101 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
14102 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
14103 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
14104 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
14105 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
14106 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
14107 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
14108 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
14109 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
14110 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
14111 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
14112 		.ilen	= 512,
14113 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
14114 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14115 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14116 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14117 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14118 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14119 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14120 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14121 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14122 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14123 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14124 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14125 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14126 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14127 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14128 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14129 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14130 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14131 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14132 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14133 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14134 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14135 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14136 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14137 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14138 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14139 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14140 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14141 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14142 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14143 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14144 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14145 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
14146 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14147 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14148 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14149 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14150 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14151 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14152 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14153 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14154 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14155 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14156 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14157 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14158 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14159 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14160 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14161 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14162 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14163 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14164 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14165 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14166 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14167 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14168 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14169 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14170 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14171 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14172 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14173 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14174 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14175 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14176 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14177 		.rlen	= 512,
14178 	}, {
14179 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14180 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14181 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
14182 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
14183 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14184 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
14185 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
14186 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
14187 		.klen	= 64,
14188 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
14189 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14190 		.input	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
14191 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
14192 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
14193 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
14194 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
14195 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
14196 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
14197 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
14198 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
14199 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
14200 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
14201 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
14202 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
14203 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
14204 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
14205 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
14206 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
14207 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
14208 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
14209 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
14210 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
14211 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
14212 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
14213 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
14214 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
14215 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
14216 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
14217 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
14218 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
14219 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
14220 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
14221 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
14222 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
14223 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
14224 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
14225 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
14226 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
14227 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
14228 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
14229 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
14230 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
14231 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
14232 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
14233 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
14234 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
14235 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
14236 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
14237 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
14238 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
14239 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
14240 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
14241 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
14242 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
14243 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
14244 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
14245 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
14246 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
14247 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
14248 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
14249 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
14250 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
14251 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
14252 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
14253 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
14254 		.ilen	= 512,
14255 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
14256 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14257 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14258 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14259 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14260 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14261 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14262 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14263 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14264 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14265 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14266 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14267 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14268 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14269 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14270 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14271 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14272 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14273 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14274 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14275 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14276 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14277 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14278 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14279 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14280 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14281 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14282 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14283 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14284 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14285 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14286 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14287 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
14288 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14289 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14290 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14291 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14292 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14293 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14294 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14295 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14296 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14297 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14298 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14299 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14300 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14301 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14302 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14303 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14304 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14305 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14306 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14307 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14308 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14309 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14310 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14311 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14312 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14313 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14314 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14315 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14316 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14317 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14318 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14319 		.rlen	= 512,
14320 		.also_non_np = 1,
14321 		.np	= 3,
14322 		.tap	= { 512 - 20, 4, 16 },
14323 	},
14324 };
14325 
14326 /* Cast6 test vectors from RFC 2612 */
14327 static const struct cipher_testvec cast6_enc_tv_template[] = {
14328 	{
14329 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14330 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
14331 		.klen	= 16,
14332 		.input	= zeroed_string,
14333 		.ilen	= 16,
14334 		.result	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
14335 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
14336 		.rlen	= 16,
14337 	}, {
14338 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14339 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14340 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
14341 		.klen	= 24,
14342 		.input	= zeroed_string,
14343 		.ilen	= 16,
14344 		.result	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
14345 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
14346 		.rlen	= 16,
14347 	}, {
14348 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14349 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14350 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
14351 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
14352 		.klen	= 32,
14353 		.input	= zeroed_string,
14354 		.ilen	= 16,
14355 		.result	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
14356 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
14357 		.rlen	= 16,
14358 	}, { /* Generated from TF test vectors */
14359 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14360 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14361 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14362 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14363 		.klen	= 32,
14364 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14365 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14366 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14367 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14368 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14369 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14370 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14371 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14372 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14373 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14374 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14375 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14376 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14377 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14378 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14379 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14380 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14381 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14382 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14383 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14384 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14385 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14386 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14387 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14388 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14389 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14390 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14391 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14392 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14393 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14394 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14395 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14396 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14397 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14398 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14399 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14400 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14401 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14402 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14403 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14404 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14405 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14406 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14407 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14408 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14409 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14410 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14411 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14412 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14413 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14414 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14415 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14416 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14417 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14418 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14419 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14420 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14421 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14422 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14423 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14424 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14425 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14426 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14427 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14428 		.ilen	= 496,
14429 		.result	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
14430 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
14431 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
14432 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
14433 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
14434 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
14435 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
14436 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
14437 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
14438 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
14439 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
14440 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
14441 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
14442 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
14443 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
14444 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
14445 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
14446 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
14447 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
14448 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
14449 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
14450 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
14451 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
14452 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
14453 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
14454 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
14455 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
14456 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
14457 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
14458 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
14459 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
14460 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
14461 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
14462 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
14463 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
14464 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
14465 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
14466 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
14467 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
14468 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
14469 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
14470 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
14471 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
14472 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
14473 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
14474 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
14475 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
14476 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
14477 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
14478 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
14479 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
14480 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
14481 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
14482 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
14483 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
14484 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
14485 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
14486 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
14487 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
14488 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
14489 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
14490 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
14491 		.rlen	= 496,
14492 		.also_non_np = 1,
14493 		.np	= 3,
14494 		.tap	= { 496 - 20, 4, 16 },
14495 	},
14496 };
14497 
14498 static const struct cipher_testvec cast6_dec_tv_template[] = {
14499 	{
14500 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14501 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
14502 		.klen	= 16,
14503 		.input	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
14504 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
14505 		.ilen	= 16,
14506 		.result	= zeroed_string,
14507 		.rlen	= 16,
14508 	}, {
14509 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14510 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14511 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
14512 		.klen	= 24,
14513 		.input	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
14514 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
14515 		.ilen	= 16,
14516 		.result	= zeroed_string,
14517 		.rlen	= 16,
14518 	}, {
14519 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14520 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14521 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
14522 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
14523 		.klen	= 32,
14524 		.input	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
14525 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
14526 		.ilen	= 16,
14527 		.result	= zeroed_string,
14528 		.rlen	= 16,
14529 	}, { /* Generated from TF test vectors */
14530 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14531 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14532 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14533 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14534 		.klen	= 32,
14535 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14536 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14537 		.input	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
14538 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
14539 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
14540 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
14541 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
14542 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
14543 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
14544 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
14545 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
14546 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
14547 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
14548 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
14549 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
14550 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
14551 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
14552 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
14553 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
14554 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
14555 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
14556 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
14557 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
14558 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
14559 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
14560 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
14561 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
14562 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
14563 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
14564 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
14565 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
14566 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
14567 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
14568 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
14569 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
14570 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
14571 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
14572 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
14573 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
14574 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
14575 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
14576 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
14577 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
14578 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
14579 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
14580 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
14581 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
14582 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
14583 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
14584 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
14585 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
14586 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
14587 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
14588 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
14589 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
14590 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
14591 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
14592 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
14593 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
14594 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
14595 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
14596 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
14597 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
14598 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
14599 		.ilen	= 496,
14600 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14601 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14602 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14603 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14604 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14605 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14606 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14607 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14608 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14609 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14610 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14611 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14612 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14613 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14614 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14615 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14616 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14617 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14618 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14619 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14620 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14621 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14622 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14623 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14624 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14625 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14626 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14627 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14628 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14629 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14630 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14631 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14632 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14633 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14634 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14635 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14636 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14637 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14638 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14639 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14640 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14641 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14642 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14643 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14644 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14645 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14646 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14647 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14648 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14649 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14650 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14651 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14652 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14653 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14654 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14655 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14656 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14657 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14658 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14659 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14660 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14661 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14662 		.rlen	= 496,
14663 		.also_non_np = 1,
14664 		.np	= 3,
14665 		.tap	= { 496 - 20, 4, 16 },
14666 	},
14667 };
14668 
14669 static const struct cipher_testvec cast6_cbc_enc_tv_template[] = {
14670 	{ /* Generated from TF test vectors */
14671 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14672 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14673 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14674 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14675 		.klen	= 32,
14676 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14677 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14678 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14679 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14680 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14681 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14682 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14683 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14684 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14685 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14686 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14687 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14688 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14689 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14690 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14691 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14692 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14693 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14694 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14695 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14696 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14697 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14698 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14699 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14700 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14701 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14702 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14703 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14704 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14705 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14706 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14707 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14708 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14709 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14710 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14711 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14712 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14713 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14714 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14715 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14716 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14717 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14718 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14719 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14720 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14721 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14722 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14723 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14724 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14725 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14726 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14727 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14728 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14729 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14730 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14731 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14732 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14733 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14734 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14735 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14736 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14737 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14738 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14739 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14740 		.ilen	= 496,
14741 		.result	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14742 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14743 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14744 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14745 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14746 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14747 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14748 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14749 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14750 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14751 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14752 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14753 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14754 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14755 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14756 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14757 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14758 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14759 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14760 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14761 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14762 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14763 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14764 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14765 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14766 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14767 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14768 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14769 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14770 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14771 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14772 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14773 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14774 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14775 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14776 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14777 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14778 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14779 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14780 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14781 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14782 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14783 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14784 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14785 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14786 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14787 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14788 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14789 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14790 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14791 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14792 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14793 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14794 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14795 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14796 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14797 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14798 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14799 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14800 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14801 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14802 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14803 		.rlen	= 496,
14804 		.also_non_np = 1,
14805 		.np	= 3,
14806 		.tap	= { 496 - 20, 4, 16 },
14807 	},
14808 };
14809 
14810 static const struct cipher_testvec cast6_cbc_dec_tv_template[] = {
14811 	{ /* Generated from TF test vectors */
14812 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14813 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14814 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14815 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14816 		.klen	= 32,
14817 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14818 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14819 		.input	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14820 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14821 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14822 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14823 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14824 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14825 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14826 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14827 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14828 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14829 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14830 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14831 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14832 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14833 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14834 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14835 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14836 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14837 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14838 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14839 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14840 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14841 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14842 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14843 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14844 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14845 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14846 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14847 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14848 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14849 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14850 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14851 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14852 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14853 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14854 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14855 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14856 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14857 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14858 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14859 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14860 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14861 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14862 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14863 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14864 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14865 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14866 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14867 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14868 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14869 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14870 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14871 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14872 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14873 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14874 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14875 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14876 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14877 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14878 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14879 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14880 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14881 		.ilen	= 496,
14882 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14883 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14884 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14885 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14886 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14887 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14888 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14889 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14890 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14891 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14892 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14893 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14894 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14895 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14896 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14897 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14898 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14899 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14900 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14901 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14902 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14903 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14904 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14905 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14906 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14907 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14908 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14909 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14910 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14911 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14912 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14913 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14914 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14915 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14916 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14917 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14918 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14919 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14920 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14921 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14922 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14923 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14924 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14925 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14926 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14927 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14928 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14929 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14930 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14931 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14932 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14933 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14934 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14935 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14936 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14937 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14938 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14939 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14940 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14941 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14942 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14943 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14944 		.rlen	= 496,
14945 		.also_non_np = 1,
14946 		.np	= 3,
14947 		.tap	= { 496 - 20, 4, 16 },
14948 	},
14949 };
14950 
14951 static const struct cipher_testvec cast6_ctr_enc_tv_template[] = {
14952 	{ /* Generated from TF test vectors */
14953 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14954 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14955 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14956 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14957 		.klen	= 32,
14958 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14959 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14960 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14961 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14962 			  "\x3A",
14963 		.ilen	= 17,
14964 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14965 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14966 			  "\x57",
14967 		.rlen	= 17,
14968 	}, { /* Generated from TF test vectors */
14969 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14970 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14971 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14972 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14973 		.klen	= 32,
14974 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14975 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14976 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14977 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14978 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14979 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14980 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14981 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14982 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14983 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14984 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14985 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14986 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14987 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14988 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14989 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14990 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14991 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14992 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14993 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14994 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14995 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14996 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14997 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14998 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14999 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15000 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15001 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15002 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15003 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15004 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15005 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15006 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15007 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15008 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15009 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15010 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15011 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15012 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15013 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15014 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15015 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15016 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15017 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15018 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15019 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15020 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15021 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15022 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15023 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15024 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15025 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15026 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15027 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15028 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15029 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15030 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15031 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15032 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15033 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15034 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15035 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15036 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15037 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15038 		.ilen	= 496,
15039 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15040 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15041 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
15042 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
15043 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
15044 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
15045 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
15046 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
15047 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
15048 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
15049 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
15050 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
15051 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
15052 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
15053 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
15054 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
15055 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
15056 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
15057 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
15058 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
15059 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
15060 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
15061 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
15062 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
15063 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
15064 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
15065 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
15066 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
15067 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
15068 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
15069 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
15070 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
15071 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
15072 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
15073 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
15074 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
15075 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
15076 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
15077 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
15078 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
15079 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
15080 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
15081 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
15082 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
15083 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
15084 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
15085 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
15086 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
15087 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
15088 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
15089 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
15090 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
15091 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
15092 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
15093 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
15094 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
15095 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
15096 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
15097 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
15098 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
15099 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
15100 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
15101 		.rlen	= 496,
15102 		.also_non_np = 1,
15103 		.np	= 3,
15104 		.tap	= { 496 - 20, 4, 16 },
15105 	},
15106 };
15107 
15108 static const struct cipher_testvec cast6_ctr_dec_tv_template[] = {
15109 	{ /* Generated from TF test vectors */
15110 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15111 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15112 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15113 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15114 		.klen	= 32,
15115 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15116 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15117 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15118 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15119 			  "\x57",
15120 		.ilen	= 17,
15121 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15122 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15123 			  "\x3A",
15124 		.rlen	= 17,
15125 	}, { /* Generated from TF test vectors */
15126 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15127 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15128 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15129 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15130 		.klen	= 32,
15131 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15132 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15133 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15134 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15135 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
15136 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
15137 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
15138 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
15139 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
15140 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
15141 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
15142 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
15143 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
15144 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
15145 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
15146 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
15147 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
15148 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
15149 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
15150 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
15151 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
15152 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
15153 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
15154 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
15155 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
15156 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
15157 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
15158 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
15159 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
15160 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
15161 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
15162 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
15163 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
15164 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
15165 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
15166 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
15167 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
15168 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
15169 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
15170 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
15171 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
15172 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
15173 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
15174 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
15175 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
15176 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
15177 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
15178 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
15179 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
15180 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
15181 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
15182 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
15183 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
15184 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
15185 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
15186 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
15187 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
15188 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
15189 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
15190 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
15191 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
15192 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
15193 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
15194 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
15195 		.ilen	= 496,
15196 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15197 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15198 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15199 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15200 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15201 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15202 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15203 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15204 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15205 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15206 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15207 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15208 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15209 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15210 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15211 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15212 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15213 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15214 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15215 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15216 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15217 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15218 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15219 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15220 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15221 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15222 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15223 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15224 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15225 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15226 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15227 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15228 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15229 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15230 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15231 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15232 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15233 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15234 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15235 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15236 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15237 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15238 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15239 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15240 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15241 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15242 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15243 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15244 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15245 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15246 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15247 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15248 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15249 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15250 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15251 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15252 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15253 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15254 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15255 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15256 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15257 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15258 		.rlen	= 496,
15259 		.also_non_np = 1,
15260 		.np	= 3,
15261 		.tap	= { 496 - 20, 4, 16 },
15262 	},
15263 };
15264 
15265 static const struct cipher_testvec cast6_lrw_enc_tv_template[] = {
15266 	{ /* Generated from TF test vectors */
15267 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
15268 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
15269 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
15270 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
15271 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
15272 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
15273 		.klen	= 48,
15274 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
15275 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
15276 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
15277 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
15278 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
15279 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
15280 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
15281 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
15282 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
15283 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
15284 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
15285 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
15286 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
15287 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
15288 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
15289 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
15290 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
15291 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
15292 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
15293 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
15294 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
15295 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
15296 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
15297 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
15298 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
15299 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
15300 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
15301 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
15302 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
15303 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
15304 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
15305 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
15306 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
15307 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
15308 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
15309 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
15310 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
15311 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
15312 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
15313 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
15314 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
15315 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
15316 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
15317 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
15318 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
15319 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
15320 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
15321 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
15322 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
15323 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
15324 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
15325 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
15326 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
15327 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
15328 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
15329 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
15330 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
15331 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
15332 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
15333 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
15334 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
15335 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
15336 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
15337 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
15338 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
15339 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
15340 		.ilen	= 512,
15341 		.result	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
15342 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
15343 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
15344 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
15345 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
15346 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
15347 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
15348 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
15349 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
15350 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
15351 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
15352 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
15353 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
15354 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
15355 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
15356 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
15357 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
15358 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
15359 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
15360 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
15361 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
15362 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
15363 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
15364 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
15365 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
15366 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
15367 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
15368 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
15369 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
15370 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
15371 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
15372 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
15373 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
15374 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
15375 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
15376 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
15377 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
15378 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
15379 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
15380 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
15381 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
15382 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
15383 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
15384 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
15385 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
15386 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
15387 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
15388 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
15389 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
15390 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
15391 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
15392 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
15393 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
15394 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
15395 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
15396 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
15397 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
15398 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
15399 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
15400 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
15401 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
15402 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
15403 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
15404 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
15405 		.rlen	= 512,
15406 		.also_non_np = 1,
15407 		.np	= 3,
15408 		.tap	= { 512 - 20, 4, 16 },
15409 	},
15410 };
15411 
15412 static const struct cipher_testvec cast6_lrw_dec_tv_template[] = {
15413 	{ /* Generated from TF test vectors */
15414 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
15415 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
15416 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
15417 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
15418 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
15419 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
15420 		.klen	= 48,
15421 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
15422 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
15423 		.input	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
15424 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
15425 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
15426 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
15427 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
15428 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
15429 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
15430 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
15431 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
15432 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
15433 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
15434 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
15435 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
15436 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
15437 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
15438 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
15439 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
15440 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
15441 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
15442 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
15443 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
15444 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
15445 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
15446 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
15447 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
15448 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
15449 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
15450 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
15451 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
15452 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
15453 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
15454 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
15455 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
15456 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
15457 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
15458 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
15459 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
15460 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
15461 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
15462 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
15463 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
15464 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
15465 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
15466 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
15467 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
15468 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
15469 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
15470 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
15471 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
15472 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
15473 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
15474 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
15475 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
15476 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
15477 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
15478 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
15479 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
15480 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
15481 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
15482 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
15483 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
15484 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
15485 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
15486 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
15487 		.ilen	= 512,
15488 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
15489 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
15490 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
15491 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
15492 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
15493 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
15494 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
15495 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
15496 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
15497 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
15498 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
15499 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
15500 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
15501 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
15502 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
15503 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
15504 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
15505 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
15506 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
15507 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
15508 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
15509 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
15510 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
15511 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
15512 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
15513 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
15514 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
15515 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
15516 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
15517 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
15518 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
15519 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
15520 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
15521 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
15522 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
15523 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
15524 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
15525 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
15526 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
15527 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
15528 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
15529 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
15530 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
15531 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
15532 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
15533 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
15534 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
15535 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
15536 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
15537 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
15538 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
15539 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
15540 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
15541 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
15542 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
15543 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
15544 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
15545 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
15546 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
15547 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
15548 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
15549 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
15550 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
15551 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
15552 		.rlen	= 512,
15553 		.also_non_np = 1,
15554 		.np	= 3,
15555 		.tap	= { 512 - 20, 4, 16 },
15556 	},
15557 };
15558 
15559 static const struct cipher_testvec cast6_xts_enc_tv_template[] = {
15560 	{ /* Generated from TF test vectors */
15561 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
15562 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
15563 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
15564 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
15565 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
15566 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
15567 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
15568 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
15569 		.klen	= 64,
15570 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
15571 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15572 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15573 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15574 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15575 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15576 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15577 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15578 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15579 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15580 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15581 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15582 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15583 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15584 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15585 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15586 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15587 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15588 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15589 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15590 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15591 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15592 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15593 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15594 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15595 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15596 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15597 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15598 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15599 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15600 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15601 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15602 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15603 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15604 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
15605 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15606 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15607 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15608 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15609 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15610 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15611 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15612 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15613 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15614 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15615 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15616 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15617 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15618 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15619 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15620 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15621 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15622 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15623 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15624 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15625 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15626 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15627 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15628 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15629 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15630 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15631 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15632 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15633 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15634 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15635 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15636 		.ilen	= 512,
15637 		.result	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15638 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15639 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15640 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15641 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15642 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15643 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15644 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15645 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15646 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15647 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15648 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15649 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15650 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15651 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15652 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15653 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15654 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15655 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15656 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15657 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15658 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15659 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15660 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15661 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15662 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15663 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15664 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15665 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15666 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15667 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15668 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15669 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15670 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15671 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15672 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15673 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15674 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15675 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15676 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15677 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15678 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15679 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15680 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15681 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15682 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15683 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15684 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15685 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15686 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15687 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15688 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15689 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15690 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15691 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15692 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15693 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15694 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15695 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15696 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15697 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15698 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15699 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15700 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15701 		.rlen	= 512,
15702 		.also_non_np = 1,
15703 		.np	= 3,
15704 		.tap	= { 512 - 20, 4, 16 },
15705 	},
15706 };
15707 
15708 static const struct cipher_testvec cast6_xts_dec_tv_template[] = {
15709 	{ /* Generated from TF test vectors */
15710 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
15711 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
15712 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
15713 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
15714 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
15715 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
15716 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
15717 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
15718 		.klen	= 64,
15719 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
15720 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15721 		.input	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15722 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15723 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15724 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15725 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15726 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15727 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15728 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15729 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15730 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15731 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15732 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15733 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15734 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15735 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15736 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15737 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15738 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15739 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15740 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15741 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15742 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15743 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15744 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15745 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15746 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15747 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15748 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15749 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15750 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15751 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15752 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15753 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15754 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15755 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15756 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15757 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15758 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15759 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15760 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15761 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15762 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15763 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15764 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15765 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15766 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15767 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15768 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15769 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15770 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15771 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15772 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15773 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15774 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15775 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15776 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15777 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15778 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15779 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15780 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15781 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15782 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15783 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15784 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15785 		.ilen	= 512,
15786 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15787 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15788 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15789 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15790 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15791 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15792 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15793 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15794 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15795 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15796 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15797 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15798 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15799 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15800 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15801 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15802 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15803 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15804 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15805 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15806 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15807 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15808 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15809 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15810 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15811 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15812 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15813 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15814 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15815 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15816 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15817 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15818 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
15819 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15820 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15821 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15822 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15823 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15824 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15825 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15826 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15827 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15828 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15829 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15830 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15831 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15832 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15833 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15834 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15835 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15836 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15837 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15838 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15839 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15840 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15841 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15842 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15843 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15844 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15845 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15846 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15847 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15848 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15849 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15850 		.rlen	= 512,
15851 		.also_non_np = 1,
15852 		.np	= 3,
15853 		.tap	= { 512 - 20, 4, 16 },
15854 	},
15855 };
15856 
15857 
15858 /*
15859  * AES test vectors.
15860  */
15861 static const struct cipher_testvec aes_enc_tv_template[] = {
15862 	{ /* From FIPS-197 */
15863 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15864 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15865 		.klen	= 16,
15866 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15867 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15868 		.ilen	= 16,
15869 		.result	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15870 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15871 		.rlen	= 16,
15872 	}, {
15873 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15874 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15875 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15876 		.klen	= 24,
15877 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15878 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15879 		.ilen	= 16,
15880 		.result	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15881 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15882 		.rlen	= 16,
15883 	}, {
15884 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15885 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15886 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15887 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15888 		.klen	= 32,
15889 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15890 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15891 		.ilen	= 16,
15892 		.result	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15893 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15894 		.rlen	= 16,
15895 	}, { /* Generated with Crypto++ */
15896 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15897 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15898 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15899 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15900 		.klen	= 32,
15901 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15902 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15903 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15904 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15905 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15906 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15907 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15908 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15909 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15910 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15911 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15912 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15913 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15914 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15915 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15916 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15917 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15918 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15919 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15920 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15921 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15922 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15923 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15924 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15925 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15926 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15927 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15928 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15929 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15930 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15931 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15932 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15933 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15934 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15935 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15936 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15937 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15938 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15939 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15940 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15941 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15942 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15943 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15944 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15945 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15946 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15947 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15948 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15949 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15950 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15951 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15952 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15953 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15954 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15955 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15956 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15957 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15958 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15959 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15960 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15961 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15962 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15963 		.ilen	= 496,
15964 		.result	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15965 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15966 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15967 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15968 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15969 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15970 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15971 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15972 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15973 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15974 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15975 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15976 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15977 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15978 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15979 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15980 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15981 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15982 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15983 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15984 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15985 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15986 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15987 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15988 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15989 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15990 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15991 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15992 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15993 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15994 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15995 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15996 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15997 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15998 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15999 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
16000 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
16001 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
16002 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
16003 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
16004 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
16005 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
16006 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
16007 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
16008 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
16009 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
16010 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
16011 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
16012 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
16013 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
16014 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
16015 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
16016 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
16017 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
16018 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
16019 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
16020 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
16021 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
16022 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
16023 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
16024 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
16025 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
16026 		.rlen	= 496,
16027 		.also_non_np = 1,
16028 		.np	= 3,
16029 		.tap	= { 496 - 20, 4, 16 },
16030 	},
16031 };
16032 
16033 static const struct cipher_testvec aes_dec_tv_template[] = {
16034 	{ /* From FIPS-197 */
16035 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16036 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16037 		.klen	= 16,
16038 		.input	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
16039 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
16040 		.ilen	= 16,
16041 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
16042 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16043 		.rlen	= 16,
16044 	}, {
16045 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16046 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16047 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
16048 		.klen	= 24,
16049 		.input	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
16050 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
16051 		.ilen	= 16,
16052 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
16053 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16054 		.rlen	= 16,
16055 	}, {
16056 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16057 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16058 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16059 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16060 		.klen	= 32,
16061 		.input	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
16062 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
16063 		.ilen	= 16,
16064 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
16065 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
16066 		.rlen	= 16,
16067 	}, { /* Generated with Crypto++ */
16068 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
16069 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
16070 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
16071 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
16072 		.klen	= 32,
16073 		.input	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
16074 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
16075 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
16076 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
16077 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
16078 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
16079 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
16080 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
16081 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
16082 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
16083 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
16084 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
16085 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
16086 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
16087 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
16088 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
16089 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
16090 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
16091 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
16092 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
16093 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
16094 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
16095 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
16096 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
16097 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
16098 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
16099 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
16100 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
16101 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
16102 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
16103 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
16104 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
16105 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
16106 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
16107 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
16108 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
16109 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
16110 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
16111 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
16112 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
16113 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
16114 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
16115 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
16116 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
16117 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
16118 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
16119 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
16120 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
16121 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
16122 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
16123 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
16124 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
16125 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
16126 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
16127 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
16128 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
16129 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
16130 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
16131 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
16132 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
16133 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
16134 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
16135 		.ilen	= 496,
16136 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16137 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16138 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16139 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16140 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16141 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16142 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16143 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16144 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16145 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16146 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16147 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16148 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16149 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16150 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16151 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16152 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16153 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16154 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16155 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16156 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16157 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16158 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16159 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16160 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16161 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16162 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16163 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16164 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16165 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16166 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16167 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16168 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16169 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16170 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16171 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16172 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16173 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16174 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16175 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16176 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16177 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16178 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16179 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16180 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16181 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16182 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16183 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16184 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16185 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16186 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16187 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16188 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16189 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16190 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16191 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16192 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16193 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16194 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16195 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16196 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16197 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16198 		.rlen	= 496,
16199 		.also_non_np = 1,
16200 		.np	= 3,
16201 		.tap	= { 496 - 20, 4, 16 },
16202 	},
16203 };
16204 
16205 static const struct cipher_testvec aes_cbc_enc_tv_template[] = {
16206 	{ /* From RFC 3602 */
16207 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16208 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16209 		.klen   = 16,
16210 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16211 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16212 		.input	= "Single block msg",
16213 		.ilen   = 16,
16214 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16215 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
16216 		.rlen   = 16,
16217 		.also_non_np = 1,
16218 		.np	= 8,
16219 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
16220 	}, {
16221 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16222 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16223 		.klen   = 16,
16224 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16225 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16226 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16227 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16228 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16229 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16230 		.ilen   = 32,
16231 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16232 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16233 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16234 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
16235 		.rlen   = 32,
16236 	}, { /* From NIST SP800-38A */
16237 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16238 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16239 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16240 		.klen	= 24,
16241 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16242 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16243 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16244 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16245 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16246 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16247 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16248 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16249 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16250 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16251 		.ilen	= 64,
16252 		.result	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16253 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16254 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16255 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16256 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16257 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16258 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16259 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
16260 		.rlen	= 64,
16261 	}, {
16262 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16263 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16264 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16265 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16266 		.klen	= 32,
16267 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16268 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16269 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16270 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16271 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16272 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16273 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16274 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16275 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16276 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16277 		.ilen	= 64,
16278 		.result	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16279 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16280 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16281 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16282 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16283 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16284 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16285 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16286 		.rlen	= 64,
16287 	}, { /* Generated with Crypto++ */
16288 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16289 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16290 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16291 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16292 		.klen	= 32,
16293 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16294 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16295 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16296 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16297 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16298 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16299 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16300 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16301 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16302 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16303 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16304 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16305 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16306 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16307 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16308 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16309 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16310 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16311 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16312 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16313 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16314 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16315 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16316 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16317 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16318 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16319 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16320 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16321 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16322 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16323 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16324 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16325 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16326 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16327 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16328 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16329 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16330 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16331 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16332 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16333 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16334 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16335 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16336 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16337 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16338 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16339 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16340 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16341 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16342 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16343 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16344 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16345 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16346 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16347 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16348 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16349 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16350 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16351 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16352 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16353 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16354 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16355 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16356 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16357 		.ilen	= 496,
16358 		.result	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
16359 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
16360 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
16361 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
16362 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
16363 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
16364 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
16365 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
16366 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
16367 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
16368 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
16369 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
16370 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
16371 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
16372 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
16373 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
16374 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
16375 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
16376 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
16377 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
16378 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
16379 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
16380 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
16381 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
16382 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
16383 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
16384 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
16385 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
16386 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
16387 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
16388 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
16389 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
16390 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
16391 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
16392 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
16393 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
16394 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
16395 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
16396 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
16397 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
16398 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
16399 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
16400 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
16401 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
16402 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
16403 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
16404 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
16405 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
16406 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
16407 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
16408 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
16409 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
16410 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
16411 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
16412 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
16413 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
16414 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
16415 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
16416 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
16417 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
16418 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16419 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16420 		.rlen	= 496,
16421 		.also_non_np = 1,
16422 		.np	= 3,
16423 		.tap	= { 496 - 20, 4, 16 },
16424 	},
16425 };
16426 
16427 static const struct cipher_testvec aes_cbc_dec_tv_template[] = {
16428 	{ /* From RFC 3602 */
16429 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16430 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16431 		.klen   = 16,
16432 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16433 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16434 		.input  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16435 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
16436 		.ilen   = 16,
16437 		.result = "Single block msg",
16438 		.rlen   = 16,
16439 		.also_non_np = 1,
16440 		.np	= 8,
16441 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
16442 	}, {
16443 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16444 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16445 		.klen   = 16,
16446 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16447 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16448 		.input  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16449 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16450 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16451 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
16452 		.ilen   = 32,
16453 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
16454 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16455 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16456 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16457 		.rlen   = 32,
16458 	}, { /* From NIST SP800-38A */
16459 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16460 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16461 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16462 		.klen	= 24,
16463 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16464 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16465 		.input	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16466 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16467 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16468 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16469 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16470 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16471 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16472 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
16473 		.ilen	= 64,
16474 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16475 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16476 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16477 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16478 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16479 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16480 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16481 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16482 		.rlen	= 64,
16483 	}, {
16484 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16485 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16486 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16487 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16488 		.klen	= 32,
16489 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16490 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16491 		.input	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16492 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16493 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16494 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16495 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16496 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16497 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16498 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
16499 		.ilen	= 64,
16500 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16501 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16502 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16503 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16504 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16505 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16506 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16507 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16508 		.rlen	= 64,
16509 	}, { /* Generated with Crypto++ */
16510 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16511 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16512 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16513 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16514 		.klen	= 32,
16515 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16516 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16517 		.input	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
16518 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
16519 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
16520 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
16521 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
16522 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
16523 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
16524 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
16525 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
16526 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
16527 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
16528 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
16529 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
16530 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
16531 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
16532 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
16533 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
16534 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
16535 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
16536 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
16537 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
16538 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
16539 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
16540 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
16541 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
16542 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
16543 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
16544 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
16545 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
16546 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
16547 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
16548 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
16549 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
16550 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
16551 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
16552 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
16553 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
16554 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
16555 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
16556 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
16557 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
16558 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
16559 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
16560 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
16561 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
16562 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
16563 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
16564 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
16565 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
16566 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
16567 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
16568 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
16569 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
16570 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
16571 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
16572 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
16573 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
16574 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
16575 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
16576 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
16577 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16578 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16579 		.ilen	= 496,
16580 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16581 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16582 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16583 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16584 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16585 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16586 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16587 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16588 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16589 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16590 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16591 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16592 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16593 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16594 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16595 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16596 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16597 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16598 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16599 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16600 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16601 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16602 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16603 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16604 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16605 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16606 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16607 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16608 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16609 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16610 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16611 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16612 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16613 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16614 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16615 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16616 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16617 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16618 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16619 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16620 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16621 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16622 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16623 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16624 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16625 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16626 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16627 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16628 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16629 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16630 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16631 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16632 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16633 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16634 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16635 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16636 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16637 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16638 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16639 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16640 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16641 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16642 		.rlen	= 496,
16643 		.also_non_np = 1,
16644 		.np	= 3,
16645 		.tap	= { 496 - 20, 4, 16 },
16646 	},
16647 };
16648 
16649 static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
16650 	{ /* Input data from RFC 2410 Case 1 */
16651 #ifdef __LITTLE_ENDIAN
16652 		.key    = "\x08\x00"		/* rta length */
16653 			  "\x01\x00"		/* rta type */
16654 #else
16655 		.key    = "\x00\x08"		/* rta length */
16656 			  "\x00\x01"		/* rta type */
16657 #endif
16658 			  "\x00\x00\x00\x00"	/* enc key length */
16659 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16660 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16661 		.klen   = 8 + 16 + 0,
16662 		.iv     = "",
16663 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16664 		.ilen   = 8,
16665 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16666 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16667 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16668 		.rlen   = 8 + 16,
16669 	}, { /* Input data from RFC 2410 Case 2 */
16670 #ifdef __LITTLE_ENDIAN
16671 		.key    = "\x08\x00"		/* rta length */
16672 			  "\x01\x00"		/* rta type */
16673 #else
16674 		.key    = "\x00\x08"		/* rta length */
16675 			  "\x00\x01"		/* rta type */
16676 #endif
16677 			  "\x00\x00\x00\x00"	/* enc key length */
16678 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16679 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16680 		.klen   = 8 + 16 + 0,
16681 		.iv     = "",
16682 		.input  = "Network Security People Have A Strange Sense Of Humor",
16683 		.ilen   = 53,
16684 		.result = "Network Security People Have A Strange Sense Of Humor"
16685 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16686 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16687 		.rlen   = 53 + 16,
16688 	},
16689 };
16690 
16691 static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
16692 	{
16693 #ifdef __LITTLE_ENDIAN
16694 		.key    = "\x08\x00"		/* rta length */
16695 			  "\x01\x00"		/* rta type */
16696 #else
16697 		.key    = "\x00\x08"		/* rta length */
16698 			  "\x00\x01"		/* rta type */
16699 #endif
16700 			  "\x00\x00\x00\x00"	/* enc key length */
16701 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16702 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16703 		.klen   = 8 + 16 + 0,
16704 		.iv     = "",
16705 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16706 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16707 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16708 		.ilen   = 8 + 16,
16709 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16710 		.rlen   = 8,
16711 	}, {
16712 #ifdef __LITTLE_ENDIAN
16713 		.key    = "\x08\x00"		/* rta length */
16714 			  "\x01\x00"		/* rta type */
16715 #else
16716 		.key    = "\x00\x08"		/* rta length */
16717 			  "\x00\x01"		/* rta type */
16718 #endif
16719 			  "\x00\x00\x00\x00"	/* enc key length */
16720 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16721 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16722 		.klen   = 8 + 16 + 0,
16723 		.iv     = "",
16724 		.input  = "Network Security People Have A Strange Sense Of Humor"
16725 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16726 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16727 		.ilen   = 53 + 16,
16728 		.result = "Network Security People Have A Strange Sense Of Humor",
16729 		.rlen   = 53,
16730 	},
16731 };
16732 
16733 static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
16734 	{ /* RFC 3602 Case 1 */
16735 #ifdef __LITTLE_ENDIAN
16736 		.key    = "\x08\x00"		/* rta length */
16737 			  "\x01\x00"		/* rta type */
16738 #else
16739 		.key    = "\x00\x08"		/* rta length */
16740 			  "\x00\x01"		/* rta type */
16741 #endif
16742 			  "\x00\x00\x00\x10"	/* enc key length */
16743 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16744 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16745 			  "\x00\x00\x00\x00"
16746 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16747 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16748 		.klen   = 8 + 20 + 16,
16749 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16750 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16751 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16752 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16753 		.alen	= 16,
16754 		.input  = "Single block msg",
16755 		.ilen   = 16,
16756 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16757 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16758 			  "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16759 			  "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16760 			  "\x03\x71\xa2\x06",
16761 		.rlen   = 16 + 20,
16762 	}, { /* RFC 3602 Case 2 */
16763 #ifdef __LITTLE_ENDIAN
16764 		.key    = "\x08\x00"		/* rta length */
16765 			  "\x01\x00"		/* rta type */
16766 #else
16767 		.key    = "\x00\x08"		/* rta length */
16768 			  "\x00\x01"		/* rta type */
16769 #endif
16770 			  "\x00\x00\x00\x10"	/* enc key length */
16771 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16772 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16773 			  "\x30\x31\x32\x33"
16774 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16775 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16776 		.klen   = 8 + 20 + 16,
16777 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16778 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16779 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16780 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16781 		.alen	= 16,
16782 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16783 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16784 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16785 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16786 		.ilen   = 32,
16787 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16788 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16789 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16790 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16791 			  "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16792 			  "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16793 			  "\x65\x39\xf8\xde",
16794 		.rlen   = 32 + 20,
16795 	}, { /* RFC 3602 Case 3 */
16796 #ifdef __LITTLE_ENDIAN
16797 		.key    = "\x08\x00"		/* rta length */
16798 			  "\x01\x00"            /* rta type */
16799 #else
16800 		.key    = "\x00\x08"		/* rta length */
16801 			  "\x00\x01"		/* rta type */
16802 #endif
16803 			  "\x00\x00\x00\x10"	/* enc key length */
16804 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16805 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16806 			  "\x22\x33\x44\x55"
16807 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16808 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16809 		.klen   = 8 + 20 + 16,
16810 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16811 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16812 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16813 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16814 		.alen	= 16,
16815 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16816 		.ilen   = 48,
16817 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16818 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16819 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16820 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16821 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16822 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16823 			  "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16824 			  "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16825 			  "\x8d\x62\xf2\x1e",
16826 		.rlen   = 48 + 20,
16827 	}, { /* RFC 3602 Case 4 */
16828 #ifdef __LITTLE_ENDIAN
16829 		.key    = "\x08\x00"		/* rta length */
16830 			  "\x01\x00"		/* rta type */
16831 #else
16832 		.key    = "\x00\x08"		/* rta length */
16833 			  "\x00\x01"            /* rta type */
16834 #endif
16835 			  "\x00\x00\x00\x10"	/* enc key length */
16836 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16837 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16838 			  "\x22\x33\x44\x55"
16839 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16840 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16841 		.klen   = 8 + 20 + 16,
16842 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16843 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16844 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16845 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16846 		.alen	= 16,
16847 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16848 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16849 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16850 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16851 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16852 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16853 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16854 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16855 		.ilen   = 64,
16856 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16857 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16858 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16859 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16860 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16861 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16862 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16863 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16864 			  "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16865 			  "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16866 			  "\x1d\xbe\xc6\xe9",
16867 		.rlen   = 64 + 20,
16868 	}, { /* RFC 3602 Case 5 */
16869 #ifdef __LITTLE_ENDIAN
16870 		.key    = "\x08\x00"		/* rta length */
16871 			  "\x01\x00"            /* rta type */
16872 #else
16873 		.key    = "\x00\x08"		/* rta length */
16874 			  "\x00\x01"            /* rta type */
16875 #endif
16876 			  "\x00\x00\x00\x10"	/* enc key length */
16877 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16878 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16879 			  "\x22\x33\x44\x55"
16880 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16881 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16882 		.klen   = 8 + 20 + 16,
16883 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16884 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16885 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16886 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16887 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16888 		.alen   = 24,
16889 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16890 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16891 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16892 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16893 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16894 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16895 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16896 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16897 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16898 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16899 		.ilen   = 80,
16900 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16901 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16902 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16903 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16904 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16905 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16906 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16907 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16908 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16909 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16910 			  "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16911 			  "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16912 			  "\x85\xe1\x59\xf7",
16913 		.rlen   = 80 + 20,
16914        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16915 #ifdef __LITTLE_ENDIAN
16916 		.key    = "\x08\x00"            /* rta length */
16917 			  "\x01\x00"		/* rta type */
16918 #else
16919 		.key    = "\x00\x08"		/* rta length */
16920 			  "\x00\x01"            /* rta type */
16921 #endif
16922 			  "\x00\x00\x00\x18"	/* enc key length */
16923 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16924 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16925 			  "\x22\x33\x44\x55"
16926 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16927 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16928 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16929 		.klen   = 8 + 20 + 24,
16930 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16931 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16932 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16933 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16934 		.alen	= 16,
16935 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16936 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16937 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16938 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16939 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16940 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16941 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16942 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16943 		.ilen   = 64,
16944 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16945 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16946 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16947 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16948 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16949 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16950 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16951 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16952 			  "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16953 			  "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16954 			  "\x47\x4c\xfc\x36",
16955 		.rlen   = 64 + 20,
16956 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16957 #ifdef __LITTLE_ENDIAN
16958 		.key    = "\x08\x00"		/* rta length */
16959 			  "\x01\x00"		/* rta type */
16960 #else
16961 		.key    = "\x00\x08"		/* rta length */
16962 			  "\x00\x01"            /* rta type */
16963 #endif
16964 			  "\x00\x00\x00\x20"	/* enc key length */
16965 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16966 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16967 			  "\x22\x33\x44\x55"
16968 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16969 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16970 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16971 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16972 		.klen   = 8 + 20 + 32,
16973 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16974 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16975 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16976 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16977 		.alen	= 16,
16978 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16979 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16980 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16981 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16982 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16983 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16984 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16985 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16986 		.ilen   = 64,
16987 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16988 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16989 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16990 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16991 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16992 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16993 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16994 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16995 			  "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16996 			  "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16997 			  "\x51\xee\xd6\x4e",
16998 		.rlen   = 64 + 20,
16999 	},
17000 };
17001 
17002 static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
17003 	{ /* Input data from RFC 2410 Case 1 */
17004 #ifdef __LITTLE_ENDIAN
17005 		.key    = "\x08\x00"		/* rta length */
17006 			  "\x01\x00"		/* rta type */
17007 #else
17008 		.key    = "\x00\x08"		/* rta length */
17009 			  "\x00\x01"		/* rta type */
17010 #endif
17011 			  "\x00\x00\x00\x00"	/* enc key length */
17012 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17013 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17014 			  "\x00\x00\x00\x00",
17015 		.klen   = 8 + 20 + 0,
17016 		.iv     = "",
17017 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
17018 		.ilen   = 8,
17019 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
17020 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
17021 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
17022 			  "\x8c\x5e\xe4\x08",
17023 		.rlen   = 8 + 20,
17024 	}, { /* Input data from RFC 2410 Case 2 */
17025 #ifdef __LITTLE_ENDIAN
17026 		.key    = "\x08\x00"		/* rta length */
17027 			  "\x01\x00"		/* rta type */
17028 #else
17029 		.key    = "\x00\x08"		/* rta length */
17030 			  "\x00\x01"		/* rta type */
17031 #endif
17032 			  "\x00\x00\x00\x00"	/* enc key length */
17033 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17034 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17035 			  "\x00\x00\x00\x00",
17036 		.klen   = 8 + 20 + 0,
17037 		.iv     = "",
17038 		.input  = "Network Security People Have A Strange Sense Of Humor",
17039 		.ilen   = 53,
17040 		.result = "Network Security People Have A Strange Sense Of Humor"
17041 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
17042 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
17043 			  "\x91\x56\xe4\xd6",
17044 		.rlen   = 53 + 20,
17045 	},
17046 };
17047 
17048 static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
17049 	{
17050 #ifdef __LITTLE_ENDIAN
17051 		.key    = "\x08\x00"		/* rta length */
17052 			  "\x01\x00"		/* rta type */
17053 #else
17054 		.key    = "\x00\x08"		/* rta length */
17055 			  "\x00\x01"		/* rta type */
17056 #endif
17057 			  "\x00\x00\x00\x00"	/* enc key length */
17058 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17059 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17060 			  "\x00\x00\x00\x00",
17061 		.klen   = 8 + 20 + 0,
17062 		.iv     = "",
17063 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
17064 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
17065 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
17066 			  "\x8c\x5e\xe4\x08",
17067 		.ilen   = 8 + 20,
17068 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
17069 		.rlen   = 8,
17070 	}, {
17071 #ifdef __LITTLE_ENDIAN
17072 		.key    = "\x08\x00"		/* rta length */
17073 			  "\x01\x00"		/* rta type */
17074 #else
17075 		.key    = "\x00\x08"		/* rta length */
17076 			  "\x00\x01"		/* rta type */
17077 #endif
17078 			  "\x00\x00\x00\x00"	/* enc key length */
17079 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17080 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17081 			  "\x00\x00\x00\x00",
17082 		.klen   = 8 + 20 + 0,
17083 		.iv     = "",
17084 		.input  = "Network Security People Have A Strange Sense Of Humor"
17085 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
17086 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
17087 			  "\x91\x56\xe4\xd6",
17088 		.ilen   = 53 + 20,
17089 		.result = "Network Security People Have A Strange Sense Of Humor",
17090 		.rlen   = 53,
17091 	},
17092 };
17093 
17094 static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
17095 	{ /* RFC 3602 Case 1 */
17096 #ifdef __LITTLE_ENDIAN
17097 		.key    = "\x08\x00"		/* rta length */
17098 			  "\x01\x00"		/* rta type */
17099 #else
17100 		.key    = "\x00\x08"		/* rta length */
17101 			  "\x00\x01"		/* rta type */
17102 #endif
17103 			  "\x00\x00\x00\x10"	/* enc key length */
17104 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17105 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17106 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17107 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17108 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17109 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17110 		.klen   = 8 + 32 + 16,
17111 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17112 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17113 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17114 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17115 		.alen	= 16,
17116 		.input  = "Single block msg",
17117 		.ilen   = 16,
17118 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17119 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17120 			  "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
17121 			  "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
17122 			  "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
17123 			  "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
17124 		.rlen   = 16 + 32,
17125 	}, { /* RFC 3602 Case 2 */
17126 #ifdef __LITTLE_ENDIAN
17127 		.key    = "\x08\x00"		/* rta length */
17128 			  "\x01\x00"		/* rta type */
17129 #else
17130 		.key    = "\x00\x08"		/* rta length */
17131 			  "\x00\x01"		/* rta type */
17132 #endif
17133 			  "\x00\x00\x00\x10"	/* enc key length */
17134 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
17135 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17136 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
17137 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17138 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17139 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17140 		.klen   = 8 + 32 + 16,
17141 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17142 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17143 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17144 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17145 		.alen	= 16,
17146 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17147 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17148 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
17149 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17150 		.ilen   = 32,
17151 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17152 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17153 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17154 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17155 			  "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
17156 			  "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
17157 			  "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
17158 			  "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
17159 		.rlen   = 32 + 32,
17160 	}, { /* RFC 3602 Case 3 */
17161 #ifdef __LITTLE_ENDIAN
17162 		.key    = "\x08\x00"		/* rta length */
17163 			  "\x01\x00"            /* rta type */
17164 #else
17165 		.key    = "\x00\x08"		/* rta length */
17166 			  "\x00\x01"		/* rta type */
17167 #endif
17168 			  "\x00\x00\x00\x10"	/* enc key length */
17169 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17170 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17171 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17172 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17173 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17174 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17175 		.klen   = 8 + 32 + 16,
17176 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17177 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17178 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17179 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17180 		.alen	= 16,
17181 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
17182 		.ilen   = 48,
17183 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17184 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17185 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17186 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17187 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17188 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
17189 			  "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
17190 			  "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
17191 			  "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
17192 			  "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
17193 		.rlen   = 48 + 32,
17194 	}, { /* RFC 3602 Case 4 */
17195 #ifdef __LITTLE_ENDIAN
17196 		.key    = "\x08\x00"		/* rta length */
17197 			  "\x01\x00"		/* rta type */
17198 #else
17199 		.key    = "\x00\x08"		/* rta length */
17200 			  "\x00\x01"            /* rta type */
17201 #endif
17202 			  "\x00\x00\x00\x10"	/* enc key length */
17203 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17204 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17205 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17206 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17207 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17208 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17209 		.klen   = 8 + 32 + 16,
17210 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17211 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17212 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17213 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17214 		.alen	= 16,
17215 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17216 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17217 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17218 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17219 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17220 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17221 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17222 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17223 		.ilen   = 64,
17224 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17225 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17226 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17227 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17228 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17229 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17230 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17231 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17232 			  "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
17233 			  "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
17234 			  "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
17235 			  "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
17236 		.rlen   = 64 + 32,
17237 	}, { /* RFC 3602 Case 5 */
17238 #ifdef __LITTLE_ENDIAN
17239 		.key    = "\x08\x00"		/* rta length */
17240 			  "\x01\x00"            /* rta type */
17241 #else
17242 		.key    = "\x00\x08"		/* rta length */
17243 			  "\x00\x01"            /* rta type */
17244 #endif
17245 			  "\x00\x00\x00\x10"	/* enc key length */
17246 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17247 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17248 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17249 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17250 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17251 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17252 		.klen   = 8 + 32 + 16,
17253 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17254 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17255 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17256 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17257 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17258 		.alen   = 24,
17259 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17260 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17261 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17262 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
17263 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17264 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
17265 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17266 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
17267 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
17268 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17269 		.ilen   = 80,
17270 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17271 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17272 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17273 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17274 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17275 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17276 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17277 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17278 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17279 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17280 			  "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
17281 			  "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
17282 			  "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
17283 			  "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
17284 		.rlen   = 80 + 32,
17285        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17286 #ifdef __LITTLE_ENDIAN
17287 		.key    = "\x08\x00"            /* rta length */
17288 			  "\x01\x00"		/* rta type */
17289 #else
17290 		.key    = "\x00\x08"		/* rta length */
17291 			  "\x00\x01"            /* rta type */
17292 #endif
17293 			  "\x00\x00\x00\x18"	/* enc key length */
17294 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17295 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17296 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17297 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17298 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17299 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17300 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17301 		.klen   = 8 + 32 + 24,
17302 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17303 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17304 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17305 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17306 		.alen   = 16,
17307 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17308 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17309 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17310 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17311 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17312 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17313 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17314 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17315 		.ilen   = 64,
17316 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17317 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17318 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17319 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17320 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17321 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17322 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17323 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17324 			  "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
17325 			  "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
17326 			  "\xca\x71\x85\x93\xf7\x85\x55\x8b"
17327 			  "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
17328 		.rlen   = 64 + 32,
17329 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17330 #ifdef __LITTLE_ENDIAN
17331 		.key    = "\x08\x00"		/* rta length */
17332 			  "\x01\x00"		/* rta type */
17333 #else
17334 		.key    = "\x00\x08"		/* rta length */
17335 			  "\x00\x01"            /* rta type */
17336 #endif
17337 			  "\x00\x00\x00\x20"	/* enc key length */
17338 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17339 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17340 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17341 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17342 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17343 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17344 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17345 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17346 		.klen   = 8 + 32 + 32,
17347 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17348 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17349 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17350 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17351 		.alen   = 16,
17352 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17353 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17354 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17355 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17356 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17357 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17358 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17359 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17360 		.ilen   = 64,
17361 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17362 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17363 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17364 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17365 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17366 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17367 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17368 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17369 			  "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
17370 			  "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
17371 			  "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
17372 			  "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
17373 		.rlen   = 64 + 32,
17374 	},
17375 };
17376 
17377 static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
17378 	{ /* RFC 3602 Case 1 */
17379 #ifdef __LITTLE_ENDIAN
17380 		.key    = "\x08\x00"		/* rta length */
17381 			  "\x01\x00"		/* rta type */
17382 #else
17383 		.key    = "\x00\x08"		/* rta length */
17384 			  "\x00\x01"		/* rta type */
17385 #endif
17386 			  "\x00\x00\x00\x10"	/* enc key length */
17387 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17388 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17389 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17390 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17391 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17392 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17393 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17394 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
17395 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
17396 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
17397 		.klen   = 8 + 64 + 16,
17398 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17399 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17400 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
17401 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
17402 		.alen   = 16,
17403 		.input  = "Single block msg",
17404 		.ilen   = 16,
17405 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
17406 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
17407 			  "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
17408 			  "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
17409 			  "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
17410 			  "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
17411 			  "\xec\xbd\x50\x08\x07\x64\x1a\x49"
17412 			  "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
17413 			  "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
17414 			  "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
17415 		.rlen   = 16 + 64,
17416 	}, { /* RFC 3602 Case 2 */
17417 #ifdef __LITTLE_ENDIAN
17418 		.key    = "\x08\x00"		/* rta length */
17419 			  "\x01\x00"		/* rta type */
17420 #else
17421 		.key    = "\x00\x08"		/* rta length */
17422 			  "\x00\x01"		/* rta type */
17423 #endif
17424 			  "\x00\x00\x00\x10"	/* enc key length */
17425 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
17426 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17427 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
17428 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17429 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
17430 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17431 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
17432 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17433 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
17434 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
17435 		.klen   = 8 + 64 + 16,
17436 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17437 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17438 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
17439 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
17440 		.alen   = 16,
17441 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
17442 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17443 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
17444 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17445 		.ilen   = 32,
17446 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
17447 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
17448 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
17449 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
17450 			  "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
17451 			  "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
17452 			  "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
17453 			  "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
17454 			  "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
17455 			  "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
17456 			  "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
17457 			  "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
17458 		.rlen   = 32 + 64,
17459 	}, { /* RFC 3602 Case 3 */
17460 #ifdef __LITTLE_ENDIAN
17461 		.key    = "\x08\x00"		/* rta length */
17462 			  "\x01\x00"            /* rta type */
17463 #else
17464 		.key    = "\x00\x08"		/* rta length */
17465 			  "\x00\x01"		/* rta type */
17466 #endif
17467 			  "\x00\x00\x00\x10"	/* enc key length */
17468 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17469 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17470 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17471 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17472 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17473 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17474 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17475 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17476 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17477 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17478 		.klen   = 8 + 64 + 16,
17479 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17480 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17481 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17482 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17483 		.alen   = 16,
17484 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
17485 		.ilen   = 48,
17486 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17487 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17488 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17489 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17490 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17491 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
17492 			  "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
17493 			  "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
17494 			  "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
17495 			  "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
17496 			  "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
17497 			  "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
17498 			  "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
17499 			  "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
17500 		.rlen   = 48 + 64,
17501 	}, { /* RFC 3602 Case 4 */
17502 #ifdef __LITTLE_ENDIAN
17503 		.key    = "\x08\x00"		/* rta length */
17504 			  "\x01\x00"		/* rta type */
17505 #else
17506 		.key    = "\x00\x08"		/* rta length */
17507 			  "\x00\x01"            /* rta type */
17508 #endif
17509 			  "\x00\x00\x00\x10"	/* enc key length */
17510 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17511 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17512 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17513 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17514 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17515 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17516 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17517 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17518 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17519 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17520 		.klen   = 8 + 64 + 16,
17521 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17522 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17523 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17524 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17525 		.alen   = 16,
17526 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17527 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17528 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17529 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17530 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17531 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17532 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17533 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17534 		.ilen   = 64,
17535 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17536 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17537 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17538 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17539 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17540 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17541 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17542 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17543 			  "\x82\xcd\x42\x28\x21\x20\x15\xcc"
17544 			  "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
17545 			  "\x61\x32\x82\x85\xcf\x27\xed\xb4"
17546 			  "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
17547 			  "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
17548 			  "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
17549 			  "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
17550 			  "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
17551 		.rlen   = 64 + 64,
17552 	}, { /* RFC 3602 Case 5 */
17553 #ifdef __LITTLE_ENDIAN
17554 		.key    = "\x08\x00"		/* rta length */
17555 			  "\x01\x00"            /* rta type */
17556 #else
17557 		.key    = "\x00\x08"		/* rta length */
17558 			  "\x00\x01"            /* rta type */
17559 #endif
17560 			  "\x00\x00\x00\x10"	/* enc key length */
17561 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17562 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17563 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17564 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17565 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17566 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17567 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17568 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17569 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17570 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17571 		.klen   = 8 + 64 + 16,
17572 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17573 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17574 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17575 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17576 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17577 		.alen   = 24,
17578 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17579 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17580 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17581 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
17582 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17583 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
17584 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17585 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
17586 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
17587 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17588 		.ilen   = 80,
17589 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17590 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17591 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17592 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17593 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17594 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17595 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17596 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17597 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17598 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17599 			  "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
17600 			  "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
17601 			  "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
17602 			  "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
17603 			  "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
17604 			  "\x92\x26\xc1\x76\x20\x11\xeb\xba"
17605 			  "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
17606 			  "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
17607 		.rlen   = 80 + 64,
17608        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17609 #ifdef __LITTLE_ENDIAN
17610 		.key    = "\x08\x00"            /* rta length */
17611 			  "\x01\x00"		/* rta type */
17612 #else
17613 		.key    = "\x00\x08"		/* rta length */
17614 			  "\x00\x01"            /* rta type */
17615 #endif
17616 			  "\x00\x00\x00\x18"	/* enc key length */
17617 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17618 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17619 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17620 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17621 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17622 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17623 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17624 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17625 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17626 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17627 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17628 		.klen   = 8 + 64 + 24,
17629 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17630 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17631 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17632 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17633 		.alen   = 16,
17634 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17635 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17636 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17637 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17638 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17639 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17640 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17641 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17642 		.ilen   = 64,
17643 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17644 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17645 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17646 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17647 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17648 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17649 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17650 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17651 			  "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17652 			  "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17653 			  "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17654 			  "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17655 			  "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17656 			  "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17657 			  "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17658 			  "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17659 		.rlen   = 64 + 64,
17660 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17661 #ifdef __LITTLE_ENDIAN
17662 		.key    = "\x08\x00"		/* rta length */
17663 			  "\x01\x00"		/* rta type */
17664 #else
17665 		.key    = "\x00\x08"		/* rta length */
17666 			  "\x00\x01"            /* rta type */
17667 #endif
17668 			  "\x00\x00\x00\x20"	/* enc key length */
17669 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17670 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17671 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17672 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17673 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17674 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17675 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17676 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17677 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17678 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17679 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17680 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17681 		.klen   = 8 + 64 + 32,
17682 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17683 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17684 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17685 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17686 		.alen   = 16,
17687 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17688 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17689 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17690 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17691 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17692 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17693 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17694 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17695 		.ilen   = 64,
17696 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17697 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17698 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17699 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17700 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17701 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17702 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17703 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17704 			  "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17705 			  "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17706 			  "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17707 			  "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17708 			  "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17709 			  "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17710 			  "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17711 			  "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17712 		.rlen   = 64 + 64,
17713 	},
17714 };
17715 
17716 static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
17717 	{ /*Generated with cryptopp*/
17718 #ifdef __LITTLE_ENDIAN
17719 		.key    = "\x08\x00"		/* rta length */
17720 			  "\x01\x00"		/* rta type */
17721 #else
17722 	.key    = "\x00\x08"		/* rta length */
17723 			  "\x00\x01"		/* rta type */
17724 #endif
17725 			  "\x00\x00\x00\x08"	/* enc key length */
17726 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17727 		  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17728 			  "\x22\x33\x44\x55"
17729 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17730 		.klen	= 8 + 20 + 8,
17731 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17732 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17733 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17734 		.alen   = 16,
17735 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17736 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17737 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17738 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17739 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17740 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17741 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17742 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17743 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17744 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17745 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17746 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17747 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17748 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17749 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17750 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17751 		.ilen	= 128,
17752 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17753 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17754 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17755 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17756 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17757 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17758 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17759 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17760 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17761 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17762 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17763 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17764 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17765 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17766 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17767 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17768 			  "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17769 			  "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17770 			  "\x5c\x44\xa9\x37",
17771 			  .rlen	= 128 + 20,
17772 	},
17773 };
17774 
17775 static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
17776 	{ /*Generated with cryptopp*/
17777 #ifdef __LITTLE_ENDIAN
17778 		.key    = "\x08\x00"		/* rta length */
17779 			  "\x01\x00"		/* rta type */
17780 #else
17781 		.key    = "\x00\x08"		/* rta length */
17782 			  "\x00\x01"		/* rta type */
17783 #endif
17784 			  "\x00\x00\x00\x08"	/* enc key length */
17785 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17786 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17787 		  "\x22\x33\x44\x55\x66\x77\x88\x99"
17788 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17789 		.klen	= 8 + 24 + 8,
17790 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17791 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17792 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17793 		.alen   = 16,
17794 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17795 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17796 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17797 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17798 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17799 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17800 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17801 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17802 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17803 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17804 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17805 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17806 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17807 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17808 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17809 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17810 		.ilen	= 128,
17811 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17812 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17813 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17814 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17815 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17816 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17817 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17818 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17819 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17820 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17821 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17822 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17823 		  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17824 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17825 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17826 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17827 			  "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17828 			  "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17829 			  "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17830 		.rlen	= 128 + 24,
17831 	},
17832 };
17833 
17834 static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
17835 	{ /*Generated with cryptopp*/
17836 #ifdef __LITTLE_ENDIAN
17837 		.key    = "\x08\x00"		/* rta length */
17838 			  "\x01\x00"		/* rta type */
17839 #else
17840 		.key    = "\x00\x08"		/* rta length */
17841 			  "\x00\x01"		/* rta type */
17842 #endif
17843 			  "\x00\x00\x00\x08"	/* enc key length */
17844 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17845 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17846 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17847 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17848 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17849 		.klen	= 8 + 32 + 8,
17850 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17851 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17852 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17853 		.alen   = 16,
17854 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17855 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17856 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17857 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17858 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17859 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17860 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17861 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17862 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17863 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17864 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17865 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17866 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17867 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17868 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17869 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17870 		.ilen	= 128,
17871 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17872 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17873 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17874 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17875 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17876 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17877 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17878 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17879 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17880 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17881 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17882 		  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17883 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17884 		  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17885 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17886 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17887 			  "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17888 			  "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17889 			  "\xde\x63\xde\x76\x52\xde\x9f\xba"
17890 			  "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17891 		.rlen	= 128 + 32,
17892 	},
17893 };
17894 
17895 static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
17896 	{ /*Generated with cryptopp*/
17897 #ifdef __LITTLE_ENDIAN
17898 		.key    = "\x08\x00"		/* rta length */
17899 			  "\x01\x00"		/* rta type */
17900 #else
17901 		.key    = "\x00\x08"		/* rta length */
17902 			  "\x00\x01"		/* rta type */
17903 #endif
17904 			  "\x00\x00\x00\x08"	/* enc key length */
17905 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17906 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17907 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17908 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17909 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17910 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17911 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17912 		.klen	= 8 + 48 + 8,
17913 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17914 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17915 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17916 		.alen   = 16,
17917 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17918 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17919 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17920 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17921 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17922 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17923 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17924 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17925 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17926 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17927 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17928 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17929 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17930 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17931 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17932 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17933 		.ilen	= 128,
17934 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17935 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17936 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17937 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17938 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17939 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17940 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17941 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17942 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17943 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17944 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17945 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17946 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17947 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17948 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17949 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17950 			  "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17951 			  "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17952 			  "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17953 			  "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17954 			  "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17955 			  "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17956 		.rlen	= 128 + 48,
17957 	},
17958 };
17959 
17960 static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
17961 	{ /*Generated with cryptopp*/
17962 #ifdef __LITTLE_ENDIAN
17963 		.key    = "\x08\x00"		/* rta length */
17964 		  "\x01\x00"		/* rta type */
17965 #else
17966 		.key    = "\x00\x08"		/* rta length */
17967 			  "\x00\x01"		/* rta type */
17968 #endif
17969 			  "\x00\x00\x00\x08"	/* enc key length */
17970 		  "\x11\x22\x33\x44\x55\x66\x77\x88"
17971 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17972 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17973 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17974 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17975 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17976 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17977 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17978 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17979 		.klen	= 8 + 64 + 8,
17980 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17981 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17982 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17983 		.alen   = 16,
17984 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17985 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17986 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17987 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17988 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17989 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17990 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17991 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17992 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17993 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17994 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17995 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17996 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17997 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17998 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17999 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18000 		.ilen	= 128,
18001 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
18002 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
18003 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
18004 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
18005 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
18006 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
18007 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
18008 		  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
18009 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
18010 		  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
18011 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
18012 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
18013 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
18014 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
18015 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
18016 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
18017 			  "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
18018 			  "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
18019 			  "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
18020 			  "\x58\x83\xda\x67\xfb\x21\x24\xa2"
18021 			  "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
18022 			  "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
18023 			  "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
18024 			  "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
18025 		.rlen	= 128 + 64,
18026 	},
18027 };
18028 
18029 static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
18030 	{ /*Generated with cryptopp*/
18031 #ifdef __LITTLE_ENDIAN
18032 		.key    = "\x08\x00"		/* rta length */
18033 			  "\x01\x00"		/* rta type */
18034 #else
18035 		.key    = "\x00\x08"		/* rta length */
18036 			  "\x00\x01"		/* rta type */
18037 #endif
18038 			  "\x00\x00\x00\x18"	/* enc key length */
18039 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
18040 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18041 			  "\x22\x33\x44\x55"
18042 		  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18043 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18044 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18045 		.klen	= 8 + 20 + 24,
18046 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18047 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18048 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18049 		.alen   = 16,
18050 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18051 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
18052 		  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18053 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
18054 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18055 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
18056 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18057 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
18058 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18059 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18060 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18061 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18062 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
18063 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18064 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
18065 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18066 		.ilen	= 128,
18067 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18068 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18069 		  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18070 		  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18071 		  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18072 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18073 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18074 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18075 		  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18076 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18077 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18078 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18079 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18080 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18081 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18082 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18083 			  "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
18084 			  "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
18085 			  "\xd1\x60\x91\xb3",
18086 			  .rlen	= 128 + 20,
18087 	},
18088 };
18089 
18090 static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
18091 	{ /*Generated with cryptopp*/
18092 #ifdef __LITTLE_ENDIAN
18093 		.key    = "\x08\x00"		/* rta length */
18094 			  "\x01\x00"		/* rta type */
18095 #else
18096 		.key    = "\x00\x08"		/* rta length */
18097 			  "\x00\x01"		/* rta type */
18098 #endif
18099 			  "\x00\x00\x00\x18"	/* enc key length */
18100 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
18101 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18102 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
18103 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18104 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18105 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18106 		.klen	= 8 + 24 + 24,
18107 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18108 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18109 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18110 		.alen   = 16,
18111 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18112 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
18113 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18114 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
18115 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18116 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
18117 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18118 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
18119 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18120 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18121 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18122 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18123 		  "\x72\x63\x74\x65\x20\x73\x6f\x54"
18124 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18125 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
18126 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18127 		.ilen	= 128,
18128 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18129 		  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18130 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18131 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18132 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18133 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18134 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18135 		  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18136 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18137 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18138 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18139 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18140 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18141 		  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18142 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18143 		  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18144 			  "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
18145 			  "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
18146 			  "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
18147 			  .rlen	= 128 + 24,
18148 	},
18149 };
18150 
18151 static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
18152 	{ /*Generated with cryptopp*/
18153 #ifdef __LITTLE_ENDIAN
18154 		.key    = "\x08\x00"		/* rta length */
18155 			  "\x01\x00"		/* rta type */
18156 #else
18157 		.key    = "\x00\x08"		/* rta length */
18158 			  "\x00\x01"		/* rta type */
18159 #endif
18160 			  "\x00\x00\x00\x18"	/* enc key length */
18161 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
18162 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18163 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
18164 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18165 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18166 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18167 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18168 		.klen	= 8 + 32 + 24,
18169 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18170 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18171 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18172 		.alen   = 16,
18173 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18174 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
18175 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18176 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
18177 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18178 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
18179 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18180 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
18181 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18182 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18183 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18184 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18185 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
18186 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18187 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
18188 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18189 		.ilen	= 128,
18190 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18191 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18192 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18193 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18194 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18195 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18196 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18197 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18198 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18199 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18200 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18201 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18202 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18203 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18204 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18205 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18206 			  "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
18207 			  "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
18208 			  "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
18209 			  "\xca\x43\x95\xdf\x80\x61\x81\xa9",
18210 		.rlen	= 128 + 32,
18211 	},
18212 };
18213 
18214 static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
18215 	{ /*Generated with cryptopp*/
18216 #ifdef __LITTLE_ENDIAN
18217 		.key    = "\x08\x00"		/* rta length */
18218 			  "\x01\x00"		/* rta type */
18219 #else
18220 		.key    = "\x00\x08"		/* rta length */
18221 			  "\x00\x01"		/* rta type */
18222 #endif
18223 			  "\x00\x00\x00\x18"	/* enc key length */
18224 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
18225 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18226 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
18227 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18228 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
18229 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18230 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18231 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18232 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18233 		.klen	= 8 + 48 + 24,
18234 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18235 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18236 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18237 		.alen   = 16,
18238 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18239 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
18240 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18241 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
18242 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18243 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
18244 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18245 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
18246 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18247 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18248 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18249 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18250 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
18251 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18252 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
18253 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18254 		.ilen	= 128,
18255 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18256 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18257 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18258 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18259 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18260 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18261 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18262 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18263 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18264 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18265 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18266 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18267 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18268 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18269 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18270 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18271 			  "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
18272 		  "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
18273 			  "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
18274 			  "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
18275 			  "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
18276 			  "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
18277 		.rlen	= 128 + 48,
18278 	},
18279 };
18280 
18281 static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
18282 	{ /*Generated with cryptopp*/
18283 #ifdef __LITTLE_ENDIAN
18284 		.key    = "\x08\x00"		/* rta length */
18285 			  "\x01\x00"		/* rta type */
18286 #else
18287 		.key    = "\x00\x08"		/* rta length */
18288 			  "\x00\x01"		/* rta type */
18289 #endif
18290 			  "\x00\x00\x00\x18"	/* enc key length */
18291 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
18292 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18293 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
18294 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18295 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
18296 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18297 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18298 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18299 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18300 		  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18301 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18302 		.klen	= 8 + 64 + 24,
18303 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18304 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
18305 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18306 		.alen   = 16,
18307 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18308 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
18309 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18310 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
18311 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18312 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
18313 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18314 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
18315 		  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18316 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18317 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18318 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18319 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
18320 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18321 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
18322 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18323 		.ilen	= 128,
18324 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18325 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18326 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18327 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18328 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18329 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18330 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18331 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18332 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18333 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18334 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18335 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18336 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18337 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18338 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18339 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18340 			  "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
18341 			  "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
18342 			  "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
18343 			  "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
18344 			  "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
18345 			  "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
18346 			  "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
18347 			  "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
18348 		.rlen	= 128 + 64,
18349 	},
18350 };
18351 
18352 static const struct cipher_testvec aes_lrw_enc_tv_template[] = {
18353 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
18354 	{ /* LRW-32-AES 1 */
18355 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18356 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18357 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18358 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18359 		.klen   = 32,
18360 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18361 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18362 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18363 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18364 		.ilen   = 16,
18365 		.result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18366 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18367 		.rlen   = 16,
18368 	}, { /* LRW-32-AES 2 */
18369 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18370 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18371 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18372 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18373 		.klen   = 32,
18374 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18375 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
18376 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18377 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18378 		.ilen   = 16,
18379 		.result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18380 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18381 		.rlen   = 16,
18382 	}, { /* LRW-32-AES 3 */
18383 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18384 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18385 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18386 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18387 		.klen   = 32,
18388 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18389 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18390 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18391 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18392 		.ilen   = 16,
18393 		.result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18394 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18395 		.rlen   = 16,
18396 	}, { /* LRW-32-AES 4 */
18397 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18398 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18399 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18400 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18401 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18402 		.klen   = 40,
18403 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18404 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18405 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18406 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18407 		.ilen   = 16,
18408 		.result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18409 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18410 		.rlen   = 16,
18411 	}, { /* LRW-32-AES 5 */
18412 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18413 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18414 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18415 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18416 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18417 		.klen   = 40,
18418 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18419 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18420 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18421 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18422 		.ilen   = 16,
18423 		.result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18424 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18425 		.rlen   = 16,
18426 	}, { /* LRW-32-AES 6 */
18427 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18428 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18429 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18430 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18431 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18432 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18433 		.klen   = 48,
18434 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18435 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18436 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18437 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18438 		.ilen   = 16,
18439 		.result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18440 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18441 		.rlen   = 16,
18442 	}, { /* LRW-32-AES 7 */
18443 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18444 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18445 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18446 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18447 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18448 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18449 		.klen   = 48,
18450 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18451 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18452 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18453 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18454 		.ilen   = 16,
18455 		.result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18456 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18457 		.rlen   = 16,
18458 	}, {
18459 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18460 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18461 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18462 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18463 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18464 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18465 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18466 		.klen   = 48,
18467 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18468 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18469 		.input  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18470 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18471 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18472 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18473 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18474 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18475 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18476 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18477 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18478 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18479 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18480 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18481 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18482 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18483 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18484 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18485 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18486 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18487 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18488 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18489 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18490 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18491 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18492 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18493 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18494 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18495 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18496 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18497 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18498 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18499 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18500 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18501 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18502 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18503 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18504 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18505 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18506 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18507 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18508 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18509 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18510 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18511 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18512 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18513 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18514 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18515 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18516 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18517 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18518 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18519 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18520 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18521 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18522 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18523 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18524 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18525 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18526 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18527 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18528 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18529 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18530 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18531 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18532 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18533 		.ilen   = 512,
18534 		.result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18535 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18536 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18537 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18538 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18539 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18540 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18541 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
18542 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18543 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18544 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18545 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18546 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18547 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18548 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18549 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18550 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18551 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18552 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18553 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18554 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18555 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18556 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18557 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18558 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18559 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18560 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18561 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18562 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18563 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18564 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18565 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18566 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18567 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18568 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18569 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18570 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18571 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18572 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
18573 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18574 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18575 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18576 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18577 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18578 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18579 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18580 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
18581 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18582 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18583 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18584 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18585 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18586 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18587 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18588 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18589 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18590 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18591 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18592 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18593 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18594 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18595 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18596 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18597 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18598 		.rlen   = 512,
18599 		.also_non_np = 1,
18600 		.np	= 3,
18601 		.tap	= { 512 - 20, 4, 16 },
18602 	}
18603 };
18604 
18605 static const struct cipher_testvec aes_lrw_dec_tv_template[] = {
18606 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
18607 	/* same as enc vectors with input and result reversed */
18608 	{ /* LRW-32-AES 1 */
18609 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18610 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18611 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18612 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18613 		.klen   = 32,
18614 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18615 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18616 		.input  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18617 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18618 		.ilen   = 16,
18619 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18620 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18621 		.rlen   = 16,
18622 	}, { /* LRW-32-AES 2 */
18623 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18624 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18625 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18626 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18627 		.klen   = 32,
18628 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18629 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
18630 		.input  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18631 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18632 		.ilen   = 16,
18633 		.result  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18634 			   "\x38\x39\x41\x42\x43\x44\x45\x46",
18635 		.rlen   = 16,
18636 	}, { /* LRW-32-AES 3 */
18637 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18638 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18639 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18640 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18641 		.klen   = 32,
18642 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18643 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18644 		.input  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18645 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18646 		.ilen   = 16,
18647 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18648 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18649 		.rlen   = 16,
18650 	}, { /* LRW-32-AES 4 */
18651 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18652 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18653 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18654 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18655 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18656 		.klen   = 40,
18657 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18658 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18659 		.input  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18660 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18661 		.ilen   = 16,
18662 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18663 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18664 		.rlen   = 16,
18665 	}, { /* LRW-32-AES 5 */
18666 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18667 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18668 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18669 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18670 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18671 		.klen   = 40,
18672 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18673 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18674 		.input  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18675 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18676 		.ilen   = 16,
18677 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18678 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18679 		.rlen   = 16,
18680 	}, { /* LRW-32-AES 6 */
18681 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18682 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18683 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18684 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18685 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18686 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18687 		.klen   = 48,
18688 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18689 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18690 		.input  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18691 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18692 		.ilen   = 16,
18693 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18694 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18695 		.rlen   = 16,
18696 	}, { /* LRW-32-AES 7 */
18697 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18698 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18699 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18700 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18701 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18702 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18703 		.klen   = 48,
18704 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18705 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18706 		.input  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18707 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18708 		.ilen   = 16,
18709 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18710 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18711 		.rlen   = 16,
18712 	}, {
18713 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18714 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18715 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18716 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18717 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18718 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18719 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18720 		.klen   = 48,
18721 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18722 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18723 		.input	= "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18724 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18725 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18726 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18727 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18728 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18729 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18730 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
18731 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18732 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18733 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18734 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18735 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18736 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18737 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18738 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18739 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18740 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18741 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18742 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18743 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18744 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18745 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18746 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18747 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18748 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18749 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18750 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18751 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18752 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18753 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18754 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18755 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18756 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18757 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18758 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18759 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18760 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18761 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
18762 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18763 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18764 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18765 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18766 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18767 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18768 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18769 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
18770 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18771 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18772 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18773 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18774 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18775 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18776 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18777 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18778 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18779 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18780 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18781 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18782 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18783 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18784 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18785 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18786 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18787 		.ilen   = 512,
18788 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18789 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18790 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18791 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18792 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18793 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18794 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18795 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18796 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18797 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18798 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18799 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18800 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18801 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18802 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18803 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18804 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18805 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18806 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18807 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18808 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18809 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18810 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18811 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18812 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18813 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18814 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18815 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18816 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18817 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18818 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18819 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18820 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18821 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18822 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18823 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18824 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18825 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18826 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18827 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18828 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18829 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18830 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18831 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18832 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18833 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18834 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18835 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18836 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18837 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18838 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18839 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18840 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18841 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18842 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18843 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18844 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18845 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18846 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18847 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18848 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18849 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18850 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18851 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18852 		.rlen   = 512,
18853 		.also_non_np = 1,
18854 		.np	= 3,
18855 		.tap	= { 512 - 20, 4, 16 },
18856 	}
18857 };
18858 
18859 static const struct cipher_testvec aes_xts_enc_tv_template[] = {
18860 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18861 	{ /* XTS-AES 1 */
18862 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18863 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18864 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18865 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18866 		.klen   = 32,
18867 		.fips_skip = 1,
18868 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18869 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18870 		.input  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18871 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18872 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18873 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18874 		.ilen   = 32,
18875 		.result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18876 			  "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18877 			  "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18878 			  "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18879 		.rlen   = 32,
18880 	}, { /* XTS-AES 2 */
18881 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18882 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18883 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18884 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18885 		.klen   = 32,
18886 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18887 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18888 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18889 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18890 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18891 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18892 		.ilen   = 32,
18893 		.result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18894 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18895 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18896 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18897 		.rlen   = 32,
18898 	}, { /* XTS-AES 3 */
18899 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18900 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18901 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18902 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18903 		.klen   = 32,
18904 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18905 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18906 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18907 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18908 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18909 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18910 		.ilen   = 32,
18911 		.result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18912 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18913 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18914 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18915 		.rlen   = 32,
18916 	}, { /* XTS-AES 4 */
18917 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18918 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18919 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18920 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18921 		.klen   = 32,
18922 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18923 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18924 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18925 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18926 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18927 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18928 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18929 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18930 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18931 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18932 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18933 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18934 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18935 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18936 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18937 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18938 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18939 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18940 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18941 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18942 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18943 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18944 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18945 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18946 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18947 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18948 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18949 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18950 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18951 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18952 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18953 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18954 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18955 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18956 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18957 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18958 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18959 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18960 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18961 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18962 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18963 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18964 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18965 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18966 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18967 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18968 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18969 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18970 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18971 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18972 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18973 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18974 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18975 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18976 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18977 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18978 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18979 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18980 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18981 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18982 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18983 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18984 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18985 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18986 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18987 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18988 		.ilen   = 512,
18989 		.result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18990 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18991 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18992 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18993 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18994 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18995 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18996 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18997 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18998 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18999 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
19000 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
19001 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
19002 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
19003 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
19004 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
19005 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
19006 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
19007 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
19008 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
19009 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
19010 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
19011 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
19012 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
19013 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
19014 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
19015 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
19016 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
19017 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
19018 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
19019 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
19020 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
19021 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
19022 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
19023 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
19024 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
19025 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
19026 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
19027 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
19028 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
19029 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
19030 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
19031 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
19032 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
19033 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
19034 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
19035 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
19036 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
19037 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
19038 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
19039 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
19040 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
19041 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
19042 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
19043 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
19044 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
19045 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
19046 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
19047 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
19048 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
19049 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
19050 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
19051 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
19052 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
19053 		.rlen   = 512,
19054 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
19055 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
19056 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
19057 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
19058 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
19059 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
19060 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
19061 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
19062 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
19063 		.klen	= 64,
19064 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
19065 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19066 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19067 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19068 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19069 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19070 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19071 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19072 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19073 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19074 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19075 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19076 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19077 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19078 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19079 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19080 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19081 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19082 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19083 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19084 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19085 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19086 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19087 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19088 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19089 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19090 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19091 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19092 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19093 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19094 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19095 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19096 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19097 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19098 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
19099 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19100 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19101 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19102 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19103 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19104 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19105 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19106 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19107 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19108 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19109 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19110 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19111 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19112 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19113 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19114 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19115 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19116 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19117 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19118 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19119 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19120 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19121 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19122 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19123 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19124 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19125 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19126 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19127 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19128 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19129 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19130 		.ilen	= 512,
19131 		.result	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
19132 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
19133 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
19134 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
19135 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
19136 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
19137 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
19138 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
19139 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
19140 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
19141 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
19142 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
19143 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
19144 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
19145 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
19146 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
19147 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
19148 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
19149 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
19150 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
19151 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
19152 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
19153 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
19154 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
19155 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
19156 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
19157 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
19158 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
19159 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
19160 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
19161 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
19162 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
19163 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
19164 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
19165 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
19166 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
19167 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
19168 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
19169 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
19170 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
19171 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
19172 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
19173 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
19174 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
19175 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
19176 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
19177 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
19178 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
19179 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
19180 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
19181 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
19182 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
19183 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
19184 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
19185 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
19186 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
19187 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
19188 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
19189 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
19190 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
19191 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
19192 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
19193 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
19194 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
19195 		.rlen	= 512,
19196 		.also_non_np = 1,
19197 		.np	= 3,
19198 		.tap	= { 512 - 20, 4, 16 },
19199 	}
19200 };
19201 
19202 static const struct cipher_testvec aes_xts_dec_tv_template[] = {
19203 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
19204 	{ /* XTS-AES 1 */
19205 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
19206 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
19207 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
19208 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19209 		.klen   = 32,
19210 		.fips_skip = 1,
19211 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19212 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19213 		.input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
19214 			 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
19215 			 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
19216 			 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
19217 		.ilen   = 32,
19218 		.result  = "\x00\x00\x00\x00\x00\x00\x00\x00"
19219 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
19220 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
19221 			   "\x00\x00\x00\x00\x00\x00\x00\x00",
19222 		.rlen   = 32,
19223 	}, { /* XTS-AES 2 */
19224 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
19225 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
19226 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
19227 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
19228 		.klen   = 32,
19229 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
19230 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19231 		.input  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
19232 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
19233 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
19234 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
19235 		.ilen   = 32,
19236 		.result = "\x44\x44\x44\x44\x44\x44\x44\x44"
19237 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
19238 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
19239 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
19240 		.rlen   = 32,
19241 	}, { /* XTS-AES 3 */
19242 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
19243 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
19244 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
19245 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
19246 		.klen   = 32,
19247 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
19248 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19249 		.input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
19250 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
19251 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
19252 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
19253 		.ilen   = 32,
19254 		.result  = "\x44\x44\x44\x44\x44\x44\x44\x44"
19255 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
19256 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
19257 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
19258 		.rlen   = 32,
19259 	}, { /* XTS-AES 4 */
19260 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
19261 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
19262 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
19263 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
19264 		.klen   = 32,
19265 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
19266 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19267 		.input  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
19268 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
19269 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
19270 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
19271 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
19272 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
19273 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
19274 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
19275 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
19276 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
19277 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
19278 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
19279 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
19280 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
19281 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
19282 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
19283 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
19284 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
19285 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
19286 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
19287 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
19288 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
19289 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
19290 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
19291 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
19292 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
19293 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
19294 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
19295 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
19296 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
19297 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
19298 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
19299 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
19300 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
19301 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
19302 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
19303 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
19304 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
19305 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
19306 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
19307 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
19308 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
19309 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
19310 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
19311 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
19312 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
19313 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
19314 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
19315 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
19316 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
19317 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
19318 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
19319 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
19320 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
19321 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
19322 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
19323 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
19324 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
19325 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
19326 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
19327 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
19328 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
19329 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
19330 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
19331 		.ilen   = 512,
19332 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
19333 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19334 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19335 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19336 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19337 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19338 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19339 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19340 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19341 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19342 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19343 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19344 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19345 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19346 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19347 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19348 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19349 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19350 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19351 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19352 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19353 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19354 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19355 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19356 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19357 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19358 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19359 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19360 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19361 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19362 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19363 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19364 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
19365 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19366 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19367 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19368 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19369 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19370 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19371 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19372 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19373 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19374 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19375 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19376 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19377 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19378 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19379 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19380 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19381 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19382 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19383 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19384 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19385 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19386 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19387 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19388 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19389 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19390 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19391 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19392 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19393 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19394 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19395 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19396 		.rlen   = 512,
19397 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
19398 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
19399 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
19400 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
19401 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
19402 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
19403 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
19404 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
19405 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
19406 		.klen	= 64,
19407 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
19408 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
19409 		.input	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
19410 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
19411 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
19412 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
19413 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
19414 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
19415 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
19416 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
19417 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
19418 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
19419 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
19420 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
19421 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
19422 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
19423 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
19424 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
19425 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
19426 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
19427 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
19428 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
19429 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
19430 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
19431 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
19432 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
19433 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
19434 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
19435 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
19436 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
19437 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
19438 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
19439 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
19440 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
19441 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
19442 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
19443 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
19444 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
19445 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
19446 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
19447 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
19448 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
19449 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
19450 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
19451 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
19452 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
19453 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
19454 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
19455 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
19456 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
19457 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
19458 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
19459 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
19460 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
19461 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
19462 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
19463 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
19464 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
19465 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
19466 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
19467 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
19468 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
19469 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
19470 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
19471 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
19472 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
19473 		.ilen	= 512,
19474 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19475 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19476 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19477 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19478 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19479 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19480 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19481 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19482 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19483 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19484 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19485 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19486 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19487 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19488 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19489 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19490 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19491 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19492 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19493 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19494 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19495 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19496 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19497 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19498 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19499 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19500 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19501 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19502 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19503 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19504 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19505 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19506 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
19507 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19508 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19509 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19510 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
19511 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19512 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
19513 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19514 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
19515 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19516 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
19517 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19518 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
19519 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19520 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
19521 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19522 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
19523 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19524 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
19525 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19526 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19527 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19528 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19529 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19530 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19531 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19532 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19533 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19534 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19535 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19536 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19537 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19538 		.rlen	= 512,
19539 		.also_non_np = 1,
19540 		.np	= 3,
19541 		.tap	= { 512 - 20, 4, 16 },
19542 	}
19543 };
19544 
19545 
19546 static const struct cipher_testvec aes_ctr_enc_tv_template[] = {
19547 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
19548 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19549 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19550 		.klen	= 16,
19551 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19552 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19553 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19554 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19555 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19556 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19557 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19558 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19559 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19560 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19561 		.ilen	= 64,
19562 		.result	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19563 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19564 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19565 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19566 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19567 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19568 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19569 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19570 		.rlen	= 64,
19571 	}, {
19572 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19573 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19574 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19575 		.klen	= 24,
19576 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19577 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19578 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19579 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19580 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19581 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19582 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19583 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19584 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19585 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19586 		.ilen	= 64,
19587 		.result	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19588 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19589 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19590 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19591 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19592 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19593 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19594 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19595 		.rlen	= 64,
19596 	}, {
19597 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19598 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19599 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19600 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19601 		.klen	= 32,
19602 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19603 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19604 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19605 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19606 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19607 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19608 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19609 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19610 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19611 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19612 		.ilen	= 64,
19613 		.result	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19614 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19615 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19616 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19617 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19618 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19619 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19620 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19621 		.rlen	= 64,
19622 	}, { /* Generated with Crypto++ */
19623 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19624 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19625 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19626 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19627 		.klen	= 32,
19628 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19629 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19630 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19631 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19632 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19633 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19634 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19635 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19636 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19637 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19638 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19639 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19640 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19641 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19642 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19643 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19644 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19645 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19646 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19647 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19648 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19649 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19650 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19651 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19652 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19653 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19654 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19655 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19656 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19657 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19658 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19659 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19660 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19661 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19662 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19663 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19664 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19665 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19666 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19667 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19668 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19669 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19670 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19671 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19672 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19673 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19674 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19675 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19676 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19677 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19678 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19679 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19680 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19681 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19682 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19683 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19684 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19685 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19686 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19687 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19688 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19689 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19690 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19691 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19692 		.ilen	= 496,
19693 		.result	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19694 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19695 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19696 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19697 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19698 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19699 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19700 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19701 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19702 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19703 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19704 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19705 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19706 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19707 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19708 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19709 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19710 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19711 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19712 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19713 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19714 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19715 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19716 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19717 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19718 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19719 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19720 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19721 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19722 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19723 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19724 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19725 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19726 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19727 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19728 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19729 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19730 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19731 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19732 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19733 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19734 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19735 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19736 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19737 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19738 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19739 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19740 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19741 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19742 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19743 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19744 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19745 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19746 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19747 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19748 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19749 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19750 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19751 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19752 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19753 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19754 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19755 		.rlen	= 496,
19756 		.also_non_np = 1,
19757 		.np	= 3,
19758 		.tap	= { 496 - 20, 4, 16 },
19759 	}, { /* Generated with Crypto++ */
19760 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19761 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19762 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19763 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19764 		.klen	= 32,
19765 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19766 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19767 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19768 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19769 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19770 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19771 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19772 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19773 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19774 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19775 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19776 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19777 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19778 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19779 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19780 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19781 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19782 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19783 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19784 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19785 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19786 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19787 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19788 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19789 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19790 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19791 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19792 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19793 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19794 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19795 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19796 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19797 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19798 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19799 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19800 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19801 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19802 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19803 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19804 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19805 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19806 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19807 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19808 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19809 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19810 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19811 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19812 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19813 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19814 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19815 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19816 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19817 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19818 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19819 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19820 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19821 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19822 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19823 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19824 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19825 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19826 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19827 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19828 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19829 			  "\x7B\xE4\x4D",
19830 		.ilen	= 499,
19831 		.result	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19832 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19833 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19834 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19835 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19836 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19837 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19838 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19839 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19840 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19841 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19842 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19843 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19844 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19845 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19846 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19847 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19848 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19849 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19850 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19851 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19852 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19853 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19854 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19855 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19856 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19857 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19858 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19859 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19860 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19861 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19862 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19863 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19864 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19865 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19866 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19867 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19868 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19869 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19870 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19871 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19872 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19873 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19874 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19875 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19876 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19877 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19878 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19879 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19880 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19881 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19882 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19883 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19884 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19885 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19886 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19887 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19888 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19889 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19890 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19891 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19892 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19893 			  "\xFB\xF2\x3F",
19894 		.rlen	= 499,
19895 		.also_non_np = 1,
19896 		.np	= 2,
19897 		.tap	= { 499 - 16, 16 },
19898 	},
19899 };
19900 
19901 static const struct cipher_testvec aes_ctr_dec_tv_template[] = {
19902 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
19903 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19904 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19905 		.klen	= 16,
19906 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19907 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19908 		.input	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19909 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19910 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19911 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19912 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19913 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19914 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19915 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19916 		.ilen	= 64,
19917 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19918 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19919 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19920 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19921 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19922 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19923 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19924 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19925 		.rlen	= 64,
19926 	}, {
19927 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19928 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19929 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19930 		.klen	= 24,
19931 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19932 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19933 		.input	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19934 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19935 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19936 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19937 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19938 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19939 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19940 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19941 		.ilen	= 64,
19942 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19943 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19944 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19945 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19946 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19947 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19948 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19949 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19950 		.rlen	= 64,
19951 	}, {
19952 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19953 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19954 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19955 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19956 		.klen	= 32,
19957 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19958 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19959 		.input	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19960 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19961 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19962 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19963 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19964 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19965 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19966 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19967 		.ilen	= 64,
19968 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19969 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19970 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19971 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19972 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19973 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19974 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19975 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19976 		.rlen	= 64,
19977 	}, { /* Generated with Crypto++ */
19978 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19979 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19980 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19981 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19982 		.klen	= 32,
19983 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19984 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19985 		.input	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19986 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19987 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19988 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19989 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19990 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19991 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19992 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19993 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19994 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19995 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19996 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19997 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19998 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19999 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
20000 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
20001 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
20002 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
20003 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
20004 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
20005 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
20006 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
20007 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
20008 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
20009 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
20010 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
20011 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
20012 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
20013 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
20014 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
20015 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
20016 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
20017 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
20018 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
20019 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
20020 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
20021 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
20022 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
20023 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
20024 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
20025 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
20026 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
20027 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
20028 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
20029 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
20030 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
20031 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
20032 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
20033 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
20034 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
20035 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
20036 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
20037 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
20038 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
20039 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
20040 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
20041 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
20042 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
20043 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
20044 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
20045 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
20046 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
20047 		.ilen	= 496,
20048 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
20049 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
20050 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
20051 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
20052 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
20053 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
20054 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
20055 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
20056 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
20057 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
20058 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
20059 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
20060 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
20061 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
20062 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
20063 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
20064 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
20065 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
20066 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
20067 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
20068 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
20069 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
20070 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
20071 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
20072 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
20073 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
20074 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
20075 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
20076 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
20077 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
20078 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
20079 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
20080 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
20081 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
20082 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
20083 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
20084 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
20085 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
20086 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
20087 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
20088 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
20089 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
20090 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
20091 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
20092 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
20093 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
20094 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
20095 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
20096 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
20097 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
20098 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
20099 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
20100 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
20101 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
20102 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
20103 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
20104 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
20105 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
20106 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
20107 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
20108 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
20109 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
20110 		.rlen	= 496,
20111 		.also_non_np = 1,
20112 		.np	= 3,
20113 		.tap	= { 496 - 20, 4, 16 },
20114 	}, { /* Generated with Crypto++ */
20115 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
20116 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
20117 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
20118 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
20119 		.klen	= 32,
20120 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
20121 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
20122 		.input	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
20123 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
20124 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
20125 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
20126 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
20127 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
20128 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
20129 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
20130 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
20131 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
20132 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
20133 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
20134 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
20135 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
20136 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
20137 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
20138 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
20139 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
20140 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
20141 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
20142 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
20143 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
20144 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
20145 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
20146 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
20147 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
20148 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
20149 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
20150 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
20151 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
20152 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
20153 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
20154 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
20155 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
20156 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
20157 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
20158 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
20159 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
20160 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
20161 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
20162 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
20163 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
20164 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
20165 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
20166 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
20167 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
20168 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
20169 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
20170 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
20171 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
20172 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
20173 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
20174 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
20175 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
20176 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
20177 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
20178 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
20179 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
20180 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
20181 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
20182 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
20183 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
20184 			  "\xFB\xF2\x3F",
20185 		.ilen	= 499,
20186 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
20187 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
20188 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
20189 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
20190 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
20191 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
20192 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
20193 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
20194 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
20195 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
20196 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
20197 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
20198 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
20199 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
20200 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
20201 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
20202 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
20203 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
20204 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
20205 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
20206 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
20207 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
20208 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
20209 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
20210 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
20211 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
20212 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
20213 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
20214 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
20215 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
20216 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
20217 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
20218 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
20219 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
20220 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
20221 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
20222 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
20223 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
20224 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
20225 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
20226 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
20227 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
20228 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
20229 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
20230 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
20231 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
20232 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
20233 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
20234 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
20235 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
20236 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
20237 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
20238 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
20239 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
20240 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
20241 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
20242 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
20243 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
20244 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
20245 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
20246 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
20247 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
20248 			  "\x7B\xE4\x4D",
20249 		.rlen	= 499,
20250 		.also_non_np = 1,
20251 		.np	= 2,
20252 		.tap	= { 499 - 16, 16 },
20253 	},
20254 };
20255 
20256 static const struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
20257 	{ /* From RFC 3686 */
20258 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20259 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20260 			  "\x00\x00\x00\x30",
20261 		.klen	= 20,
20262 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
20263 		.input	= "Single block msg",
20264 		.ilen	= 16,
20265 		.result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20266 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20267 		.rlen	= 16,
20268 	}, {
20269 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20270 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20271 			  "\x00\x6c\xb6\xdb",
20272 		.klen	= 20,
20273 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20274 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20275 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20276 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20277 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20278 		.ilen	= 32,
20279 		.result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20280 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20281 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20282 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20283 		.rlen	= 32,
20284 	}, {
20285 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20286 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20287 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20288 			  "\x00\x00\x00\x48",
20289 		.klen	= 28,
20290 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20291 		.input	= "Single block msg",
20292 		.ilen	= 16,
20293 		.result	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20294 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20295 		.rlen	= 16,
20296 	}, {
20297 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20298 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20299 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20300 			  "\x00\x96\xb0\x3b",
20301 		.klen	= 28,
20302 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20303 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20304 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20305 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20306 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20307 		.ilen	= 32,
20308 		.result	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20309 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20310 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20311 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20312 		.rlen	= 32,
20313 	}, {
20314 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20315 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20316 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20317 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20318 			  "\x00\x00\x00\x60",
20319 		.klen	= 36,
20320 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20321 		.input	= "Single block msg",
20322 		.ilen	= 16,
20323 		.result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20324 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20325 		.rlen	= 16,
20326 	}, {
20327 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20328 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
20329 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20330 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20331 			  "\x00\xfa\xac\x24",
20332 		.klen	= 36,
20333 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20334 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20335 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20336 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20337 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20338 		.ilen	= 32,
20339 		.result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20340 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20341 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20342 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20343 		.rlen	= 32,
20344 	}, {
20345 	// generated using Crypto++
20346 		.key = "\x00\x01\x02\x03\x04\x05\x06\x07"
20347 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20348 			"\x10\x11\x12\x13\x14\x15\x16\x17"
20349 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
20350 			"\x00\x00\x00\x00",
20351 		.klen = 32 + 4,
20352 		.iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20353 		.input =
20354 			"\x00\x01\x02\x03\x04\x05\x06\x07"
20355 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20356 			"\x10\x11\x12\x13\x14\x15\x16\x17"
20357 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
20358 			"\x20\x21\x22\x23\x24\x25\x26\x27"
20359 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
20360 			"\x30\x31\x32\x33\x34\x35\x36\x37"
20361 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
20362 			"\x40\x41\x42\x43\x44\x45\x46\x47"
20363 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
20364 			"\x50\x51\x52\x53\x54\x55\x56\x57"
20365 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
20366 			"\x60\x61\x62\x63\x64\x65\x66\x67"
20367 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
20368 			"\x70\x71\x72\x73\x74\x75\x76\x77"
20369 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
20370 			"\x80\x81\x82\x83\x84\x85\x86\x87"
20371 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
20372 			"\x90\x91\x92\x93\x94\x95\x96\x97"
20373 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
20374 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
20375 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
20376 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
20377 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
20378 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20379 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
20380 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
20381 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
20382 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
20383 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
20384 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
20385 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
20386 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
20387 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
20388 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
20389 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
20390 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
20391 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
20392 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
20393 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
20394 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
20395 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
20396 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
20397 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
20398 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
20399 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
20400 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
20401 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
20402 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
20403 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
20404 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
20405 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
20406 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
20407 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
20408 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
20409 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
20410 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
20411 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
20412 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
20413 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
20414 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
20415 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
20416 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
20417 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
20418 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
20419 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
20420 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
20421 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
20422 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
20423 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
20424 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
20425 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
20426 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
20427 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
20428 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
20429 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
20430 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
20431 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
20432 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
20433 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
20434 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
20435 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
20436 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
20437 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
20438 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
20439 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
20440 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
20441 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
20442 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
20443 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
20444 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
20445 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
20446 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
20447 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
20448 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
20449 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
20450 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
20451 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
20452 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
20453 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
20454 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
20455 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
20456 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
20457 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
20458 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
20459 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
20460 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
20461 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
20462 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
20463 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
20464 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
20465 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
20466 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
20467 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
20468 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
20469 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
20470 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
20471 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
20472 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
20473 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
20474 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
20475 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
20476 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
20477 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
20478 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
20479 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
20480 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
20481 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
20482 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
20483 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
20484 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
20485 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
20486 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
20487 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
20488 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
20489 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
20490 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
20491 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
20492 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
20493 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
20494 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
20495 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
20496 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
20497 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
20498 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
20499 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
20500 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
20501 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
20502 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
20503 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
20504 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
20505 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
20506 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
20507 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
20508 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
20509 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
20510 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
20511 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
20512 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
20513 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
20514 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
20515 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
20516 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
20517 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
20518 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
20519 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
20520 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
20521 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
20522 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
20523 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
20524 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
20525 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
20526 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
20527 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
20528 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
20529 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
20530 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
20531 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
20532 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
20533 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
20534 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
20535 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
20536 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
20537 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
20538 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
20539 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
20540 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
20541 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
20542 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
20543 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
20544 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
20545 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
20546 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
20547 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
20548 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
20549 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
20550 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
20551 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
20552 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
20553 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
20554 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
20555 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
20556 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
20557 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
20558 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
20559 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
20560 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
20561 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
20562 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
20563 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
20564 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
20565 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
20566 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
20567 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
20568 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
20569 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
20570 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
20571 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
20572 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
20573 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
20574 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
20575 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
20576 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
20577 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
20578 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
20579 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
20580 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
20581 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
20582 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
20583 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
20584 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
20585 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
20586 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
20587 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
20588 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
20589 			"\x28\x37\x46\x55\x64\x73\x82\x91"
20590 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
20591 			"\x18\x27\x36\x45\x54\x63\x72\x81"
20592 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
20593 			"\x08\x17\x26\x35\x44\x53\x62\x71"
20594 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
20595 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
20596 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
20597 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
20598 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
20599 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
20600 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
20601 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
20602 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
20603 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
20604 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
20605 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
20606 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
20607 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
20608 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
20609 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
20610 			"\x00\x11\x22\x33\x44\x55\x66\x77"
20611 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
20612 			"\x10\x21\x32\x43\x54\x65\x76\x87"
20613 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
20614 			"\x20\x31\x42\x53\x64\x75\x86\x97"
20615 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
20616 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
20617 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
20618 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
20619 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
20620 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
20621 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
20622 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
20623 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
20624 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
20625 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
20626 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
20627 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
20628 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
20629 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
20630 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
20631 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
20632 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
20633 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
20634 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
20635 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
20636 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
20637 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
20638 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
20639 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
20640 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
20641 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
20642 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
20643 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
20644 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
20645 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
20646 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
20647 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
20648 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
20649 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
20650 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
20651 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
20652 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
20653 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
20654 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
20655 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
20656 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
20657 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
20658 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
20659 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
20660 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
20661 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
20662 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
20663 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
20664 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
20665 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
20666 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
20667 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
20668 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
20669 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
20670 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
20671 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
20672 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
20673 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
20674 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
20675 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
20676 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
20677 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
20678 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
20679 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
20680 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
20681 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
20682 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
20683 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
20684 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
20685 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
20686 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
20687 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
20688 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
20689 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
20690 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
20691 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
20692 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
20693 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
20694 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
20695 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
20696 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
20697 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
20698 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
20699 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
20700 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
20701 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
20702 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
20703 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
20704 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
20705 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
20706 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
20707 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
20708 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
20709 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
20710 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
20711 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
20712 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
20713 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
20714 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
20715 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
20716 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
20717 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
20718 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
20719 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
20720 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
20721 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
20722 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
20723 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
20724 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
20725 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20726 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20727 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20728 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20729 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20730 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20731 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20732 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20733 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20734 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20735 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20736 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20737 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20738 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20739 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20740 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20741 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20742 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20743 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20744 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20745 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20746 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20747 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20748 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20749 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20750 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20751 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20752 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20753 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20754 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20755 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20756 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20757 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20758 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20759 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20760 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20761 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20762 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20763 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20764 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20765 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20766 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20767 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20768 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20769 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20770 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20771 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20772 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20773 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20774 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20775 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20776 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20777 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20778 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20779 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20780 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20781 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20782 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20783 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20784 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20785 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20786 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20787 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20788 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20789 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20790 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20791 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20792 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20793 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20794 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20795 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20796 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20797 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20798 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20799 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20800 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20801 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20802 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20803 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20804 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20805 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20806 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20807 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20808 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20809 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20810 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20811 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20812 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20813 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20814 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20815 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20816 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20817 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20818 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20819 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20820 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20821 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20822 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20823 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20824 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20825 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20826 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20827 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20828 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20829 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
20830 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20831 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20832 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20833 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20834 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20835 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20836 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20837 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20838 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20839 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20840 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20841 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20842 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20843 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20844 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20845 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20846 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20847 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20848 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20849 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20850 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20851 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20852 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20853 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20854 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20855 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20856 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20857 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20858 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20859 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20860 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20861 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20862 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20863 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20864 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20865 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20866 			"\x00\x21\x42\x63",
20867 		.ilen = 4100,
20868 		.result =
20869 			"\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20870 			"\xae\xff\x91\x3a\x44\xcf\x38\x32"
20871 			"\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20872 			"\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20873 			"\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20874 			"\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20875 			"\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20876 			"\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20877 			"\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20878 			"\x18\xff\x75\x6d\x06\x2d\x00\xab"
20879 			"\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20880 			"\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20881 			"\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20882 			"\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20883 			"\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20884 			"\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20885 			"\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20886 			"\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20887 			"\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20888 			"\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20889 			"\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20890 			"\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20891 			"\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20892 			"\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20893 			"\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20894 			"\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20895 			"\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20896 			"\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20897 			"\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20898 			"\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20899 			"\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20900 			"\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20901 			"\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20902 			"\x6a\x25\x15\x33\x4e\x45\x08\xec"
20903 			"\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20904 			"\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20905 			"\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20906 			"\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20907 			"\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20908 			"\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20909 			"\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20910 			"\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20911 			"\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20912 			"\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20913 			"\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20914 			"\x04\x02\xef\xd3\x44\xde\x76\x31"
20915 			"\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20916 			"\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20917 			"\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20918 			"\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20919 			"\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20920 			"\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20921 			"\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20922 			"\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20923 			"\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20924 			"\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20925 			"\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20926 			"\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20927 			"\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20928 			"\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20929 			"\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20930 			"\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20931 			"\x32\x03\xed\xf0\x50\x1c\x56\x39"
20932 			"\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20933 			"\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20934 			"\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20935 			"\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20936 			"\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20937 			"\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20938 			"\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20939 			"\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20940 			"\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20941 			"\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20942 			"\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20943 			"\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20944 			"\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20945 			"\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20946 			"\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20947 			"\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20948 			"\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20949 			"\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20950 			"\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20951 			"\x69\x3a\x29\x23\xac\x86\x32\xa5"
20952 			"\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20953 			"\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20954 			"\x59\x6a\xd3\x50\x59\x43\x59\xde"
20955 			"\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20956 			"\x18\x34\x0d\x1a\x63\x33\xed\x10"
20957 			"\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20958 			"\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20959 			"\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20960 			"\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20961 			"\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20962 			"\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20963 			"\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20964 			"\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20965 			"\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20966 			"\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20967 			"\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20968 			"\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20969 			"\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20970 			"\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20971 			"\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20972 			"\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20973 			"\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20974 			"\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20975 			"\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20976 			"\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20977 			"\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20978 			"\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20979 			"\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20980 			"\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20981 			"\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20982 			"\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20983 			"\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20984 			"\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20985 			"\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20986 			"\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20987 			"\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20988 			"\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20989 			"\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20990 			"\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20991 			"\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20992 			"\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20993 			"\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20994 			"\x26\x39\x83\x94\xef\x27\xd8\x53"
20995 			"\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20996 			"\x43\x7c\x95\x0a\x53\xef\x66\xda"
20997 			"\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20998 			"\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20999 			"\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
21000 			"\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
21001 			"\x88\xee\x73\xcf\x66\x2f\x52\x56"
21002 			"\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
21003 			"\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
21004 			"\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
21005 			"\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
21006 			"\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
21007 			"\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
21008 			"\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
21009 			"\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
21010 			"\xba\x61\x34\x38\x7c\xda\x48\x3e"
21011 			"\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
21012 			"\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
21013 			"\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
21014 			"\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
21015 			"\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
21016 			"\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
21017 			"\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
21018 			"\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
21019 			"\x35\x12\xe3\x36\x28\x27\x36\x58"
21020 			"\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
21021 			"\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
21022 			"\x2b\x9f\x96\x00\x86\x60\xf0\x21"
21023 			"\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
21024 			"\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
21025 			"\x9d\x62\x79\x58\x52\xe6\x65\xb7"
21026 			"\xab\x55\x67\x9c\x89\x7c\x03\xb0"
21027 			"\x73\x59\xc5\x81\xf5\x18\x17\x5c"
21028 			"\x89\xf3\x78\x35\x44\x62\x78\x72"
21029 			"\xd0\x96\xeb\x31\xe7\x87\x77\x14"
21030 			"\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
21031 			"\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
21032 			"\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
21033 			"\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
21034 			"\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
21035 			"\xfb\x79\x2e\x04\x2d\x50\x28\x83"
21036 			"\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
21037 			"\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
21038 			"\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
21039 			"\xd2\x49\x77\x81\x6d\x90\x70\xae"
21040 			"\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
21041 			"\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
21042 			"\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
21043 			"\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
21044 			"\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
21045 			"\x45\x42\x27\x75\x50\xe5\xee\xb8"
21046 			"\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
21047 			"\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
21048 			"\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
21049 			"\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
21050 			"\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
21051 			"\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
21052 			"\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
21053 			"\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
21054 			"\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
21055 			"\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
21056 			"\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
21057 			"\xa9\x21\x2b\x92\x94\x87\x62\x57"
21058 			"\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
21059 			"\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
21060 			"\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
21061 			"\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
21062 			"\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
21063 			"\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
21064 			"\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
21065 			"\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
21066 			"\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
21067 			"\x69\x34\x78\x61\x24\x21\x9c\x8a"
21068 			"\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
21069 			"\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
21070 			"\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
21071 			"\x8a\x59\x94\x3c\xcf\x36\x27\x82"
21072 			"\xc2\x45\xee\x58\xcd\x88\xb4\xec"
21073 			"\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
21074 			"\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
21075 			"\xb1\x95\x28\x86\x20\xe9\x17\x49"
21076 			"\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
21077 			"\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
21078 			"\xdb\x7c\x73\x10\xb9\xba\x89\x76"
21079 			"\x54\xae\x7d\x71\xb3\x93\xf6\x32"
21080 			"\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
21081 			"\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
21082 			"\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
21083 			"\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
21084 			"\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
21085 			"\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
21086 			"\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
21087 			"\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
21088 			"\x79\x00\xa8\x6c\x29\xd9\x18\x24"
21089 			"\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
21090 			"\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
21091 			"\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
21092 			"\x26\x2c\x39\x52\x89\x98\xe7\x2c"
21093 			"\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
21094 			"\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
21095 			"\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
21096 			"\x32\x4d\xed\xab\xfa\x98\x14\x4e"
21097 			"\xc3\x15\x45\x53\x61\xc4\x93\xbd"
21098 			"\x90\xf4\x99\x95\x4c\xe6\x76\x92"
21099 			"\x29\x90\x46\x30\x92\x69\x7d\x13"
21100 			"\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
21101 			"\x63\x40\x36\x5f\x09\xe2\x78\xf8"
21102 			"\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
21103 			"\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
21104 			"\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
21105 			"\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
21106 			"\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
21107 			"\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
21108 			"\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
21109 			"\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
21110 			"\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
21111 			"\x05\xc4\xa6\x96\xec\x05\x98\x4f"
21112 			"\x96\x67\x57\x1f\x20\x86\x1b\x2d"
21113 			"\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
21114 			"\x88\x26\x2c\x67\x02\x4b\x52\xd0"
21115 			"\x83\x7a\x43\x1f\xc0\x71\x15\x25"
21116 			"\x77\x65\x08\x60\x11\x76\x4c\x8d"
21117 			"\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
21118 			"\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
21119 			"\x03\xd1\x24\x95\xec\x6d\xab\x38"
21120 			"\x72\xce\xe2\x8b\x33\xd7\x51\x09"
21121 			"\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
21122 			"\x84\xdc\x73\x73\x2d\x1b\x11\x98"
21123 			"\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
21124 			"\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
21125 			"\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
21126 			"\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
21127 			"\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
21128 			"\x62\x8f\x7a\x73\x32\xab\xc8\x18"
21129 			"\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
21130 			"\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
21131 			"\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
21132 			"\xde\x39\xa4\x01\x72\x63\xf3\xd1"
21133 			"\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
21134 			"\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
21135 			"\x16\xf7\xcd\x92\x9a\x99\x30\x14"
21136 			"\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
21137 			"\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
21138 			"\xe5\x79\x81\x73\xcd\x43\x59\x68"
21139 			"\x73\x02\x3b\x78\x21\x72\x43\x00"
21140 			"\x49\x17\xf7\x00\xaf\x68\x24\x53"
21141 			"\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
21142 			"\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
21143 			"\x11\x94\x13\x69\x51\x09\x28\xde"
21144 			"\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
21145 			"\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
21146 			"\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
21147 			"\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
21148 			"\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
21149 			"\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
21150 			"\x62\x03\x43\xf1\x87\xb4\xb0\x85"
21151 			"\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
21152 			"\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
21153 			"\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
21154 			"\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
21155 			"\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
21156 			"\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
21157 			"\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
21158 			"\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
21159 			"\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
21160 			"\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
21161 			"\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
21162 			"\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
21163 			"\x69\xdc\xab\x24\x57\x60\x47\xc1"
21164 			"\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
21165 			"\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
21166 			"\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
21167 			"\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
21168 			"\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
21169 			"\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
21170 			"\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
21171 			"\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
21172 			"\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
21173 			"\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
21174 			"\x63\x19\x3d\xd5\xec\x1b\x77\x69"
21175 			"\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
21176 			"\x85\x62\x82\x70\x18\xe2\x9a\x78"
21177 			"\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
21178 			"\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
21179 			"\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
21180 			"\x35\xf3\x61\x06\x72\x84\xc4\x32"
21181 			"\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
21182 			"\x04\xc2\xde\x57\x64\x60\x8d\xcf"
21183 			"\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
21184 			"\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
21185 			"\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
21186 			"\xb3\x71\xa0\xde\xca\x96\xf1\x78"
21187 			"\x49\xa2\x99\x81\x80\x5c\x01\xf5"
21188 			"\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
21189 			"\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
21190 			"\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
21191 			"\x4f\x73\x38\x09\x75\x64\x48\xe0"
21192 			"\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
21193 			"\xfe\x16\x26\x62\x49\x74\xf4\xb0"
21194 			"\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
21195 			"\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
21196 			"\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
21197 			"\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
21198 			"\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
21199 			"\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
21200 			"\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
21201 			"\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
21202 			"\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
21203 			"\xef\xa0\x54\xe4\x5e\x16\x53\x81"
21204 			"\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
21205 			"\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
21206 			"\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
21207 			"\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
21208 			"\x53\x5d\x86\xd6\xde\x65\xca\xe3"
21209 			"\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
21210 			"\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
21211 			"\x37\x7a\x93\x7a\x50\x11\x9f\x96"
21212 			"\x86\x25\xfd\xac\xdc\xbe\x18\x93"
21213 			"\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
21214 			"\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
21215 			"\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
21216 			"\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
21217 			"\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
21218 			"\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
21219 			"\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
21220 			"\xce\x4d\x5f\x18\x60\xce\x87\x22"
21221 			"\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
21222 			"\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
21223 			"\x32\xd8\xaf\x1e\x07\x77\x51\x96"
21224 			"\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
21225 			"\xea\x17\x0b\x10\xd2\x3f\x28\x25"
21226 			"\x4f\x05\x77\x02\x14\x69\xf0\x2c"
21227 			"\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
21228 			"\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
21229 			"\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
21230 			"\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
21231 			"\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
21232 			"\x64\xc0\x64\xda\xb1\xae\xdd\x60"
21233 			"\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
21234 			"\x92\x61\xd0\x48\x81\xed\x5e\x1d"
21235 			"\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
21236 			"\x7f\x83\x73\xb6\x70\x18\x65\x3e"
21237 			"\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
21238 			"\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
21239 			"\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
21240 			"\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
21241 			"\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
21242 			"\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
21243 			"\xa7\x22\xec\xe2\x7e\x29\x09\x53"
21244 			"\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
21245 			"\xce\x54\xf9\x18\x58\xb5\xff\x44"
21246 			"\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
21247 			"\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
21248 			"\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
21249 			"\xff\xfd\xb0\x21\x6e\x57\x05\x75"
21250 			"\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
21251 			"\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
21252 			"\x80\x8c\xc8\x78\x40\x24\x4b\x89"
21253 			"\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
21254 			"\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
21255 			"\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
21256 			"\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
21257 			"\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
21258 			"\x0c\xd6\x04\x14\xde\x51\x74\x75"
21259 			"\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
21260 			"\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
21261 			"\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
21262 			"\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
21263 			"\x75\x46\x65\x4e\x07\x34\x37\xa3"
21264 			"\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
21265 			"\x69\x24\x0e\x38\x67\x43\x8c\xde"
21266 			"\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
21267 			"\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
21268 			"\x64\xb1\xdb\xee\x00\x50\x77\xe1"
21269 			"\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
21270 			"\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
21271 			"\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
21272 			"\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
21273 			"\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
21274 			"\x91\x7d\x62\x64\x96\x72\xde\xfc"
21275 			"\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
21276 			"\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
21277 			"\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
21278 			"\x98\x81\x84\x4f\x15\x5c\x76\xe7"
21279 			"\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
21280 			"\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
21281 			"\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
21282 			"\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
21283 			"\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
21284 			"\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
21285 			"\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
21286 			"\xb1\xb2\x52\x94\x75\x2c\x29\x59"
21287 			"\x06\xc2\x25\xe8\x71\x65\x4e\xed"
21288 			"\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
21289 			"\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
21290 			"\xe0\x50\x40\x96\x35\x63\xe4\x0b"
21291 			"\x76\xbd\xa4\x65\x00\x1b\x57\x88"
21292 			"\xae\xed\x39\x88\x42\x11\x3c\xed"
21293 			"\x85\x67\x7d\xb9\x68\x82\xe9\x43"
21294 			"\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
21295 			"\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
21296 			"\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
21297 			"\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
21298 			"\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
21299 			"\xce\x20\x56\x32\xc6\xc5\x99\x1f"
21300 			"\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
21301 			"\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
21302 			"\x66\xf8\x3d\x18\x74\x70\x66\x7a"
21303 			"\x34\x17\xde\xba\x47\xf1\x06\x18"
21304 			"\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
21305 			"\xe0\x3b\x78\x62\x66\xc9\x10\xea"
21306 			"\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
21307 			"\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
21308 			"\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
21309 			"\x63\x4f\x20\x0c\x07\x17\x33\x5e"
21310 			"\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
21311 			"\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
21312 			"\x58\xef\x15\xa9\x83\xd9\x46\xb1"
21313 			"\x42\xaa\xf5\x02\x6c\xce\x92\x06"
21314 			"\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
21315 			"\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
21316 			"\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
21317 			"\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
21318 			"\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
21319 			"\xb6\x67\xc7\x77\xed\x23\xef\x4c"
21320 			"\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
21321 			"\x34\x37\x08\xab\xd9\x1f\x09\xb1"
21322 			"\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
21323 			"\x2c\x56\x39\x79\x0f\x69\x44\x75"
21324 			"\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
21325 			"\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
21326 			"\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
21327 			"\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
21328 			"\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
21329 			"\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
21330 			"\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
21331 			"\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
21332 			"\x63\x9b\xce\x61\x24\x79\xc0\x70"
21333 			"\x52\xd0\xb6\xd4\x28\x95\x24\x87"
21334 			"\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
21335 			"\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
21336 			"\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
21337 			"\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
21338 			"\x74\x56\x58\x40\x02\x37\x52\x2c"
21339 			"\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
21340 			"\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
21341 			"\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
21342 			"\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
21343 			"\x24\x90\xec\x58\xd2\x09\xc7\x2d"
21344 			"\xed\x38\x80\x36\x72\x43\x27\x49"
21345 			"\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
21346 			"\x7d\xb6\x82\x37\x86\x92\x86\x3e"
21347 			"\x08\xb2\x28\x5a\x55\x44\x24\x7d"
21348 			"\x40\x48\x8a\xb6\x89\x58\x08\xa0"
21349 			"\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
21350 			"\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
21351 			"\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
21352 			"\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
21353 			"\x14\x32\x45\x05\xe0\xdb\x9f\x75"
21354 			"\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
21355 			"\x12\xee\x30\xfe\xd8\x30\xef\x34"
21356 			"\x50\xab\x46\x30\x98\x2f\xb7\xc0"
21357 			"\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
21358 			"\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
21359 			"\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
21360 			"\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
21361 			"\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
21362 			"\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
21363 			"\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
21364 			"\x02\x9d\x27\x1f\xef\x85\x05\x8d"
21365 			"\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
21366 			"\xa1\x75\xa0\xd8\x06\x47\x14\xef"
21367 			"\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
21368 			"\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
21369 			"\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
21370 			"\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
21371 			"\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
21372 			"\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
21373 			"\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
21374 			"\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
21375 			"\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
21376 			"\x44\x12\xfb\x73\x77\xd4\x13\x39"
21377 			"\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
21378 			"\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
21379 			"\x41\x01\x18\x5d\x5d\x07\x97\xa6"
21380 			"\x4b\xef\x31\x18\xea\xac\xb1\x84"
21381 			"\x21\xed\xda\x86",
21382 		.rlen = 4100,
21383 		.np	= 2,
21384 		.tap	= { 4064, 36 },
21385 	},
21386 };
21387 
21388 static const struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
21389 	{ /* From RFC 3686 */
21390 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
21391 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
21392 			  "\x00\x00\x00\x30",
21393 		.klen	= 20,
21394 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
21395 		.input	= "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
21396 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
21397 		.ilen	= 16,
21398 		.result	= "Single block msg",
21399 		.rlen	= 16,
21400 	}, {
21401 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
21402 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
21403 			  "\x00\x6c\xb6\xdb",
21404 		.klen	= 20,
21405 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
21406 		.input	= "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
21407 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
21408 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
21409 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
21410 		.ilen	= 32,
21411 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
21412 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21413 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
21414 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
21415 		.rlen	= 32,
21416 	}, {
21417 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
21418 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
21419 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
21420 			  "\x00\x00\x00\x48",
21421 		.klen	= 28,
21422 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
21423 		.input	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
21424 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
21425 		.ilen	= 16,
21426 		.result	= "Single block msg",
21427 		.rlen	= 16,
21428 	}, {
21429 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
21430 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
21431 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
21432 			  "\x00\x96\xb0\x3b",
21433 		.klen	= 28,
21434 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
21435 		.input	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
21436 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
21437 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
21438 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
21439 		.ilen	= 32,
21440 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
21441 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21442 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
21443 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
21444 		.rlen	= 32,
21445 	}, {
21446 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
21447 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
21448 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
21449 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
21450 			  "\x00\x00\x00\x60",
21451 		.klen	= 36,
21452 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
21453 		.input	= "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
21454 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
21455 		.ilen	= 16,
21456 		.result	= "Single block msg",
21457 		.rlen	= 16,
21458 	}, {
21459 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
21460 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
21461 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
21462 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
21463 			  "\x00\xfa\xac\x24",
21464 		.klen	= 36,
21465 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
21466 		.input	= "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
21467 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
21468 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
21469 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
21470 		.ilen	= 32,
21471 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
21472 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21473 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
21474 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
21475 		.rlen	= 32,
21476 	},
21477 };
21478 
21479 static const struct cipher_testvec aes_ofb_enc_tv_template[] = {
21480 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
21481 	{
21482 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
21483 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
21484 		.klen	= 16,
21485 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
21486 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
21487 		.input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
21488 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
21489 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
21490 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
21491 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
21492 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
21493 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
21494 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
21495 		.ilen	= 64,
21496 		.result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
21497 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
21498 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
21499 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
21500 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
21501 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
21502 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
21503 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
21504 		.rlen	= 64,
21505 	}
21506 };
21507 
21508 static const struct cipher_testvec aes_ofb_dec_tv_template[] = {
21509 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
21510 	{
21511 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
21512 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
21513 		.klen	= 16,
21514 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
21515 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
21516 		.input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
21517 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
21518 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
21519 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
21520 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
21521 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
21522 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
21523 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
21524 		.ilen	= 64,
21525 		.result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
21526 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
21527 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
21528 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
21529 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
21530 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
21531 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
21532 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
21533 		.rlen	= 64,
21534 	}
21535 };
21536 
21537 static const struct aead_testvec aes_gcm_enc_tv_template[] = {
21538 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21539 		.key    = zeroed_string,
21540 		.klen	= 16,
21541 		.result	= "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
21542 			  "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
21543 		.rlen	= 16,
21544 	}, {
21545 		.key    = zeroed_string,
21546 		.klen	= 16,
21547 		.input  = zeroed_string,
21548 		.ilen	= 16,
21549 		.result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
21550 			  "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
21551 			  "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
21552 			  "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
21553 		.rlen	= 32,
21554 	}, {
21555 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21556 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21557 		.klen	= 16,
21558 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21559 			  "\xde\xca\xf8\x88",
21560 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21561 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21562 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21563 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21564 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21565 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21566 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21567 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21568 		.ilen	= 64,
21569 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21570 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21571 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21572 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21573 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21574 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21575 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21576 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21577 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21578 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21579 		.rlen	= 80,
21580 	}, {
21581 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21582 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21583 		.klen	= 16,
21584 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21585 			  "\xde\xca\xf8\x88",
21586 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21587 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21588 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21589 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21590 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21591 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21592 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21593 			  "\xba\x63\x7b\x39",
21594 		.ilen	= 60,
21595 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21596 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21597 			  "\xab\xad\xda\xd2",
21598 		.alen	= 20,
21599 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21600 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21601 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21602 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21603 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21604 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21605 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21606 			  "\x3d\x58\xe0\x91"
21607 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21608 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21609 		.rlen	= 76,
21610 	}, {
21611 		.key    = zeroed_string,
21612 		.klen	= 24,
21613 		.result	= "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
21614 			  "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
21615 		.rlen	= 16,
21616 	}, {
21617 		.key    = zeroed_string,
21618 		.klen	= 24,
21619 		.input  = zeroed_string,
21620 		.ilen	= 16,
21621 		.result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21622 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21623 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21624 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21625 		.rlen	= 32,
21626 	}, {
21627 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21628 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21629 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21630 		.klen	= 24,
21631 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21632 			  "\xde\xca\xf8\x88",
21633 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21634 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21635 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21636 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21637 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21638 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21639 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21640 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21641 		.ilen	= 64,
21642 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21643 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21644 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21645 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21646 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21647 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21648 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21649 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21650 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21651 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21652 		.rlen	= 80,
21653 	}, {
21654 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21655 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21656 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21657 		.klen	= 24,
21658 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21659 			  "\xde\xca\xf8\x88",
21660 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21661 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21662 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21663 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21664 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21665 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21666 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21667 			  "\xba\x63\x7b\x39",
21668 		.ilen	= 60,
21669 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21670 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21671 			  "\xab\xad\xda\xd2",
21672 		.alen	= 20,
21673 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21674 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21675 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21676 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21677 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21678 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21679 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21680 			  "\xcc\xda\x27\x10"
21681 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21682 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21683 		.rlen	= 76,
21684 		.np	= 2,
21685 		.tap	= { 32, 28 },
21686 		.anp	= 2,
21687 		.atap	= { 8, 12 }
21688 	}, {
21689 		.key    = zeroed_string,
21690 		.klen	= 32,
21691 		.result	= "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
21692 			  "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
21693 		.rlen	= 16,
21694 	}
21695 };
21696 
21697 static const struct aead_testvec aes_gcm_dec_tv_template[] = {
21698 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21699 		.key    = zeroed_string,
21700 		.klen	= 32,
21701 		.input	= "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
21702 			  "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
21703 			  "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
21704 			  "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
21705 		.ilen	= 32,
21706 		.result  = zeroed_string,
21707 		.rlen	= 16,
21708 	}, {
21709 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21710 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21711 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21712 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21713 		.klen	= 32,
21714 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21715 			  "\xde\xca\xf8\x88",
21716 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21717 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21718 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21719 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21720 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21721 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21722 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21723 			  "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
21724 			  "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
21725 			  "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
21726 		.ilen	= 80,
21727 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21728 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21729 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21730 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21731 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21732 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21733 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21734 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21735 		.rlen	= 64,
21736 	}, {
21737 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21738 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21739 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21740 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21741 		.klen	= 32,
21742 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21743 			  "\xde\xca\xf8\x88",
21744 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21745 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21746 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21747 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21748 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21749 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21750 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21751 			  "\xbc\xc9\xf6\x62"
21752 			  "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
21753 			  "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
21754 		.ilen	= 76,
21755 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21756 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21757 			  "\xab\xad\xda\xd2",
21758 		.alen	= 20,
21759 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21760 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21761 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21762 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21763 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21764 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21765 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21766 			  "\xba\x63\x7b\x39",
21767 		.rlen	= 60,
21768 		.np     = 2,
21769 		.tap    = { 48, 28 },
21770 		.anp	= 3,
21771 		.atap	= { 8, 8, 4 }
21772 	}, {
21773 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21774 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21775 		.klen	= 16,
21776 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21777 			  "\xde\xca\xf8\x88",
21778 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21779 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21780 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21781 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21782 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21783 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21784 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21785 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21786 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21787 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21788 		.ilen	= 80,
21789 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21790 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21791 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21792 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21793 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21794 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21795 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21796 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21797 		.rlen	= 64,
21798 	}, {
21799 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21800 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21801 		.klen	= 16,
21802 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21803 			  "\xde\xca\xf8\x88",
21804 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21805 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21806 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21807 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21808 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21809 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21810 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21811 			  "\x3d\x58\xe0\x91"
21812 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21813 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21814 		.ilen	= 76,
21815 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21816 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21817 			  "\xab\xad\xda\xd2",
21818 		.alen	= 20,
21819 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21820 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21821 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21822 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21823 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21824 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21825 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21826 			  "\xba\x63\x7b\x39",
21827 		.rlen	= 60,
21828 	}, {
21829 		.key    = zeroed_string,
21830 		.klen	= 24,
21831 		.input	= "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21832 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21833 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21834 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21835 		.ilen	= 32,
21836 		.result  = zeroed_string,
21837 		.rlen	= 16,
21838 	}, {
21839 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21840 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21841 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21842 		.klen	= 24,
21843 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21844 			  "\xde\xca\xf8\x88",
21845 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21846 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21847 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21848 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21849 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21850 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21851 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21852 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21853 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21854 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21855 		.ilen	= 80,
21856 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21857 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21858 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21859 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21860 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21861 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21862 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21863 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21864 		.rlen	= 64,
21865 	}, {
21866 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21867 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21868 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21869 		.klen	= 24,
21870 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21871 			  "\xde\xca\xf8\x88",
21872 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21873 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21874 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21875 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21876 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21877 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21878 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21879 			  "\xcc\xda\x27\x10"
21880 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21881 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21882 		.ilen	= 76,
21883 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21884 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21885 			  "\xab\xad\xda\xd2",
21886 		.alen	= 20,
21887 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21888 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21889 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21890 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21891 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21892 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21893 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21894 			  "\xba\x63\x7b\x39",
21895 		.rlen	= 60,
21896 	}
21897 };
21898 
21899 static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
21900 	{ /* Generated using Crypto++ */
21901 		.key    = zeroed_string,
21902 		.klen	= 20,
21903 		.iv	= zeroed_string,
21904 		.input  = zeroed_string,
21905 		.ilen   = 16,
21906 		.assoc  = zeroed_string,
21907 		.alen   = 16,
21908 		.result	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21909 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21910 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21911 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21912 		.rlen	= 32,
21913 	},{
21914 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21915 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21916 			  "\x00\x00\x00\x00",
21917 		.klen	= 20,
21918 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21919 		.input  = zeroed_string,
21920 		.ilen   = 16,
21921 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21922 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21923 		.alen   = 16,
21924 		.result	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21925 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21926 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21927 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21928 		.rlen	= 32,
21929 
21930 	}, {
21931 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21932 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21933 			  "\x00\x00\x00\x00",
21934 		.klen	= 20,
21935 		.iv     = zeroed_string,
21936 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21937 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21938 		.ilen   = 16,
21939 		.assoc  = zeroed_string,
21940 		.alen   = 16,
21941 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21942 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21943 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21944 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21945 		.rlen	= 32,
21946 	}, {
21947 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21948 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21949 			  "\x00\x00\x00\x00",
21950 		.klen	= 20,
21951 		.iv     = zeroed_string,
21952 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21953 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21954 		.ilen   = 16,
21955 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21956 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21957 		.alen   = 16,
21958 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21959 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21960 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21961 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21962 		.rlen	= 32,
21963 	}, {
21964 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21965 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21966 			  "\x00\x00\x00\x00",
21967 		.klen	= 20,
21968 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21969 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21970 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21971 		.ilen   = 16,
21972 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21973 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21974 		.alen   = 16,
21975 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21976 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21977 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21978 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21979 		.rlen	= 32,
21980 	}, {
21981 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21982 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21983 			  "\x00\x00\x00\x00",
21984 		.klen	= 20,
21985 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21986 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21987 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21988 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21989 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21990 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21991 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21992 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21993 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21994 		.ilen   = 64,
21995 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21996 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21997 		.alen   = 16,
21998 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21999 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22000 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
22001 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
22002 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
22003 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
22004 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
22005 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
22006 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
22007 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
22008 		.rlen	= 80,
22009 	}, {
22010 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
22011 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22012 			  "\x00\x00\x00\x00",
22013 		.klen	= 20,
22014 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22015 		.input  = "\xff\xff\xff\xff\xff\xff\xff\xff"
22016 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22017 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22018 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22019 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22020 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22021 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22022 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22023 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22024 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22025 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22026 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22027 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22028 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22029 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22030 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22031 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22032 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22033 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22034 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22035 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22036 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22037 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22038 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
22039 		.ilen   = 192,
22040 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22041 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22042 			  "\x89\xab\xcd\xef",
22043 		.alen   = 20,
22044 		.result	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
22045 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
22046 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
22047 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
22048 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
22049 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
22050 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
22051 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
22052 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22053 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22054 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22055 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22056 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22057 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22058 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22059 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22060 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22061 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22062 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22063 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22064 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22065 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22066 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22067 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22068 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22069 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22070 		.rlen	= 208,
22071 	}, { /* From draft-mcgrew-gcm-test-01 */
22072 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22073 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22074 			  "\x2E\x44\x3B\x68",
22075 		.klen	= 20,
22076 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22077 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
22078 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22079 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22080 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
22081 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
22082 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
22083 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
22084 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
22085 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
22086 		.ilen	= 72,
22087 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22088 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
22089 			  "\x3B\x24\x4C\xFE",
22090 		.alen	= 20,
22091 		.result	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22092 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22093 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22094 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22095 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22096 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22097 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22098 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22099 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22100 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22101 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22102 		.rlen	= 88,
22103 	}, {
22104 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22105 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22106 			  "\xCA\xFE\xBA\xBE",
22107 		.klen	= 20,
22108 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22109 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22110 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22111 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22112 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22113 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
22114 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
22115 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
22116 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
22117 		.ilen	= 64,
22118 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22119 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22120 		.alen	= 16,
22121 		.result	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22122 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22123 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22124 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22125 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22126 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22127 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22128 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22129 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22130 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22131 		.rlen	= 80,
22132 	}, {
22133 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22134 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22135 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22136 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22137 			  "\x11\x22\x33\x44",
22138 		.klen	= 36,
22139 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
22140 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
22141 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22142 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22143 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22144 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
22145 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
22146 			  "\x01\x02\x02\x01",
22147 		.ilen	= 52,
22148 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22149 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
22150 		.alen	= 16,
22151 		.result	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22152 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22153 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22154 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22155 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22156 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22157 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22158 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22159 			  "\x15\x95\x6C\x96",
22160 		.rlen	= 68,
22161 	}, {
22162 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
22163 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
22164 			  "\x00\x00\x00\x00",
22165 		.klen	= 20,
22166 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
22167 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22168 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22169 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
22170 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
22171 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22172 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22173 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22174 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22175 		.ilen	= 64,
22176 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
22177 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22178 		.alen	= 16,
22179 		.result	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22180 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22181 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22182 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22183 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22184 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22185 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22186 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22187 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22188 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22189 		.rlen	= 80,
22190 	}, {
22191 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22192 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22193 			  "\x57\x69\x0E\x43",
22194 		.klen	= 20,
22195 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22196 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22197 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22198 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
22199 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
22200 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22201 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22202 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22203 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22204 		.ilen	= 64,
22205 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22206 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22207 			  "\xA2\xFC\xA1\xA3",
22208 		.alen	= 20,
22209 		.result	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22210 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22211 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22212 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22213 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22214 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22215 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22216 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22217 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22218 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22219 		.rlen	= 80,
22220 	}, {
22221 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22222 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22223 			  "\x57\x69\x0E\x43",
22224 		.klen	= 20,
22225 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22226 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22227 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22228 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22229 			  "\x01\x02\x02\x01",
22230 		.ilen	= 28,
22231 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22232 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22233 			  "\xA2\xFC\xA1\xA3",
22234 		.alen	= 20,
22235 		.result	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22236 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22237 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22238 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22239 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22240 			  "\xE7\xD0\x5D\x35",
22241 		.rlen	= 44,
22242 	}, {
22243 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22244 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22245 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22246 			  "\xCA\xFE\xBA\xBE",
22247 		.klen	= 28,
22248 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22249 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22250 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22251 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22252 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22253 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
22254 		.ilen	= 40,
22255 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22256 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22257 		.alen	= 16,
22258 		.result	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22259 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22260 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22261 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22262 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22263 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22264 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22265 		.rlen	= 56,
22266 	}, {
22267 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22268 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22269 			  "\xDE\xCA\xF8\x88",
22270 		.klen	= 20,
22271 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22272 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
22273 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22274 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22275 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22276 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22277 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22278 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22279 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22280 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22281 			  "\x23\x01\x01\x01",
22282 		.ilen	= 76,
22283 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22284 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22285 			  "\xCE\xFA\xCE\x74",
22286 		.alen	= 20,
22287 		.result	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22288 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22289 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22290 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22291 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22292 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22293 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22294 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22295 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22296 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22297 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22298 			  "\x69\x62\x34\x36",
22299 		.rlen	= 92,
22300 	}, {
22301 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22302 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22303 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22304 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22305 			  "\x73\x61\x6C\x74",
22306 		.klen	= 36,
22307 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22308 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
22309 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22310 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22311 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22312 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22313 		.ilen	= 40,
22314 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22315 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22316 			  "\x69\x76\x65\x63",
22317 		.alen	= 20,
22318 		.result	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22319 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22320 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22321 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22322 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22323 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22324 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22325 		.rlen	= 56,
22326 	}, {
22327 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22328 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22329 			  "\x57\x69\x0E\x43",
22330 		.klen	= 20,
22331 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22332 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
22333 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22334 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22335 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22336 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22337 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22338 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22339 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22340 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22341 			  "\x15\x01\x01\x01",
22342 		.ilen	= 76,
22343 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22344 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22345 			  "\xA2\xFC\xA1\xA3",
22346 		.alen	= 20,
22347 		.result	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22348 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22349 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22350 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22351 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22352 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22353 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22354 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22355 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22356 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22357 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22358 			  "\x8C\xAA\x81\xE2",
22359 		.rlen	= 92,
22360 	}, {
22361 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22362 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22363 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22364 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22365 			  "\x73\x61\x6C\x74",
22366 		.klen	= 36,
22367 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22368 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
22369 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
22370 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
22371 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
22372 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22373 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
22374 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22375 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22376 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
22377 		.ilen	= 72,
22378 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22379 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22380 			  "\x69\x76\x65\x63",
22381 		.alen	= 20,
22382 		.result	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22383 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22384 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22385 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22386 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22387 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22388 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22389 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22390 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22391 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22392 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22393 		.rlen	= 88,
22394 	}, {
22395 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22396 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22397 			  "\xD9\x66\x42\x67",
22398 		.klen	= 20,
22399 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22400 		.input	= "\x01\x02\x02\x01",
22401 		.ilen	= 4,
22402 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22403 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22404 		.alen	= 16,
22405 		.result	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22406 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22407 			  "\x04\xBE\xF2\x70",
22408 		.rlen	= 20,
22409 	}, {
22410 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22411 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22412 			  "\xDE\xCA\xF8\x88",
22413 		.klen	= 20,
22414 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22415 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22416 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22417 			  "\x62\x65\x00\x01",
22418 		.ilen	= 20,
22419 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22420 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22421 			  "\xCE\xFA\xCE\x74",
22422 		.alen	= 20,
22423 		.result	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22424 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22425 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
22426 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22427 			  "\x43\xAF\x8C\x3E",
22428 		.rlen	= 36,
22429 	}, {
22430 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22431 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22432 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22433 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
22434 			  "\x74\x75\x72\x6E",
22435 		.klen	= 36,
22436 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
22437 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22438 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22439 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22440 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22441 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22442 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22443 			  "\x01\x02\x02\x01",
22444 		.ilen	= 52,
22445 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22446 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22447 			  "\x67\x65\x74\x6D",
22448 		.alen	= 20,
22449 		.result	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22450 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22451 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22452 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22453 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22454 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22455 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22456 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22457 			  "\x9F\xB4\xC0\x53",
22458 		.rlen	= 68,
22459 	}, {
22460 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22461 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22462 			  "\x57\x69\x0E\x43",
22463 		.klen	= 20,
22464 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22465 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22466 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22467 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22468 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22469 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22470 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22471 			  "\x01\x02\x02\x01",
22472 		.ilen	= 52,
22473 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22474 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22475 			  "\xA2\xFC\xA1\xA3",
22476 		.alen	= 20,
22477 		.result	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22478 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22479 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22480 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22481 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22482 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22483 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22484 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22485 			  "\x40\xD7\xCB\x05",
22486 		.rlen	= 68,
22487 	}, {
22488 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22489 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22490 			  "\x22\x43\x3C\x64",
22491 		.klen	= 20,
22492 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22493 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22494 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
22495 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22496 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
22497 		.ilen	= 32,
22498 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22499 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22500 			  "\x3A\x23\x4B\xFD",
22501 		.alen	= 20,
22502 		.result	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22503 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22504 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22505 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22506 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22507 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22508 		.rlen	= 48,
22509 	}
22510 };
22511 
22512 static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
22513 	{ /* Generated using Crypto++ */
22514 		.key    = zeroed_string,
22515 		.klen	= 20,
22516 		.iv     = zeroed_string,
22517 		.input	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
22518 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
22519 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
22520 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
22521 		.ilen	= 32,
22522 		.assoc  = zeroed_string,
22523 		.alen   = 16,
22524 		.result = zeroed_string,
22525 		.rlen   = 16,
22526 
22527 	},{
22528 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22529 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22530 			  "\x00\x00\x00\x00",
22531 		.klen	= 20,
22532 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22533 		.input	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
22534 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
22535 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
22536 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
22537 		.ilen	= 32,
22538 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
22539 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
22540 		.alen   = 16,
22541 		.result = zeroed_string,
22542 		.rlen   = 16,
22543 	}, {
22544 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22545 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22546 			  "\x00\x00\x00\x00",
22547 		.klen	= 20,
22548 		.iv     = zeroed_string,
22549 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
22550 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
22551 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
22552 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
22553 		.ilen	= 32,
22554 		.assoc  = zeroed_string,
22555 		.alen   = 16,
22556 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22557 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
22558 		.rlen   = 16,
22559 	}, {
22560 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22561 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22562 			  "\x00\x00\x00\x00",
22563 		.klen	= 20,
22564 		.iv     = zeroed_string,
22565 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
22566 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
22567 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
22568 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
22569 		.ilen	= 32,
22570 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22571 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22572 		.alen   = 16,
22573 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22574 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
22575 		.rlen   = 16,
22576 
22577 	}, {
22578 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22579 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22580 			  "\x00\x00\x00\x00",
22581 		.klen	= 20,
22582 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22583 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
22584 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22585 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
22586 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
22587 		.ilen	= 32,
22588 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22589 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
22590 		.alen   = 16,
22591 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22592 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
22593 		.rlen   = 16,
22594 	}, {
22595 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22596 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22597 			  "\x00\x00\x00\x00",
22598 		.klen	= 20,
22599 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
22600 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
22601 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22602 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
22603 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
22604 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
22605 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
22606 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
22607 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
22608 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
22609 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
22610 		.ilen	= 80,
22611 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
22612 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
22613 		.alen   = 16,
22614 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22615 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22616 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22617 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22618 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22619 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22620 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22621 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
22622 		.rlen   = 64,
22623 	}, {
22624 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
22625 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22626 			  "\x00\x00\x00\x00",
22627 		.klen	= 20,
22628 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22629 		.input	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
22630 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
22631 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
22632 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
22633 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
22634 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
22635 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
22636 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
22637 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22638 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22639 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22640 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22641 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22642 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22643 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22644 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22645 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22646 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22647 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22648 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22649 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22650 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22651 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22652 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22653 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22654 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22655 		.ilen	= 208,
22656 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22657 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22658 			  "\x89\xab\xcd\xef",
22659 		.alen   = 20,
22660 		.result = "\xff\xff\xff\xff\xff\xff\xff\xff"
22661 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22662 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22663 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22664 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22665 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22666 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22667 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22668 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22669 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22670 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22671 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22672 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22673 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22674 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22675 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22676 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22677 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22678 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22679 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22680 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22681 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22682 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22683 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
22684 		.rlen   = 192,
22685 	}, {
22686 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22687 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22688 			  "\x2E\x44\x3B\x68",
22689 		.klen	= 20,
22690 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22691 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
22692 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22693 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22694 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
22695 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
22696 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
22697 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
22698 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
22699 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
22700 		.rlen	= 72,
22701 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22702 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
22703 			  "\x3B\x24\x4C\xFE",
22704 		.alen	= 20,
22705 		.input	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22706 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22707 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22708 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22709 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22710 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22711 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22712 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22713 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22714 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22715 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22716 		.ilen	= 88,
22717 	}, {
22718 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22719 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22720 			  "\xCA\xFE\xBA\xBE",
22721 		.klen	= 20,
22722 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22723 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22724 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22725 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22726 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22727 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
22728 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
22729 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
22730 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
22731 		.rlen	= 64,
22732 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22733 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22734 		.alen	= 16,
22735 		.input	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22736 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22737 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22738 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22739 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22740 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22741 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22742 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22743 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22744 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22745 		.ilen	= 80,
22746 	}, {
22747 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22748 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22749 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22750 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22751 			  "\x11\x22\x33\x44",
22752 		.klen	= 36,
22753 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
22754 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
22755 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22756 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22757 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22758 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
22759 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
22760 			  "\x01\x02\x02\x01",
22761 		.rlen	= 52,
22762 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22763 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
22764 		.alen	= 16,
22765 		.input	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22766 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22767 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22768 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22769 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22770 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22771 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22772 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22773 			  "\x15\x95\x6C\x96",
22774 		.ilen	= 68,
22775 	}, {
22776 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
22777 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
22778 			  "\x00\x00\x00\x00",
22779 		.klen	= 20,
22780 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
22781 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22782 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22783 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
22784 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
22785 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22786 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22787 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22788 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22789 		.rlen	= 64,
22790 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
22791 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22792 		.alen	= 16,
22793 		.input	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22794 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22795 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22796 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22797 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22798 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22799 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22800 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22801 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22802 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22803 		.ilen	= 80,
22804 	}, {
22805 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22806 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22807 			  "\x57\x69\x0E\x43",
22808 		.klen	= 20,
22809 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22810 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22811 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22812 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
22813 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
22814 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22815 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22816 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22817 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22818 		.rlen	= 64,
22819 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22820 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22821 			  "\xA2\xFC\xA1\xA3",
22822 		.alen	= 20,
22823 		.input	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22824 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22825 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22826 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22827 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22828 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22829 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22830 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22831 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22832 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22833 		.ilen	= 80,
22834 	}, {
22835 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22836 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22837 			  "\x57\x69\x0E\x43",
22838 		.klen	= 20,
22839 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22840 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22841 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22842 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22843 			  "\x01\x02\x02\x01",
22844 		.rlen	= 28,
22845 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22846 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22847 			  "\xA2\xFC\xA1\xA3",
22848 		.alen	= 20,
22849 		.input	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22850 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22851 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22852 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22853 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22854 			  "\xE7\xD0\x5D\x35",
22855 		.ilen	= 44,
22856 	}, {
22857 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22858 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22859 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22860 			  "\xCA\xFE\xBA\xBE",
22861 		.klen	= 28,
22862 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22863 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22864 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22865 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22866 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22867 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
22868 		.rlen	= 40,
22869 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22870 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22871 		.alen	= 16,
22872 		.input	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22873 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22874 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22875 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22876 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22877 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22878 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22879 		.ilen	= 56,
22880 	}, {
22881 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22882 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22883 			  "\xDE\xCA\xF8\x88",
22884 		.klen	= 20,
22885 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22886 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
22887 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22888 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22889 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22890 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22891 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22892 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22893 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22894 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22895 			  "\x23\x01\x01\x01",
22896 		.rlen	= 76,
22897 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22898 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22899 			  "\xCE\xFA\xCE\x74",
22900 		.alen	= 20,
22901 		.input	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22902 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22903 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22904 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22905 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22906 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22907 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22908 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22909 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22910 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22911 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22912 			  "\x69\x62\x34\x36",
22913 		.ilen	= 92,
22914 	}, {
22915 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22916 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22917 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22918 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22919 			  "\x73\x61\x6C\x74",
22920 		.klen	= 36,
22921 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22922 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
22923 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22924 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22925 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22926 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22927 		.rlen	= 40,
22928 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22929 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22930 			  "\x69\x76\x65\x63",
22931 		.alen	= 20,
22932 		.input	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22933 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22934 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22935 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22936 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22937 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22938 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22939 		.ilen	= 56,
22940 	}, {
22941 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22942 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22943 			  "\x57\x69\x0E\x43",
22944 		.klen	= 20,
22945 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22946 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
22947 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22948 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22949 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22950 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22951 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22952 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22953 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22954 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22955 			  "\x15\x01\x01\x01",
22956 		.rlen	= 76,
22957 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22958 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22959 			  "\xA2\xFC\xA1\xA3",
22960 		.alen	= 20,
22961 		.input	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22962 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22963 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22964 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22965 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22966 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22967 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22968 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22969 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22970 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22971 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22972 			  "\x8C\xAA\x81\xE2",
22973 		.ilen	= 92,
22974 	}, {
22975 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22976 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22977 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22978 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22979 			  "\x73\x61\x6C\x74",
22980 		.klen	= 36,
22981 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22982 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
22983 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
22984 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
22985 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
22986 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22987 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
22988 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22989 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22990 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
22991 		.rlen	= 72,
22992 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22993 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22994 			  "\x69\x76\x65\x63",
22995 		.alen	= 20,
22996 		.input	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22997 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22998 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22999 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
23000 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
23001 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
23002 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
23003 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
23004 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
23005 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
23006 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
23007 		.ilen	= 88,
23008 	}, {
23009 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23010 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23011 			  "\xD9\x66\x42\x67",
23012 		.klen	= 20,
23013 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23014 		.result	= "\x01\x02\x02\x01",
23015 		.rlen	= 4,
23016 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23017 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23018 		.alen	= 16,
23019 		.input	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
23020 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
23021 			  "\x04\xBE\xF2\x70",
23022 		.ilen	= 20,
23023 	}, {
23024 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23025 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23026 			  "\xDE\xCA\xF8\x88",
23027 		.klen	= 20,
23028 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23029 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23030 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23031 			  "\x62\x65\x00\x01",
23032 		.rlen	= 20,
23033 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23034 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23035 			  "\xCE\xFA\xCE\x74",
23036 		.alen	= 20,
23037 		.input	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
23038 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
23039 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
23040 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
23041 			  "\x43\xAF\x8C\x3E",
23042 		.ilen	= 36,
23043 	}, {
23044 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23045 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23046 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23047 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
23048 			  "\x74\x75\x72\x6E",
23049 		.klen	= 36,
23050 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
23051 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23052 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23053 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23054 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23055 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23056 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23057 			  "\x01\x02\x02\x01",
23058 		.rlen	= 52,
23059 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23060 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23061 			  "\x67\x65\x74\x6D",
23062 		.alen	= 20,
23063 		.input	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
23064 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
23065 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
23066 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
23067 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
23068 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
23069 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
23070 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
23071 			  "\x9F\xB4\xC0\x53",
23072 		.ilen	= 68,
23073 	}, {
23074 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23075 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23076 			  "\x57\x69\x0E\x43",
23077 		.klen	= 20,
23078 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23079 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23080 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23081 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23082 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23083 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23084 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23085 			  "\x01\x02\x02\x01",
23086 		.rlen	= 52,
23087 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23088 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23089 			  "\xA2\xFC\xA1\xA3",
23090 		.alen	= 20,
23091 		.input	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
23092 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
23093 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
23094 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
23095 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
23096 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
23097 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
23098 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
23099 			  "\x40\xD7\xCB\x05",
23100 		.ilen	= 68,
23101 	}, {
23102 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23103 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23104 			  "\x22\x43\x3C\x64",
23105 		.klen	= 20,
23106 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23107 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23108 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
23109 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23110 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
23111 		.rlen	= 32,
23112 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23113 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23114 			  "\x3A\x23\x4B\xFD",
23115 		.alen	= 20,
23116 		.input	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
23117 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
23118 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
23119 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
23120 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
23121 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
23122 		.ilen	= 48,
23123 	}
23124 };
23125 
23126 static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
23127 	{ /* From draft-mcgrew-gcm-test-01 */
23128 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
23129 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
23130 			  "\x22\x43\x3c\x64",
23131 		.klen	= 20,
23132 		.iv	= zeroed_string,
23133 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
23134 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23135 		.alen	= 16,
23136 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23137 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23138 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23139 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23140 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23141 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23142 			  "\x01\x02\x02\x01",
23143 		.ilen	= 52,
23144 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23145 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23146 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23147 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23148 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23149 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23150 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
23151 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
23152 			  "\xe4\x09\x9a\xaa",
23153 		.rlen	= 68,
23154 	}
23155 };
23156 
23157 static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
23158 	{ /* From draft-mcgrew-gcm-test-01 */
23159 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
23160 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
23161 			  "\x22\x43\x3c\x64",
23162 		.klen	= 20,
23163 		.iv	= zeroed_string,
23164 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
23165 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23166 		.alen	= 16,
23167 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23168 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23169 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23170 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23171 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23172 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23173 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
23174 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
23175 			  "\xe4\x09\x9a\xaa",
23176 		.ilen	= 68,
23177 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23178 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23179 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23180 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23181 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23182 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23183 			  "\x01\x02\x02\x01",
23184 		.rlen	= 52,
23185 	}, { /* nearly same as previous, but should fail */
23186 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
23187 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
23188 			  "\x22\x43\x3c\x64",
23189 		.klen	= 20,
23190 		.iv	= zeroed_string,
23191 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
23192 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23193 		.alen	= 16,
23194 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23195 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23196 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23197 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23198 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23199 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23200 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
23201 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
23202 			  "\x00\x00\x00\x00",
23203 		.ilen	= 68,
23204 		.novrfy = 1,
23205 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
23206 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
23207 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
23208 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23209 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
23210 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
23211 			  "\x01\x02\x02\x01",
23212 		.rlen	= 52,
23213 	},
23214 };
23215 
23216 static const struct aead_testvec aes_ccm_enc_tv_template[] = {
23217 	{ /* From RFC 3610 */
23218 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23219 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23220 		.klen	= 16,
23221 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
23222 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23223 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
23224 		.alen	= 8,
23225 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23226 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
23227 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
23228 		.ilen	= 23,
23229 		.result	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
23230 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
23231 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
23232 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
23233 		.rlen	= 31,
23234 	}, {
23235 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23236 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23237 		.klen	= 16,
23238 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
23239 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23240 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23241 			  "\x08\x09\x0a\x0b",
23242 		.alen	= 12,
23243 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
23244 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
23245 			  "\x1c\x1d\x1e\x1f",
23246 		.ilen	= 20,
23247 		.result	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
23248 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
23249 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
23250 			  "\x7d\x9c\x2d\x93",
23251 		.rlen	= 28,
23252 	}, {
23253 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23254 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23255 		.klen	= 16,
23256 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
23257 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23258 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
23259 		.alen	= 8,
23260 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23261 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
23262 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23263 			  "\x20",
23264 		.ilen	= 25,
23265 		.result	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
23266 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
23267 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
23268 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
23269 			  "\x7e\x5f\x4e",
23270 		.rlen	= 35,
23271 	}, {
23272 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23273 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23274 		.klen	= 16,
23275 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
23276 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23277 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23278 			  "\x08\x09\x0a\x0b",
23279 		.alen	= 12,
23280 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
23281 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
23282 			  "\x1c\x1d\x1e",
23283 		.ilen	= 19,
23284 		.result	= "\x07\x34\x25\x94\x15\x77\x85\x15"
23285 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
23286 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
23287 			  "\x4d\x99\x99\x88\xdd",
23288 		.rlen	= 29,
23289 	}, {
23290 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23291 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23292 		.klen	= 16,
23293 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
23294 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23295 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
23296 		.alen	= 8,
23297 		.input	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
23298 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
23299 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
23300 		.ilen	= 24,
23301 		.result	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
23302 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
23303 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
23304 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
23305 		.rlen	= 32,
23306 	}, {
23307 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23308 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23309 		.klen	= 16,
23310 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
23311 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23312 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
23313 			  "\x20\xea\x60\xc0",
23314 		.alen	= 12,
23315 		.input	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
23316 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
23317 			  "\x3a\x80\x3b\xa8\x7f",
23318 		.ilen	= 21,
23319 		.result	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
23320 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
23321 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
23322 			  "\x5a\xe0\x70\x45\x51",
23323 		.rlen	= 29,
23324 	}, {
23325 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23326 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23327 		.klen	= 16,
23328 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
23329 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23330 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
23331 		.alen	= 8,
23332 		.input	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
23333 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
23334 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
23335 		.ilen	= 23,
23336 		.result	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
23337 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
23338 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
23339 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
23340 			  "\xba",
23341 		.rlen	= 33,
23342 	}, {
23343 		/* This is taken from FIPS CAVS. */
23344 		.key	= "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
23345 			  "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
23346 		.klen	= 16,
23347 		.iv	= "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
23348 		.alen	= 0,
23349 		.input	= "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
23350 			  "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
23351 			  "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
23352 			  "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
23353 		.ilen	= 32,
23354 		.result	= "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
23355 			  "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
23356 			  "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
23357 			  "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
23358 			  "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
23359 			  "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
23360 		.rlen	= 48,
23361 	}, {
23362 		.key	= "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
23363 			  "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
23364 		.klen	= 16,
23365 		.iv	= "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
23366 			  "\x30\x60\x15\x56\x00\x00\x00\x00",
23367 		.assoc	= "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
23368 			  "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
23369 			  "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
23370 			  "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
23371 		.alen	= 32,
23372 		.input	= "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
23373 			  "\xa9\x28\x63\xba\x12\xa3\x14\x85"
23374 			  "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
23375 			  "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
23376 		.ilen	= 32,
23377 		.result	= "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
23378 			  "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
23379 			  "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
23380 			  "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
23381 			  "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
23382 			  "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
23383 		.rlen	= 48,
23384 	}, {
23385 		.key	= "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
23386 			  "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
23387 			  "\x53\x14\x73\x66\x8d\x88\xf6\x80",
23388 		.klen	= 24,
23389 		.iv	= "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
23390 			  "\x50\x20\xda\xe2\x00\x00\x00\x00",
23391 		.assoc	= "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
23392 			  "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
23393 			  "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
23394 			  "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
23395 		.alen	= 32,
23396 		.result	= "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
23397 			  "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
23398 		.rlen	= 16,
23399 	}, {
23400 		.key	= "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
23401 			  "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
23402 			  "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
23403 		.klen	= 24,
23404 		.iv	= "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
23405 			  "\xef\x09\x2e\x94\x00\x00\x00\x00",
23406 		.assoc	= "\x02\x65\x78\x3c\xe9\x21\x30\x91"
23407 			  "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
23408 			  "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
23409 			  "\xe3\x00\x73\x69\x84\x69\x87\x79",
23410 		.alen	= 32,
23411 		.input	= "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
23412 			  "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
23413 			  "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
23414 			  "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
23415 		.ilen	= 32,
23416 		.result	= "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
23417 			  "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
23418 			  "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
23419 			  "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
23420 			  "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
23421 			  "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
23422 		.rlen	= 48,
23423 	}, {
23424 		.key	= "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
23425 			  "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
23426 			  "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
23427 			  "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
23428 		.klen	= 32,
23429 		.iv	= "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
23430 			  "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
23431 		.assoc	= "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
23432 			  "\x78\x2b\x94\x02\x29\x0f\x42\x27"
23433 			  "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
23434 			  "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
23435 		.alen	= 32,
23436 		.input	= "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
23437 			  "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
23438 			  "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
23439 			  "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
23440 		.ilen	= 32,
23441 		.result	= "\x19\xb8\x61\x33\x45\x2b\x43\x96"
23442 			  "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
23443 			  "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
23444 			  "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
23445 			  "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
23446 		.rlen	= 40,
23447 	}, {
23448 		.key	= "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
23449 			  "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
23450 			  "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
23451 			  "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
23452 		.klen	= 32,
23453 		.iv	= "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
23454 			  "\x43\xf6\x1e\x50\0\0\0\0",
23455 		.assoc	= "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
23456 			  "\x13\x02\x01\x0c\x83\x4c\x96\x35"
23457 			  "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
23458 			  "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
23459 		.alen	= 32,
23460 		.input	= "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
23461 			  "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
23462 			  "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
23463 			  "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
23464 		.ilen	= 32,
23465 		.result	= "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
23466 			  "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
23467 			  "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
23468 			  "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
23469 			  "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
23470 			  "\x7b\x72\x8a\xf7",
23471 		.rlen	= 44,
23472 	}, {
23473 		.key	= "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
23474 			  "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
23475 			  "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
23476 			  "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
23477 		.klen	= 32,
23478 		.iv	= "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
23479 			  "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
23480 		.assoc	= "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
23481 			  "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
23482 			  "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
23483 			  "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
23484 		.alen	= 32,
23485 		.input	= "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
23486 			  "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
23487 			  "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
23488 			  "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
23489 		.ilen	= 32,
23490 		.result	= "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
23491 			  "\xef\xbb\x80\x21\x04\x6c\x58\x09"
23492 			  "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
23493 			  "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
23494 			  "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
23495 			  "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
23496 		.rlen	= 48,
23497 	}
23498 };
23499 
23500 static const struct aead_testvec aes_ccm_dec_tv_template[] = {
23501 	{ /* From RFC 3610 */
23502 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23503 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23504 		.klen	= 16,
23505 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
23506 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23507 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
23508 		.alen	= 8,
23509 		.input	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
23510 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
23511 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
23512 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
23513 		.ilen	= 31,
23514 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23515 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
23516 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
23517 		.rlen	= 23,
23518 	}, {
23519 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23520 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23521 		.klen	= 16,
23522 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
23523 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23524 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23525 			  "\x08\x09\x0a\x0b",
23526 		.alen	= 12,
23527 		.input	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
23528 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
23529 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
23530 			  "\x7d\x9c\x2d\x93",
23531 		.ilen	= 28,
23532 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
23533 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
23534 			  "\x1c\x1d\x1e\x1f",
23535 		.rlen	= 20,
23536 	}, {
23537 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23538 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23539 		.klen	= 16,
23540 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
23541 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23542 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
23543 		.alen	= 8,
23544 		.input	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
23545 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
23546 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
23547 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
23548 			  "\x7e\x5f\x4e",
23549 		.ilen	= 35,
23550 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23551 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
23552 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23553 			  "\x20",
23554 		.rlen	= 25,
23555 	}, {
23556 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23557 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
23558 		.klen	= 16,
23559 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
23560 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
23561 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23562 			  "\x08\x09\x0a\x0b",
23563 		.alen	= 12,
23564 		.input	= "\x07\x34\x25\x94\x15\x77\x85\x15"
23565 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
23566 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
23567 			  "\x4d\x99\x99\x88\xdd",
23568 		.ilen	= 29,
23569 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
23570 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
23571 			  "\x1c\x1d\x1e",
23572 		.rlen	= 19,
23573 	}, {
23574 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23575 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23576 		.klen	= 16,
23577 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
23578 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23579 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
23580 		.alen	= 8,
23581 		.input	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
23582 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
23583 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
23584 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
23585 		.ilen	= 32,
23586 		.result	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
23587 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
23588 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
23589 		.rlen	= 24,
23590 	}, {
23591 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23592 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23593 		.klen	= 16,
23594 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
23595 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23596 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
23597 			  "\x20\xea\x60\xc0",
23598 		.alen	= 12,
23599 		.input	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
23600 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
23601 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
23602 			  "\x5a\xe0\x70\x45\x51",
23603 		.ilen	= 29,
23604 		.result	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
23605 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
23606 			  "\x3a\x80\x3b\xa8\x7f",
23607 		.rlen	= 21,
23608 	}, {
23609 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23610 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23611 		.klen	= 16,
23612 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
23613 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23614 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
23615 		.alen	= 8,
23616 		.input	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
23617 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
23618 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
23619 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
23620 			  "\xba",
23621 		.ilen	= 33,
23622 		.result	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
23623 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
23624 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
23625 		.rlen	= 23,
23626 	}, {
23627 		/* This is taken from FIPS CAVS. */
23628 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23629 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23630 		.klen	= 16,
23631 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23632 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23633 		.alen	= 0,
23634 		.input	= "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
23635 		.ilen	= 8,
23636 		.result	= "\x00",
23637 		.rlen	= 0,
23638 		.novrfy	= 1,
23639 	}, {
23640 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23641 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23642 		.klen	= 16,
23643 		.iv	= "\x03\xaf\x94\x87\x78\x35\x82\x81"
23644 			  "\x7f\x88\x94\x68\x00\x00\x00\x00",
23645 		.alen	= 0,
23646 		.input	= "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
23647 		.ilen	= 8,
23648 		.result	= "\x00",
23649 		.rlen	= 0,
23650 	}, {
23651 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23652 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23653 		.klen	= 16,
23654 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23655 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23656 		.assoc	= "\xf3\x94\x87\x78\x35\x82\x81\x7f"
23657 			  "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
23658 			  "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
23659 			  "\xd8\x94\x99\x91\x81\x54\x62\x57",
23660 		.alen	= 32,
23661 		.input	= "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
23662 			  "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
23663 			  "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
23664 			  "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
23665 			  "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
23666 			  "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
23667 		.ilen	= 48,
23668 		.result	= "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
23669 			  "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
23670 			  "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
23671 			  "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
23672 		.rlen	= 32,
23673 		.novrfy	= 1,
23674 	}, {
23675 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23676 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23677 		.klen	= 16,
23678 		.iv	= "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
23679 			  "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
23680 		.assoc	= "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
23681 			  "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
23682 			  "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
23683 			  "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
23684 		.alen	= 32,
23685 		.input	= "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
23686 			  "\xad\x83\x52\x6d\x71\x03\x25\x1c"
23687 			  "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
23688 			  "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
23689 			  "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
23690 			  "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
23691 		.ilen	= 48,
23692 		.result	= "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
23693 			  "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
23694 			  "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
23695 			  "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
23696 		.rlen	= 32,
23697 	}, {
23698 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23699 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23700 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
23701 		.klen	= 24,
23702 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23703 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23704 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23705 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23706 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23707 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23708 		.alen	= 32,
23709 		.input	= "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
23710 		.ilen	= 8,
23711 		.result	= "\x00",
23712 		.rlen	= 0,
23713 	}, {
23714 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23715 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23716 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23717 		.klen	= 24,
23718 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23719 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23720 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23721 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23722 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23723 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23724 		.alen	= 32,
23725 		.input	= "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
23726 			  "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
23727 			  "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
23728 			  "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
23729 			  "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
23730 		.ilen	= 40,
23731 		.result	= "\x85\x34\x66\x42\xc8\x92\x0f\x36"
23732 			  "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
23733 			  "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
23734 			  "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
23735 		.rlen	= 32,
23736 	}, {
23737 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23738 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23739 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23740 		.klen	= 24,
23741 		.iv	= "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
23742 			  "\xad\x71\xaa\x1f\x00\x00\x00\x00",
23743 		.assoc	= "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
23744 			  "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
23745 			  "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
23746 			  "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
23747 		.alen	= 32,
23748 		.input	= "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
23749 			  "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
23750 			  "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
23751 			  "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
23752 			  "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
23753 			  "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
23754 		.ilen	= 48,
23755 		.result	= "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
23756 			  "\x99\x2a\xa8\xca\x04\x25\x45\x90"
23757 			  "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
23758 			  "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
23759 		.rlen	= 32,
23760 		.novrfy	= 1,
23761 	}, {
23762 		.key	= "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
23763 			  "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23764 			  "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23765 			  "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23766 		.klen	= 32,
23767 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23768 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23769 		.alen	= 0,
23770 		.input	= "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23771 		.ilen	= 8,
23772 		.result	= "\x00",
23773 		.rlen	= 0,
23774 	}, {
23775 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23776 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23777 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23778 			  "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23779 		.klen	= 32,
23780 		.iv	= "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23781 			  "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23782 		.alen	= 0,
23783 		.input	= "\x48\x01\x5e\x02\x24\x04\x66\x47"
23784 			  "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23785 			  "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23786 			  "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23787 			  "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23788 			  "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23789 		.ilen	= 48,
23790 		.result	= "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23791 			  "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23792 			  "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23793 			  "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23794 		.rlen	= 32,
23795 		.novrfy	= 1,
23796 	}, {
23797 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23798 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23799 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23800 			  "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23801 		.klen	= 32,
23802 		.iv	= "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23803 			  "\x44\x89\x40\x7b\x00\x00\x00\x00",
23804 		.assoc	= "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23805 			  "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23806 			  "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23807 			  "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23808 		.alen	= 32,
23809 		.input	= "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23810 			  "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23811 			  "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23812 			  "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23813 			  "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23814 			  "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23815 		.ilen	= 48,
23816 		.result	= "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23817 			  "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23818 			  "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23819 			  "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23820 		.rlen	= 32,
23821 	},
23822 };
23823 
23824 /*
23825  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23826  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
23827  * they use AD lengths which are not valid ESP header lengths.
23828  *
23829  * These vectors are copied/generated from the ones for rfc4106 with
23830  * the key truncated by one byte..
23831  */
23832 static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
23833 	{ /* Generated using Crypto++ */
23834 		.key	= zeroed_string,
23835 		.klen	= 19,
23836 		.iv	= zeroed_string,
23837 		.input	= zeroed_string,
23838 		.ilen	= 16,
23839 		.assoc	= zeroed_string,
23840 		.alen	= 16,
23841 		.result	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23842 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23843 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23844 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23845 		.rlen	= 32,
23846 	},{
23847 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23848 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23849 			  "\x00\x00\x00",
23850 		.klen	= 19,
23851 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23852 		.input	= zeroed_string,
23853 		.ilen	= 16,
23854 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23855 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23856 		.alen	= 16,
23857 		.result	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23858 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23859 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23860 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23861 		.rlen	= 32,
23862 
23863 	}, {
23864 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23865 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23866 			  "\x00\x00\x00",
23867 		.klen	= 19,
23868 		.iv	= zeroed_string,
23869 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23870 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23871 		.ilen	= 16,
23872 		.assoc	= zeroed_string,
23873 		.alen	= 16,
23874 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23875 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23876 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23877 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23878 		.rlen	= 32,
23879 	}, {
23880 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23881 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23882 			  "\x00\x00\x00",
23883 		.klen	= 19,
23884 		.iv	= zeroed_string,
23885 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23886 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23887 		.ilen	= 16,
23888 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23889 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23890 		.alen	= 16,
23891 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23892 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23893 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23894 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23895 		.rlen	= 32,
23896 	}, {
23897 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23898 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23899 			  "\x00\x00\x00",
23900 		.klen	= 19,
23901 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23902 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23903 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23904 		.ilen	= 16,
23905 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23906 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23907 		.alen	= 16,
23908 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23909 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23910 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23911 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23912 		.rlen	= 32,
23913 	}, {
23914 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23915 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23916 			  "\x00\x00\x00",
23917 		.klen	= 19,
23918 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23919 		.input	= "\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 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23924 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23925 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23926 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23927 		.ilen	= 64,
23928 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23929 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23930 		.alen	= 16,
23931 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23932 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23933 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23934 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23935 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23936 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23937 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23938 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23939 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23940 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23941 		.rlen	= 80,
23942 	}, {
23943 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23944 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23945 			  "\x00\x00\x00",
23946 		.klen	= 19,
23947 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23948 		.input	= "\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 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23969 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23970 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23971 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23972 		.ilen	= 192,
23973 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23974 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23975 			  "\x89\xab\xcd\xef",
23976 		.alen	= 20,
23977 		.result	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23978 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23979 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23980 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23981 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23982 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23983 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23984 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23985 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23986 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23987 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23988 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23989 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23990 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23991 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23992 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23993 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23994 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23995 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23996 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23997 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23998 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23999 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
24000 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
24001 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
24002 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
24003 		.rlen	= 208,
24004 	}, { /* From draft-mcgrew-gcm-test-01 */
24005 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24006 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24007 			  "\x2E\x44\x3B",
24008 		.klen	= 19,
24009 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
24010 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
24011 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
24012 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
24013 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
24014 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
24015 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
24016 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
24017 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
24018 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
24019 		.ilen	= 72,
24020 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24021 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
24022 			  "\x3B\x24\x4C\xFE",
24023 		.alen	= 20,
24024 		.result	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
24025 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
24026 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
24027 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
24028 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
24029 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
24030 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
24031 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
24032 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
24033 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
24034 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
24035 		.rlen	= 88,
24036 	}, {
24037 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24038 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24039 			  "\xCA\xFE\xBA",
24040 		.klen	= 19,
24041 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24042 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
24043 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
24044 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
24045 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
24046 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
24047 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
24048 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
24049 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
24050 		.ilen	= 64,
24051 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24052 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24053 		.alen	= 16,
24054 		.result	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
24055 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
24056 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
24057 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
24058 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
24059 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
24060 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
24061 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
24062 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
24063 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
24064 		.rlen	= 80,
24065 	}, {
24066 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24067 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24068 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24069 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24070 			  "\x11\x22\x33",
24071 		.klen	= 35,
24072 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24073 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
24074 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
24075 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
24076 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
24077 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
24078 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
24079 			  "\x01\x02\x02\x01",
24080 		.ilen	= 52,
24081 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
24082 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
24083 		.alen	= 16,
24084 		.result	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
24085 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
24086 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
24087 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
24088 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
24089 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
24090 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
24091 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
24092 			  "\x5A\x48\x6A\x3E",
24093 		.rlen	= 68,
24094 	}, {
24095 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
24096 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
24097 			  "\x00\x00\x00",
24098 		.klen	= 19,
24099 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
24100 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
24101 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
24102 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
24103 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
24104 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24105 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24106 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24107 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24108 		.ilen	= 64,
24109 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
24110 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24111 		.alen	= 16,
24112 		.result	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
24113 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
24114 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
24115 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
24116 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
24117 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
24118 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
24119 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
24120 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
24121 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
24122 		.rlen	= 80,
24123 	}, {
24124 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24125 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24126 			  "\x57\x69\x0E",
24127 		.klen	= 19,
24128 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24129 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
24130 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
24131 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
24132 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
24133 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24134 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24135 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24136 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24137 		.ilen	= 64,
24138 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24139 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24140 			  "\xA2\xFC\xA1\xA3",
24141 		.alen	= 20,
24142 		.result	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
24143 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
24144 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
24145 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
24146 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24147 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24148 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24149 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24150 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24151 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24152 		.rlen	= 80,
24153 	}, {
24154 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24155 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24156 			  "\x57\x69\x0E",
24157 		.klen	= 19,
24158 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24159 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24160 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24161 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24162 			  "\x01\x02\x02\x01",
24163 		.ilen	= 28,
24164 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24165 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24166 			  "\xA2\xFC\xA1\xA3",
24167 		.alen	= 20,
24168 		.result	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24169 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24170 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24171 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24172 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24173 			  "\x08\xB4\x22\xE4",
24174 		.rlen	= 44,
24175 	}, {
24176 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24177 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24178 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24179 			  "\xCA\xFE\xBA",
24180 		.klen	= 27,
24181 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24182 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24183 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24184 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24185 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24186 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
24187 		.ilen	= 40,
24188 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24189 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24190 		.alen	= 16,
24191 		.result	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
24192 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24193 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24194 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24195 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24196 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24197 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24198 		.rlen	= 56,
24199 	}, {
24200 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24201 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24202 			  "\xDE\xCA\xF8",
24203 		.klen	= 19,
24204 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24205 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
24206 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24207 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24208 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24209 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24210 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24211 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24212 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24213 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24214 			  "\x23\x01\x01\x01",
24215 		.ilen	= 76,
24216 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24217 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24218 			  "\xCE\xFA\xCE\x74",
24219 		.alen	= 20,
24220 		.result	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24221 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24222 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24223 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24224 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24225 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24226 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24227 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24228 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24229 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24230 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24231 			  "\x12\x25\x0B\xF9",
24232 		.rlen	= 92,
24233 	}, {
24234 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24235 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24236 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24237 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24238 			  "\x73\x61\x6C",
24239 		.klen	= 35,
24240 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24241 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
24242 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24243 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24244 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24245 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24246 		.ilen	= 40,
24247 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24248 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24249 			  "\x69\x76\x65\x63",
24250 		.alen	= 20,
24251 		.result	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24252 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24253 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24254 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24255 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24256 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24257 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24258 		.rlen	= 56,
24259 	}, {
24260 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24261 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24262 			  "\x57\x69\x0E",
24263 		.klen	= 19,
24264 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24265 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
24266 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24267 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24268 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24269 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24270 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24271 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24272 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24273 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24274 			  "\x15\x01\x01\x01",
24275 		.ilen	= 76,
24276 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24277 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24278 			  "\xA2\xFC\xA1\xA3",
24279 		.alen	= 20,
24280 		.result	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24281 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24282 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24283 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24284 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24285 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24286 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24287 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24288 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24289 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24290 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24291 			  "\xCC\xF7\x46\x6F",
24292 		.rlen	= 92,
24293 	}, {
24294 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24295 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24296 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24297 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24298 			  "\x73\x61\x6C",
24299 		.klen	= 35,
24300 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24301 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
24302 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
24303 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
24304 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
24305 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24306 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
24307 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24308 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24309 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
24310 		.ilen	= 72,
24311 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24312 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24313 			  "\x69\x76\x65\x63",
24314 		.alen	= 20,
24315 		.result	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24316 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24317 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24318 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24319 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24320 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24321 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24322 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24323 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24324 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24325 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24326 		.rlen	= 88,
24327 	}, {
24328 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24329 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24330 			  "\xD9\x66\x42",
24331 		.klen	= 19,
24332 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24333 		.input	= "\x01\x02\x02\x01",
24334 		.ilen	= 4,
24335 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24336 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24337 		.alen	= 16,
24338 		.result	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24339 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24340 			  "\xF7\x61\x24\x62",
24341 		.rlen	= 20,
24342 	}, {
24343 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24344 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24345 			  "\xDE\xCA\xF8",
24346 		.klen	= 19,
24347 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24348 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24349 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24350 			  "\x62\x65\x00\x01",
24351 		.ilen	= 20,
24352 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24353 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24354 			  "\xCE\xFA\xCE\x74",
24355 		.alen	= 20,
24356 		.result	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24357 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24358 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24359 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24360 			  "\x17\x17\x65\xAD",
24361 		.rlen	= 36,
24362 	}, {
24363 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24364 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24365 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24366 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
24367 			  "\x74\x75\x72",
24368 		.klen	= 35,
24369 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
24370 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24371 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24372 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24373 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24374 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24375 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24376 			  "\x01\x02\x02\x01",
24377 		.ilen	= 52,
24378 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24379 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24380 			  "\x67\x65\x74\x6D",
24381 		.alen	= 20,
24382 		.result	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24383 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24384 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24385 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24386 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
24387 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
24388 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
24389 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
24390 			  "\x39\xDB\xC8\xDC",
24391 		.rlen	= 68,
24392 	}, {
24393 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24394 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24395 			  "\x57\x69\x0E",
24396 		.klen	= 19,
24397 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24398 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24399 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24400 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24401 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24402 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24403 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24404 			  "\x01\x02\x02\x01",
24405 		.ilen	= 52,
24406 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
24407 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24408 			  "\xA2\xFC\xA1\xA3",
24409 		.alen	= 20,
24410 		.result	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
24411 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
24412 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
24413 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
24414 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24415 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24416 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
24417 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
24418 			  "\xF4\x95\x5D\x4F",
24419 		.rlen	= 68,
24420 	}, {
24421 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24422 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24423 			  "\x22\x43\x3C",
24424 		.klen	= 19,
24425 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
24426 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
24427 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
24428 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
24429 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
24430 		.ilen	= 32,
24431 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24432 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
24433 			  "\x3A\x23\x4B\xFD",
24434 		.alen	= 20,
24435 		.result	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
24436 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
24437 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
24438 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
24439 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
24440 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
24441 		.rlen	= 48,
24442 	}
24443 };
24444 
24445 static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[]	= {
24446 	{ /* Generated using Crypto++ */
24447 		.key	= zeroed_string,
24448 		.klen	= 19,
24449 		.iv	= zeroed_string,
24450 		.result	= zeroed_string,
24451 		.rlen	= 16,
24452 		.assoc	= zeroed_string,
24453 		.alen	= 16,
24454 		.input	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
24455 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
24456 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
24457 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
24458 		.ilen	= 32,
24459 	},{
24460 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
24461 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
24462 			  "\x00\x00\x00",
24463 		.klen	= 19,
24464 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
24465 		.result	= zeroed_string,
24466 		.rlen	= 16,
24467 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
24468 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
24469 		.alen	= 16,
24470 		.input	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
24471 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
24472 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
24473 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
24474 		.ilen	= 32,
24475 
24476 	}, {
24477 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
24478 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
24479 			  "\x00\x00\x00",
24480 		.klen	= 19,
24481 		.iv	= zeroed_string,
24482 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24483 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
24484 		.rlen	= 16,
24485 		.assoc	= zeroed_string,
24486 		.alen	= 16,
24487 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
24488 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
24489 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
24490 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
24491 		.ilen	= 32,
24492 	}, {
24493 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
24494 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
24495 			  "\x00\x00\x00",
24496 		.klen	= 19,
24497 		.iv	= zeroed_string,
24498 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24499 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
24500 		.rlen	= 16,
24501 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24502 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24503 		.alen	= 16,
24504 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
24505 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
24506 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
24507 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
24508 		.ilen	= 32,
24509 	}, {
24510 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
24511 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
24512 			  "\x00\x00\x00",
24513 		.klen	= 19,
24514 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
24515 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24516 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
24517 		.rlen	= 16,
24518 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24519 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
24520 		.alen	= 16,
24521 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
24522 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
24523 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
24524 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
24525 		.ilen	= 32,
24526 	}, {
24527 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
24528 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
24529 			  "\x00\x00\x00",
24530 		.klen	= 19,
24531 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
24532 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24533 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24534 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24535 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24536 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24537 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24538 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
24539 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
24540 		.rlen	= 64,
24541 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
24542 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
24543 		.alen	= 16,
24544 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
24545 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
24546 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
24547 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
24548 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
24549 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
24550 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
24551 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
24552 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
24553 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
24554 		.ilen	= 80,
24555 	}, {
24556 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
24557 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24558 			  "\x00\x00\x00",
24559 		.klen	= 19,
24560 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
24561 		.result	= "\xff\xff\xff\xff\xff\xff\xff\xff"
24562 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24563 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24564 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24565 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24566 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24567 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24568 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24569 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24570 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24571 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24572 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24573 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24574 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24575 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24576 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24577 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24578 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24579 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24580 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24581 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24582 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24583 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
24584 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
24585 		.rlen	= 192,
24586 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
24587 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
24588 			  "\x89\xab\xcd\xef",
24589 		.alen	= 20,
24590 		.input	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
24591 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
24592 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
24593 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
24594 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
24595 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
24596 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
24597 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
24598 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
24599 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
24600 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
24601 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
24602 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
24603 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
24604 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
24605 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
24606 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
24607 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
24608 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
24609 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
24610 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
24611 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
24612 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
24613 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
24614 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
24615 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
24616 		.ilen	= 208,
24617 	}, { /* From draft-mcgrew-gcm-test-01 */
24618 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24619 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24620 			  "\x2E\x44\x3B",
24621 		.klen	= 19,
24622 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
24623 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
24624 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
24625 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
24626 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
24627 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
24628 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
24629 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
24630 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
24631 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
24632 		.rlen	= 72,
24633 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24634 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
24635 			  "\x3B\x24\x4C\xFE",
24636 		.alen	= 20,
24637 		.input	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
24638 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
24639 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
24640 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
24641 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
24642 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
24643 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
24644 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
24645 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
24646 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
24647 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
24648 		.ilen	= 88,
24649 	}, {
24650 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24651 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24652 			  "\xCA\xFE\xBA",
24653 		.klen	= 19,
24654 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24655 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
24656 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
24657 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
24658 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
24659 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
24660 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
24661 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
24662 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
24663 		.rlen	= 64,
24664 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24665 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24666 		.alen	= 16,
24667 		.input	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
24668 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
24669 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
24670 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
24671 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
24672 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
24673 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
24674 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
24675 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
24676 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
24677 		.ilen	= 80,
24678 	}, {
24679 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24680 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24681 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24682 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24683 			  "\x11\x22\x33",
24684 		.klen	= 35,
24685 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24686 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
24687 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
24688 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
24689 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
24690 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
24691 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
24692 			  "\x01\x02\x02\x01",
24693 		.rlen	= 52,
24694 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
24695 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
24696 		.alen	= 16,
24697 		.input	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
24698 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
24699 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
24700 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
24701 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
24702 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
24703 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
24704 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
24705 			  "\x5A\x48\x6A\x3E",
24706 		.ilen	= 68,
24707 	}, {
24708 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
24709 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
24710 			  "\x00\x00\x00",
24711 		.klen	= 19,
24712 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
24713 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
24714 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
24715 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
24716 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
24717 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24718 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24719 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24720 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24721 		.rlen	= 64,
24722 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
24723 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24724 		.alen	= 16,
24725 		.input	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
24726 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
24727 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
24728 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
24729 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
24730 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
24731 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
24732 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
24733 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
24734 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
24735 		.ilen	= 80,
24736 	}, {
24737 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24738 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24739 			  "\x57\x69\x0E",
24740 		.klen	= 19,
24741 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24742 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
24743 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
24744 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
24745 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
24746 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24747 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24748 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24749 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24750 		.rlen	= 64,
24751 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24752 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24753 			  "\xA2\xFC\xA1\xA3",
24754 		.alen	= 20,
24755 		.input	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
24756 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
24757 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
24758 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
24759 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24760 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24761 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24762 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24763 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24764 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24765 		.ilen	= 80,
24766 	}, {
24767 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24768 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24769 			  "\x57\x69\x0E",
24770 		.klen	= 19,
24771 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24772 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24773 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24774 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24775 			  "\x01\x02\x02\x01",
24776 		.rlen	= 28,
24777 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24778 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24779 			  "\xA2\xFC\xA1\xA3",
24780 		.alen	= 20,
24781 		.input	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24782 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24783 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24784 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24785 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24786 			  "\x08\xB4\x22\xE4",
24787 		.ilen	= 44,
24788 	}, {
24789 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24790 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24791 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24792 			  "\xCA\xFE\xBA",
24793 		.klen	= 27,
24794 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24795 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24796 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24797 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24798 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24799 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
24800 		.rlen	= 40,
24801 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24802 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24803 		.alen	= 16,
24804 		.input	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
24805 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24806 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24807 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24808 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24809 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24810 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24811 		.ilen	= 56,
24812 	}, {
24813 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24814 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24815 			  "\xDE\xCA\xF8",
24816 		.klen	= 19,
24817 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24818 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
24819 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24820 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24821 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24822 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24823 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24824 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24825 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24826 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24827 			  "\x23\x01\x01\x01",
24828 		.rlen	= 76,
24829 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24830 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24831 			  "\xCE\xFA\xCE\x74",
24832 		.alen	= 20,
24833 		.input	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24834 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24835 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24836 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24837 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24838 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24839 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24840 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24841 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24842 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24843 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24844 			  "\x12\x25\x0B\xF9",
24845 		.ilen	= 92,
24846 	}, {
24847 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24848 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24849 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24850 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24851 			  "\x73\x61\x6C",
24852 		.klen	= 35,
24853 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24854 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
24855 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24856 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24857 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24858 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24859 		.rlen	= 40,
24860 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24861 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24862 			  "\x69\x76\x65\x63",
24863 		.alen	= 20,
24864 		.input	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24865 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24866 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24867 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24868 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24869 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24870 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24871 		.ilen	= 56,
24872 	}, {
24873 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24874 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24875 			  "\x57\x69\x0E",
24876 		.klen	= 19,
24877 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24878 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
24879 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24880 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24881 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24882 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24883 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24884 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24885 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24886 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24887 			  "\x15\x01\x01\x01",
24888 		.rlen	= 76,
24889 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24890 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24891 			  "\xA2\xFC\xA1\xA3",
24892 		.alen	= 20,
24893 		.input	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24894 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24895 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24896 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24897 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24898 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24899 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24900 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24901 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24902 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24903 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24904 			  "\xCC\xF7\x46\x6F",
24905 		.ilen	= 92,
24906 	}, {
24907 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24908 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24909 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24910 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24911 			  "\x73\x61\x6C",
24912 		.klen	= 35,
24913 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24914 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
24915 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
24916 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
24917 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
24918 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24919 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
24920 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24921 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24922 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
24923 		.rlen	= 72,
24924 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24925 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24926 			  "\x69\x76\x65\x63",
24927 		.alen	= 20,
24928 		.input	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24929 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24930 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24931 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24932 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24933 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24934 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24935 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24936 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24937 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24938 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24939 		.ilen	= 88,
24940 	}, {
24941 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24942 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24943 			  "\xD9\x66\x42",
24944 		.klen	= 19,
24945 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24946 		.result	= "\x01\x02\x02\x01",
24947 		.rlen	= 4,
24948 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24949 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24950 		.alen	= 16,
24951 		.input	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24952 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24953 			  "\xF7\x61\x24\x62",
24954 		.ilen	= 20,
24955 	}, {
24956 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24957 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24958 			  "\xDE\xCA\xF8",
24959 		.klen	= 19,
24960 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24961 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24962 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24963 			  "\x62\x65\x00\x01",
24964 		.rlen	= 20,
24965 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24966 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24967 			  "\xCE\xFA\xCE\x74",
24968 		.alen	= 20,
24969 		.input	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24970 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24971 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24972 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24973 			  "\x17\x17\x65\xAD",
24974 		.ilen	= 36,
24975 	}, {
24976 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24977 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24978 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24979 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
24980 			  "\x74\x75\x72",
24981 		.klen	= 35,
24982 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
24983 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24984 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24985 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24986 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24987 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24988 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24989 			  "\x01\x02\x02\x01",
24990 		.rlen	= 52,
24991 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24992 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24993 			  "\x67\x65\x74\x6D",
24994 		.alen	= 20,
24995 		.input	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24996 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24997 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24998 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24999 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
25000 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
25001 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
25002 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
25003 			  "\x39\xDB\xC8\xDC",
25004 		.ilen	= 68,
25005 	}, {
25006 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
25007 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
25008 			  "\x57\x69\x0E",
25009 		.klen	= 19,
25010 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
25011 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
25012 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
25013 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
25014 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
25015 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
25016 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
25017 			  "\x01\x02\x02\x01",
25018 		.rlen	= 52,
25019 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
25020 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
25021 			  "\xA2\xFC\xA1\xA3",
25022 		.alen	= 20,
25023 		.input	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
25024 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
25025 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
25026 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
25027 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
25028 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
25029 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
25030 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
25031 			  "\xF4\x95\x5D\x4F",
25032 		.ilen	= 68,
25033 	}, {
25034 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
25035 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
25036 			  "\x22\x43\x3C",
25037 		.klen	= 19,
25038 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
25039 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
25040 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
25041 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
25042 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
25043 		.rlen	= 32,
25044 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
25045 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
25046 			  "\x3A\x23\x4B\xFD",
25047 		.alen	= 20,
25048 		.input	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
25049 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
25050 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
25051 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
25052 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
25053 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
25054 		.ilen	= 48,
25055 	}
25056 };
25057 
25058 /*
25059  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
25060  */
25061 static const struct aead_testvec rfc7539_enc_tv_template[] = {
25062 	{
25063 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
25064 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25065 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
25066 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
25067 		.klen	= 32,
25068 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
25069 			  "\x44\x45\x46\x47",
25070 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
25071 			  "\xc4\xc5\xc6\xc7",
25072 		.alen	= 12,
25073 		.input	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
25074 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
25075 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
25076 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
25077 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
25078 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
25079 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
25080 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
25081 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
25082 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
25083 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
25084 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
25085 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
25086 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
25087 			  "\x74\x2e",
25088 		.ilen	= 114,
25089 		.result	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
25090 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
25091 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
25092 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
25093 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
25094 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
25095 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
25096 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
25097 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
25098 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
25099 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
25100 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
25101 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
25102 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
25103 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
25104 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
25105 			  "\x06\x91",
25106 		.rlen	= 130,
25107 	}, {
25108 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
25109 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
25110 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
25111 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
25112 		.klen	= 32,
25113 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
25114 			  "\x05\x06\x07\x08",
25115 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
25116 			  "\x00\x00\x4e\x91",
25117 		.alen	= 12,
25118 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
25119 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
25120 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
25121 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
25122 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
25123 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
25124 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
25125 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
25126 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
25127 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
25128 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
25129 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
25130 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
25131 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
25132 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
25133 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
25134 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
25135 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
25136 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
25137 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
25138 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
25139 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
25140 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
25141 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
25142 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
25143 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
25144 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
25145 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
25146 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
25147 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
25148 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
25149 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
25150 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
25151 			  "\x9d",
25152 		.ilen	= 265,
25153 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
25154 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
25155 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
25156 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
25157 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
25158 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
25159 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
25160 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
25161 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
25162 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
25163 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
25164 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
25165 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
25166 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
25167 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
25168 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
25169 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
25170 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
25171 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
25172 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
25173 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
25174 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
25175 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
25176 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
25177 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
25178 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
25179 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
25180 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
25181 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
25182 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
25183 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
25184 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
25185 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
25186 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
25187 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
25188 			  "\x38",
25189 		.rlen	= 281,
25190 	},
25191 };
25192 
25193 static const struct aead_testvec rfc7539_dec_tv_template[] = {
25194 	{
25195 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
25196 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25197 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
25198 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
25199 		.klen	= 32,
25200 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
25201 			  "\x44\x45\x46\x47",
25202 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
25203 			  "\xc4\xc5\xc6\xc7",
25204 		.alen	= 12,
25205 		.input	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
25206 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
25207 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
25208 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
25209 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
25210 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
25211 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
25212 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
25213 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
25214 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
25215 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
25216 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
25217 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
25218 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
25219 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
25220 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
25221 			  "\x06\x91",
25222 		.ilen	= 130,
25223 		.result	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
25224 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
25225 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
25226 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
25227 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
25228 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
25229 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
25230 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
25231 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
25232 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
25233 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
25234 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
25235 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
25236 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
25237 			  "\x74\x2e",
25238 		.rlen	= 114,
25239 	}, {
25240 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
25241 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
25242 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
25243 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
25244 		.klen	= 32,
25245 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
25246 			  "\x05\x06\x07\x08",
25247 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
25248 			  "\x00\x00\x4e\x91",
25249 		.alen	= 12,
25250 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
25251 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
25252 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
25253 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
25254 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
25255 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
25256 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
25257 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
25258 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
25259 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
25260 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
25261 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
25262 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
25263 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
25264 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
25265 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
25266 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
25267 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
25268 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
25269 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
25270 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
25271 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
25272 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
25273 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
25274 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
25275 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
25276 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
25277 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
25278 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
25279 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
25280 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
25281 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
25282 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
25283 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
25284 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
25285 			  "\x38",
25286 		.ilen	= 281,
25287 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
25288 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
25289 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
25290 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
25291 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
25292 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
25293 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
25294 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
25295 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
25296 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
25297 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
25298 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
25299 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
25300 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
25301 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
25302 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
25303 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
25304 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
25305 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
25306 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
25307 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
25308 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
25309 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
25310 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
25311 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
25312 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
25313 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
25314 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
25315 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
25316 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
25317 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
25318 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
25319 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
25320 			  "\x9d",
25321 		.rlen	= 265,
25322 	},
25323 };
25324 
25325 /*
25326  * draft-irtf-cfrg-chacha20-poly1305
25327  */
25328 static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
25329 	{
25330 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
25331 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
25332 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
25333 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
25334 			  "\x00\x00\x00\x00",
25335 		.klen	= 36,
25336 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
25337 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
25338 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
25339 			  "\x05\x06\x07\x08",
25340 		.alen	= 20,
25341 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
25342 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
25343 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
25344 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
25345 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
25346 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
25347 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
25348 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
25349 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
25350 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
25351 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
25352 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
25353 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
25354 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
25355 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
25356 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
25357 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
25358 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
25359 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
25360 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
25361 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
25362 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
25363 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
25364 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
25365 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
25366 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
25367 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
25368 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
25369 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
25370 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
25371 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
25372 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
25373 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
25374 			  "\x9d",
25375 		.ilen	= 265,
25376 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
25377 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
25378 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
25379 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
25380 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
25381 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
25382 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
25383 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
25384 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
25385 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
25386 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
25387 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
25388 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
25389 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
25390 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
25391 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
25392 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
25393 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
25394 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
25395 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
25396 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
25397 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
25398 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
25399 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
25400 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
25401 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
25402 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
25403 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
25404 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
25405 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
25406 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
25407 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
25408 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
25409 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
25410 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
25411 			  "\x38",
25412 		.rlen	= 281,
25413 	},
25414 };
25415 
25416 static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
25417 	{
25418 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
25419 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
25420 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
25421 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
25422 			  "\x00\x00\x00\x00",
25423 		.klen	= 36,
25424 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
25425 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
25426 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
25427 			  "\x05\x06\x07\x08",
25428 		.alen	= 20,
25429 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
25430 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
25431 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
25432 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
25433 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
25434 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
25435 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
25436 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
25437 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
25438 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
25439 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
25440 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
25441 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
25442 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
25443 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
25444 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
25445 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
25446 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
25447 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
25448 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
25449 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
25450 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
25451 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
25452 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
25453 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
25454 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
25455 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
25456 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
25457 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
25458 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
25459 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
25460 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
25461 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
25462 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
25463 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
25464 			  "\x38",
25465 		.ilen	= 281,
25466 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
25467 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
25468 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
25469 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
25470 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
25471 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
25472 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
25473 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
25474 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
25475 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
25476 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
25477 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
25478 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
25479 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
25480 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
25481 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
25482 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
25483 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
25484 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
25485 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
25486 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
25487 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
25488 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
25489 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
25490 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
25491 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
25492 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
25493 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
25494 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
25495 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
25496 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
25497 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
25498 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
25499 			  "\x9d",
25500 		.rlen	= 265,
25501 	},
25502 };
25503 
25504 /*
25505  * All key wrapping test vectors taken from
25506  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
25507  *
25508  * Note: as documented in keywrap.c, the ivout for encryption is the first
25509  * semiblock of the ciphertext from the test vector. For decryption, iv is
25510  * the first semiblock of the ciphertext.
25511  */
25512 static const struct cipher_testvec aes_kw_enc_tv_template[] = {
25513 	{
25514 		.key	= "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
25515 			  "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
25516 		.klen	= 16,
25517 		.input	= "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
25518 			  "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
25519 		.ilen	= 16,
25520 		.result	= "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
25521 			  "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
25522 		.rlen	= 16,
25523 		.iv_out	= "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
25524 	},
25525 };
25526 
25527 static const struct cipher_testvec aes_kw_dec_tv_template[] = {
25528 	{
25529 		.key	= "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
25530 			  "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
25531 			  "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
25532 			  "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
25533 		.klen	= 32,
25534 		.input	= "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
25535 			  "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
25536 		.ilen	= 16,
25537 		.result	= "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
25538 			  "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
25539 		.rlen	= 16,
25540 		.iv	= "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
25541 	},
25542 };
25543 
25544 /*
25545  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
25546  * test vectors, taken from Appendix B.2.9 and B.2.10:
25547  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
25548  * Only AES-128 is supported at this time.
25549  */
25550 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
25551 	{
25552 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25553 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25554 		.klen	= 16,
25555 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25556 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
25557 		.dtlen	= 16,
25558 		.v	= "\x80\x00\x00\x00\x00\x00\x00\x00"
25559 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
25560 		.vlen	= 16,
25561 		.result	= "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
25562 			  "\x84\x79\x66\x85\xc1\x2f\x76\x41",
25563 		.rlen	= 16,
25564 		.loops	= 1,
25565 	}, {
25566 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25567 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25568 		.klen	= 16,
25569 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25570 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
25571 		.dtlen	= 16,
25572 		.v	= "\xc0\x00\x00\x00\x00\x00\x00\x00"
25573 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
25574 		.vlen	= 16,
25575 		.result	= "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
25576 			  "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
25577 		.rlen	= 16,
25578 		.loops	= 1,
25579 	}, {
25580 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25581 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25582 		.klen	= 16,
25583 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25584 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
25585 		.dtlen	= 16,
25586 		.v	= "\xe0\x00\x00\x00\x00\x00\x00\x00"
25587 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
25588 		.vlen	= 16,
25589 		.result	= "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
25590 			  "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
25591 		.rlen	= 16,
25592 		.loops	= 1,
25593 	}, {
25594 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25595 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25596 		.klen	= 16,
25597 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25598 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
25599 		.dtlen	= 16,
25600 		.v	= "\xf0\x00\x00\x00\x00\x00\x00\x00"
25601 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
25602 		.vlen	= 16,
25603 		.result	= "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
25604 			  "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
25605 		.rlen	= 16,
25606 		.loops	= 1,
25607 	}, {
25608 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25609 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25610 		.klen	= 16,
25611 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25612 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
25613 		.dtlen	= 16,
25614 		.v	= "\xf8\x00\x00\x00\x00\x00\x00\x00"
25615 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
25616 		.vlen	= 16,
25617 		.result	= "\x05\x25\x92\x46\x61\x79\xd2\xcb"
25618 			  "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
25619 		.rlen	= 16,
25620 		.loops	= 1,
25621 	}, {	/* Monte Carlo Test */
25622 		.key	= "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
25623 			  "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
25624 		.klen	= 16,
25625 		.dt	= "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
25626 			  "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
25627 		.dtlen	= 16,
25628 		.v	= "\x57\x2c\x8e\x76\x87\x26\x47\x97"
25629 			  "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
25630 		.vlen	= 16,
25631 		.result	= "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
25632 			  "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
25633 		.rlen	= 16,
25634 		.loops	= 10000,
25635 	},
25636 };
25637 
25638 /*
25639  * SP800-90A DRBG Test vectors from
25640  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25641  *
25642  * Test vectors for DRBG with prediction resistance. All types of DRBGs
25643  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25644  * w/o personalization string, w/ and w/o additional input string).
25645  */
25646 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
25647 	{
25648 		.entropy = (unsigned char *)
25649 			"\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
25650 			"\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
25651 			"\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
25652 			"\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
25653 		.entropylen = 48,
25654 		.entpra = (unsigned char *)
25655 			"\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
25656 			"\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
25657 			"\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
25658 		.entprb = (unsigned char *)
25659 			"\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
25660 			"\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
25661 			"\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
25662 		.entprlen = 32,
25663 		.expected = (unsigned char *)
25664 			"\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
25665 			"\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
25666 			"\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
25667 			"\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
25668 			"\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
25669 			"\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
25670 			"\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
25671 			"\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
25672 			"\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
25673 			"\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
25674 			"\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
25675 		.expectedlen = 128,
25676 		.addtla = NULL,
25677 		.addtlb = NULL,
25678 		.addtllen = 0,
25679 		.pers = NULL,
25680 		.perslen = 0,
25681 	}, {
25682 		.entropy = (unsigned char *)
25683 			"\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
25684 			"\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
25685 			"\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
25686 			"\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
25687 		.entropylen = 48,
25688 		.entpra = (unsigned char *)
25689 			"\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
25690 			"\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
25691 			"\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
25692 		.entprb = (unsigned char *)
25693 			"\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
25694 			"\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
25695 			"\x76\xaa\x55\x04\x8b\x0a\x72\x95",
25696 		.entprlen = 32,
25697 		.expected = (unsigned char *)
25698 			"\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
25699 			"\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
25700 			"\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
25701 			"\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
25702 			"\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
25703 			"\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
25704 			"\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
25705 			"\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
25706 			"\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
25707 			"\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
25708 			"\x50\x47\xa3\x63\x81\x16\xaf\x19",
25709 		.expectedlen = 128,
25710 		.addtla = (unsigned char *)
25711 			"\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
25712 			"\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
25713 			"\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
25714 		.addtlb = (unsigned char *)
25715 			"\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
25716 			"\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
25717 			"\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
25718 		.addtllen = 32,
25719 		.pers = NULL,
25720 		.perslen = 0,
25721 	}, {
25722 		.entropy = (unsigned char *)
25723 			"\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
25724 			"\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
25725 			"\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
25726 			"\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
25727 		.entropylen = 48,
25728 		.entpra = (unsigned char *)
25729 			"\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
25730 			"\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
25731 			"\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
25732 		.entprb = (unsigned char *)
25733 			"\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
25734 			"\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
25735 			"\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
25736 		.entprlen = 32,
25737 		.expected = (unsigned char *)
25738 			"\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
25739 			"\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
25740 			"\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
25741 			"\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
25742 			"\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
25743 			"\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
25744 			"\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
25745 			"\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
25746 			"\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
25747 			"\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
25748 			"\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
25749 		.expectedlen = 128,
25750 		.addtla = NULL,
25751 		.addtlb = NULL,
25752 		.addtllen = 0,
25753 		.pers = (unsigned char *)
25754 			"\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
25755 			"\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
25756 			"\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
25757 		.perslen = 32,
25758 	}, {
25759 		.entropy = (unsigned char *)
25760 			"\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25761 			"\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25762 			"\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25763 			"\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25764 		.entropylen = 48,
25765 		.entpra = (unsigned char *)
25766 			"\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25767 			"\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25768 			"\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25769 		.entprb = (unsigned char *)
25770 			"\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25771 			"\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25772 			"\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25773 		.entprlen = 32,
25774 		.expected = (unsigned char *)
25775 			"\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25776 			"\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25777 			"\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25778 			"\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25779 			"\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25780 			"\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25781 			"\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25782 			"\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25783 			"\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25784 			"\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25785 			"\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25786 		.expectedlen = 128,
25787 		.addtla = (unsigned char *)
25788 			"\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25789 			"\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25790 			"\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25791 		.addtlb = (unsigned char *)
25792 			"\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25793 			"\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25794 			"\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25795 		.addtllen = 32,
25796 		.pers = (unsigned char *)
25797 			"\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25798 			"\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25799 			"\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25800 		.perslen = 32,
25801 	},
25802 };
25803 
25804 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25805 	{
25806 		.entropy = (unsigned char *)
25807 			"\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25808 			"\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25809 			"\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25810 			"\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25811 		.entropylen = 48,
25812 		.entpra = (unsigned char *)
25813 			"\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25814 			"\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25815 			"\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25816 		.entprb = (unsigned char *)
25817 			"\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25818 			"\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25819 			"\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25820 		.entprlen = 32,
25821 		.expected = (unsigned char *)
25822 			"\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25823 			"\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25824 			"\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25825 			"\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25826 			"\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25827 			"\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25828 			"\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25829 			"\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25830 			"\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25831 			"\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25832 			"\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25833 		.expectedlen = 128,
25834 		.addtla = NULL,
25835 		.addtlb = NULL,
25836 		.addtllen = 0,
25837 		.pers = NULL,
25838 		.perslen = 0,
25839 	}, {
25840 		.entropy = (unsigned char *)
25841 			"\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25842 			"\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25843 			"\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25844 			"\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25845 		.entropylen = 48,
25846 		.entpra = (unsigned char *)
25847 			"\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25848 			"\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25849 			"\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25850 		.entprb = (unsigned char *)
25851 			"\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25852 			"\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25853 			"\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25854 		.entprlen = 32,
25855 		.expected = (unsigned char *)
25856 			"\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25857 			"\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25858 			"\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25859 			"\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25860 			"\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25861 			"\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25862 			"\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25863 			"\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25864 			"\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25865 			"\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25866 			"\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25867 		.expectedlen = 128,
25868 		.addtla = (unsigned char *)
25869 			"\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25870 			"\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25871 			"\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25872 		.addtlb = (unsigned char *)
25873 			"\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25874 			"\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25875 			"\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25876 		.addtllen = 32,
25877 		.pers = NULL,
25878 		.perslen = 0,
25879 	}, {
25880 		.entropy = (unsigned char *)
25881 			"\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25882 			"\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25883 			"\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25884 			"\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25885 		.entropylen = 48,
25886 		.entpra = (unsigned char *)
25887 			"\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25888 			"\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25889 			"\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25890 		.entprb = (unsigned char *)
25891 			"\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25892 			"\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25893 			"\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25894 		.entprlen = 32,
25895 		.expected = (unsigned char *)
25896 			"\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25897 			"\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25898 			"\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25899 			"\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25900 			"\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25901 			"\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25902 			"\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25903 			"\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25904 			"\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25905 			"\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25906 			"\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25907 		.expectedlen = 128,
25908 		.addtla = NULL,
25909 		.addtlb = NULL,
25910 		.addtllen = 0,
25911 		.pers = (unsigned char *)
25912 			"\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25913 			"\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25914 			"\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25915 		.perslen = 32,
25916 	}, {
25917 		.entropy = (unsigned char *)
25918 			"\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25919 			"\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25920 			"\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25921 			"\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25922 		.entropylen = 48,
25923 		.entpra = (unsigned char *)
25924 			"\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25925 			"\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25926 			"\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25927 		.entprb = (unsigned char *)
25928 			"\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25929 			"\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25930 			"\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25931 		.entprlen = 32,
25932 		.expected = (unsigned char *)
25933 			"\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25934 			"\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25935 			"\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25936 			"\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25937 			"\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25938 			"\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25939 			"\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25940 			"\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25941 			"\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25942 			"\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25943 			"\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25944 		.expectedlen = 128,
25945 		.addtla = (unsigned char *)
25946 			"\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25947 			"\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25948 			"\x86\x88\x55\x28\xc1\x69\xdd\x76",
25949 		.addtlb = (unsigned char *)
25950 			"\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25951 			"\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25952 			"\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25953 		.addtllen = 32,
25954 		.pers = (unsigned char *)
25955 			"\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25956 			"\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25957 			"\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25958 		.perslen = 32,
25959 	},
25960 };
25961 
25962 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25963 	{
25964 		.entropy = (unsigned char *)
25965 			"\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25966 			"\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25967 		.entropylen = 24,
25968 		.entpra = (unsigned char *)
25969 			"\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25970 			"\xb4\xec\x80\xb1",
25971 		.entprb = (unsigned char *)
25972 			"\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25973 			"\x28\x07\xeb\xc2",
25974 		.entprlen = 16,
25975 		.expected = (unsigned char *)
25976 			"\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25977 			"\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25978 			"\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25979 			"\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25980 			"\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25981 			"\x8a\xf1\x23\xa8",
25982 		.expectedlen = 64,
25983 		.addtla = NULL,
25984 		.addtlb = NULL,
25985 		.addtllen = 0,
25986 		.pers = NULL,
25987 		.perslen = 0,
25988 	}, {
25989 		.entropy = (unsigned char *)
25990 			"\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25991 			"\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25992 		.entropylen = 24,
25993 		.entpra = (unsigned char *)
25994 			"\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25995 			"\x67\xd1\x08\xf8",
25996 		.entprb = (unsigned char *)
25997 			"\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25998 			"\xd4\xba\x04\x58",
25999 		.entprlen = 16,
26000 		.expected = (unsigned char *)
26001 			"\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
26002 			"\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
26003 			"\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
26004 			"\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
26005 			"\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
26006 			"\xc1\x02\x41\x82",
26007 		.expectedlen = 64,
26008 		.addtla = (unsigned char *)
26009 			"\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
26010 			"\xeb\xb3\x01\x76",
26011 		.addtlb = (unsigned char *)
26012 			"\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
26013 			"\xd0\x7f\xcc\x43",
26014 		.addtllen = 16,
26015 		.pers = NULL,
26016 		.perslen = 0,
26017 	}, {
26018 		.entropy = (unsigned char *)
26019 			"\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
26020 			"\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
26021 		.entropylen = 24,
26022 		.entpra = (unsigned char *)
26023 			"\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
26024 			"\xc3\x0f\xe3\xb0",
26025 		.entprb = (unsigned char *)
26026 			"\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
26027 			"\xd6\x9c\x9d\xe8",
26028 		.entprlen = 16,
26029 		.expected = (unsigned char *)
26030 			"\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
26031 			"\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
26032 			"\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
26033 			"\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
26034 			"\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
26035 			"\x72\x82\x0c\xcf",
26036 		.expectedlen = 64,
26037 		.addtla = NULL,
26038 		.addtlb = NULL,
26039 		.addtllen = 0,
26040 		.pers = (unsigned char *)
26041 			"\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
26042 			"\x21\x52\xb3\xad",
26043 		.perslen = 16,
26044 	}, {
26045 		.entropy = (unsigned char *)
26046 			"\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
26047 			"\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
26048 		.entropylen = 24,
26049 		.entpra = (unsigned char *)
26050 			"\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
26051 			"\xc4\x2c\xe8\x10",
26052 		.entprb = (unsigned char *)
26053 			"\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
26054 			"\x08\xf7\xa5\x01",
26055 		.entprlen = 16,
26056 		.expected = (unsigned char *)
26057 			"\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
26058 			"\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
26059 			"\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
26060 			"\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
26061 			"\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
26062 			"\x23\xc5\x1f\x68",
26063 		.expectedlen = 64,
26064 		.addtla = (unsigned char *)
26065 			"\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
26066 			"\x23\x6d\xad\x1d",
26067 		.addtlb = (unsigned char *)
26068 			"\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
26069 			"\xbc\x59\x31\x8c",
26070 		.addtllen = 16,
26071 		.pers = (unsigned char *)
26072 			"\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
26073 			"\x37\x3c\x5c\x0b",
26074 		.perslen = 16,
26075 	},
26076 };
26077 
26078 /*
26079  * SP800-90A DRBG Test vectors from
26080  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
26081  *
26082  * Test vectors for DRBG without prediction resistance. All types of DRBGs
26083  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
26084  * w/o personalization string, w/ and w/o additional input string).
26085  */
26086 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
26087 	{
26088 		.entropy = (unsigned char *)
26089 			"\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
26090 			"\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
26091 			"\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
26092 			"\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
26093 		.entropylen = 48,
26094 		.expected = (unsigned char *)
26095 			"\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
26096 			"\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
26097 			"\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
26098 			"\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
26099 			"\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
26100 			"\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
26101 			"\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
26102 			"\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
26103 			"\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
26104 			"\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
26105 			"\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
26106 		.expectedlen = 128,
26107 		.addtla = NULL,
26108 		.addtlb = NULL,
26109 		.addtllen = 0,
26110 		.pers = NULL,
26111 		.perslen = 0,
26112 	}, {
26113 		.entropy = (unsigned char *)
26114 			"\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
26115 			"\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
26116 			"\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
26117 			"\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
26118 		.entropylen = 48,
26119 		.expected = (unsigned char *)
26120 			"\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
26121 			"\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
26122 			"\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
26123 			"\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
26124 			"\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
26125 			"\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
26126 			"\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
26127 			"\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
26128 			"\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
26129 			"\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
26130 			"\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
26131 		.expectedlen = 128,
26132 		.addtla = (unsigned char *)
26133 			"\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
26134 			"\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
26135 			"\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
26136 		.addtlb = (unsigned char *)
26137 			"\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
26138 			"\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
26139 			"\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
26140 		.addtllen = 32,
26141 		.pers = NULL,
26142 		.perslen = 0,
26143 	}, {
26144 		.entropy = (unsigned char *)
26145 			"\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
26146 			"\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
26147 			"\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
26148 			"\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
26149 		.entropylen = 48,
26150 		.expected = (unsigned char *)
26151 			"\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
26152 			"\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
26153 			"\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
26154 			"\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
26155 			"\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
26156 			"\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
26157 			"\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
26158 			"\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
26159 			"\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
26160 			"\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
26161 			"\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
26162 		.expectedlen = 128,
26163 		.addtla = NULL,
26164 		.addtlb = NULL,
26165 		.addtllen = 0,
26166 		.pers = (unsigned char *)
26167 			"\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
26168 			"\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
26169 			"\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
26170 		.perslen = 32,
26171 	}, {
26172 		.entropy = (unsigned char *)
26173 			"\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
26174 			"\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
26175 			"\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
26176 			"\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
26177 		.entropylen = 48,
26178 		.expected = (unsigned char *)
26179 			"\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
26180 			"\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
26181 			"\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
26182 			"\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
26183 			"\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
26184 			"\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
26185 			"\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
26186 			"\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
26187 			"\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
26188 			"\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
26189 			"\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
26190 		.expectedlen = 128,
26191 		.addtla = (unsigned char *)
26192 			"\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
26193 			"\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
26194 			"\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
26195 		.addtlb = (unsigned char *)
26196 			"\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
26197 			"\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
26198 			"\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
26199 		.addtllen = 32,
26200 		.pers = (unsigned char *)
26201 			"\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
26202 			"\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
26203 			"\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
26204 		.perslen = 32,
26205 	},
26206 };
26207 
26208 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
26209 	{
26210 		.entropy = (unsigned char *)
26211 			"\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
26212 			"\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
26213 			"\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
26214 			"\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
26215 		.entropylen = 48,
26216 		.expected = (unsigned char *)
26217 			"\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
26218 			"\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
26219 			"\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
26220 			"\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
26221 			"\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
26222 			"\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
26223 			"\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
26224 			"\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
26225 			"\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
26226 			"\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
26227 			"\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
26228 		.expectedlen = 128,
26229 		.addtla = NULL,
26230 		.addtlb = NULL,
26231 		.addtllen = 0,
26232 		.pers = NULL,
26233 		.perslen = 0,
26234 	}, {
26235 		.entropy = (unsigned char *)
26236 			"\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
26237 			"\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
26238 			"\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
26239 			"\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
26240 		.entropylen = 48,
26241 		.expected = (unsigned char *)
26242 			"\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
26243 			"\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
26244 			"\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
26245 			"\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
26246 			"\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
26247 			"\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
26248 			"\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
26249 			"\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
26250 			"\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
26251 			"\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
26252 			"\x50\x9a\x8c\x85\x90\x87\x03\x9c",
26253 		.expectedlen = 128,
26254 		.addtla = (unsigned char *)
26255 			"\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
26256 			"\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
26257 			"\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
26258 		.addtlb = (unsigned char *)
26259 			"\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
26260 			"\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
26261 			"\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
26262 		.addtllen = 32,
26263 		.pers = NULL,
26264 		.perslen = 0,
26265 	}, {
26266 		.entropy = (unsigned char *)
26267 			"\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
26268 			"\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
26269 			"\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
26270 			"\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
26271 		.entropylen = 48,
26272 		.expected = (unsigned char *)
26273 			"\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
26274 			"\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
26275 			"\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
26276 			"\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
26277 			"\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
26278 			"\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
26279 			"\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
26280 			"\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
26281 			"\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
26282 			"\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
26283 			"\x10\x37\x41\x03\x0c\xcc\x3a\x56",
26284 		.expectedlen = 128,
26285 		.addtla = NULL,
26286 		.addtlb = NULL,
26287 		.addtllen = 0,
26288 		.pers = (unsigned char *)
26289 			"\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
26290 			"\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
26291 			"\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
26292 		.perslen = 32,
26293 	}, {
26294 		.entropy = (unsigned char *)
26295 			"\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
26296 			"\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
26297 			"\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
26298 			"\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
26299 		.entropylen = 48,
26300 		.expected = (unsigned char *)
26301 			"\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
26302 			"\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
26303 			"\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
26304 			"\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
26305 			"\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
26306 			"\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
26307 			"\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
26308 			"\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
26309 			"\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
26310 			"\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
26311 			"\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
26312 		.expectedlen = 128,
26313 		.addtla = (unsigned char *)
26314 			"\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
26315 			"\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
26316 			"\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
26317 		.addtlb = (unsigned char *)
26318 			"\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
26319 			"\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
26320 			"\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
26321 		.addtllen = 32,
26322 		.pers = (unsigned char *)
26323 			"\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
26324 			"\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
26325 			"\x36\x60\x3b\xca\x37\xc9\xee\x29",
26326 		.perslen = 32,
26327 	},
26328 };
26329 
26330 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
26331 	{
26332 		.entropy = (unsigned char *)
26333 			"\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
26334 			"\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
26335 			"\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
26336 			"\xac\x9b\xbb\x00",
26337 		.entropylen = 40,
26338 		.expected = (unsigned char *)
26339 			"\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
26340 			"\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
26341 			"\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
26342 			"\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
26343 			"\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
26344 			"\x9a\x9d\xf1\x0d",
26345 		.expectedlen = 64,
26346 		.addtla = NULL,
26347 		.addtlb = NULL,
26348 		.addtllen = 0,
26349 		.pers = NULL,
26350 		.perslen = 0,
26351 	},
26352 };
26353 
26354 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
26355 	{
26356 		.entropy = (unsigned char *)
26357 			"\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
26358 			"\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
26359 			"\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
26360 			"\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
26361 		.entropylen = 48,
26362 		.expected = (unsigned char *)
26363 			"\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
26364 			"\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
26365 			"\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
26366 			"\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
26367 			"\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
26368 			"\xb4\xf0\x7e\x1d",
26369 		.expectedlen = 64,
26370 		.addtla = NULL,
26371 		.addtlb = NULL,
26372 		.addtllen = 0,
26373 		.pers = NULL,
26374 		.perslen = 0,
26375 	},
26376 };
26377 
26378 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
26379 	{
26380 		.entropy = (unsigned char *)
26381 			"\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
26382 			"\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
26383 		.entropylen = 24,
26384 		.expected = (unsigned char *)
26385 			"\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
26386 			"\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
26387 			"\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
26388 			"\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
26389 			"\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
26390 			"\xcb\x2d\xd6\xb0",
26391 		.expectedlen = 64,
26392 		.addtla = NULL,
26393 		.addtlb = NULL,
26394 		.addtllen = 0,
26395 		.pers = NULL,
26396 		.perslen = 0,
26397 	}, {
26398 		.entropy = (unsigned char *)
26399 			"\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
26400 			"\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
26401 		.entropylen = 24,
26402 		.expected = (unsigned char *)
26403 			"\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
26404 			"\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
26405 			"\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
26406 			"\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
26407 			"\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
26408 			"\xc3\xdf\xb3\x81",
26409 		.expectedlen = 64,
26410 		.addtla = (unsigned char *)
26411 			"\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
26412 			"\x91\x4d\x81\x56",
26413 		.addtlb = (unsigned char *)
26414 			"\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
26415 			"\x4a\x55\xd1\xc6",
26416 		.addtllen = 16,
26417 		.pers = NULL,
26418 		.perslen = 0,
26419 	}, {
26420 		.entropy = (unsigned char *)
26421 			"\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
26422 			"\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
26423 		.entropylen = 24,
26424 		.expected = (unsigned char *)
26425 			"\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
26426 			"\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
26427 			"\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
26428 			"\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
26429 			"\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
26430 			"\x34\x30\x0c\x3d",
26431 		.expectedlen = 64,
26432 		.addtla = NULL,
26433 		.addtlb = NULL,
26434 		.addtllen = 0,
26435 		.pers = (unsigned char *)
26436 			"\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
26437 			"\x0b\xc6\x97\x54",
26438 		.perslen = 16,
26439 	}, {
26440 		.entropy = (unsigned char *)
26441 			"\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
26442 			"\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
26443 		.entropylen = 24,
26444 		.expected = (unsigned char *)
26445 			"\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
26446 			"\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
26447 			"\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
26448 			"\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
26449 			"\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
26450 			"\x2b\x49\x1e\x5c",
26451 		.expectedlen = 64,
26452 		.addtla = (unsigned char *)
26453 			"\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
26454 			"\x44\x85\xe7\xfe",
26455 		.addtlb = (unsigned char *)
26456 			"\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
26457 			"\x82\x16\x62\x7f",
26458 		.addtllen = 16,
26459 		.pers = (unsigned char *)
26460 			"\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
26461 			"\x8e\xcf\xe0\x02",
26462 		.perslen = 16,
26463 	},
26464 };
26465 
26466 /* Cast5 test vectors from RFC 2144 */
26467 static const struct cipher_testvec cast5_enc_tv_template[] = {
26468 	{
26469 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26470 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
26471 		.klen	= 16,
26472 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26473 		.ilen	= 8,
26474 		.result	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26475 		.rlen	= 8,
26476 	}, {
26477 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26478 			  "\x23\x45",
26479 		.klen	= 10,
26480 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26481 		.ilen	= 8,
26482 		.result	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26483 		.rlen	= 8,
26484 	}, {
26485 		.key	= "\x01\x23\x45\x67\x12",
26486 		.klen	= 5,
26487 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26488 		.ilen	= 8,
26489 		.result	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26490 		.rlen	= 8,
26491 	}, { /* Generated from TF test vectors */
26492 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26493 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26494 		.klen	= 16,
26495 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26496 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26497 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26498 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26499 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26500 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26501 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26502 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26503 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26504 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26505 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26506 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26507 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26508 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26509 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26510 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26511 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26512 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26513 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26514 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26515 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26516 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26517 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26518 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26519 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26520 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26521 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26522 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26523 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26524 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26525 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26526 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26527 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26528 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26529 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26530 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26531 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26532 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26533 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26534 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26535 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26536 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26537 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26538 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26539 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26540 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26541 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26542 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26543 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26544 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26545 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26546 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26547 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26548 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26549 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26550 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26551 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26552 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26553 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26554 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26555 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26556 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26557 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26558 		.ilen	= 496,
26559 		.result	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26560 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26561 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26562 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26563 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26564 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26565 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26566 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26567 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26568 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26569 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26570 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26571 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26572 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26573 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26574 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26575 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26576 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26577 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26578 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26579 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26580 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26581 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26582 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26583 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26584 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26585 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26586 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26587 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26588 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26589 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26590 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26591 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26592 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26593 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26594 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26595 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26596 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26597 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26598 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26599 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26600 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26601 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26602 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26603 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26604 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26605 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26606 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26607 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26608 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26609 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26610 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26611 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26612 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26613 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26614 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26615 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26616 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26617 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26618 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26619 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26620 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26621 		.rlen	= 496,
26622 		.also_non_np = 1,
26623 		.np	= 3,
26624 		.tap	= { 496 - 20, 4, 16 },
26625 	},
26626 };
26627 
26628 static const struct cipher_testvec cast5_dec_tv_template[] = {
26629 	{
26630 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26631 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
26632 		.klen	= 16,
26633 		.input	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26634 		.ilen	= 8,
26635 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26636 		.rlen	= 8,
26637 	}, {
26638 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26639 			  "\x23\x45",
26640 		.klen	= 10,
26641 		.input	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26642 		.ilen	= 8,
26643 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26644 		.rlen	= 8,
26645 	}, {
26646 		.key	= "\x01\x23\x45\x67\x12",
26647 		.klen	= 5,
26648 		.input	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26649 		.ilen	= 8,
26650 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26651 		.rlen	= 8,
26652 	}, { /* Generated from TF test vectors */
26653 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26654 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26655 		.klen	= 16,
26656 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26657 		.input	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26658 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26659 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26660 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26661 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26662 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26663 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26664 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26665 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26666 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26667 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26668 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26669 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26670 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26671 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26672 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26673 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26674 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26675 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26676 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26677 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26678 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26679 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26680 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26681 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26682 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26683 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26684 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26685 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26686 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26687 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26688 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26689 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26690 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26691 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26692 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26693 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26694 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26695 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26696 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26697 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26698 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26699 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26700 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26701 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26702 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26703 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26704 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26705 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26706 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26707 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26708 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26709 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26710 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26711 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26712 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26713 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26714 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26715 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26716 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26717 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26718 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26719 		.ilen	= 496,
26720 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26721 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26722 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26723 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26724 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26725 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26726 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26727 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26728 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26729 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26730 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26731 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26732 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26733 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26734 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26735 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26736 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26737 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26738 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26739 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26740 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26741 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26742 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26743 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26744 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26745 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26746 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26747 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26748 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26749 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26750 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26751 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26752 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26753 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26754 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26755 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26756 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26757 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26758 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26759 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26760 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26761 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26762 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26763 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26764 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26765 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26766 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26767 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26768 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26769 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26770 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26771 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26772 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26773 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26774 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26775 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26776 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26777 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26778 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26779 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26780 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26781 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26782 		.rlen	= 496,
26783 		.also_non_np = 1,
26784 		.np	= 3,
26785 		.tap	= { 496 - 20, 4, 16 },
26786 	},
26787 };
26788 
26789 static const struct cipher_testvec cast5_cbc_enc_tv_template[] = {
26790 	{ /* Generated from TF test vectors */
26791 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26792 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26793 		.klen	= 16,
26794 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26795 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26796 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26797 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26798 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26799 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26800 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26801 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26802 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26803 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26804 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26805 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26806 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26807 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26808 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26809 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26810 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26811 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26812 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26813 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26814 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26815 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26816 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26817 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26818 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26819 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26820 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26821 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26822 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26823 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26824 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26825 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26826 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26827 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26828 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26829 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26830 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26831 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26832 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26833 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26834 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26835 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26836 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26837 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26838 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26839 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26840 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26841 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26842 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26843 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26844 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26845 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26846 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26847 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26848 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26849 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26850 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26851 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26852 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26853 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26854 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26855 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26856 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26857 		.ilen	= 496,
26858 		.result	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26859 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26860 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26861 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26862 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26863 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26864 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26865 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26866 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26867 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26868 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26869 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26870 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26871 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26872 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26873 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26874 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26875 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26876 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26877 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26878 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26879 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26880 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26881 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26882 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26883 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26884 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26885 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26886 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26887 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26888 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26889 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26890 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26891 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26892 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26893 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26894 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26895 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26896 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26897 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26898 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26899 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26900 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26901 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26902 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26903 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26904 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26905 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26906 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26907 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26908 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26909 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26910 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26911 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26912 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26913 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26914 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26915 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26916 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26917 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26918 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26919 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26920 		.rlen	= 496,
26921 		.also_non_np = 1,
26922 		.np	= 3,
26923 		.tap	= { 496 - 20, 4, 16 },
26924 	},
26925 };
26926 
26927 static const struct cipher_testvec cast5_cbc_dec_tv_template[] = {
26928 	{ /* Generated from TF test vectors */
26929 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26930 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26931 		.klen	= 16,
26932 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26933 		.input	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26934 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26935 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26936 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26937 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26938 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26939 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26940 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26941 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26942 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26943 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26944 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26945 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26946 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26947 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26948 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26949 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26950 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26951 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26952 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26953 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26954 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26955 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26956 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26957 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26958 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26959 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26960 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26961 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26962 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26963 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26964 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26965 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26966 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26967 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26968 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26969 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26970 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26971 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26972 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26973 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26974 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26975 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26976 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26977 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26978 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26979 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26980 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26981 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26982 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26983 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26984 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26985 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26986 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26987 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26988 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26989 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26990 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26991 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26992 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26993 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26994 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26995 		.ilen	= 496,
26996 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26997 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26998 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26999 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27000 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27001 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27002 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27003 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27004 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27005 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27006 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27007 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27008 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27009 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27010 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27011 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27012 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27013 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27014 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27015 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27016 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27017 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27018 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27019 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27020 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27021 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27022 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27023 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27024 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27025 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27026 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27027 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27028 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27029 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27030 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27031 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27032 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27033 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27034 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27035 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27036 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27037 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27038 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27039 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27040 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27041 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27042 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27043 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27044 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27045 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27046 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27047 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27048 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27049 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27050 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27051 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27052 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27053 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27054 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27055 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27056 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27057 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
27058 		.rlen	= 496,
27059 		.also_non_np = 1,
27060 		.np	= 3,
27061 		.tap	= { 496 - 20, 4, 16 },
27062 	},
27063 };
27064 
27065 static const struct cipher_testvec cast5_ctr_enc_tv_template[] = {
27066 	{ /* Generated from TF test vectors */
27067 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27068 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
27069 		.klen	= 16,
27070 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
27071 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27072 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27073 			  "\x3A",
27074 		.ilen	= 17,
27075 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
27076 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
27077 			  "\x0C",
27078 		.rlen	= 17,
27079 	}, { /* Generated from TF test vectors */
27080 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27081 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
27082 		.klen	= 16,
27083 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
27084 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27085 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27086 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27087 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27088 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27089 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27090 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27091 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27092 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27093 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27094 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27095 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27096 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27097 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27098 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27099 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27100 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27101 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27102 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27103 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27104 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27105 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27106 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27107 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27108 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27109 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27110 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27111 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27112 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27113 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27114 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27115 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27116 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27117 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27118 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27119 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27120 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27121 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27122 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27123 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27124 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27125 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27126 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27127 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27128 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27129 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27130 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27131 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27132 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27133 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27134 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27135 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27136 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27137 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27138 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27139 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27140 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27141 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27142 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27143 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27144 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27145 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
27146 		.ilen	= 496,
27147 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
27148 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
27149 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
27150 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
27151 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
27152 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
27153 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
27154 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
27155 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
27156 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
27157 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
27158 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
27159 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
27160 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
27161 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
27162 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
27163 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
27164 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
27165 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
27166 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
27167 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
27168 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
27169 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
27170 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
27171 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
27172 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
27173 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
27174 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
27175 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
27176 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
27177 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
27178 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
27179 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
27180 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
27181 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
27182 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
27183 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
27184 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
27185 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
27186 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
27187 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
27188 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
27189 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
27190 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
27191 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
27192 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
27193 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
27194 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
27195 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
27196 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
27197 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
27198 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
27199 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
27200 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
27201 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
27202 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
27203 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
27204 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
27205 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
27206 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
27207 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
27208 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
27209 		.rlen	= 496,
27210 		.also_non_np = 1,
27211 		.np	= 3,
27212 		.tap	= { 496 - 20, 4, 16 },
27213 	},
27214 };
27215 
27216 static const struct cipher_testvec cast5_ctr_dec_tv_template[] = {
27217 	{ /* Generated from TF test vectors */
27218 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27219 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
27220 		.klen	= 16,
27221 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
27222 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
27223 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
27224 			  "\x0C",
27225 		.ilen	= 17,
27226 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27227 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27228 			  "\x3A",
27229 		.rlen	= 17,
27230 	}, { /* Generated from TF test vectors */
27231 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27232 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
27233 		.klen	= 16,
27234 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
27235 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
27236 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
27237 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
27238 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
27239 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
27240 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
27241 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
27242 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
27243 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
27244 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
27245 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
27246 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
27247 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
27248 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
27249 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
27250 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
27251 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
27252 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
27253 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
27254 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
27255 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
27256 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
27257 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
27258 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
27259 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
27260 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
27261 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
27262 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
27263 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
27264 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
27265 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
27266 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
27267 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
27268 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
27269 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
27270 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
27271 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
27272 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
27273 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
27274 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
27275 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
27276 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
27277 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
27278 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
27279 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
27280 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
27281 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
27282 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
27283 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
27284 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
27285 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
27286 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
27287 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
27288 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
27289 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
27290 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
27291 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
27292 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
27293 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
27294 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
27295 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
27296 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
27297 		.ilen	= 496,
27298 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27299 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27300 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27301 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27302 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27303 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27304 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27305 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27306 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27307 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27308 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27309 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27310 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27311 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27312 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27313 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27314 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27315 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27316 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27317 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27318 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27319 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27320 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27321 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27322 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27323 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27324 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27325 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27326 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27327 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27328 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27329 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27330 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27331 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27332 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27333 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27334 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27335 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27336 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27337 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27338 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27339 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27340 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27341 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27342 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27343 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27344 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27345 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27346 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27347 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27348 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27349 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27350 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27351 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27352 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27353 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27354 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27355 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27356 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27357 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27358 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27359 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
27360 		.rlen	= 496,
27361 		.also_non_np = 1,
27362 		.np	= 3,
27363 		.tap	= { 496 - 20, 4, 16 },
27364 	},
27365 };
27366 
27367 /*
27368  * ARC4 test vectors from OpenSSL
27369  */
27370 static const struct cipher_testvec arc4_enc_tv_template[] = {
27371 	{
27372 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27373 		.klen	= 8,
27374 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27375 		.ilen	= 8,
27376 		.result	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
27377 		.rlen	= 8,
27378 	}, {
27379 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27380 		.klen	= 8,
27381 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27382 		.ilen	= 8,
27383 		.result	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
27384 		.rlen	= 8,
27385 	}, {
27386 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27387 		.klen	= 8,
27388 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27389 		.ilen	= 8,
27390 		.result	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
27391 		.rlen	= 8,
27392 	}, {
27393 		.key	= "\xef\x01\x23\x45",
27394 		.klen	= 4,
27395 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
27396 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
27397 			  "\x00\x00\x00\x00",
27398 		.ilen	= 20,
27399 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
27400 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
27401 			  "\x36\xb6\x78\x58",
27402 		.rlen	= 20,
27403 	}, {
27404 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27405 		.klen	= 8,
27406 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27407 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27408 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27409 			  "\x12\x34\x56\x78",
27410 		.ilen	= 28,
27411 		.result	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
27412 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
27413 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
27414 			  "\x40\x01\x1e\xcf",
27415 		.rlen	= 28,
27416 	}, {
27417 		.key	= "\xef\x01\x23\x45",
27418 		.klen	= 4,
27419 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
27420 			  "\x00\x00",
27421 		.ilen	= 10,
27422 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
27423 			  "\xbd\x61",
27424 		.rlen	= 10,
27425 	}, {
27426 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
27427 			"\x00\x00\x00\x00\x00\x00\x00\x00",
27428 		.klen	= 16,
27429 		.input	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
27430 		.ilen	= 8,
27431 		.result	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
27432 		.rlen	= 8,
27433 	},
27434 };
27435 
27436 static const struct cipher_testvec arc4_dec_tv_template[] = {
27437 	{
27438 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27439 		.klen	= 8,
27440 		.input	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
27441 		.ilen	= 8,
27442 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27443 		.rlen	= 8,
27444 	}, {
27445 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27446 		.klen	= 8,
27447 		.input	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
27448 		.ilen	= 8,
27449 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27450 		.rlen	= 8,
27451 	}, {
27452 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27453 		.klen	= 8,
27454 		.input	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
27455 		.ilen	= 8,
27456 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27457 		.rlen	= 8,
27458 	}, {
27459 		.key	= "\xef\x01\x23\x45",
27460 		.klen	= 4,
27461 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
27462 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
27463 			  "\x36\xb6\x78\x58",
27464 		.ilen	= 20,
27465 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
27466 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
27467 			  "\x00\x00\x00\x00",
27468 		.rlen	= 20,
27469 	}, {
27470 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
27471 		.klen	= 8,
27472 		.input	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
27473 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
27474 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
27475 			  "\x40\x01\x1e\xcf",
27476 		.ilen	= 28,
27477 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27478 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27479 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
27480 			  "\x12\x34\x56\x78",
27481 		.rlen	= 28,
27482 	}, {
27483 		.key	= "\xef\x01\x23\x45",
27484 		.klen	= 4,
27485 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
27486 			  "\xbd\x61",
27487 		.ilen	= 10,
27488 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
27489 			  "\x00\x00",
27490 		.rlen	= 10,
27491 	}, {
27492 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
27493 			"\x00\x00\x00\x00\x00\x00\x00\x00",
27494 		.klen	= 16,
27495 		.input	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
27496 		.ilen	= 8,
27497 		.result	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
27498 		.rlen	= 8,
27499 	},
27500 };
27501 
27502 /*
27503  * TEA test vectors
27504  */
27505 static const struct cipher_testvec tea_enc_tv_template[] = {
27506 	{
27507 		.key    = zeroed_string,
27508 		.klen	= 16,
27509 		.input  = zeroed_string,
27510 		.ilen	= 8,
27511 		.result	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
27512 		.rlen	= 8,
27513 	}, {
27514 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27515 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27516 		.klen	= 16,
27517 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27518 		.ilen	= 8,
27519 		.result	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
27520 		.rlen	= 8,
27521 	}, {
27522 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27523 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27524 		.klen	= 16,
27525 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27526 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27527 		.ilen	= 16,
27528 		.result	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
27529 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
27530 		.rlen	= 16,
27531 	}, {
27532 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27533 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27534 		.klen	= 16,
27535 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27536 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27537 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27538 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27539 		.ilen	= 32,
27540 		.result	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
27541 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
27542 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
27543 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
27544 		.rlen	= 32,
27545 	}
27546 };
27547 
27548 static const struct cipher_testvec tea_dec_tv_template[] = {
27549 	{
27550 		.key    = zeroed_string,
27551 		.klen	= 16,
27552 		.input	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
27553 		.ilen	= 8,
27554 		.result = zeroed_string,
27555 		.rlen	= 8,
27556 	}, {
27557 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27558 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27559 		.klen	= 16,
27560 		.input	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
27561 		.ilen	= 8,
27562 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27563 		.rlen	= 8,
27564 	}, {
27565 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27566 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27567 		.klen	= 16,
27568 		.input	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
27569 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
27570 		.ilen   = 16,
27571 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27572 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27573 		.rlen	= 16,
27574 	}, {
27575 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27576 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27577 		.klen	= 16,
27578 		.input	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
27579 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
27580 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
27581 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
27582 		.ilen	= 32,
27583 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27584 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27585 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27586 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27587 		.rlen	= 32,
27588 	}
27589 };
27590 
27591 /*
27592  * XTEA test vectors
27593  */
27594 static const struct cipher_testvec xtea_enc_tv_template[] = {
27595 	{
27596 		.key    = zeroed_string,
27597 		.klen	= 16,
27598 		.input  = zeroed_string,
27599 		.ilen	= 8,
27600 		.result	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27601 		.rlen	= 8,
27602 	}, {
27603 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27604 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27605 		.klen	= 16,
27606 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27607 		.ilen	= 8,
27608 		.result	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27609 		.rlen	= 8,
27610 	}, {
27611 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27612 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27613 		.klen	= 16,
27614 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27615 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27616 		.ilen	= 16,
27617 		.result	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27618 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27619 		.rlen	= 16,
27620 	}, {
27621 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27622 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27623 		.klen	= 16,
27624 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27625 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27626 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27627 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27628 		.ilen	= 32,
27629 		.result	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27630 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27631 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27632 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27633 		.rlen	= 32,
27634 	}
27635 };
27636 
27637 static const struct cipher_testvec xtea_dec_tv_template[] = {
27638 	{
27639 		.key    = zeroed_string,
27640 		.klen	= 16,
27641 		.input	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27642 		.ilen	= 8,
27643 		.result = zeroed_string,
27644 		.rlen	= 8,
27645 	}, {
27646 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27647 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27648 		.klen	= 16,
27649 		.input	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27650 		.ilen	= 8,
27651 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27652 		.rlen	= 8,
27653 	}, {
27654 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27655 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27656 		.klen	= 16,
27657 		.input	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27658 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27659 		.ilen	= 16,
27660 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27661 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27662 		.rlen	= 16,
27663 	}, {
27664 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27665 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27666 		.klen	= 16,
27667 		.input	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27668 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27669 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27670 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27671 		.ilen	= 32,
27672 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27673 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27674 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27675 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27676 		.rlen	= 32,
27677 	}
27678 };
27679 
27680 /*
27681  * KHAZAD test vectors.
27682  */
27683 static const struct cipher_testvec khazad_enc_tv_template[] = {
27684 	{
27685 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27686 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27687 		.klen	= 16,
27688 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27689 		.ilen	= 8,
27690 		.result	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27691 		.rlen	= 8,
27692 	}, {
27693 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27694 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27695 		.klen	= 16,
27696 		.input	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27697 		.ilen	= 8,
27698 		.result	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27699 		.rlen	= 8,
27700 	}, {
27701 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27702 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27703 		.klen	= 16,
27704 		.input	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27705 		.ilen	= 8,
27706 		.result	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27707 		.rlen	= 8,
27708 	}, {
27709 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27710 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27711 		.klen	= 16,
27712 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27713 		.ilen	= 8,
27714 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27715 		.rlen	= 8,
27716 	}, {
27717 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27718 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27719 		.klen	= 16,
27720 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27721 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27722 		.ilen	= 16,
27723 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27724 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27725 		.rlen	= 16,
27726 	},
27727 };
27728 
27729 static const struct cipher_testvec khazad_dec_tv_template[] = {
27730 	{
27731 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27732 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27733 		.klen	= 16,
27734 		.input	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27735 		.ilen	= 8,
27736 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27737 		.rlen	= 8,
27738 	}, {
27739 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27740 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27741 		.klen	= 16,
27742 		.input	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27743 		.ilen	= 8,
27744 		.result	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27745 		.rlen	= 8,
27746 	}, {
27747 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27748 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27749 		.klen	= 16,
27750 		.input	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27751 		.ilen	= 8,
27752 		.result	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27753 		.rlen	= 8,
27754 	}, {
27755 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27756 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27757 		.klen	= 16,
27758 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27759 		.ilen	= 8,
27760 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27761 		.rlen	= 8,
27762 	}, {
27763 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27764 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27765 		.klen	= 16,
27766 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27767 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27768 		.ilen	= 16,
27769 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27770 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27771 		.rlen	= 16,
27772 	},
27773 };
27774 
27775 /*
27776  * Anubis test vectors.
27777  */
27778 
27779 static const struct cipher_testvec anubis_enc_tv_template[] = {
27780 	{
27781 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27782 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27783 		.klen	= 16,
27784 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27785 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27786 		.ilen	= 16,
27787 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27788 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27789 		.rlen	= 16,
27790 	}, {
27791 
27792 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27793 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27794 			  "\x03\x03\x03\x03",
27795 		.klen	= 20,
27796 		.input	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27797 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27798 		.ilen	= 16,
27799 		.result	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27800 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27801 		.rlen	= 16,
27802 	}, {
27803 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27804 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27805 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27806 			  "\x24\x24\x24\x24",
27807 		.klen	= 28,
27808 		.input	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27809 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27810 		.ilen	= 16,
27811 		.result	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27812 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27813 		.rlen	= 16,
27814 	}, {
27815 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27816 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27817 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27818 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27819 		.klen	= 32,
27820 		.input	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27821 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27822 		.ilen	= 16,
27823 		.result	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27824 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27825 		.rlen	= 16,
27826 	}, {
27827 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27828 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27829 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27830 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27831 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27832 		.klen	= 40,
27833 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27834 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27835 		.ilen	= 16,
27836 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27837 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27838 		.rlen	= 16,
27839 	},
27840 };
27841 
27842 static const struct cipher_testvec anubis_dec_tv_template[] = {
27843 	{
27844 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27845 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27846 		.klen	= 16,
27847 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27848 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27849 		.ilen	= 16,
27850 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27851 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27852 		.rlen	= 16,
27853 	}, {
27854 
27855 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27856 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27857 			  "\x03\x03\x03\x03",
27858 		.klen	= 20,
27859 		.input	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27860 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27861 		.ilen	= 16,
27862 		.result	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27863 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27864 		.rlen	= 16,
27865 	}, {
27866 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27867 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27868 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27869 			  "\x24\x24\x24\x24",
27870 		.klen	= 28,
27871 		.input	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27872 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27873 		.ilen	= 16,
27874 		.result	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27875 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27876 		.rlen	= 16,
27877 	}, {
27878 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27879 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27880 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27881 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27882 		.klen	= 32,
27883 		.input	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27884 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27885 		.ilen	= 16,
27886 		.result	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27887 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27888 		.rlen	= 16,
27889 	}, {
27890 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27891 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27892 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27893 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27894 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27895 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27896 			 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27897 		.klen	= 40,
27898 		.ilen	= 16,
27899 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27900 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27901 		.rlen	= 16,
27902 	},
27903 };
27904 
27905 static const struct cipher_testvec anubis_cbc_enc_tv_template[] = {
27906 	{
27907 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27908 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27909 		.klen	= 16,
27910 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27911 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27912 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27913 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27914 		.ilen	= 32,
27915 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27916 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27917 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27918 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27919 		.rlen	= 32,
27920 	}, {
27921 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27922 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27923 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27924 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27925 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27926 		.klen	= 40,
27927 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27928 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27929 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27930 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27931 		.ilen	= 32,
27932 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27933 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27934 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27935 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27936 		.rlen	= 32,
27937 	},
27938 };
27939 
27940 static const struct cipher_testvec anubis_cbc_dec_tv_template[] = {
27941 	{
27942 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27943 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27944 		.klen	= 16,
27945 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27946 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27947 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27948 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27949 		.ilen	= 32,
27950 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27951 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27952 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27953 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27954 		.rlen	= 32,
27955 	}, {
27956 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27957 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27958 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27959 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27960 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27961 		.klen	= 40,
27962 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27963 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27964 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27965 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27966 		.ilen	= 32,
27967 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27968 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27969 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27970 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27971 		.rlen	= 32,
27972 	},
27973 };
27974 
27975 /*
27976  * XETA test vectors
27977  */
27978 static const struct cipher_testvec xeta_enc_tv_template[] = {
27979 	{
27980 		.key    = zeroed_string,
27981 		.klen	= 16,
27982 		.input  = zeroed_string,
27983 		.ilen	= 8,
27984 		.result	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27985 		.rlen	= 8,
27986 	}, {
27987 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27988 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27989 		.klen	= 16,
27990 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27991 		.ilen	= 8,
27992 		.result	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27993 		.rlen	= 8,
27994 	}, {
27995 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27996 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27997 		.klen	= 16,
27998 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27999 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
28000 		.ilen	= 16,
28001 		.result	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
28002 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
28003 		.rlen	= 16,
28004 	}, {
28005 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
28006 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
28007 		.klen	= 16,
28008 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
28009 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
28010 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
28011 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
28012 		.ilen	= 32,
28013 		.result	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
28014 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
28015 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
28016 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
28017 		.rlen	= 32,
28018 	}
28019 };
28020 
28021 static const struct cipher_testvec xeta_dec_tv_template[] = {
28022 	{
28023 		.key    = zeroed_string,
28024 		.klen	= 16,
28025 		.input	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
28026 		.ilen	= 8,
28027 		.result = zeroed_string,
28028 		.rlen	= 8,
28029 	}, {
28030 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
28031 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
28032 		.klen	= 16,
28033 		.input	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
28034 		.ilen	= 8,
28035 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
28036 		.rlen	= 8,
28037 	}, {
28038 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
28039 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
28040 		.klen	= 16,
28041 		.input	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
28042 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
28043 		.ilen	= 16,
28044 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
28045 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
28046 		.rlen	= 16,
28047 	}, {
28048 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
28049 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
28050 		.klen	= 16,
28051 		.input	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
28052 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
28053 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
28054 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
28055 		.ilen	= 32,
28056 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
28057 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
28058 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
28059 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
28060 		.rlen	= 32,
28061 	}
28062 };
28063 
28064 /*
28065  * FCrypt test vectors
28066  */
28067 static const struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
28068 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
28069 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28070 		.klen	= 8,
28071 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28072 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28073 		.ilen	= 8,
28074 		.result	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
28075 		.rlen	= 8,
28076 	}, {
28077 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
28078 		.klen	= 8,
28079 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28080 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
28081 		.ilen	= 8,
28082 		.result	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
28083 		.rlen	= 8,
28084 	}, { /* From Arla */
28085 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28086 		.klen	= 8,
28087 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28088 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
28089 		.ilen	= 48,
28090 		.result	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
28091 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
28092 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
28093 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
28094 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
28095 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
28096 		.rlen	= 48,
28097 	}, {
28098 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28099 		.klen	= 8,
28100 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28101 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
28102 		.ilen	= 48,
28103 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
28104 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
28105 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
28106 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
28107 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
28108 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
28109 		.rlen	= 48,
28110 	}, { /* split-page version */
28111 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28112 		.klen	= 8,
28113 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28114 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
28115 		.ilen	= 48,
28116 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
28117 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
28118 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
28119 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
28120 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
28121 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
28122 		.rlen	= 48,
28123 		.np	= 2,
28124 		.tap	= { 20, 28 },
28125 	}
28126 };
28127 
28128 static const struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
28129 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
28130 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28131 		.klen	= 8,
28132 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28133 		.input	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
28134 		.ilen	= 8,
28135 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28136 		.rlen	= 8,
28137 	}, {
28138 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
28139 		.klen	= 8,
28140 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
28141 		.input	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
28142 		.ilen	= 8,
28143 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
28144 		.rlen	= 8,
28145 	}, { /* From Arla */
28146 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28147 		.klen	= 8,
28148 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28149 		.input	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
28150 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
28151 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
28152 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
28153 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
28154 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
28155 		.ilen	= 48,
28156 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
28157 		.rlen	= 48,
28158 	}, {
28159 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28160 		.klen	= 8,
28161 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28162 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
28163 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
28164 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
28165 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
28166 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
28167 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
28168 		.ilen	= 48,
28169 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
28170 		.rlen	= 48,
28171 	}, { /* split-page version */
28172 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28173 		.klen	= 8,
28174 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
28175 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
28176 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
28177 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
28178 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
28179 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
28180 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
28181 		.ilen	= 48,
28182 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
28183 		.rlen	= 48,
28184 		.np	= 2,
28185 		.tap	= { 20, 28 },
28186 	}
28187 };
28188 
28189 /*
28190  * CAMELLIA test vectors.
28191  */
28192 static const struct cipher_testvec camellia_enc_tv_template[] = {
28193 	{
28194 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28195 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28196 		.klen	= 16,
28197 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28198 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28199 		.ilen	= 16,
28200 		.result	= "\x67\x67\x31\x38\x54\x96\x69\x73"
28201 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
28202 		.rlen	= 16,
28203 	}, {
28204 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28205 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
28206 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
28207 		.klen	= 24,
28208 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28209 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28210 		.ilen	= 16,
28211 		.result	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
28212 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
28213 		.rlen	= 16,
28214 	}, {
28215 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28216 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
28217 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
28218 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
28219 		.klen	= 32,
28220 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28221 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28222 		.ilen	= 16,
28223 		.result	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
28224 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
28225 		.rlen	= 16,
28226 	}, { /* Generated with Crypto++ */
28227 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
28228 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
28229 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
28230 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
28231 		.klen	= 32,
28232 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28233 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28234 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28235 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28236 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28237 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28238 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28239 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28240 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28241 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28242 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28243 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28244 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28245 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28246 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28247 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28248 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28249 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28250 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28251 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28252 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28253 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28254 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28255 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28256 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28257 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28258 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28259 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28260 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28261 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28262 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28263 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28264 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28265 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28266 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28267 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28268 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28269 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28270 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28271 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28272 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28273 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28274 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28275 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28276 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28277 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28278 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28279 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28280 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28281 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28282 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28283 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28284 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28285 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28286 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28287 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28288 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28289 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28290 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28291 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28292 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28293 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28294 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28295 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28296 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28297 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28298 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28299 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28300 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28301 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28302 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28303 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28304 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28305 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28306 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28307 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28308 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28309 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28310 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28311 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28312 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28313 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28314 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28315 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28316 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28317 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28318 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28319 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28320 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28321 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28322 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28323 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28324 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28325 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28326 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28327 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28328 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28329 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28330 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28331 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28332 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28333 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28334 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28335 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28336 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28337 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28338 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28339 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28340 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28341 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28342 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28343 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28344 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28345 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28346 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28347 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28348 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28349 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28350 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28351 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28352 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28353 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28354 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28355 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28356 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28357 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28358 		.ilen	= 1008,
28359 		.result	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
28360 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
28361 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
28362 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
28363 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
28364 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
28365 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
28366 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
28367 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
28368 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
28369 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
28370 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
28371 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
28372 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
28373 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
28374 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
28375 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
28376 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
28377 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
28378 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
28379 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
28380 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
28381 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
28382 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
28383 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
28384 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
28385 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
28386 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
28387 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
28388 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
28389 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
28390 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
28391 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
28392 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
28393 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
28394 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
28395 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
28396 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
28397 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
28398 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
28399 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
28400 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
28401 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
28402 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
28403 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
28404 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
28405 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
28406 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
28407 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
28408 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
28409 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
28410 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
28411 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
28412 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
28413 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
28414 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
28415 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
28416 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
28417 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
28418 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
28419 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
28420 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
28421 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
28422 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
28423 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
28424 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
28425 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
28426 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
28427 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
28428 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
28429 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
28430 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
28431 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
28432 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
28433 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
28434 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
28435 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
28436 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
28437 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
28438 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
28439 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
28440 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
28441 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
28442 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
28443 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
28444 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
28445 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
28446 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
28447 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
28448 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
28449 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
28450 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
28451 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
28452 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
28453 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
28454 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
28455 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
28456 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
28457 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
28458 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
28459 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
28460 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
28461 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
28462 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
28463 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
28464 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
28465 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
28466 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
28467 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
28468 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
28469 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
28470 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
28471 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
28472 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
28473 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
28474 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
28475 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
28476 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
28477 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
28478 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
28479 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
28480 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
28481 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
28482 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
28483 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
28484 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
28485 		.rlen	= 1008,
28486 		.also_non_np = 1,
28487 		.np	= 3,
28488 		.tap	= { 1008 - 20, 4, 16 },
28489 	},
28490 };
28491 
28492 static const struct cipher_testvec camellia_dec_tv_template[] = {
28493 	{
28494 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28495 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28496 		.klen	= 16,
28497 		.input	= "\x67\x67\x31\x38\x54\x96\x69\x73"
28498 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
28499 		.ilen	= 16,
28500 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28501 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28502 		.rlen	= 16,
28503 	}, {
28504 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28505 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
28506 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
28507 		.klen	= 24,
28508 		.input	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
28509 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
28510 		.ilen	= 16,
28511 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28512 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28513 		.rlen	= 16,
28514 	}, {
28515 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28516 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
28517 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
28518 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
28519 		.klen	= 32,
28520 		.input	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
28521 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
28522 		.ilen	= 16,
28523 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
28524 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
28525 		.rlen	= 16,
28526 	}, { /* Generated with Crypto++ */
28527 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
28528 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
28529 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
28530 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
28531 		.klen	= 32,
28532 		.input	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
28533 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
28534 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
28535 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
28536 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
28537 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
28538 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
28539 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
28540 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
28541 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
28542 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
28543 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
28544 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
28545 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
28546 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
28547 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
28548 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
28549 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
28550 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
28551 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
28552 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
28553 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
28554 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
28555 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
28556 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
28557 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
28558 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
28559 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
28560 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
28561 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
28562 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
28563 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
28564 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
28565 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
28566 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
28567 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
28568 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
28569 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
28570 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
28571 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
28572 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
28573 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
28574 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
28575 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
28576 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
28577 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
28578 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
28579 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
28580 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
28581 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
28582 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
28583 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
28584 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
28585 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
28586 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
28587 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
28588 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
28589 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
28590 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
28591 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
28592 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
28593 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
28594 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
28595 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
28596 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
28597 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
28598 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
28599 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
28600 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
28601 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
28602 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
28603 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
28604 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
28605 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
28606 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
28607 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
28608 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
28609 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
28610 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
28611 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
28612 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
28613 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
28614 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
28615 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
28616 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
28617 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
28618 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
28619 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
28620 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
28621 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
28622 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
28623 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
28624 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
28625 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
28626 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
28627 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
28628 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
28629 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
28630 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
28631 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
28632 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
28633 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
28634 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
28635 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
28636 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
28637 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
28638 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
28639 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
28640 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
28641 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
28642 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
28643 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
28644 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
28645 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
28646 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
28647 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
28648 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
28649 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
28650 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
28651 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
28652 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
28653 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
28654 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
28655 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
28656 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
28657 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
28658 		.ilen	= 1008,
28659 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28660 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28661 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28662 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28663 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28664 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28665 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28666 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28667 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28668 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28669 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28670 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28671 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28672 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28673 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28674 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28675 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28676 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28677 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28678 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28679 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28680 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28681 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28682 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28683 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28684 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28685 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28686 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28687 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28688 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28689 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28690 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28691 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28692 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28693 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28694 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28695 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28696 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28697 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28698 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28699 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28700 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28701 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28702 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28703 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28704 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28705 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28706 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28707 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28708 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28709 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28710 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28711 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28712 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28713 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28714 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28715 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28716 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28717 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28718 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28719 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28720 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28721 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28722 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28723 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28724 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28725 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28726 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28727 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28728 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28729 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28730 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28731 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28732 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28733 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28734 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28735 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28736 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28737 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28738 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28739 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28740 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28741 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28742 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28743 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28744 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28745 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28746 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28747 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28748 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28749 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28750 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28751 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28752 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28753 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28754 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28755 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28756 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28757 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28758 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28759 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28760 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28761 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28762 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28763 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28764 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28765 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28766 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28767 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28768 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28769 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28770 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28771 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28772 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28773 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28774 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28775 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28776 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28777 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28778 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28779 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28780 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28781 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28782 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28783 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28784 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28785 		.rlen	= 1008,
28786 		.also_non_np = 1,
28787 		.np	= 3,
28788 		.tap	= { 1008 - 20, 4, 16 },
28789 	},
28790 };
28791 
28792 static const struct cipher_testvec camellia_cbc_enc_tv_template[] = {
28793 	{
28794 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28795 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28796 		.klen   = 16,
28797 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28798 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28799 		.input	= "Single block msg",
28800 		.ilen   = 16,
28801 		.result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28802 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28803 		.rlen   = 16,
28804 	}, {
28805 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28806 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28807 		.klen   = 16,
28808 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28809 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28810 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
28811 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28812 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28813 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28814 		.ilen   = 32,
28815 		.result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28816 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28817 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28818 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28819 		.rlen   = 32,
28820 	}, { /* Generated with Crypto++ */
28821 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28822 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28823 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28824 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28825 		.klen	= 32,
28826 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28827 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28828 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28829 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28830 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28831 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28832 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28833 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28834 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28835 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28836 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28837 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28838 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28839 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28840 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28841 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28842 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28843 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28844 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28845 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28846 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28847 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28848 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28849 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28850 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28851 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28852 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28853 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28854 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28855 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28856 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28857 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28858 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28859 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28860 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28861 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28862 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28863 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28864 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28865 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28866 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28867 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28868 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28869 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28870 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28871 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28872 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28873 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28874 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28875 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28876 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28877 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28878 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28879 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28880 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28881 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28882 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28883 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28884 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28885 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28886 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28887 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28888 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28889 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28890 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28891 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28892 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28893 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28894 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28895 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28896 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28897 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28898 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28899 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28900 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28901 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28902 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28903 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28904 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28905 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28906 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28907 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28908 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28909 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28910 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28911 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28912 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28913 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28914 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28915 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28916 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28917 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28918 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28919 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28920 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28921 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28922 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28923 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28924 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28925 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28926 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28927 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28928 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28929 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28930 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28931 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28932 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28933 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28934 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28935 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28936 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28937 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28938 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28939 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28940 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28941 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28942 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28943 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28944 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28945 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28946 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28947 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28948 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28949 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28950 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28951 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28952 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28953 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28954 		.ilen	= 1008,
28955 		.result	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28956 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28957 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28958 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28959 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28960 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28961 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28962 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28963 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28964 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28965 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28966 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28967 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28968 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28969 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28970 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28971 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28972 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28973 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28974 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28975 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28976 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28977 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28978 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28979 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28980 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28981 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28982 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28983 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28984 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28985 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28986 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28987 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28988 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28989 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28990 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28991 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28992 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28993 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28994 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28995 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28996 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28997 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28998 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28999 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
29000 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
29001 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
29002 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
29003 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
29004 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
29005 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
29006 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
29007 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
29008 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
29009 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
29010 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
29011 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
29012 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
29013 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
29014 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
29015 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
29016 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
29017 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
29018 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
29019 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
29020 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
29021 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
29022 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
29023 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
29024 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
29025 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
29026 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
29027 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
29028 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
29029 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
29030 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
29031 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
29032 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
29033 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
29034 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
29035 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
29036 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
29037 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
29038 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
29039 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
29040 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
29041 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
29042 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
29043 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
29044 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
29045 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
29046 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
29047 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
29048 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
29049 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
29050 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
29051 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
29052 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
29053 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
29054 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
29055 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
29056 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
29057 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
29058 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
29059 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
29060 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
29061 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
29062 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
29063 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
29064 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
29065 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
29066 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
29067 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
29068 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
29069 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
29070 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
29071 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
29072 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
29073 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
29074 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
29075 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
29076 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
29077 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
29078 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
29079 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
29080 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
29081 		.rlen	= 1008,
29082 		.also_non_np = 1,
29083 		.np	= 3,
29084 		.tap	= { 1008 - 20, 4, 16 },
29085 	},
29086 };
29087 
29088 static const struct cipher_testvec camellia_cbc_dec_tv_template[] = {
29089 	{
29090 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
29091 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
29092 		.klen   = 16,
29093 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
29094 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
29095 		.input	= "\xea\x32\x12\x76\x3b\x50\x10\xe7"
29096 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
29097 		.ilen   = 16,
29098 		.result = "Single block msg",
29099 		.rlen   = 16,
29100 	}, {
29101 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
29102 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
29103 		.klen   = 16,
29104 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
29105 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
29106 		.input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
29107 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
29108 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
29109 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
29110 		.ilen   = 32,
29111 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
29112 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
29113 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
29114 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
29115 		.rlen   = 32,
29116 	}, { /* Generated with Crypto++ */
29117 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29118 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29119 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29120 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29121 		.klen	= 32,
29122 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29123 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29124 		.input	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
29125 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
29126 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
29127 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
29128 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
29129 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
29130 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
29131 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
29132 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
29133 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
29134 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
29135 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
29136 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
29137 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
29138 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
29139 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
29140 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
29141 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
29142 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
29143 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
29144 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
29145 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
29146 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
29147 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
29148 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
29149 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
29150 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
29151 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
29152 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
29153 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
29154 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
29155 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
29156 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
29157 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
29158 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
29159 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
29160 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
29161 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
29162 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
29163 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
29164 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
29165 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
29166 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
29167 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
29168 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
29169 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
29170 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
29171 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
29172 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
29173 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
29174 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
29175 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
29176 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
29177 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
29178 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
29179 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
29180 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
29181 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
29182 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
29183 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
29184 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
29185 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
29186 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
29187 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
29188 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
29189 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
29190 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
29191 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
29192 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
29193 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
29194 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
29195 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
29196 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
29197 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
29198 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
29199 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
29200 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
29201 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
29202 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
29203 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
29204 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
29205 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
29206 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
29207 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
29208 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
29209 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
29210 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
29211 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
29212 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
29213 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
29214 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
29215 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
29216 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
29217 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
29218 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
29219 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
29220 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
29221 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
29222 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
29223 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
29224 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
29225 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
29226 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
29227 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
29228 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
29229 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
29230 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
29231 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
29232 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
29233 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
29234 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
29235 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
29236 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
29237 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
29238 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
29239 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
29240 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
29241 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
29242 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
29243 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
29244 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
29245 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
29246 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
29247 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
29248 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
29249 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
29250 		.ilen	= 1008,
29251 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29252 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29253 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29254 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29255 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29256 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29257 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29258 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29259 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29260 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29261 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29262 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29263 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29264 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29265 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29266 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29267 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29268 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29269 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29270 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29271 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29272 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29273 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29274 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29275 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29276 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29277 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29278 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29279 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29280 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29281 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29282 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29283 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29284 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29285 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29286 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29287 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29288 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29289 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29290 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29291 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29292 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29293 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29294 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29295 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29296 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29297 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29298 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29299 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29300 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29301 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29302 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29303 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29304 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29305 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29306 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29307 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29308 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29309 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29310 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29311 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29312 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29313 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29314 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29315 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29316 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29317 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29318 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29319 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29320 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29321 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29322 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29323 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29324 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29325 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29326 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29327 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29328 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29329 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29330 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29331 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29332 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29333 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29334 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29335 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29336 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29337 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29338 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29339 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29340 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29341 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29342 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29343 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29344 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29345 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29346 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29347 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29348 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29349 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29350 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29351 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29352 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29353 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29354 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29355 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29356 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29357 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29358 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29359 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29360 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29361 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29362 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29363 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29364 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29365 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29366 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29367 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29368 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29369 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29370 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29371 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29372 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29373 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29374 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29375 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29376 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29377 		.rlen	= 1008,
29378 		.also_non_np = 1,
29379 		.np	= 3,
29380 		.tap	= { 1008 - 20, 4, 16 },
29381 	},
29382 };
29383 
29384 static const struct cipher_testvec camellia_ctr_enc_tv_template[] = {
29385 	{ /* Generated with Crypto++ */
29386 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29387 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29388 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29389 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29390 		.klen	= 32,
29391 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29392 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29393 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29394 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29395 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29396 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29397 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29398 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29399 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29400 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29401 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29402 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29403 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29404 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29405 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29406 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29407 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29408 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29409 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29410 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29411 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29412 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29413 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29414 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29415 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29416 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29417 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29418 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29419 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29420 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29421 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29422 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29423 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29424 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29425 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29426 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29427 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29428 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29429 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29430 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29431 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29432 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29433 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29434 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29435 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29436 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29437 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29438 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29439 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29440 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29441 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29442 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29443 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29444 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29445 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29446 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29447 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29448 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29449 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29450 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29451 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29452 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29453 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29454 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
29455 		.ilen	= 496,
29456 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29457 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29458 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29459 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29460 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29461 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29462 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29463 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29464 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29465 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29466 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29467 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29468 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29469 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29470 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29471 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29472 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29473 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29474 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29475 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29476 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29477 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29478 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29479 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29480 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29481 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29482 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29483 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29484 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29485 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29486 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29487 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29488 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29489 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29490 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29491 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29492 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29493 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29494 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29495 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29496 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29497 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29498 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29499 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29500 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29501 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29502 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29503 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29504 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29505 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29506 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29507 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29508 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29509 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29510 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29511 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29512 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29513 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29514 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29515 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29516 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29517 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
29518 		.rlen	= 496,
29519 	}, { /* Generated with Crypto++ */
29520 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29521 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29522 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29523 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29524 		.klen	= 32,
29525 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29526 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29527 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29528 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29529 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29530 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29531 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29532 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29533 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29534 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29535 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29536 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29537 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29538 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29539 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29540 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29541 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29542 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29543 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29544 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29545 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29546 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29547 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29548 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29549 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29550 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29551 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29552 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29553 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29554 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29555 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29556 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29557 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29558 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29559 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29560 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29561 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29562 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29563 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29564 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29565 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29566 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29567 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29568 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29569 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29570 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29571 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29572 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29573 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29574 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29575 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29576 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29577 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29578 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29579 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29580 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29581 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29582 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29583 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29584 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29585 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29586 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29587 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29588 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29589 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29590 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29591 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29592 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29593 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29594 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29595 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29596 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29597 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29598 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29599 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29600 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29601 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29602 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29603 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29604 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29605 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29606 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29607 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29608 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29609 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29610 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29611 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29612 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29613 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29614 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29615 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29616 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29617 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29618 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29619 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29620 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29621 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29622 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29623 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29624 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29625 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29626 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29627 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29628 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29629 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29630 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29631 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29632 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29633 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29634 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29635 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29636 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29637 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29638 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29639 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29640 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29641 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29642 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29643 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29644 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29645 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29646 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29647 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29648 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29649 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29650 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29651 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29652 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29653 			  "\xE4\x7B\x12",
29654 		.ilen	= 1011,
29655 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29656 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29657 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29658 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29659 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29660 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29661 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29662 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29663 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29664 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29665 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29666 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29667 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29668 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29669 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29670 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29671 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29672 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29673 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29674 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29675 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29676 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29677 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29678 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29679 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29680 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29681 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29682 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29683 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29684 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29685 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29686 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29687 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29688 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29689 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29690 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29691 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29692 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29693 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29694 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29695 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29696 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29697 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29698 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29699 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29700 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29701 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29702 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29703 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29704 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29705 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29706 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29707 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29708 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29709 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29710 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29711 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29712 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29713 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29714 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29715 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29716 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29717 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29718 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29719 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29720 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29721 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29722 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29723 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29724 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29725 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29726 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29727 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29728 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29729 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29730 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29731 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29732 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29733 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29734 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29735 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29736 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29737 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29738 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29739 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29740 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29741 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29742 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29743 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29744 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29745 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29746 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29747 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29748 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29749 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29750 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29751 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29752 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29753 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29754 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29755 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29756 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29757 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29758 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29759 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29760 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29761 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29762 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29763 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29764 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29765 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29766 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29767 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29768 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29769 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29770 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29771 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29772 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29773 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29774 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29775 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29776 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29777 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29778 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29779 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29780 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29781 			  "\xF1\x6B\xD9",
29782 		.rlen	= 1011,
29783 		.also_non_np = 1,
29784 		.np	= 2,
29785 		.tap	= { 1011 - 16, 16 },
29786 	}, { /* Generated with Crypto++ */
29787 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29788 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29789 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29790 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29791 		.klen	= 32,
29792 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29793 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29794 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29795 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29796 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29797 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29798 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29799 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29800 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29801 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29802 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29803 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29804 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29805 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29806 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29807 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29808 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29809 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29810 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29811 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29812 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29813 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29814 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29815 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29816 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29817 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29818 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29819 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29820 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29821 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29822 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29823 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29824 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29825 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29826 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29827 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29828 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29829 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29830 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29831 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29832 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29833 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29834 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29835 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29836 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29837 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29838 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29839 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29840 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29841 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29842 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29843 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29844 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29845 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29846 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29847 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29848 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29849 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29850 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29851 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29852 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29853 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29854 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29855 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29856 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29857 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29858 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29859 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29860 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29861 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29862 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29863 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29864 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29865 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29866 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29867 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29868 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29869 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29870 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29871 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29872 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29873 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29874 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29875 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29876 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29877 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29878 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29879 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29880 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29881 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29882 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29883 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29884 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29885 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29886 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29887 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29888 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29889 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29890 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29891 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29892 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29893 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29894 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29895 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29896 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29897 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29898 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29899 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29900 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29901 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29902 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29903 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29904 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29905 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29906 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29907 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29908 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29909 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29910 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29911 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29912 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29913 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29914 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29915 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29916 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29917 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29918 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29919 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29920 		.ilen	= 1008,
29921 		.result	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29922 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29923 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29924 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29925 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29926 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29927 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29928 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29929 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29930 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29931 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29932 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29933 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29934 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29935 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29936 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29937 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29938 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29939 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29940 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29941 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29942 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29943 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29944 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29945 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29946 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29947 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29948 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29949 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29950 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29951 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29952 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29953 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29954 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29955 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29956 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29957 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29958 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29959 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29960 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29961 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29962 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29963 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29964 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29965 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29966 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29967 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29968 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29969 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29970 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29971 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29972 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29973 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29974 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29975 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29976 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29977 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29978 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29979 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29980 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29981 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29982 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29983 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29984 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29985 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29986 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29987 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29988 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29989 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29990 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29991 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29992 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29993 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29994 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29995 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29996 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29997 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29998 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29999 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
30000 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
30001 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
30002 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
30003 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
30004 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
30005 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
30006 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
30007 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
30008 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
30009 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
30010 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
30011 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
30012 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
30013 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
30014 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
30015 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
30016 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
30017 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
30018 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
30019 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
30020 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
30021 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
30022 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
30023 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
30024 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
30025 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
30026 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
30027 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
30028 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
30029 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
30030 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
30031 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
30032 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
30033 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
30034 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
30035 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
30036 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
30037 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
30038 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
30039 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
30040 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
30041 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
30042 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
30043 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
30044 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
30045 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
30046 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
30047 		.rlen	= 1008,
30048 	},
30049 };
30050 
30051 static const struct cipher_testvec camellia_ctr_dec_tv_template[] = {
30052 	{ /* Generated with Crypto++ */
30053 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
30054 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
30055 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
30056 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
30057 		.klen	= 32,
30058 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
30059 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
30060 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
30061 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
30062 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
30063 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
30064 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
30065 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
30066 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
30067 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
30068 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
30069 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
30070 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
30071 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
30072 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
30073 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
30074 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
30075 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
30076 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
30077 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
30078 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
30079 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
30080 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
30081 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
30082 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
30083 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
30084 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
30085 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
30086 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
30087 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
30088 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
30089 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
30090 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
30091 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
30092 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
30093 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
30094 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
30095 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
30096 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
30097 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
30098 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
30099 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
30100 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
30101 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
30102 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
30103 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
30104 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
30105 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
30106 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
30107 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
30108 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
30109 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
30110 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
30111 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
30112 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
30113 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
30114 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
30115 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
30116 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
30117 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
30118 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
30119 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
30120 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
30121 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
30122 		.ilen	= 496,
30123 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
30124 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
30125 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
30126 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
30127 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
30128 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
30129 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
30130 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
30131 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
30132 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
30133 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
30134 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
30135 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
30136 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
30137 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
30138 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
30139 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
30140 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
30141 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
30142 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
30143 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
30144 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
30145 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
30146 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
30147 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
30148 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
30149 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
30150 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
30151 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30152 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30153 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30154 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30155 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30156 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30157 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30158 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30159 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30160 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30161 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30162 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30163 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30164 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30165 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30166 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30167 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30168 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30169 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30170 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30171 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30172 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30173 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30174 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30175 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30176 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30177 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30178 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30179 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30180 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30181 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30182 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30183 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30184 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
30185 		.rlen	= 496,
30186 	}, { /* Generated with Crypto++ */
30187 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
30188 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
30189 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
30190 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
30191 		.klen	= 32,
30192 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
30193 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
30194 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
30195 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
30196 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
30197 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
30198 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
30199 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
30200 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
30201 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
30202 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
30203 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
30204 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
30205 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
30206 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
30207 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
30208 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
30209 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
30210 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
30211 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
30212 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
30213 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
30214 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
30215 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
30216 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
30217 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
30218 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
30219 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
30220 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
30221 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
30222 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
30223 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
30224 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
30225 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
30226 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
30227 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
30228 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
30229 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
30230 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
30231 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
30232 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
30233 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
30234 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
30235 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
30236 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
30237 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
30238 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
30239 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
30240 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
30241 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
30242 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
30243 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
30244 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
30245 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
30246 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
30247 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
30248 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
30249 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
30250 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
30251 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
30252 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
30253 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
30254 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
30255 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
30256 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
30257 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
30258 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
30259 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
30260 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
30261 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
30262 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
30263 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
30264 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
30265 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
30266 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
30267 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
30268 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
30269 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
30270 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
30271 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
30272 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
30273 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
30274 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
30275 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
30276 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
30277 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
30278 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
30279 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
30280 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
30281 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
30282 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
30283 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
30284 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
30285 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
30286 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
30287 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
30288 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
30289 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
30290 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
30291 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
30292 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
30293 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
30294 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
30295 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
30296 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
30297 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
30298 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
30299 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
30300 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
30301 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
30302 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
30303 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
30304 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
30305 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
30306 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
30307 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
30308 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
30309 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
30310 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
30311 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
30312 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
30313 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
30314 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
30315 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
30316 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
30317 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
30318 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
30319 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
30320 			  "\xF1\x6B\xD9",
30321 		.ilen	= 1011,
30322 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
30323 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
30324 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
30325 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
30326 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
30327 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
30328 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
30329 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
30330 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
30331 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
30332 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
30333 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
30334 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
30335 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
30336 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
30337 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
30338 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
30339 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
30340 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
30341 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
30342 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
30343 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
30344 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
30345 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
30346 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
30347 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
30348 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
30349 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
30350 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30351 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30352 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30353 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30354 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30355 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30356 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30357 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30358 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30359 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30360 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30361 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30362 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30363 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30364 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30365 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30366 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30367 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30368 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30369 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30370 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30371 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30372 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30373 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30374 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30375 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30376 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30377 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30378 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30379 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30380 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30381 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30382 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30383 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
30384 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
30385 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
30386 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
30387 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
30388 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
30389 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
30390 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
30391 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
30392 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
30393 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
30394 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
30395 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
30396 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
30397 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
30398 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
30399 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
30400 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
30401 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
30402 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
30403 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
30404 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
30405 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
30406 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
30407 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
30408 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
30409 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
30410 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
30411 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
30412 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
30413 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
30414 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
30415 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
30416 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
30417 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
30418 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
30419 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
30420 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
30421 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
30422 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
30423 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
30424 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
30425 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
30426 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
30427 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
30428 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
30429 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
30430 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
30431 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
30432 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
30433 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
30434 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
30435 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
30436 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
30437 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
30438 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
30439 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
30440 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
30441 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
30442 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
30443 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
30444 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
30445 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
30446 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
30447 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
30448 			  "\xE4\x7B\x12",
30449 		.rlen	= 1011,
30450 		.also_non_np = 1,
30451 		.np	= 2,
30452 		.tap	= { 1011 - 16, 16 },
30453 	}, { /* Generated with Crypto++ */
30454 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
30455 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
30456 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
30457 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
30458 		.klen	= 32,
30459 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
30460 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
30461 		.input	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
30462 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
30463 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
30464 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
30465 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
30466 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
30467 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
30468 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
30469 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
30470 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
30471 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
30472 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
30473 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
30474 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
30475 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
30476 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
30477 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
30478 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
30479 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
30480 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
30481 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
30482 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
30483 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
30484 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
30485 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
30486 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
30487 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
30488 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
30489 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
30490 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
30491 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
30492 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
30493 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
30494 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
30495 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
30496 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
30497 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
30498 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
30499 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
30500 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
30501 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
30502 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
30503 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
30504 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
30505 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
30506 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
30507 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
30508 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
30509 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
30510 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
30511 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
30512 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
30513 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
30514 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
30515 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
30516 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
30517 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
30518 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
30519 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
30520 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
30521 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
30522 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
30523 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
30524 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
30525 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
30526 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
30527 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
30528 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
30529 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
30530 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
30531 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
30532 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
30533 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
30534 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
30535 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
30536 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
30537 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
30538 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
30539 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
30540 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
30541 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
30542 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
30543 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
30544 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
30545 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
30546 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
30547 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
30548 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
30549 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
30550 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
30551 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
30552 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
30553 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
30554 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
30555 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
30556 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
30557 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
30558 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
30559 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
30560 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
30561 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
30562 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
30563 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
30564 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
30565 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
30566 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
30567 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
30568 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
30569 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
30570 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
30571 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
30572 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
30573 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
30574 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
30575 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
30576 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
30577 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
30578 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
30579 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
30580 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
30581 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
30582 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
30583 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
30584 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
30585 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
30586 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
30587 		.ilen	= 1008,
30588 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
30589 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
30590 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
30591 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
30592 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
30593 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
30594 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
30595 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
30596 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
30597 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
30598 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
30599 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
30600 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
30601 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
30602 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
30603 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
30604 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
30605 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
30606 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
30607 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
30608 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
30609 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
30610 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
30611 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
30612 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
30613 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
30614 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
30615 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
30616 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30617 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30618 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30619 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30620 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30621 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30622 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30623 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30624 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30625 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30626 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30627 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30628 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30629 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30630 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30631 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30632 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30633 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30634 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30635 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30636 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30637 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30638 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30639 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30640 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30641 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30642 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30643 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30644 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30645 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30646 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30647 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30648 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30649 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
30650 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
30651 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
30652 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
30653 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
30654 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
30655 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
30656 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
30657 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
30658 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
30659 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
30660 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
30661 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
30662 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
30663 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
30664 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
30665 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
30666 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
30667 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
30668 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
30669 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
30670 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
30671 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
30672 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
30673 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
30674 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
30675 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
30676 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
30677 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
30678 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
30679 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
30680 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
30681 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
30682 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
30683 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
30684 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
30685 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
30686 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
30687 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
30688 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
30689 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
30690 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
30691 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
30692 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
30693 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
30694 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
30695 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
30696 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
30697 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
30698 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
30699 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
30700 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
30701 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
30702 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
30703 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
30704 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
30705 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
30706 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
30707 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
30708 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
30709 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
30710 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
30711 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
30712 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
30713 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
30714 		.rlen	= 1008,
30715 	},
30716 };
30717 
30718 static const struct cipher_testvec camellia_lrw_enc_tv_template[] = {
30719 	/* Generated from AES-LRW test vectors */
30720 	{
30721 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30722 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30723 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30724 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30725 		.klen	= 32,
30726 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30727 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30728 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30729 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30730 		.ilen	= 16,
30731 		.result	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30732 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30733 		.rlen	= 16,
30734 	}, {
30735 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30736 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30737 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30738 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30739 		.klen	= 32,
30740 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30741 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30742 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30743 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30744 		.ilen	= 16,
30745 		.result	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30746 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30747 		.rlen	= 16,
30748 	}, {
30749 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30750 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30751 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30752 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30753 		.klen	= 32,
30754 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30755 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30756 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30757 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30758 		.ilen	= 16,
30759 		.result	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30760 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30761 		.rlen	= 16,
30762 	}, {
30763 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30764 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30765 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30766 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30767 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30768 		.klen	= 40,
30769 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30770 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30771 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30772 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30773 		.ilen	= 16,
30774 		.result	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30775 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30776 		.rlen	= 16,
30777 	}, {
30778 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30779 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30780 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30781 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30782 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30783 		.klen	= 40,
30784 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30785 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30786 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30787 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30788 		.ilen	= 16,
30789 		.result	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30790 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30791 		.rlen	= 16,
30792 	}, {
30793 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30794 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30795 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30796 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30797 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30798 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30799 		.klen	= 48,
30800 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30801 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30802 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30803 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30804 		.ilen	= 16,
30805 		.result	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30806 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30807 		.rlen	= 16,
30808 	}, {
30809 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30810 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30811 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30812 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30813 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30814 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30815 		.klen	= 48,
30816 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30817 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30818 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30819 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30820 		.ilen	= 16,
30821 		.result	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30822 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30823 		.rlen	= 16,
30824 	}, {
30825 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30826 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30827 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30828 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30829 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30830 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30831 		.klen	= 48,
30832 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30833 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30834 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30835 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30836 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30837 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30838 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30839 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30840 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30841 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30842 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30843 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30844 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30845 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30846 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30847 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30848 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30849 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30850 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30851 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30852 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30853 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30854 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30855 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30856 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30857 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30858 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30859 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30860 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30861 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30862 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30863 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30864 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30865 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30866 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30867 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30868 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30869 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30870 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30871 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30872 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30873 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30874 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30875 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30876 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30877 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30878 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30879 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30880 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30881 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30882 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30883 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30884 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30885 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30886 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30887 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30888 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30889 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30890 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30891 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30892 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30893 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30894 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30895 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30896 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30897 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30898 		.ilen	= 512,
30899 		.result	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30900 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30901 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30902 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30903 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30904 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30905 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30906 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30907 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30908 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30909 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30910 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30911 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30912 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30913 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30914 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30915 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30916 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30917 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30918 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30919 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30920 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30921 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30922 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30923 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30924 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30925 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30926 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30927 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30928 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30929 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30930 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30931 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30932 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30933 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30934 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30935 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30936 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30937 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30938 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30939 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30940 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30941 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30942 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30943 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30944 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30945 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30946 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30947 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30948 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30949 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30950 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30951 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30952 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30953 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30954 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30955 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30956 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30957 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30958 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30959 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30960 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30961 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30962 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30963 		.rlen	= 512,
30964 		.also_non_np = 1,
30965 		.np	= 3,
30966 		.tap	= { 512 - 20, 4, 16 },
30967 	},
30968 };
30969 
30970 static const struct cipher_testvec camellia_lrw_dec_tv_template[] = {
30971 	/* Generated from AES-LRW test vectors */
30972 	/* same as enc vectors with input and result reversed */
30973 	{
30974 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30975 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30976 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30977 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30978 		.klen	= 32,
30979 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30980 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30981 		.input	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30982 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30983 		.ilen	= 16,
30984 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30985 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30986 		.rlen	= 16,
30987 	}, {
30988 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30989 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30990 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30991 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30992 		.klen	= 32,
30993 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30994 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30995 		.input	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30996 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30997 		.ilen	= 16,
30998 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30999 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31000 		.rlen	= 16,
31001 	}, {
31002 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
31003 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
31004 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
31005 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
31006 		.klen	= 32,
31007 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31008 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
31009 		.input	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
31010 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
31011 		.ilen	= 16,
31012 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
31013 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31014 		.rlen	= 16,
31015 	}, {
31016 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
31017 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
31018 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
31019 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
31020 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
31021 		.klen	= 40,
31022 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31023 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
31024 		.input	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
31025 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
31026 		.ilen	= 16,
31027 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
31028 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31029 		.rlen	= 16,
31030 	}, {
31031 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
31032 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
31033 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
31034 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
31035 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
31036 		.klen	= 40,
31037 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31038 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
31039 		.input	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
31040 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
31041 		.ilen	= 16,
31042 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
31043 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31044 		.rlen	= 16,
31045 	}, {
31046 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
31047 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
31048 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
31049 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
31050 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
31051 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
31052 		.klen	= 48,
31053 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31054 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
31055 		.input	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
31056 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
31057 		.ilen	= 16,
31058 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
31059 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31060 		.rlen	= 16,
31061 	}, {
31062 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
31063 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
31064 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
31065 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
31066 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
31067 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
31068 		.klen	= 48,
31069 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31070 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
31071 		.input	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
31072 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
31073 		.ilen	= 16,
31074 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
31075 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
31076 		.rlen	= 16,
31077 	}, {
31078 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
31079 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
31080 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
31081 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
31082 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
31083 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
31084 		.klen	= 48,
31085 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31086 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
31087 		.input	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
31088 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
31089 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
31090 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
31091 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
31092 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
31093 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
31094 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
31095 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
31096 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
31097 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
31098 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
31099 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
31100 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
31101 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
31102 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
31103 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
31104 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
31105 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
31106 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
31107 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
31108 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
31109 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
31110 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
31111 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
31112 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
31113 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
31114 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
31115 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
31116 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
31117 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
31118 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
31119 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
31120 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
31121 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
31122 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
31123 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
31124 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
31125 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
31126 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
31127 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
31128 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
31129 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
31130 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
31131 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
31132 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
31133 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
31134 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
31135 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
31136 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
31137 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
31138 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
31139 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
31140 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
31141 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
31142 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
31143 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
31144 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
31145 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
31146 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
31147 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
31148 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
31149 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
31150 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
31151 		.ilen	= 512,
31152 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
31153 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
31154 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
31155 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
31156 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
31157 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
31158 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
31159 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
31160 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
31161 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
31162 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
31163 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
31164 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
31165 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
31166 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
31167 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
31168 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
31169 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
31170 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
31171 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
31172 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
31173 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
31174 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
31175 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
31176 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
31177 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
31178 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
31179 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
31180 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
31181 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
31182 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
31183 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
31184 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
31185 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
31186 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
31187 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
31188 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
31189 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
31190 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
31191 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
31192 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
31193 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
31194 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
31195 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
31196 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
31197 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
31198 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
31199 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
31200 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
31201 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
31202 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
31203 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
31204 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
31205 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
31206 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
31207 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
31208 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
31209 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
31210 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
31211 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
31212 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
31213 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
31214 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
31215 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
31216 		.rlen	= 512,
31217 		.also_non_np = 1,
31218 		.np	= 3,
31219 		.tap	= { 512 - 20, 4, 16 },
31220 	},
31221 };
31222 
31223 static const struct cipher_testvec camellia_xts_enc_tv_template[] = {
31224 	/* Generated from AES-XTS test vectors */
31225 	{
31226 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31227 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31228 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31229 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31230 		.klen	= 32,
31231 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31232 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31233 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31234 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31235 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31236 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31237 		.ilen	= 32,
31238 		.result	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
31239 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
31240 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
31241 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
31242 		.rlen	= 32,
31243 	}, {
31244 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
31245 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
31246 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
31247 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31248 		.klen	= 32,
31249 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31250 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31251 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31252 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31253 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31254 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31255 		.ilen	= 32,
31256 		.result	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
31257 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
31258 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
31259 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
31260 		.rlen	= 32,
31261 	}, {
31262 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
31263 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
31264 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
31265 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31266 		.klen	= 32,
31267 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31268 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31269 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31270 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31271 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31272 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31273 		.ilen	= 32,
31274 		.result	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
31275 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
31276 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
31277 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
31278 		.rlen	= 32,
31279 	}, {
31280 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31281 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31282 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31283 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
31284 		.klen	= 32,
31285 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31286 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31287 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31288 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31289 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31290 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31291 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31292 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31293 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31294 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31295 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31296 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31297 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31298 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31299 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31300 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31301 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31302 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31303 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31304 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31305 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31306 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31307 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31308 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31309 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31310 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31311 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31312 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31313 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31314 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31315 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31316 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31317 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31318 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31319 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31320 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31321 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31322 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31323 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31324 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31325 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31326 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31327 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31328 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31329 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31330 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31331 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31332 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31333 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31334 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31335 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31336 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31337 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31338 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31339 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31340 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31341 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31342 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31343 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31344 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31345 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31346 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31347 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31348 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31349 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31350 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31351 		.ilen	= 512,
31352 		.result	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
31353 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
31354 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
31355 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
31356 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
31357 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
31358 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
31359 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
31360 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
31361 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
31362 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
31363 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
31364 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
31365 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
31366 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
31367 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
31368 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
31369 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
31370 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
31371 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
31372 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
31373 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
31374 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
31375 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
31376 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
31377 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
31378 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
31379 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
31380 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
31381 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
31382 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
31383 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
31384 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
31385 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
31386 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
31387 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
31388 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
31389 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
31390 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
31391 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
31392 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
31393 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
31394 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
31395 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
31396 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
31397 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
31398 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
31399 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
31400 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
31401 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
31402 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
31403 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
31404 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
31405 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
31406 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
31407 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
31408 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
31409 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
31410 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
31411 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
31412 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
31413 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
31414 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
31415 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
31416 		.rlen	= 512,
31417 	}, {
31418 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31419 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31420 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
31421 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
31422 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31423 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
31424 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
31425 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
31426 		.klen	= 64,
31427 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
31428 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31429 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31430 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31431 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31432 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31433 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31434 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31435 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31436 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31437 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31438 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31439 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31440 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31441 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31442 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31443 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31444 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31445 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31446 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31447 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31448 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31449 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31450 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31451 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31452 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31453 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31454 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31455 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31456 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31457 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31458 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31459 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31460 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31461 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31462 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31463 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31464 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31465 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31466 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31467 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31468 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31469 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31470 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31471 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31472 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31473 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31474 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31475 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31476 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31477 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31478 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31479 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31480 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31481 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31482 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31483 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31484 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31485 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31486 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31487 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31488 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31489 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31490 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31491 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31492 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31493 		.ilen	= 512,
31494 		.result	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31495 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31496 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31497 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31498 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31499 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31500 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31501 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31502 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31503 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31504 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31505 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31506 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31507 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31508 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31509 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31510 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31511 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31512 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31513 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31514 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31515 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31516 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31517 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31518 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31519 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31520 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31521 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31522 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31523 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31524 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31525 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31526 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31527 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31528 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31529 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31530 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31531 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31532 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31533 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31534 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31535 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31536 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31537 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31538 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31539 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31540 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31541 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
31542 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31543 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31544 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31545 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31546 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31547 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31548 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31549 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31550 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31551 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31552 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31553 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31554 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31555 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31556 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31557 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31558 		.rlen	= 512,
31559 		.also_non_np = 1,
31560 		.np	= 3,
31561 		.tap	= { 512 - 20, 4, 16 },
31562 	},
31563 };
31564 
31565 static const struct cipher_testvec camellia_xts_dec_tv_template[] = {
31566 	/* Generated from AES-XTS test vectors */
31567 	/* same as enc vectors with input and result reversed */
31568 	{
31569 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31570 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31571 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31572 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31573 		.klen	= 32,
31574 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31575 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31576 		.input	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
31577 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
31578 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
31579 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
31580 		.ilen	= 32,
31581 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31582 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31583 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
31584 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31585 		.rlen	= 32,
31586 	}, {
31587 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
31588 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
31589 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
31590 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31591 		.klen	= 32,
31592 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31593 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31594 		.input	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
31595 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
31596 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
31597 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
31598 		.ilen	= 32,
31599 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31600 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31601 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31602 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31603 		.rlen	= 32,
31604 	}, {
31605 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
31606 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
31607 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
31608 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31609 		.klen	= 32,
31610 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31611 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31612 		.input	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
31613 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
31614 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
31615 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
31616 		.ilen	= 32,
31617 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31618 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31619 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31620 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31621 		.rlen	= 32,
31622 	}, {
31623 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31624 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31625 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31626 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
31627 		.klen	= 32,
31628 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31629 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31630 		.input	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
31631 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
31632 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
31633 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
31634 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
31635 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
31636 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
31637 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
31638 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
31639 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
31640 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
31641 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
31642 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
31643 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
31644 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
31645 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
31646 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
31647 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
31648 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
31649 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
31650 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
31651 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
31652 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
31653 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
31654 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
31655 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
31656 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
31657 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
31658 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
31659 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
31660 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
31661 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
31662 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
31663 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
31664 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
31665 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
31666 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
31667 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
31668 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
31669 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
31670 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
31671 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
31672 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
31673 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
31674 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
31675 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
31676 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
31677 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
31678 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
31679 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
31680 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
31681 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
31682 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
31683 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
31684 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
31685 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
31686 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
31687 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
31688 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
31689 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
31690 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
31691 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
31692 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
31693 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
31694 		.ilen	= 512,
31695 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31696 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31697 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31698 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31699 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31700 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31701 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31702 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31703 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31704 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31705 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31706 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31707 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31708 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31709 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31710 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31711 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31712 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31713 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31714 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31715 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31716 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31717 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31718 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31719 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31720 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31721 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31722 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31723 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31724 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31725 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31726 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31727 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31728 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31729 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31730 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31731 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31732 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31733 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31734 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31735 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31736 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31737 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31738 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31739 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31740 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31741 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31742 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31743 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31744 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31745 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31746 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31747 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31748 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31749 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31750 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31751 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31752 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31753 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31754 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31755 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31756 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31757 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31758 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31759 		.rlen	= 512,
31760 	}, {
31761 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31762 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31763 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
31764 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
31765 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31766 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
31767 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
31768 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
31769 		.klen	= 64,
31770 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
31771 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31772 		.input	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31773 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31774 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31775 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31776 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31777 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31778 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31779 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31780 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31781 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31782 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31783 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31784 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31785 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31786 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31787 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31788 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31789 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31790 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31791 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31792 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31793 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31794 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31795 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31796 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31797 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31798 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31799 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31800 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31801 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31802 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31803 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31804 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31805 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31806 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31807 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31808 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31809 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31810 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31811 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31812 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31813 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31814 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31815 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31816 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31817 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31818 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31819 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
31820 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31821 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31822 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31823 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31824 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31825 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31826 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31827 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31828 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31829 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31830 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31831 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31832 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31833 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31834 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31835 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31836 		.ilen	= 512,
31837 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31838 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31839 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31840 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31841 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31842 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31843 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31844 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31845 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31846 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31847 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31848 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31849 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31850 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31851 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31852 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31853 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31854 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31855 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31856 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31857 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31858 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31859 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31860 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31861 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31862 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31863 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31864 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31865 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31866 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31867 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31868 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31869 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31870 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31871 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31872 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31873 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31874 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31875 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31876 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31877 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31878 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31879 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31880 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31881 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31882 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31883 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31884 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31885 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31886 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31887 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31888 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31889 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31890 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31891 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31892 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31893 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31894 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31895 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31896 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31897 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31898 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31899 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31900 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31901 		.rlen	= 512,
31902 		.also_non_np = 1,
31903 		.np	= 3,
31904 		.tap	= { 512 - 20, 4, 16 },
31905 	},
31906 };
31907 
31908 /*
31909  * SEED test vectors
31910  */
31911 static const struct cipher_testvec seed_enc_tv_template[] = {
31912 	{
31913 		.key    = zeroed_string,
31914 		.klen	= 16,
31915 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
31916 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31917 		.ilen	= 16,
31918 		.result	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31919 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31920 		.rlen	= 16,
31921 	}, {
31922 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31923 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31924 		.klen	= 16,
31925 		.input	= zeroed_string,
31926 		.ilen	= 16,
31927 		.result	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31928 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31929 		.rlen	= 16,
31930 	}, {
31931 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31932 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31933 		.klen	= 16,
31934 		.input	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31935 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31936 		.ilen	= 16,
31937 		.result	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31938 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31939 		.rlen	= 16,
31940 	}, {
31941 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31942 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31943 		.klen	= 16,
31944 		.input	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31945 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31946 		.ilen	= 16,
31947 		.result	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31948 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31949 		.rlen	= 16,
31950 	}
31951 };
31952 
31953 static const struct cipher_testvec seed_dec_tv_template[] = {
31954 	{
31955 		.key    = zeroed_string,
31956 		.klen	= 16,
31957 		.input	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31958 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31959 		.ilen	= 16,
31960 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31961 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31962 		.rlen	= 16,
31963 	}, {
31964 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31965 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31966 		.klen	= 16,
31967 		.input	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31968 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31969 		.ilen	= 16,
31970 		.result	= zeroed_string,
31971 		.rlen	= 16,
31972 	}, {
31973 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31974 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31975 		.klen	= 16,
31976 		.input	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31977 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31978 		.ilen	= 16,
31979 		.result	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31980 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31981 		.rlen	= 16,
31982 	}, {
31983 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31984 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31985 		.klen	= 16,
31986 		.input	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31987 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31988 		.ilen	= 16,
31989 		.result	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31990 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31991 		.rlen	= 16,
31992 	}
31993 };
31994 
31995 static const struct cipher_testvec salsa20_stream_enc_tv_template[] = {
31996 	/*
31997 	* Testvectors from verified.test-vectors submitted to ECRYPT.
31998 	* They are truncated to size 39, 64, 111, 129 to test a variety
31999 	* of input length.
32000 	*/
32001 	{ /* Set 3, vector 0 */
32002 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
32003 			"\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
32004 		.klen	= 16,
32005 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
32006 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32007 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32008 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32009 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32010 			"\x00\x00\x00\x00\x00\x00\x00",
32011 		.ilen	= 39,
32012 		.result	= "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
32013 			 "\x68\x02\x41\x0C\x68\x86\x88\x89"
32014 			 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
32015 			 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
32016 			 "\x58\x3F\x52\x79\x70\xEB\xC1",
32017 		.rlen	= 39,
32018 	}, { /* Set 5, vector 0 */
32019 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32020 			"\x00\x00\x00\x00\x00\x00\x00\x00",
32021 		.klen	= 16,
32022 		.iv     = "\x80\x00\x00\x00\x00\x00\x00\x00",
32023 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32024 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32025 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32026 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32027 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32028 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32029 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32030 			"\x00\x00\x00\x00\x00\x00\x00\x00",
32031 		.ilen	= 64,
32032 		.result	= "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
32033 			 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
32034 			 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
32035 			 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
32036 			 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
32037 			 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
32038 			 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
32039 			 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
32040 		.rlen	= 64,
32041 	}, { /* Set 3, vector 27 */
32042 		.key	= "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
32043 			"\x23\x24\x25\x26\x27\x28\x29\x2A"
32044 			"\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
32045 			"\x33\x34\x35\x36\x37\x38\x39\x3A",
32046 		.klen	= 32,
32047 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
32048 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32049 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32050 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32051 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32052 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32053 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32054 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32055 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32056 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32057 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32058 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32059 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32060 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32061 			"\x00\x00\x00\x00\x00\x00\x00",
32062 		.ilen	= 111,
32063 		.result	= "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
32064 			 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
32065 			 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
32066 			 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
32067 			 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
32068 			 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
32069 			 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
32070 			 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
32071 			 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
32072 			 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
32073 			 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
32074 			 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
32075 			 "\x95\x46\x45\x54\xE9\x75\x03\x08"
32076 			 "\x44\xAF\xE5\x8A\x81\x12\x09",
32077 		.rlen	= 111,
32078 	}, { /* Set 5, vector 27 */
32079 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32080 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32081 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32082 			"\x00\x00\x00\x00\x00\x00\x00\x00",
32083 		.klen	= 32,
32084 		.iv     = "\x00\x00\x00\x10\x00\x00\x00\x00",
32085 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32086 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32087 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32088 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32089 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32090 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32091 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32092 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32093 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32094 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32095 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32096 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32097 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32098 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32099 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32100 			"\x00\x00\x00\x00\x00\x00\x00\x00"
32101 			"\x00",
32102 		.ilen	= 129,
32103 		.result	= "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
32104 			 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
32105 			 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
32106 			 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
32107 			 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
32108 			 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
32109 			 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
32110 			 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
32111 			 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
32112 			 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
32113 			 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
32114 			 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
32115 			 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
32116 			 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
32117 			 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
32118 			 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
32119 			 "\x5A",
32120 		.rlen	= 129,
32121 	}, { /* large test vector generated using Crypto++ */
32122 		.key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
32123 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
32124 			"\x10\x11\x12\x13\x14\x15\x16\x17"
32125 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
32126 		.klen = 32,
32127 		.iv =	"\x00\x00\x00\x00\x00\x00\x00\x00"
32128 			"\x00\x00\x00\x00\x00\x00\x00\x00",
32129 		.input =
32130 			"\x00\x01\x02\x03\x04\x05\x06\x07"
32131 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
32132 			"\x10\x11\x12\x13\x14\x15\x16\x17"
32133 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
32134 			"\x20\x21\x22\x23\x24\x25\x26\x27"
32135 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
32136 			"\x30\x31\x32\x33\x34\x35\x36\x37"
32137 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
32138 			"\x40\x41\x42\x43\x44\x45\x46\x47"
32139 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
32140 			"\x50\x51\x52\x53\x54\x55\x56\x57"
32141 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
32142 			"\x60\x61\x62\x63\x64\x65\x66\x67"
32143 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
32144 			"\x70\x71\x72\x73\x74\x75\x76\x77"
32145 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
32146 			"\x80\x81\x82\x83\x84\x85\x86\x87"
32147 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
32148 			"\x90\x91\x92\x93\x94\x95\x96\x97"
32149 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
32150 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
32151 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
32152 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
32153 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
32154 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
32155 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
32156 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
32157 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
32158 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
32159 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
32160 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
32161 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
32162 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
32163 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
32164 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
32165 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
32166 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
32167 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
32168 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
32169 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
32170 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
32171 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
32172 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
32173 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
32174 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
32175 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
32176 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
32177 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
32178 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
32179 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
32180 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
32181 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
32182 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
32183 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
32184 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
32185 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
32186 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
32187 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
32188 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
32189 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
32190 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
32191 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
32192 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
32193 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
32194 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
32195 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
32196 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
32197 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
32198 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
32199 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
32200 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
32201 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
32202 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
32203 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
32204 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
32205 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
32206 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
32207 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
32208 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
32209 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
32210 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
32211 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
32212 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
32213 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
32214 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
32215 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
32216 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
32217 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
32218 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
32219 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
32220 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
32221 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
32222 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
32223 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
32224 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
32225 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
32226 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
32227 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
32228 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
32229 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
32230 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
32231 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
32232 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
32233 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
32234 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
32235 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
32236 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
32237 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
32238 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
32239 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
32240 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
32241 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
32242 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
32243 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
32244 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
32245 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
32246 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
32247 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
32248 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
32249 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
32250 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
32251 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
32252 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
32253 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
32254 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
32255 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
32256 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
32257 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
32258 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
32259 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
32260 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
32261 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
32262 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
32263 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
32264 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
32265 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
32266 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
32267 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
32268 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
32269 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
32270 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
32271 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
32272 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
32273 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
32274 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
32275 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
32276 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
32277 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
32278 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
32279 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
32280 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
32281 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
32282 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
32283 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
32284 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
32285 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
32286 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
32287 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
32288 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
32289 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
32290 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
32291 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
32292 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
32293 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
32294 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
32295 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
32296 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
32297 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
32298 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
32299 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
32300 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
32301 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
32302 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
32303 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
32304 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
32305 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
32306 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
32307 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
32308 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
32309 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
32310 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
32311 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
32312 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
32313 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
32314 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
32315 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
32316 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
32317 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
32318 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
32319 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
32320 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
32321 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
32322 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
32323 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
32324 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
32325 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
32326 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
32327 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
32328 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
32329 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
32330 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
32331 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
32332 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
32333 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
32334 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
32335 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
32336 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
32337 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
32338 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
32339 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
32340 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
32341 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
32342 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
32343 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
32344 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
32345 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
32346 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
32347 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
32348 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
32349 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
32350 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
32351 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
32352 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
32353 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
32354 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
32355 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
32356 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
32357 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
32358 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
32359 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
32360 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
32361 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
32362 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
32363 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
32364 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
32365 			"\x28\x37\x46\x55\x64\x73\x82\x91"
32366 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
32367 			"\x18\x27\x36\x45\x54\x63\x72\x81"
32368 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
32369 			"\x08\x17\x26\x35\x44\x53\x62\x71"
32370 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
32371 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
32372 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
32373 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
32374 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
32375 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
32376 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
32377 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
32378 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
32379 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
32380 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
32381 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
32382 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
32383 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
32384 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
32385 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
32386 			"\x00\x11\x22\x33\x44\x55\x66\x77"
32387 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
32388 			"\x10\x21\x32\x43\x54\x65\x76\x87"
32389 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
32390 			"\x20\x31\x42\x53\x64\x75\x86\x97"
32391 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
32392 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
32393 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
32394 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
32395 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
32396 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
32397 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
32398 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
32399 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
32400 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
32401 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
32402 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
32403 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
32404 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
32405 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
32406 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
32407 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
32408 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
32409 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
32410 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
32411 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
32412 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
32413 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
32414 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
32415 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
32416 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
32417 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
32418 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
32419 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
32420 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
32421 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
32422 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
32423 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
32424 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
32425 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
32426 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
32427 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
32428 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
32429 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
32430 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
32431 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
32432 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
32433 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
32434 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
32435 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
32436 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
32437 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
32438 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
32439 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
32440 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
32441 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
32442 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
32443 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
32444 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
32445 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
32446 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
32447 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
32448 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
32449 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
32450 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
32451 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
32452 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
32453 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
32454 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
32455 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
32456 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
32457 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
32458 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
32459 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
32460 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
32461 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
32462 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
32463 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
32464 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
32465 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
32466 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
32467 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
32468 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
32469 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
32470 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
32471 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
32472 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
32473 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
32474 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
32475 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
32476 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
32477 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
32478 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
32479 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
32480 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
32481 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
32482 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
32483 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
32484 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
32485 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
32486 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
32487 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
32488 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
32489 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
32490 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
32491 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
32492 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
32493 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
32494 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
32495 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
32496 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
32497 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
32498 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
32499 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
32500 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
32501 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
32502 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
32503 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
32504 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
32505 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
32506 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
32507 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
32508 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
32509 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
32510 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
32511 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
32512 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
32513 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
32514 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
32515 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
32516 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
32517 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
32518 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
32519 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
32520 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
32521 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
32522 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
32523 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
32524 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
32525 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
32526 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
32527 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
32528 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
32529 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
32530 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
32531 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
32532 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
32533 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
32534 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
32535 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
32536 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
32537 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
32538 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
32539 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
32540 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
32541 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
32542 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
32543 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
32544 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
32545 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
32546 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
32547 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
32548 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
32549 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
32550 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
32551 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
32552 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
32553 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
32554 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
32555 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
32556 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
32557 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
32558 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
32559 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
32560 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
32561 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
32562 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
32563 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
32564 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
32565 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
32566 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
32567 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
32568 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
32569 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
32570 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
32571 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
32572 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
32573 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
32574 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
32575 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
32576 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
32577 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
32578 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
32579 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
32580 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
32581 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
32582 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
32583 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
32584 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
32585 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
32586 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
32587 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
32588 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
32589 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
32590 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
32591 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
32592 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
32593 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
32594 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
32595 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
32596 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
32597 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
32598 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
32599 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
32600 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
32601 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
32602 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
32603 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
32604 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
32605 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
32606 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
32607 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
32608 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
32609 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
32610 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
32611 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
32612 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
32613 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
32614 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
32615 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
32616 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
32617 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
32618 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
32619 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
32620 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
32621 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
32622 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
32623 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
32624 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
32625 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
32626 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
32627 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
32628 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
32629 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
32630 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
32631 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
32632 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
32633 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
32634 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
32635 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
32636 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
32637 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
32638 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
32639 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
32640 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
32641 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
32642 			"\x00\x21\x42\x63",
32643 		.ilen = 4100,
32644 		.result =
32645 			"\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
32646 			"\x4c\x13\xf2\x77\x18\x60\x65\x5e"
32647 			"\x29\x01\xce\x98\x55\x53\xf9\x0c"
32648 			"\x2a\x08\xd5\x09\xb3\x57\x55\x56"
32649 			"\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
32650 			"\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
32651 			"\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
32652 			"\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
32653 			"\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
32654 			"\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
32655 			"\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
32656 			"\xbb\xde\x56\x86\xab\x65\x21\x30"
32657 			"\x00\x84\x65\x24\xa5\x7d\x85\xb4"
32658 			"\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
32659 			"\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
32660 			"\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
32661 			"\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
32662 			"\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
32663 			"\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
32664 			"\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
32665 			"\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
32666 			"\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
32667 			"\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
32668 			"\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
32669 			"\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
32670 			"\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
32671 			"\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
32672 			"\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
32673 			"\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
32674 			"\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
32675 			"\x45\xff\x3f\xce\x55\xf6\x95\x10"
32676 			"\x08\x77\x10\x43\xc6\xf3\x09\xe5"
32677 			"\x68\xe7\x3c\xad\x00\x52\x45\x0d"
32678 			"\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
32679 			"\xe6\x25\xae\x98\x12\x8e\x19\x9c"
32680 			"\x81\x68\xb1\x11\xf6\x69\xda\xe3"
32681 			"\x62\x08\x18\x7a\x25\x49\x28\xac"
32682 			"\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
32683 			"\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
32684 			"\x98\xf3\x02\x68\x55\x03\x7f\x8a"
32685 			"\xe5\x94\x0c\x32\x5c\x07\x82\x63"
32686 			"\xaf\x6f\x91\x40\x84\x8e\x52\x25"
32687 			"\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
32688 			"\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
32689 			"\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
32690 			"\x15\x47\xc7\x50\x40\x6d\x91\xc5"
32691 			"\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
32692 			"\x33\xee\x14\x19\x22\x52\x89\xa7"
32693 			"\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
32694 			"\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
32695 			"\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
32696 			"\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
32697 			"\xca\x88\x63\x3d\x02\x58\x6b\xa9"
32698 			"\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
32699 			"\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
32700 			"\x04\x07\x08\x52\xe6\xc0\xda\x93"
32701 			"\x74\x7d\x93\x99\x5d\x78\x68\xa6"
32702 			"\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
32703 			"\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
32704 			"\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
32705 			"\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
32706 			"\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
32707 			"\x54\x26\x72\x9e\x61\xfa\x86\xcf"
32708 			"\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
32709 			"\x5a\x90\xae\x75\x0a\x74\x18\x89"
32710 			"\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
32711 			"\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
32712 			"\xe8\xfe\x63\x95\x80\x07\xb4\x26"
32713 			"\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
32714 			"\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
32715 			"\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
32716 			"\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
32717 			"\x33\xe6\x69\xf4\x45\x25\x86\x3a"
32718 			"\x22\x94\x4f\x00\x23\x6a\x44\xc2"
32719 			"\x49\x97\x33\xab\x36\x14\x0a\x70"
32720 			"\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
32721 			"\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
32722 			"\x94\xf4\x41\x49\xba\x5f\x7b\x07"
32723 			"\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
32724 			"\xc2\x2e\x37\x40\x49\xc3\x38\x16"
32725 			"\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
32726 			"\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
32727 			"\x47\x13\x28\x73\x3c\xbb\x00\x90"
32728 			"\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
32729 			"\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
32730 			"\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
32731 			"\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
32732 			"\xad\x04\x07\xae\x22\x90\x4a\x93"
32733 			"\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
32734 			"\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
32735 			"\x2a\x3d\x45\xfe\x03\x61\x10\x85"
32736 			"\x17\x69\xa6\x78\xcc\x6c\x87\x49"
32737 			"\x53\xf9\x80\x10\xde\x80\xa2\x41"
32738 			"\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
32739 			"\x00\x71\x51\x06\xa7\xbd\xfb\xef"
32740 			"\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
32741 			"\x66\xb0\x49\x23\xc4\x47\x10\x0e"
32742 			"\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
32743 			"\xde\xff\x07\x44\xdd\x56\x1b\xad"
32744 			"\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
32745 			"\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
32746 			"\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
32747 			"\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
32748 			"\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
32749 			"\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
32750 			"\x07\x37\x91\x9f\xfd\x67\x50\x3a"
32751 			"\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
32752 			"\xf9\xe5\x39\xa3\x31\xac\x07\x36"
32753 			"\x23\xf8\x66\x18\x14\x28\x34\x0f"
32754 			"\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
32755 			"\x01\x41\xb2\x75\x8d\xcb\x96\x85"
32756 			"\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
32757 			"\x44\x1f\xc0\x14\x22\x75\x61\xe8"
32758 			"\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
32759 			"\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
32760 			"\x57\x50\xdb\x17\x41\x65\x4d\xa3"
32761 			"\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
32762 			"\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
32763 			"\x13\x3b\xfa\x29\xda\x9e\x54\x64"
32764 			"\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
32765 			"\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
32766 			"\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
32767 			"\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
32768 			"\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
32769 			"\xca\x8e\x61\x87\xde\xad\x80\xd2"
32770 			"\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
32771 			"\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
32772 			"\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
32773 			"\x97\x8a\x19\x89\x44\x40\xc0\xa6"
32774 			"\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
32775 			"\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
32776 			"\x28\x99\xad\x2c\x76\xa3\x78\xc2"
32777 			"\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
32778 			"\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
32779 			"\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
32780 			"\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
32781 			"\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
32782 			"\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
32783 			"\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
32784 			"\x13\x36\x79\x80\x53\xe8\xd3\xa6"
32785 			"\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
32786 			"\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
32787 			"\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
32788 			"\xac\x26\x80\x14\x1d\xc8\x3a\x35"
32789 			"\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
32790 			"\x35\x58\x79\x8e\x0f\x66\xea\xaf"
32791 			"\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
32792 			"\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
32793 			"\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
32794 			"\x54\xda\x24\x6a\xc4\x41\x65\x46"
32795 			"\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
32796 			"\x2c\x91\xa7\xee\xc4\x81\x07\x86"
32797 			"\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
32798 			"\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
32799 			"\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
32800 			"\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
32801 			"\xbd\x43\xea\x15\x23\x7f\xb9\xac"
32802 			"\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
32803 			"\xf3\x19\x31\xbb\x4a\x74\x84\x17"
32804 			"\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
32805 			"\x80\x38\x15\x52\xcb\x6f\xea\xe5"
32806 			"\x73\x9c\xd9\x24\x69\xc6\x95\x32"
32807 			"\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
32808 			"\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
32809 			"\x31\xdd\x93\x75\x78\x8a\x2c\x94"
32810 			"\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
32811 			"\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
32812 			"\xef\xcc\xa7\xec\xab\x43\x09\x18"
32813 			"\xd3\xab\x68\xd1\x07\x99\x44\x47"
32814 			"\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
32815 			"\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
32816 			"\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
32817 			"\x02\x7c\x86\x54\xbc\x88\xaf\x75"
32818 			"\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
32819 			"\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
32820 			"\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
32821 			"\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
32822 			"\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
32823 			"\x71\x6e\x9f\x58\x15\x67\x72\x87"
32824 			"\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
32825 			"\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
32826 			"\xba\x41\x54\xac\xf0\xfc\x59\x12"
32827 			"\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
32828 			"\x62\x8d\x83\x2c\x03\xbe\x05\x76"
32829 			"\x2e\x53\x49\x97\x94\x33\xae\x40"
32830 			"\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
32831 			"\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
32832 			"\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
32833 			"\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
32834 			"\xce\x87\xad\xcc\x72\x05\x00\x29"
32835 			"\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
32836 			"\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
32837 			"\x5c\x50\x79\x2a\x56\x56\x71\x8c"
32838 			"\xac\xc0\x79\x50\x69\xca\x59\x32"
32839 			"\x65\xf2\x54\xe4\x52\x38\x76\xd1"
32840 			"\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
32841 			"\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
32842 			"\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
32843 			"\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
32844 			"\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
32845 			"\x05\x68\x6b\xab\xe3\x41\x49\xed"
32846 			"\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
32847 			"\x59\xc9\x26\x8b\xef\x30\x4c\x88"
32848 			"\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
32849 			"\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
32850 			"\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
32851 			"\xc0\x12\x23\x5f\x5a\x78\x86\x43"
32852 			"\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
32853 			"\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
32854 			"\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
32855 			"\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
32856 			"\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
32857 			"\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
32858 			"\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
32859 			"\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
32860 			"\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
32861 			"\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
32862 			"\xaf\xf1\x85\x75\x7d\x03\x61\x68"
32863 			"\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
32864 			"\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
32865 			"\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
32866 			"\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
32867 			"\x85\x75\xe6\x43\xf6\x87\x08\x68"
32868 			"\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
32869 			"\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
32870 			"\x33\x47\x80\x45\x56\xa3\xa7\xd7"
32871 			"\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
32872 			"\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
32873 			"\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
32874 			"\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
32875 			"\xaf\x55\xeb\x22\xac\x93\x68\x32"
32876 			"\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
32877 			"\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
32878 			"\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
32879 			"\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
32880 			"\x78\xf1\x2d\x50\x12\x77\xa8\x60"
32881 			"\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
32882 			"\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
32883 			"\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
32884 			"\x11\x16\x8f\xa2\xec\x47\xbe\xac"
32885 			"\x56\x01\x26\x56\xb1\x8c\xb2\x10"
32886 			"\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
32887 			"\x63\xf1\x69\x20\x4f\x13\x12\x1f"
32888 			"\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
32889 			"\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
32890 			"\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
32891 			"\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
32892 			"\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
32893 			"\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
32894 			"\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
32895 			"\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
32896 			"\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
32897 			"\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
32898 			"\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
32899 			"\x38\x55\xab\x33\x26\xef\x9f\x43"
32900 			"\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
32901 			"\x58\x09\x09\x1b\xc3\x65\x46\x46"
32902 			"\x1d\xa7\x94\x18\x23\x50\x2c\xca"
32903 			"\x2c\x55\x19\x97\x01\x9d\x93\x3b"
32904 			"\x63\x86\xf2\x03\x67\x45\xd2\x72"
32905 			"\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
32906 			"\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
32907 			"\x2b\x82\x39\xbd\x69\x54\xed\x62"
32908 			"\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
32909 			"\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
32910 			"\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
32911 			"\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
32912 			"\x98\x65\x85\xd1\x93\x53\xd3\x7b"
32913 			"\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
32914 			"\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
32915 			"\x84\x74\x15\x65\xb7\xf7\x51\xaf"
32916 			"\x55\xad\xa4\xd1\x22\x54\x70\x94"
32917 			"\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
32918 			"\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
32919 			"\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
32920 			"\x62\x36\x43\xb2\x82\x15\x75\x50"
32921 			"\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
32922 			"\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
32923 			"\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
32924 			"\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
32925 			"\x83\xcb\x72\xd0\x33\x79\x00\x2d"
32926 			"\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
32927 			"\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
32928 			"\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
32929 			"\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
32930 			"\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
32931 			"\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
32932 			"\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
32933 			"\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
32934 			"\xe9\xfd\x59\x14\x36\x49\x40\x6d"
32935 			"\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
32936 			"\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
32937 			"\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
32938 			"\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
32939 			"\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
32940 			"\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
32941 			"\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
32942 			"\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
32943 			"\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
32944 			"\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
32945 			"\x29\x06\x9d\xa4\x51\x3a\x10\x63"
32946 			"\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
32947 			"\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
32948 			"\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
32949 			"\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
32950 			"\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
32951 			"\x37\xa9\x64\x08\x4d\x94\x5a\x88"
32952 			"\xca\x35\xce\x81\x02\xe3\x1f\x1b"
32953 			"\x89\x1a\x77\x85\xe3\x41\x6d\x32"
32954 			"\x42\x19\x23\x7d\xc8\x73\xee\x25"
32955 			"\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
32956 			"\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
32957 			"\x82\x36\x6a\x0c\x46\x22\x15\xe9"
32958 			"\xff\x72\x41\x91\x91\x7d\x3a\xb7"
32959 			"\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
32960 			"\x67\x15\x20\x11\xd6\xb2\x55\x7b"
32961 			"\xdb\x87\xee\xef\x55\x89\x2a\x59"
32962 			"\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
32963 			"\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
32964 			"\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
32965 			"\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
32966 			"\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
32967 			"\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
32968 			"\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
32969 			"\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
32970 			"\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
32971 			"\xae\xab\x86\x09\x89\xc9\xc2\x40"
32972 			"\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
32973 			"\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
32974 			"\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
32975 			"\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
32976 			"\xe3\xb1\x18\x45\x67\xf9\x22\x38"
32977 			"\x95\xd9\x34\x34\x86\xc6\x41\x94"
32978 			"\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
32979 			"\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
32980 			"\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
32981 			"\x09\x90\x0c\xa2\x65\x0c\xad\x74"
32982 			"\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
32983 			"\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
32984 			"\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
32985 			"\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
32986 			"\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
32987 			"\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
32988 			"\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
32989 			"\xa7\x33\x34\x86\xca\xe4\x96\x23"
32990 			"\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
32991 			"\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
32992 			"\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
32993 			"\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
32994 			"\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
32995 			"\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
32996 			"\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
32997 			"\xde\x59\xec\x71\xeb\x89\xbb\xd0"
32998 			"\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
32999 			"\xc3\x1c\xa1\x10\x77\x53\x98\xef"
33000 			"\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
33001 			"\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
33002 			"\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
33003 			"\x68\xc8\x7f\x51\x22\x42\xef\x49"
33004 			"\xa4\x55\xb6\x36\xac\x09\xc7\x31"
33005 			"\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
33006 			"\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
33007 			"\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
33008 			"\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
33009 			"\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
33010 			"\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
33011 			"\x73\x2e\x71\x79\x16\x06\x63\x28"
33012 			"\x09\x15\xd8\x89\x38\x38\x3d\xb5"
33013 			"\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
33014 			"\xc8\xca\xef\xf9\x27\xd8\x07\x86"
33015 			"\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
33016 			"\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
33017 			"\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
33018 			"\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
33019 			"\x87\x26\xec\x61\x2c\xb4\x0f\x89"
33020 			"\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
33021 			"\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
33022 			"\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
33023 			"\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
33024 			"\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
33025 			"\x94\x98\xe4\x12\x93\x4c\x92\xe0"
33026 			"\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
33027 			"\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
33028 			"\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
33029 			"\x19\x07\xaf\x90\x62\x5c\x68\x98"
33030 			"\x48\x16\x11\x02\x9d\xee\xb4\x9b"
33031 			"\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
33032 			"\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
33033 			"\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
33034 			"\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
33035 			"\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
33036 			"\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
33037 			"\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
33038 			"\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
33039 			"\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
33040 			"\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
33041 			"\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
33042 			"\xef\x2f\xce\x72\xe5\x24\x60\xc1"
33043 			"\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
33044 			"\x21\x33\x44\xfe\x7f\x35\x32\x93"
33045 			"\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
33046 			"\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
33047 			"\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
33048 			"\x64\xf0\x48\xe5\x57\x99\xee\x75"
33049 			"\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
33050 			"\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
33051 			"\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
33052 			"\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
33053 			"\x58\xa0\x58\x7d\x33\xe0\x22\x39"
33054 			"\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
33055 			"\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
33056 			"\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
33057 			"\x0c\x32\x4b\xb5\x49\x28\xab\x85"
33058 			"\x2f\x8e\x01\x36\x38\x52\xd0\xba"
33059 			"\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
33060 			"\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
33061 			"\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
33062 			"\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
33063 			"\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
33064 			"\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
33065 			"\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
33066 			"\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
33067 			"\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
33068 			"\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
33069 			"\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
33070 			"\x81\xe1\x86\x89\x3e\x56\x10\x3c"
33071 			"\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
33072 			"\x53\xec\xa7\x89\xee\xc8\x56\xb5"
33073 			"\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
33074 			"\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
33075 			"\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
33076 			"\x56\xf5\x4e\x01\x35\x27\x45\x77"
33077 			"\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
33078 			"\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
33079 			"\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
33080 			"\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
33081 			"\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
33082 			"\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
33083 			"\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
33084 			"\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
33085 			"\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
33086 			"\x23\xab\x23\x3c\xb2\x10\xa0\x53"
33087 			"\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
33088 			"\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
33089 			"\x0f\xd2\x98\x88\x81\x8b\x45\x67"
33090 			"\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
33091 			"\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
33092 			"\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
33093 			"\x87\x8f\x03\x21\x28\x95\x0c\x89"
33094 			"\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
33095 			"\x2f\x57\x6e\x18\x42\x19\x54\x0c"
33096 			"\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
33097 			"\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
33098 			"\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
33099 			"\x1b\x31\x05\xe1\x06\x92\xe7\xda"
33100 			"\x85\x73\x78\x45\x20\x7f\xae\x13"
33101 			"\x7c\x33\x06\x22\xf4\x83\xf9\x35"
33102 			"\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
33103 			"\xce\x8a\xba\xda\xbe\x28\x08\xf7"
33104 			"\xe2\x14\x8c\x71\xea\x72\xf9\x33"
33105 			"\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
33106 			"\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
33107 			"\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
33108 			"\x14\x1f\x6c\x68\x98\x39\x89\x7a"
33109 			"\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
33110 			"\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
33111 			"\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
33112 			"\x80\x99\xae\xbc\xca\xae\x0f\x2f"
33113 			"\x65\x43\x34\x8e\x7e\xac\xd3\x93"
33114 			"\x2f\xac\x6d\x14\x3d\x02\x07\x70"
33115 			"\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
33116 			"\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
33117 			"\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
33118 			"\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
33119 			"\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
33120 			"\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
33121 			"\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
33122 			"\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
33123 			"\x14\x89\x5e\x70\x5a\x99\x92\xcd"
33124 			"\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
33125 			"\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
33126 			"\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
33127 			"\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
33128 			"\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
33129 			"\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
33130 			"\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
33131 			"\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
33132 			"\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
33133 			"\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
33134 			"\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
33135 			"\x30\xbc\x22\x81\x7d\x93\x12\xe4"
33136 			"\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
33137 			"\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
33138 			"\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
33139 			"\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
33140 			"\x6e\x12\x17\x72\x63\x57\xc7\xba"
33141 			"\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
33142 			"\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
33143 			"\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
33144 			"\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
33145 			"\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
33146 			"\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
33147 			"\x0c\x24\x43\x31\x40\x57\xf1\x72"
33148 			"\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
33149 			"\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
33150 			"\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
33151 			"\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
33152 			"\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
33153 			"\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
33154 			"\x28\x72\x23\xa0\xc2\xad\xad\x1c"
33155 			"\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
33156 			"\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
33157 			"\xaf\xdf\x11\x95",
33158 		.rlen	= 4100,
33159 		.np	= 2,
33160 		.tap	= { 4064, 36 },
33161 	},
33162 };
33163 
33164 static const struct cipher_testvec chacha20_enc_tv_template[] = {
33165 	{ /* RFC7539 A.2. Test Vector #1 */
33166 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
33167 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33168 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33169 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
33170 		.klen	= 32,
33171 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
33172 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
33173 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
33174 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33175 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33176 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33177 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33178 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33179 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33180 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
33181 		.ilen	= 64,
33182 		.result	= "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
33183 			  "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
33184 			  "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
33185 			  "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
33186 			  "\xda\x41\x59\x7c\x51\x57\x48\x8d"
33187 			  "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
33188 			  "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
33189 			  "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
33190 		.rlen	= 64,
33191 	}, { /* RFC7539 A.2. Test Vector #2 */
33192 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
33193 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33194 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
33195 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
33196 		.klen	= 32,
33197 		.iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
33198 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
33199 		.input	= "\x41\x6e\x79\x20\x73\x75\x62\x6d"
33200 			  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
33201 			  "\x6f\x20\x74\x68\x65\x20\x49\x45"
33202 			  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
33203 			  "\x64\x65\x64\x20\x62\x79\x20\x74"
33204 			  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
33205 			  "\x69\x62\x75\x74\x6f\x72\x20\x66"
33206 			  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
33207 			  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
33208 			  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
33209 			  "\x20\x70\x61\x72\x74\x20\x6f\x66"
33210 			  "\x20\x61\x6e\x20\x49\x45\x54\x46"
33211 			  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
33212 			  "\x74\x2d\x44\x72\x61\x66\x74\x20"
33213 			  "\x6f\x72\x20\x52\x46\x43\x20\x61"
33214 			  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
33215 			  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
33216 			  "\x20\x6d\x61\x64\x65\x20\x77\x69"
33217 			  "\x74\x68\x69\x6e\x20\x74\x68\x65"
33218 			  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
33219 			  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
33220 			  "\x45\x54\x46\x20\x61\x63\x74\x69"
33221 			  "\x76\x69\x74\x79\x20\x69\x73\x20"
33222 			  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
33223 			  "\x65\x64\x20\x61\x6e\x20\x22\x49"
33224 			  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
33225 			  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
33226 			  "\x22\x2e\x20\x53\x75\x63\x68\x20"
33227 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
33228 			  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
33229 			  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
33230 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
33231 			  "\x74\x73\x20\x69\x6e\x20\x49\x45"
33232 			  "\x54\x46\x20\x73\x65\x73\x73\x69"
33233 			  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
33234 			  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
33235 			  "\x77\x72\x69\x74\x74\x65\x6e\x20"
33236 			  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
33237 			  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
33238 			  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
33239 			  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
33240 			  "\x64\x65\x20\x61\x74\x20\x61\x6e"
33241 			  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
33242 			  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
33243 			  "\x20\x77\x68\x69\x63\x68\x20\x61"
33244 			  "\x72\x65\x20\x61\x64\x64\x72\x65"
33245 			  "\x73\x73\x65\x64\x20\x74\x6f",
33246 		.ilen	= 375,
33247 		.result	= "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
33248 			  "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
33249 			  "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
33250 			  "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
33251 			  "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
33252 			  "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
33253 			  "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
33254 			  "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
33255 			  "\x40\x42\xe0\x27\x85\xec\xec\xfa"
33256 			  "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
33257 			  "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
33258 			  "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
33259 			  "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
33260 			  "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
33261 			  "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
33262 			  "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
33263 			  "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
33264 			  "\xd6\x62\xab\x05\x26\x91\xca\x66"
33265 			  "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
33266 			  "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
33267 			  "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
33268 			  "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
33269 			  "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
33270 			  "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
33271 			  "\x08\x71\xcd\xac\x63\x89\x39\xe2"
33272 			  "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
33273 			  "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
33274 			  "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
33275 			  "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
33276 			  "\x37\x20\xfc\x88\xdc\x95\xed\x84"
33277 			  "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
33278 			  "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
33279 			  "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
33280 			  "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
33281 			  "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
33282 			  "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
33283 			  "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
33284 			  "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
33285 			  "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
33286 			  "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
33287 			  "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
33288 			  "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
33289 			  "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
33290 			  "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
33291 			  "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
33292 			  "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
33293 			  "\xc4\xfd\x80\x6c\x22\xf2\x21",
33294 		.rlen	= 375,
33295 		.also_non_np = 1,
33296 		.np	= 3,
33297 		.tap	= { 375 - 20, 4, 16 },
33298 
33299 	}, { /* RFC7539 A.2. Test Vector #3 */
33300 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
33301 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
33302 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
33303 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
33304 		.klen	= 32,
33305 		.iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
33306 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
33307 		.input	= "\x27\x54\x77\x61\x73\x20\x62\x72"
33308 			  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
33309 			  "\x6e\x64\x20\x74\x68\x65\x20\x73"
33310 			  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
33311 			  "\x76\x65\x73\x0a\x44\x69\x64\x20"
33312 			  "\x67\x79\x72\x65\x20\x61\x6e\x64"
33313 			  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
33314 			  "\x69\x6e\x20\x74\x68\x65\x20\x77"
33315 			  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
33316 			  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
33317 			  "\x65\x72\x65\x20\x74\x68\x65\x20"
33318 			  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
33319 			  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
33320 			  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
33321 			  "\x72\x61\x74\x68\x73\x20\x6f\x75"
33322 			  "\x74\x67\x72\x61\x62\x65\x2e",
33323 		.ilen	= 127,
33324 		.result	= "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
33325 			  "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
33326 			  "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
33327 			  "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
33328 			  "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
33329 			  "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
33330 			  "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
33331 			  "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
33332 			  "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
33333 			  "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
33334 			  "\x1a\x55\x32\x05\x57\x16\xea\xd6"
33335 			  "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
33336 			  "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
33337 			  "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
33338 			  "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
33339 			  "\x75\x7a\x79\x7a\xc1\x88\xd1",
33340 		.rlen	= 127,
33341 	}, { /* Self-made test vector for long data */
33342 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
33343 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
33344 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
33345 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
33346 		.klen	= 32,
33347 		.iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
33348 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
33349 		.input	= "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
33350 			  "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
33351 			  "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
33352 			  "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
33353 			  "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
33354 			  "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
33355 			  "\x01\xc6\x67\xda\x03\x91\x18\x90"
33356 			  "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
33357 			  "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
33358 			  "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
33359 			  "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
33360 			  "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
33361 			  "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
33362 			  "\x33\x97\xc3\x77\xba\xc5\x70\xde"
33363 			  "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
33364 			  "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
33365 			  "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
33366 			  "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
33367 			  "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
33368 			  "\x79\x49\x41\xf4\x58\x18\xcb\x86"
33369 			  "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
33370 			  "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
33371 			  "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
33372 			  "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
33373 			  "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
33374 			  "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
33375 			  "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
33376 			  "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
33377 			  "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
33378 			  "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
33379 			  "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
33380 			  "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
33381 			  "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
33382 			  "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
33383 			  "\x24\x74\x75\x7f\x95\x81\xb7\x30"
33384 			  "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
33385 			  "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
33386 			  "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
33387 			  "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
33388 			  "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
33389 			  "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
33390 			  "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
33391 			  "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
33392 			  "\x49\x46\x00\x88\x22\x8d\xce\xea"
33393 			  "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
33394 			  "\x72\x11\xf5\x50\x73\x04\x40\x47"
33395 			  "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
33396 			  "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
33397 			  "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
33398 			  "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
33399 			  "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
33400 			  "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
33401 			  "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
33402 			  "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
33403 			  "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
33404 			  "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
33405 			  "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
33406 			  "\x8b\x10\x67\xa3\x01\x57\x94\x25"
33407 			  "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
33408 			  "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
33409 			  "\x58\xb1\x47\x90\xfe\x42\x21\x72"
33410 			  "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
33411 			  "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
33412 			  "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
33413 			  "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
33414 			  "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
33415 			  "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
33416 			  "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
33417 			  "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
33418 			  "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
33419 			  "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
33420 			  "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
33421 			  "\x65\x69\x8a\x45\x29\xef\x74\x85"
33422 			  "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
33423 			  "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
33424 			  "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
33425 			  "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
33426 			  "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
33427 			  "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
33428 			  "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
33429 			  "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
33430 			  "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
33431 			  "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
33432 			  "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
33433 			  "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
33434 			  "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
33435 			  "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
33436 			  "\x10\x26\x38\x07\xe5\xc7\x36\x80"
33437 			  "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
33438 			  "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
33439 			  "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
33440 			  "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
33441 			  "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
33442 			  "\x83\x66\x80\x47\x80\xe8\xfd\x35"
33443 			  "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
33444 			  "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
33445 			  "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
33446 			  "\x25\x94\x10\x5f\x40\x00\x64\x99"
33447 			  "\xdc\xae\xd7\x21\x09\x78\x50\x15"
33448 			  "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
33449 			  "\x87\x6e\x6d\xab\xde\x08\x51\x16"
33450 			  "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
33451 			  "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
33452 			  "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
33453 			  "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
33454 			  "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
33455 			  "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
33456 			  "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
33457 			  "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
33458 			  "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
33459 			  "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
33460 			  "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
33461 			  "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
33462 			  "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
33463 			  "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
33464 			  "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
33465 			  "\xb9\x83\x90\xef\x20\x59\x46\xff"
33466 			  "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
33467 			  "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
33468 			  "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
33469 			  "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
33470 			  "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
33471 			  "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
33472 			  "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
33473 			  "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
33474 			  "\x94\x97\xea\xdd\x58\x9e\xae\x76"
33475 			  "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
33476 			  "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
33477 			  "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
33478 			  "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
33479 			  "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
33480 			  "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
33481 			  "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
33482 			  "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
33483 			  "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
33484 			  "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
33485 			  "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
33486 			  "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
33487 			  "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
33488 			  "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
33489 			  "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
33490 			  "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
33491 			  "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
33492 			  "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
33493 			  "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
33494 			  "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
33495 			  "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
33496 			  "\xac\xf3\x13\x53\x27\x45\xaf\x64"
33497 			  "\x46\xdc\xea\x23\xda\x97\xd1\xab"
33498 			  "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
33499 			  "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
33500 			  "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
33501 			  "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
33502 			  "\xca\x34\x83\x27\x10\x5b\x68\x45"
33503 			  "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
33504 			  "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
33505 			  "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
33506 			  "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
33507 			  "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
33508 			  "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
33509 			  "\x72",
33510 		.ilen	= 1281,
33511 		.result	= "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
33512 			  "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
33513 			  "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
33514 			  "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
33515 			  "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
33516 			  "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
33517 			  "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
33518 			  "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
33519 			  "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
33520 			  "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
33521 			  "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
33522 			  "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
33523 			  "\x33\x4a\x71\x15\xfe\xee\x12\x54"
33524 			  "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
33525 			  "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
33526 			  "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
33527 			  "\x57\x0e\x94\x17\x26\x39\xbb\x54"
33528 			  "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
33529 			  "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
33530 			  "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
33531 			  "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
33532 			  "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
33533 			  "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
33534 			  "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
33535 			  "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
33536 			  "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
33537 			  "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
33538 			  "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
33539 			  "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
33540 			  "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
33541 			  "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
33542 			  "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
33543 			  "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
33544 			  "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
33545 			  "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
33546 			  "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
33547 			  "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
33548 			  "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
33549 			  "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
33550 			  "\xae\xe7\x61\x32\xef\x41\x6c\x75"
33551 			  "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
33552 			  "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
33553 			  "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
33554 			  "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
33555 			  "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
33556 			  "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
33557 			  "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
33558 			  "\xc1\x22\xf3\x79\xae\x95\x78\x66"
33559 			  "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
33560 			  "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
33561 			  "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
33562 			  "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
33563 			  "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
33564 			  "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
33565 			  "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
33566 			  "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
33567 			  "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
33568 			  "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
33569 			  "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
33570 			  "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
33571 			  "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
33572 			  "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
33573 			  "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
33574 			  "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
33575 			  "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
33576 			  "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
33577 			  "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
33578 			  "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
33579 			  "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
33580 			  "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
33581 			  "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
33582 			  "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
33583 			  "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
33584 			  "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
33585 			  "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
33586 			  "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
33587 			  "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
33588 			  "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
33589 			  "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
33590 			  "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
33591 			  "\x54\x1c\x34\x72\xde\x0c\x68\x39"
33592 			  "\x9d\x32\xa5\x75\x92\x13\x32\xea"
33593 			  "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
33594 			  "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
33595 			  "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
33596 			  "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
33597 			  "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
33598 			  "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
33599 			  "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
33600 			  "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
33601 			  "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
33602 			  "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
33603 			  "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
33604 			  "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
33605 			  "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
33606 			  "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
33607 			  "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
33608 			  "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
33609 			  "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
33610 			  "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
33611 			  "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
33612 			  "\x79\x61\x23\xe0\xa2\x99\x73\x55"
33613 			  "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
33614 			  "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
33615 			  "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
33616 			  "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
33617 			  "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
33618 			  "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
33619 			  "\x48\x56\xaa\x85\x22\xd8\x36\xed"
33620 			  "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
33621 			  "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
33622 			  "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
33623 			  "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
33624 			  "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
33625 			  "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
33626 			  "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
33627 			  "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
33628 			  "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
33629 			  "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
33630 			  "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
33631 			  "\xec\x83\x92\x99\x87\x47\xe0\x7c"
33632 			  "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
33633 			  "\x98\xb0\x87\xb6\x86\x13\x64\x33"
33634 			  "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
33635 			  "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
33636 			  "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
33637 			  "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
33638 			  "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
33639 			  "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
33640 			  "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
33641 			  "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
33642 			  "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
33643 			  "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
33644 			  "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
33645 			  "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
33646 			  "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
33647 			  "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
33648 			  "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
33649 			  "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
33650 			  "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
33651 			  "\x5f\xae\x25\x84\x22\x90\x5f\x26"
33652 			  "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
33653 			  "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
33654 			  "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
33655 			  "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
33656 			  "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
33657 			  "\x74\x06\x89\x0e\x90\xeb\x85\xff"
33658 			  "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
33659 			  "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
33660 			  "\x02\x85\x68\xd0\x03\x12\xde\x92"
33661 			  "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
33662 			  "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
33663 			  "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
33664 			  "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
33665 			  "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
33666 			  "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
33667 			  "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
33668 			  "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
33669 			  "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
33670 			  "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
33671 			  "\x98",
33672 		.rlen	= 1281,
33673 		.also_non_np = 1,
33674 		.np	= 3,
33675 		.tap	= { 1200, 1, 80 },
33676 	},
33677 };
33678 
33679 /*
33680  * CTS (Cipher Text Stealing) mode tests
33681  */
33682 static const struct cipher_testvec cts_mode_enc_tv_template[] = {
33683 	{ /* from rfc3962 */
33684 		.klen	= 16,
33685 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33686 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33687 		.ilen	= 17,
33688 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33689 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33690 			  "\x20",
33691 		.rlen	= 17,
33692 		.result	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33693 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33694 			  "\x97",
33695 	}, {
33696 		.klen	= 16,
33697 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33698 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33699 		.ilen   = 31,
33700 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33701 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33702 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33703 			  "\x20\x47\x61\x75\x27\x73\x20",
33704 		.rlen   = 31,
33705 		.result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33706 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33707 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33708 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33709 	}, {
33710 		.klen	= 16,
33711 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33712 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33713 		.ilen   = 32,
33714 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33715 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33716 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33717 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33718 		.rlen   = 32,
33719 		.result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33720 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33721 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33722 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33723 	}, {
33724 		.klen	= 16,
33725 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33726 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33727 		.ilen   = 47,
33728 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33729 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33730 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33731 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33732 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33733 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33734 		.rlen   = 47,
33735 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33736 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33737 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33738 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33739 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33740 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33741 	}, {
33742 		.klen	= 16,
33743 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33744 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33745 		.ilen   = 48,
33746 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33747 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33748 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33749 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33750 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33751 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33752 		.rlen   = 48,
33753 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33754 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33755 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33756 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33757 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33758 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33759 	}, {
33760 		.klen	= 16,
33761 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33762 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33763 		.ilen   = 64,
33764 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33765 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33766 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33767 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33768 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33769 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33770 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33771 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33772 		.rlen   = 64,
33773 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33774 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33775 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33776 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33777 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33778 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33779 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33780 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33781 	}
33782 };
33783 
33784 static const struct cipher_testvec cts_mode_dec_tv_template[] = {
33785 	{ /* from rfc3962 */
33786 		.klen	= 16,
33787 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33788 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33789 		.rlen	= 17,
33790 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33791 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33792 			  "\x20",
33793 		.ilen	= 17,
33794 		.input	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33795 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33796 			  "\x97",
33797 	}, {
33798 		.klen	= 16,
33799 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33800 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33801 		.rlen   = 31,
33802 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33803 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33804 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33805 			  "\x20\x47\x61\x75\x27\x73\x20",
33806 		.ilen   = 31,
33807 		.input  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33808 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33809 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33810 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33811 	}, {
33812 		.klen	= 16,
33813 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33814 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33815 		.rlen   = 32,
33816 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33817 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33818 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33819 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33820 		.ilen   = 32,
33821 		.input  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33822 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33823 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33824 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33825 	}, {
33826 		.klen	= 16,
33827 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33828 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33829 		.rlen   = 47,
33830 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33831 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33832 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33833 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33834 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33835 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33836 		.ilen   = 47,
33837 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33838 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33839 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33840 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33841 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33842 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33843 	}, {
33844 		.klen	= 16,
33845 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33846 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33847 		.rlen   = 48,
33848 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33849 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33850 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33851 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33852 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33853 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33854 		.ilen   = 48,
33855 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33856 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33857 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33858 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33859 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33860 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33861 	}, {
33862 		.klen	= 16,
33863 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33864 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33865 		.rlen   = 64,
33866 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33867 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33868 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33869 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33870 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33871 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33872 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33873 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33874 		.ilen   = 64,
33875 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33876 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33877 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33878 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33879 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33880 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33881 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33882 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33883 	}
33884 };
33885 
33886 /*
33887  * Compression stuff.
33888  */
33889 #define COMP_BUF_SIZE           512
33890 
33891 struct comp_testvec {
33892 	int inlen, outlen;
33893 	char input[COMP_BUF_SIZE];
33894 	char output[COMP_BUF_SIZE];
33895 };
33896 
33897 /*
33898  * Deflate test vectors (null-terminated strings).
33899  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33900  */
33901 
33902 static const struct comp_testvec deflate_comp_tv_template[] = {
33903 	{
33904 		.inlen	= 70,
33905 		.outlen	= 38,
33906 		.input	= "Join us now and share the software "
33907 			"Join us now and share the software ",
33908 		.output	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33909 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33910 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33911 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33912 			  "\x71\xbc\x08\x2b\x01\x00",
33913 	}, {
33914 		.inlen	= 191,
33915 		.outlen	= 122,
33916 		.input	= "This document describes a compression method based on the DEFLATE"
33917 			"compression algorithm.  This document defines the application of "
33918 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33919 		.output	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33920 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33921 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33922 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33923 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33924 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33925 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33926 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33927 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33928 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33929 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33930 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33931 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33932 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33933 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33934 			  "\xfa\x02",
33935 	},
33936 };
33937 
33938 static const struct comp_testvec deflate_decomp_tv_template[] = {
33939 	{
33940 		.inlen	= 122,
33941 		.outlen	= 191,
33942 		.input	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33943 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33944 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33945 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33946 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33947 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33948 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33949 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33950 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33951 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33952 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33953 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33954 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33955 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33956 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33957 			  "\xfa\x02",
33958 		.output	= "This document describes a compression method based on the DEFLATE"
33959 			"compression algorithm.  This document defines the application of "
33960 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33961 	}, {
33962 		.inlen	= 38,
33963 		.outlen	= 70,
33964 		.input	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33965 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33966 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33967 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33968 			  "\x71\xbc\x08\x2b\x01\x00",
33969 		.output	= "Join us now and share the software "
33970 			"Join us now and share the software ",
33971 	},
33972 };
33973 
33974 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
33975 	{
33976 		.inlen	= 70,
33977 		.outlen	= 44,
33978 		.input	= "Join us now and share the software "
33979 			"Join us now and share the software ",
33980 		.output	= "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
33981 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33982 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33983 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33984 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33985 			  "\x7c\x65\x19\x3d",
33986 	}, {
33987 		.inlen	= 191,
33988 		.outlen	= 129,
33989 		.input	= "This document describes a compression method based on the DEFLATE"
33990 			"compression algorithm.  This document defines the application of "
33991 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33992 		.output	= "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
33993 			  "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
33994 			  "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
33995 			  "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
33996 			  "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
33997 			  "\xee\x20\x9f\x64\x20\x6a\x78\x17"
33998 			  "\xae\x86\xc8\x23\x74\x59\x78\x80"
33999 			  "\x10\xb4\xb4\xce\x63\x88\x56\x14"
34000 			  "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
34001 			  "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
34002 			  "\xae\x51\x7e\x69\x17\x4b\x65\x02"
34003 			  "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
34004 			  "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
34005 			  "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
34006 			  "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
34007 			  "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
34008 			  "\x4e",
34009 	},
34010 };
34011 
34012 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
34013 	{
34014 		.inlen	= 128,
34015 		.outlen	= 191,
34016 		.input	= "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
34017 			  "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
34018 			  "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
34019 			  "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
34020 			  "\xef\x49\x68\x12\x51\xae\x76\x67"
34021 			  "\xd6\x27\x19\x88\x1a\xde\x85\xab"
34022 			  "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
34023 			  "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
34024 			  "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
34025 			  "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
34026 			  "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
34027 			  "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
34028 			  "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
34029 			  "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
34030 			  "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
34031 			  "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
34032 		.output	= "This document describes a compression method based on the DEFLATE"
34033 			"compression algorithm.  This document defines the application of "
34034 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
34035 	}, {
34036 		.inlen	= 44,
34037 		.outlen	= 70,
34038 		.input	= "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
34039 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
34040 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
34041 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
34042 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
34043 			  "\x7c\x65\x19\x3d",
34044 		.output	= "Join us now and share the software "
34045 			"Join us now and share the software ",
34046 	},
34047 };
34048 
34049 /*
34050  * LZO test vectors (null-terminated strings).
34051  */
34052 static const struct comp_testvec lzo_comp_tv_template[] = {
34053 	{
34054 		.inlen	= 70,
34055 		.outlen	= 57,
34056 		.input	= "Join us now and share the software "
34057 			"Join us now and share the software ",
34058 		.output	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34059 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34060 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34061 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34062 			  "\x77\x70\x01\x32\x88\x00\x0c\x65"
34063 			  "\x20\x74\x68\x65\x20\x73\x6f\x66"
34064 			  "\x74\x77\x61\x72\x65\x20\x11\x00"
34065 			  "\x00",
34066 	}, {
34067 		.inlen	= 159,
34068 		.outlen	= 131,
34069 		.input	= "This document describes a compression method based on the LZO "
34070 			"compression algorithm.  This document defines the application of "
34071 			"the LZO algorithm used in UBIFS.",
34072 		.output	= "\x00\x2c\x54\x68\x69\x73\x20\x64"
34073 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34074 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
34075 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34076 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34077 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34078 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34079 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
34080 			  "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
34081 			  "\x72\x69\x74\x68\x6d\x2e\x20\x20"
34082 			  "\x2e\x54\x01\x03\x66\x69\x6e\x65"
34083 			  "\x73\x20\x74\x06\x05\x61\x70\x70"
34084 			  "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
34085 			  "\x66\x88\x02\x60\x09\x27\xf0\x00"
34086 			  "\x0c\x20\x75\x73\x65\x64\x20\x69"
34087 			  "\x6e\x20\x55\x42\x49\x46\x53\x2e"
34088 			  "\x11\x00\x00",
34089 	},
34090 };
34091 
34092 static const struct comp_testvec lzo_decomp_tv_template[] = {
34093 	{
34094 		.inlen	= 133,
34095 		.outlen	= 159,
34096 		.input	= "\x00\x2b\x54\x68\x69\x73\x20\x64"
34097 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
34098 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
34099 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
34100 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
34101 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
34102 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
34103 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
34104 			  "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
34105 			  "\x69\x74\x68\x6d\x2e\x20\x20\x54"
34106 			  "\x68\x69\x73\x2a\x54\x01\x02\x66"
34107 			  "\x69\x6e\x65\x73\x94\x06\x05\x61"
34108 			  "\x70\x70\x6c\x69\x63\x61\x74\x76"
34109 			  "\x0a\x6f\x66\x88\x02\x60\x09\x27"
34110 			  "\xf0\x00\x0c\x20\x75\x73\x65\x64"
34111 			  "\x20\x69\x6e\x20\x55\x42\x49\x46"
34112 			  "\x53\x2e\x11\x00\x00",
34113 		.output	= "This document describes a compression method based on the LZO "
34114 			"compression algorithm.  This document defines the application of "
34115 			"the LZO algorithm used in UBIFS.",
34116 	}, {
34117 		.inlen	= 46,
34118 		.outlen	= 70,
34119 		.input	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
34120 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34121 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34122 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34123 			  "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
34124 			  "\x3d\x88\x00\x11\x00\x00",
34125 		.output	= "Join us now and share the software "
34126 			"Join us now and share the software ",
34127 	},
34128 };
34129 
34130 /*
34131  * Michael MIC test vectors from IEEE 802.11i
34132  */
34133 #define MICHAEL_MIC_TEST_VECTORS 6
34134 
34135 static const struct hash_testvec michael_mic_tv_template[] = {
34136 	{
34137 		.key = "\x00\x00\x00\x00\x00\x00\x00\x00",
34138 		.ksize = 8,
34139 		.plaintext = zeroed_string,
34140 		.psize = 0,
34141 		.digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34142 	},
34143 	{
34144 		.key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
34145 		.ksize = 8,
34146 		.plaintext = "M",
34147 		.psize = 1,
34148 		.digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34149 	},
34150 	{
34151 		.key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
34152 		.ksize = 8,
34153 		.plaintext = "Mi",
34154 		.psize = 2,
34155 		.digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34156 	},
34157 	{
34158 		.key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
34159 		.ksize = 8,
34160 		.plaintext = "Mic",
34161 		.psize = 3,
34162 		.digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
34163 	},
34164 	{
34165 		.key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
34166 		.ksize = 8,
34167 		.plaintext = "Mich",
34168 		.psize = 4,
34169 		.digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
34170 	},
34171 	{
34172 		.key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
34173 		.ksize = 8,
34174 		.plaintext = "Michael",
34175 		.psize = 7,
34176 		.digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
34177 	}
34178 };
34179 
34180 /*
34181  * CRC32 test vectors
34182  */
34183 static const struct hash_testvec crc32_tv_template[] = {
34184 	{
34185 		.key = "\x87\xa9\xcb\xed",
34186 		.ksize = 4,
34187 		.psize = 0,
34188 		.digest = "\x87\xa9\xcb\xed",
34189 	},
34190 	{
34191 		.key = "\xff\xff\xff\xff",
34192 		.ksize = 4,
34193 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34194 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34195 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34196 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34197 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34198 		.psize = 40,
34199 		.digest = "\x3a\xdf\x4b\xb0",
34200 	},
34201 	{
34202 		.key = "\xff\xff\xff\xff",
34203 		.ksize = 4,
34204 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34205 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34206 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34207 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34208 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34209 		.psize = 40,
34210 		.digest = "\xa9\x7a\x7f\x7b",
34211 	},
34212 	{
34213 		.key = "\xff\xff\xff\xff",
34214 		.ksize = 4,
34215 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34216 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34217 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34218 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34219 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34220 		.psize = 40,
34221 		.digest = "\xba\xd3\xf8\x1c",
34222 	},
34223 	{
34224 		.key = "\xff\xff\xff\xff",
34225 		.ksize = 4,
34226 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34227 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34228 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34229 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34230 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34231 		.psize = 40,
34232 		.digest = "\xa8\xa9\xc2\x02",
34233 	},
34234 	{
34235 		.key = "\xff\xff\xff\xff",
34236 		.ksize = 4,
34237 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34238 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34239 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34240 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34241 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34242 		.psize = 40,
34243 		.digest = "\x27\xf0\x57\xe2",
34244 	},
34245 	{
34246 		.key = "\xff\xff\xff\xff",
34247 		.ksize = 4,
34248 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34249 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34250 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34251 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34252 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34253 		.psize = 40,
34254 		.digest = "\x49\x78\x10\x08",
34255 	},
34256 	{
34257 		.key = "\x80\xea\xd3\xf1",
34258 		.ksize = 4,
34259 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34260 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34261 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34262 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34263 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34264 		.psize = 40,
34265 		.digest = "\x9a\xb1\xdc\xf0",
34266 	},
34267 	{
34268 		.key = "\xf3\x4a\x1d\x5d",
34269 		.ksize = 4,
34270 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34271 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34272 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34273 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34274 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34275 		.psize = 40,
34276 		.digest = "\xb4\x97\xcc\xd4",
34277 	},
34278 	{
34279 		.key = "\x2e\x80\x04\x59",
34280 		.ksize = 4,
34281 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34282 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34283 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34284 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34285 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34286 		.psize = 40,
34287 		.digest = "\x67\x9b\xfa\x79",
34288 	},
34289 	{
34290 		.key = "\xa6\xcc\x19\x85",
34291 		.ksize = 4,
34292 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34293 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34294 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34295 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34296 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34297 		.psize = 40,
34298 		.digest = "\x24\xb5\x16\xef",
34299 	},
34300 	{
34301 		.key = "\x41\xfc\xfe\x2d",
34302 		.ksize = 4,
34303 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34304 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34305 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34306 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34307 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34308 		.psize = 40,
34309 		.digest = "\x15\x94\x80\x39",
34310 	},
34311 	{
34312 		.key = "\xff\xff\xff\xff",
34313 		.ksize = 4,
34314 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34315 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34316 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34317 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34318 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34319 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34320 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34321 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34322 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34323 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34324 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34325 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34326 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34327 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34328 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34329 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34330 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34331 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34332 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34333 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34334 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34335 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34336 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34337 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34338 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34339 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34340 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34341 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34342 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34343 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34344 		.psize = 240,
34345 		.digest = "\x6c\xc6\x56\xde",
34346 		.np = 2,
34347 		.tap = { 31, 209 }
34348 	}, {
34349 		.key = "\xff\xff\xff\xff",
34350 		.ksize = 4,
34351 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34352 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34353 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34354 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34355 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34356 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34357 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34358 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34359 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34360 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34361 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34362 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34363 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34364 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34365 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34366 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34367 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34368 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34369 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34370 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
34371 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34372 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
34373 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34374 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34375 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34376 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34377 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34378 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34379 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34380 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
34381 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34382 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
34383 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34384 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34385 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34386 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34387 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34388 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34389 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34390 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34391 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34392 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34393 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34394 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34395 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34396 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34397 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34398 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34399 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34400 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34401 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34402 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34403 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34404 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34405 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34406 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34407 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34408 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34409 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34410 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34411 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34412 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34413 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34414 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34415 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34416 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34417 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34418 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34419 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34420 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34421 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34422 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34423 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34424 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34425 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34426 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34427 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34428 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34429 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34430 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34431 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34432 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34433 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34434 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34435 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34436 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34437 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34438 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34439 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34440 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34441 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34442 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34443 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34444 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34445 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34446 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34447 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34448 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34449 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34450 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34451 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34452 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34453 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34454 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34455 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34456 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34457 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34458 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34459 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34460 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34461 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34462 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34463 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34464 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34465 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34466 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34467 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34468 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34469 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34470 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34471 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34472 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34473 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34474 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34475 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34476 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34477 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34478 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34479 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34480 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34481 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34482 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34483 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34484 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34485 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34486 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34487 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34488 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34489 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34490 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34491 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34492 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34493 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34494 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34495 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34496 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34497 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34498 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34499 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34500 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34501 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34502 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34503 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34504 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34505 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34506 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34507 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34508 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34509 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
34510 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34511 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34512 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34513 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34514 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34515 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34516 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34517 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34518 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34519 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
34520 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34521 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34522 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34523 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34524 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34525 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34526 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34527 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34528 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34529 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34530 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34531 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34532 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34533 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
34534 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34535 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
34536 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34537 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34538 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34539 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34540 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34541 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34542 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34543 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
34544 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34545 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
34546 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34547 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34548 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34549 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
34550 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34551 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34552 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34553 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34554 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34555 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34556 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34557 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34558 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34559 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34560 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34561 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34562 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34563 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34564 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34565 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34566 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34567 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34568 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34569 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34570 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34571 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34572 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34573 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34574 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34575 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34576 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34577 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34578 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34579 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34580 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34581 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34582 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34583 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34584 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34585 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
34586 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34587 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
34588 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34589 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34590 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34591 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34592 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34593 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34594 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34595 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34596 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34597 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34598 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34599 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34600 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34601 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34602 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34603 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
34604 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34605 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34606 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34607 		.psize = 2048,
34608 		.digest = "\xfb\x3a\x7a\xda",
34609 	}
34610 };
34611 
34612 /*
34613  * CRC32C test vectors
34614  */
34615 static const struct hash_testvec crc32c_tv_template[] = {
34616 	{
34617 		.psize = 0,
34618 		.digest = "\x00\x00\x00\x00",
34619 	},
34620 	{
34621 		.key = "\x87\xa9\xcb\xed",
34622 		.ksize = 4,
34623 		.psize = 0,
34624 		.digest = "\x78\x56\x34\x12",
34625 	},
34626 	{
34627 		.key = "\xff\xff\xff\xff",
34628 		.ksize = 4,
34629 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34630 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34631 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34632 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34633 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34634 		.psize = 40,
34635 		.digest = "\x7f\x15\x2c\x0e",
34636 	},
34637 	{
34638 		.key = "\xff\xff\xff\xff",
34639 		.ksize = 4,
34640 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34641 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34642 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34643 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34644 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34645 		.psize = 40,
34646 		.digest = "\xf6\xeb\x80\xe9",
34647 	},
34648 	{
34649 		.key = "\xff\xff\xff\xff",
34650 		.ksize = 4,
34651 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34652 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34653 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34654 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34655 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34656 		.psize = 40,
34657 		.digest = "\xed\xbd\x74\xde",
34658 	},
34659 	{
34660 		.key = "\xff\xff\xff\xff",
34661 		.ksize = 4,
34662 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34663 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34664 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34665 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34666 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34667 		.psize = 40,
34668 		.digest = "\x62\xc8\x79\xd5",
34669 	},
34670 	{
34671 		.key = "\xff\xff\xff\xff",
34672 		.ksize = 4,
34673 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34674 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34675 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34676 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34677 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34678 		.psize = 40,
34679 		.digest = "\xd0\x9a\x97\xba",
34680 	},
34681 	{
34682 		.key = "\xff\xff\xff\xff",
34683 		.ksize = 4,
34684 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34685 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34686 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34687 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34688 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34689 		.psize = 40,
34690 		.digest = "\x13\xd9\x29\x2b",
34691 	},
34692 	{
34693 		.key = "\x80\xea\xd3\xf1",
34694 		.ksize = 4,
34695 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34696 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34697 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34698 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34699 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34700 		.psize = 40,
34701 		.digest = "\x0c\xb5\xe2\xa2",
34702 	},
34703 	{
34704 		.key = "\xf3\x4a\x1d\x5d",
34705 		.ksize = 4,
34706 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34707 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34708 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34709 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34710 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34711 		.psize = 40,
34712 		.digest = "\xd1\x7f\xfb\xa6",
34713 	},
34714 	{
34715 		.key = "\x2e\x80\x04\x59",
34716 		.ksize = 4,
34717 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34718 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34719 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34720 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34721 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34722 		.psize = 40,
34723 		.digest = "\x59\x33\xe6\x7a",
34724 	},
34725 	{
34726 		.key = "\xa6\xcc\x19\x85",
34727 		.ksize = 4,
34728 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34729 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34730 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34731 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34732 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34733 		.psize = 40,
34734 		.digest = "\xbe\x03\x01\xd2",
34735 	},
34736 	{
34737 		.key = "\x41\xfc\xfe\x2d",
34738 		.ksize = 4,
34739 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34740 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34741 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34742 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34743 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34744 		.psize = 40,
34745 		.digest = "\x75\xd3\xc5\x24",
34746 	},
34747 	{
34748 		.key = "\xff\xff\xff\xff",
34749 		.ksize = 4,
34750 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34751 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34752 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34753 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34754 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34755 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34756 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34757 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34758 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34759 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34760 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34761 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34762 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34763 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34764 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34765 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34766 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34767 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34768 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34769 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34770 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34771 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34772 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34773 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34774 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34775 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34776 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34777 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34778 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34779 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34780 		.psize = 240,
34781 		.digest = "\x75\xd3\xc5\x24",
34782 		.np = 2,
34783 		.tap = { 31, 209 }
34784 	}, {
34785 		.key = "\xff\xff\xff\xff",
34786 		.ksize = 4,
34787 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34788 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34789 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34790 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34791 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34792 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34793 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34794 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34795 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34796 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34797 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34798 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34799 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34800 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34801 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34802 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34803 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34804 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34805 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34806 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
34807 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34808 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
34809 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34810 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34811 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34812 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34813 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34814 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34815 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34816 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
34817 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34818 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
34819 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34820 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34821 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34822 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34823 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34824 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34825 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34826 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34827 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34828 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34829 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34830 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34831 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34832 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34833 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34834 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34835 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34836 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34837 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34838 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34839 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34840 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34841 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34842 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34843 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34844 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34845 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34846 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34847 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34848 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34849 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34850 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34851 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34852 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34853 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34854 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34855 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34856 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34857 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34858 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34859 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34860 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34861 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34862 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34863 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34864 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34865 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34866 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34867 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34868 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34869 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34870 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34871 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34872 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34873 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34874 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34875 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34876 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34877 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34878 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34879 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34880 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34881 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34882 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34883 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34884 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34885 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34886 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34887 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34888 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34889 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34890 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34891 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34892 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34893 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34894 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34895 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34896 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34897 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34898 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34899 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34900 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34901 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34902 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34903 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34904 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34905 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34906 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34907 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34908 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34909 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34910 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34911 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34912 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34913 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34914 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34915 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34916 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34917 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34918 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34919 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34920 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34921 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34922 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34923 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34924 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34925 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34926 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34927 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34928 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34929 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34930 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34931 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34932 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34933 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34934 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34935 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34936 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34937 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34938 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34939 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34940 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34941 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34942 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34943 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34944 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34945 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
34946 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34947 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34948 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34949 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34950 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34951 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34952 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34953 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34954 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34955 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
34956 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34957 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34958 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34959 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34960 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34961 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34962 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34963 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34964 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34965 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34966 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34967 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34968 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34969 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
34970 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34971 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
34972 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34973 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34974 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34975 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34976 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34977 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34978 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34979 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
34980 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34981 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
34982 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34983 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34984 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34985 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
34986 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34987 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34988 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34989 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34990 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34991 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34992 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34993 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34994 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34995 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34996 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34997 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34998 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34999 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
35000 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
35001 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
35002 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
35003 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
35004 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
35005 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
35006 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
35007 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
35008 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
35009 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
35010 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
35011 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
35012 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
35013 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
35014 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
35015 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
35016 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
35017 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
35018 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
35019 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
35020 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
35021 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
35022 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
35023 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
35024 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
35025 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
35026 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
35027 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
35028 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
35029 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
35030 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
35031 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
35032 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
35033 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
35034 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
35035 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
35036 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
35037 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
35038 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
35039 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
35040 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
35041 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
35042 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
35043 		.psize = 2048,
35044 		.digest = "\xec\x26\x4d\x95",
35045 	}
35046 };
35047 
35048 /*
35049  * Blakcifn CRC test vectors
35050  */
35051 static const struct hash_testvec bfin_crc_tv_template[] = {
35052 	{
35053 		.psize = 0,
35054 		.digest = "\x00\x00\x00\x00",
35055 	},
35056 	{
35057 		.key = "\x87\xa9\xcb\xed",
35058 		.ksize = 4,
35059 		.psize = 0,
35060 		.digest = "\x87\xa9\xcb\xed",
35061 	},
35062 	{
35063 		.key = "\xff\xff\xff\xff",
35064 		.ksize = 4,
35065 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35066 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35067 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
35068 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35069 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
35070 		.psize = 40,
35071 		.digest = "\x84\x0c\x8d\xa2",
35072 	},
35073 	{
35074 		.key = "\xff\xff\xff\xff",
35075 		.ksize = 4,
35076 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35077 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35078 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
35079 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35080 			     "\x21\x22\x23\x24\x25\x26",
35081 		.psize = 38,
35082 		.digest = "\x8c\x58\xec\xb7",
35083 	},
35084 	{
35085 		.key = "\xff\xff\xff\xff",
35086 		.ksize = 4,
35087 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35088 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35089 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
35090 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35091 			     "\x21\x22\x23\x24\x25\x26\x27",
35092 		.psize = 39,
35093 		.digest = "\xdc\x50\x28\x7b",
35094 	},
35095 	{
35096 		.key = "\xff\xff\xff\xff",
35097 		.ksize = 4,
35098 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
35099 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
35100 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
35101 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
35102 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
35103 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
35104 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
35105 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
35106 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
35107 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
35108 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
35109 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
35110 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
35111 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
35112 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
35113 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
35114 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
35115 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
35116 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
35117 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
35118 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
35119 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
35120 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
35121 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
35122 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
35123 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
35124 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
35125 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
35126 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
35127 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
35128 		.psize = 240,
35129 		.digest = "\x10\x19\x4a\x5c",
35130 		.np = 2,
35131 		.tap = { 31, 209 }
35132 	},
35133 
35134 };
35135 
35136 static const struct comp_testvec lz4_comp_tv_template[] = {
35137 	{
35138 		.inlen	= 255,
35139 		.outlen	= 218,
35140 		.input	= "LZ4 is lossless compression algorithm, providing"
35141 			 " compression speed at 400 MB/s per core, scalable "
35142 			 "with multi-cores CPU. It features an extremely fast "
35143 			 "decoder, with speed in multiple GB/s per core, "
35144 			 "typically reaching RAM speed limits on multi-core "
35145 			 "systems.",
35146 		.output	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35147 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35148 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35149 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35150 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35151 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35152 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35153 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35154 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35155 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35156 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35157 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35158 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35159 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35160 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
35161 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
35162 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
35163 
35164 	},
35165 };
35166 
35167 static const struct comp_testvec lz4_decomp_tv_template[] = {
35168 	{
35169 		.inlen	= 218,
35170 		.outlen	= 255,
35171 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35172 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35173 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35174 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35175 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35176 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35177 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35178 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35179 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35180 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35181 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35182 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35183 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35184 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35185 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
35186 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
35187 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
35188 		.output	= "LZ4 is lossless compression algorithm, providing"
35189 			 " compression speed at 400 MB/s per core, scalable "
35190 			 "with multi-cores CPU. It features an extremely fast "
35191 			 "decoder, with speed in multiple GB/s per core, "
35192 			 "typically reaching RAM speed limits on multi-core "
35193 			 "systems.",
35194 	},
35195 };
35196 
35197 static const struct comp_testvec lz4hc_comp_tv_template[] = {
35198 	{
35199 		.inlen	= 255,
35200 		.outlen	= 216,
35201 		.input	= "LZ4 is lossless compression algorithm, providing"
35202 			 " compression speed at 400 MB/s per core, scalable "
35203 			 "with multi-cores CPU. It features an extremely fast "
35204 			 "decoder, with speed in multiple GB/s per core, "
35205 			 "typically reaching RAM speed limits on multi-core "
35206 			 "systems.",
35207 		.output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35208 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35209 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35210 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35211 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35212 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35213 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35214 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35215 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35216 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35217 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35218 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35219 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35220 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35221 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
35222 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
35223 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
35224 
35225 	},
35226 };
35227 
35228 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
35229 	{
35230 		.inlen	= 216,
35231 		.outlen	= 255,
35232 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
35233 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
35234 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
35235 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
35236 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
35237 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
35238 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
35239 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
35240 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
35241 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
35242 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
35243 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
35244 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
35245 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
35246 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
35247 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
35248 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
35249 		.output	= "LZ4 is lossless compression algorithm, providing"
35250 			 " compression speed at 400 MB/s per core, scalable "
35251 			 "with multi-cores CPU. It features an extremely fast "
35252 			 "decoder, with speed in multiple GB/s per core, "
35253 			 "typically reaching RAM speed limits on multi-core "
35254 			 "systems.",
35255 	},
35256 };
35257 
35258 #endif	/* _CRYPTO_TESTMGR_H */
35259