gfs2: Fix lru_count going negative
[linux-stable.git] / crypto / testmgr.h
blob12835f072614fe86416848836f5e04cd0b2e140c
1 /*
2 * Algorithm testing framework and tests.
4 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
5 * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
6 * Copyright (c) 2007 Nokia Siemens Networks
7 * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
9 * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
10 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
11 * gcm/gcm-test-vectors.tar.gz
12 * Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
13 * Adrian Hoban <adrian.hoban@intel.com>
14 * Gabriele Paoloni <gabriele.paoloni@intel.com>
15 * Tadeusz Struk (tadeusz.struk@intel.com)
16 * Copyright (c) 2010, Intel Corporation.
18 * This program is free software; you can redistribute it and/or modify it
19 * under the terms of the GNU General Public License as published by the Free
20 * Software Foundation; either version 2 of the License, or (at your option)
21 * any later version.
24 #ifndef _CRYPTO_TESTMGR_H
25 #define _CRYPTO_TESTMGR_H
27 #include <linux/netlink.h>
29 #define MAX_DIGEST_SIZE 64
30 #define MAX_TAP 8
32 #define MAX_KEYLEN 160
33 #define MAX_IVLEN 32
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;
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
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;
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;
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;
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;
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;
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;
153 static const char zeroed_string[48];
156 * RSA test vectors. Borrowed from openSSL.
158 static const struct akcipher_testvec rsa_tv_template[] = {
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
546 * PKCS#1 RSA test vectors. Obtained from CAVS testing.
548 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
550 .key =
551 "\x30\x82\x03\x1f\x02\x01\x00\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\x00\x02\x01\x00\x02\x01\x00\x02\x01\x00"
601 "\x02\x01\x00",
602 .key_len = 804,
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"
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,
640 static const struct kpp_testvec dh_tv_template[] = {
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,
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,
857 static const struct kpp_testvec ecdh_tv_template[] = {
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,
990 * MD4 test vectors from RFC1320
992 static const struct hash_testvec md4_tv_template[] = {
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",
1033 static const struct hash_testvec sha3_224_tv_template[] = {
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",
1058 static const struct hash_testvec sha3_256_tv_template[] = {
1060 .plaintext = "",
1061 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
1062 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
1063 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
1064 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
1065 }, {
1066 .plaintext = "a",
1067 .psize = 1,
1068 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
1069 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
1070 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
1071 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
1072 }, {
1073 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1074 "jklmklmnlmnomnopnopq",
1075 .psize = 56,
1076 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
1077 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
1078 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
1079 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
1084 static const struct hash_testvec sha3_384_tv_template[] = {
1086 .plaintext = "",
1087 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
1088 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
1089 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
1090 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
1091 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
1092 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
1093 }, {
1094 .plaintext = "a",
1095 .psize = 1,
1096 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
1097 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
1098 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
1099 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
1100 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
1101 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
1102 }, {
1103 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1104 "jklmklmnlmnomnopnopq",
1105 .psize = 56,
1106 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
1107 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
1108 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
1109 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
1110 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
1111 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
1116 static const struct hash_testvec sha3_512_tv_template[] = {
1118 .plaintext = "",
1119 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
1120 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
1121 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
1122 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
1123 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
1124 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
1125 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
1126 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
1127 }, {
1128 .plaintext = "a",
1129 .psize = 1,
1130 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1131 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1132 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1133 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1134 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
1135 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1136 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1137 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1138 }, {
1139 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1140 "jklmklmnlmnomnopnopq",
1141 .psize = 56,
1142 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1143 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1144 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1145 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1146 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1147 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1148 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1149 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1155 * MD5 test vectors from RFC1321
1157 static const struct hash_testvec md5_tv_template[] = {
1159 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1160 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1161 }, {
1162 .plaintext = "a",
1163 .psize = 1,
1164 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1165 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1166 }, {
1167 .plaintext = "abc",
1168 .psize = 3,
1169 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1170 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1171 }, {
1172 .plaintext = "message digest",
1173 .psize = 14,
1174 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1175 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1176 }, {
1177 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1178 .psize = 26,
1179 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1180 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1181 .np = 2,
1182 .tap = {13, 13}
1183 }, {
1184 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1185 .psize = 62,
1186 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1187 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1188 }, {
1189 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1190 "345678901234567890",
1191 .psize = 80,
1192 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1193 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1199 * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1201 static const struct hash_testvec rmd128_tv_template[] = {
1203 .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1204 "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1205 }, {
1206 .plaintext = "a",
1207 .psize = 1,
1208 .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1209 "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1210 }, {
1211 .plaintext = "abc",
1212 .psize = 3,
1213 .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1214 "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1215 }, {
1216 .plaintext = "message digest",
1217 .psize = 14,
1218 .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1219 "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1220 }, {
1221 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1222 .psize = 26,
1223 .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1224 "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1225 }, {
1226 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1227 "fghijklmnopqrstuvwxyz0123456789",
1228 .psize = 62,
1229 .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1230 "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1231 }, {
1232 .plaintext = "1234567890123456789012345678901234567890"
1233 "1234567890123456789012345678901234567890",
1234 .psize = 80,
1235 .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1236 "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1237 }, {
1238 .plaintext = "abcdbcdecdefdefgefghfghighij"
1239 "hijkijkljklmklmnlmnomnopnopq",
1240 .psize = 56,
1241 .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1242 "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1243 .np = 2,
1244 .tap = { 28, 28 },
1245 }, {
1246 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1247 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1248 "lmnopqrsmnopqrstnopqrstu",
1249 .psize = 112,
1250 .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1251 "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1252 }, {
1253 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1254 .psize = 32,
1255 .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1256 "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1261 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1263 static const struct hash_testvec rmd160_tv_template[] = {
1265 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1266 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1267 }, {
1268 .plaintext = "a",
1269 .psize = 1,
1270 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1271 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1272 }, {
1273 .plaintext = "abc",
1274 .psize = 3,
1275 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1276 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1277 }, {
1278 .plaintext = "message digest",
1279 .psize = 14,
1280 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1281 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1282 }, {
1283 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1284 .psize = 26,
1285 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1286 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1287 }, {
1288 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1289 "fghijklmnopqrstuvwxyz0123456789",
1290 .psize = 62,
1291 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1292 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1293 }, {
1294 .plaintext = "1234567890123456789012345678901234567890"
1295 "1234567890123456789012345678901234567890",
1296 .psize = 80,
1297 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1298 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1299 }, {
1300 .plaintext = "abcdbcdecdefdefgefghfghighij"
1301 "hijkijkljklmklmnlmnomnopnopq",
1302 .psize = 56,
1303 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1304 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1305 .np = 2,
1306 .tap = { 28, 28 },
1307 }, {
1308 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1309 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1310 "lmnopqrsmnopqrstnopqrstu",
1311 .psize = 112,
1312 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1313 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1314 }, {
1315 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1316 .psize = 32,
1317 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1318 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1323 * RIPEMD-256 test vectors
1325 static const struct hash_testvec rmd256_tv_template[] = {
1327 .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1328 "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1329 "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1330 "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1331 }, {
1332 .plaintext = "a",
1333 .psize = 1,
1334 .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1335 "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1336 "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1337 "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1338 }, {
1339 .plaintext = "abc",
1340 .psize = 3,
1341 .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1342 "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1343 "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1344 "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1345 }, {
1346 .plaintext = "message digest",
1347 .psize = 14,
1348 .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1349 "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1350 "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1351 "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1352 }, {
1353 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1354 .psize = 26,
1355 .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1356 "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1357 "\x78\x96\x11\x8a\x51\x97\x96\x87"
1358 "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1359 }, {
1360 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1361 "fghijklmnopqrstuvwxyz0123456789",
1362 .psize = 62,
1363 .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1364 "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1365 "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1366 "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1367 }, {
1368 .plaintext = "1234567890123456789012345678901234567890"
1369 "1234567890123456789012345678901234567890",
1370 .psize = 80,
1371 .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1372 "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1373 "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1374 "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1375 }, {
1376 .plaintext = "abcdbcdecdefdefgefghfghighij"
1377 "hijkijkljklmklmnlmnomnopnopq",
1378 .psize = 56,
1379 .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1380 "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1381 "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1382 "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1383 .np = 2,
1384 .tap = { 28, 28 },
1389 * RIPEMD-320 test vectors
1391 static const struct hash_testvec rmd320_tv_template[] = {
1393 .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1394 "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1395 "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1396 "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1397 }, {
1398 .plaintext = "a",
1399 .psize = 1,
1400 .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1401 "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1402 "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1403 "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1404 }, {
1405 .plaintext = "abc",
1406 .psize = 3,
1407 .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1408 "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1409 "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1410 "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1411 }, {
1412 .plaintext = "message digest",
1413 .psize = 14,
1414 .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1415 "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1416 "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1417 "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1418 }, {
1419 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1420 .psize = 26,
1421 .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1422 "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1423 "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1424 "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1425 }, {
1426 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1427 "fghijklmnopqrstuvwxyz0123456789",
1428 .psize = 62,
1429 .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1430 "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1431 "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1432 "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1433 }, {
1434 .plaintext = "1234567890123456789012345678901234567890"
1435 "1234567890123456789012345678901234567890",
1436 .psize = 80,
1437 .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1438 "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1439 "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1440 "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1441 }, {
1442 .plaintext = "abcdbcdecdefdefgefghfghighij"
1443 "hijkijkljklmklmnlmnomnopnopq",
1444 .psize = 56,
1445 .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1446 "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1447 "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1448 "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
1449 .np = 2,
1450 .tap = { 28, 28 },
1454 static const struct hash_testvec crct10dif_tv_template[] = {
1456 .plaintext = "abc",
1457 .psize = 3,
1458 .digest = (u8 *)(u16 []){ 0x443b },
1459 }, {
1460 .plaintext = "1234567890123456789012345678901234567890"
1461 "123456789012345678901234567890123456789",
1462 .psize = 79,
1463 .digest = (u8 *)(u16 []){ 0x4b70 },
1464 .np = 2,
1465 .tap = { 63, 16 },
1466 }, {
1467 .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
1468 "ddddddddddddd",
1469 .psize = 56,
1470 .digest = (u8 *)(u16 []){ 0x9ce3 },
1471 .np = 8,
1472 .tap = { 1, 2, 28, 7, 6, 5, 4, 3 },
1473 }, {
1474 .plaintext = "1234567890123456789012345678901234567890"
1475 "1234567890123456789012345678901234567890"
1476 "1234567890123456789012345678901234567890"
1477 "1234567890123456789012345678901234567890"
1478 "1234567890123456789012345678901234567890"
1479 "1234567890123456789012345678901234567890"
1480 "1234567890123456789012345678901234567890"
1481 "123456789012345678901234567890123456789",
1482 .psize = 319,
1483 .digest = (u8 *)(u16 []){ 0x44c6 },
1484 }, {
1485 .plaintext = "1234567890123456789012345678901234567890"
1486 "1234567890123456789012345678901234567890"
1487 "1234567890123456789012345678901234567890"
1488 "1234567890123456789012345678901234567890"
1489 "1234567890123456789012345678901234567890"
1490 "1234567890123456789012345678901234567890"
1491 "1234567890123456789012345678901234567890"
1492 "123456789012345678901234567890123456789",
1493 .psize = 319,
1494 .digest = (u8 *)(u16 []){ 0x44c6 },
1495 .np = 4,
1496 .tap = { 1, 255, 57, 6 },
1501 * SHA1 test vectors from from FIPS PUB 180-1
1502 * Long vector from CAVS 5.0
1504 static const struct hash_testvec sha1_tv_template[] = {
1506 .plaintext = "",
1507 .psize = 0,
1508 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
1509 "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
1510 }, {
1511 .plaintext = "abc",
1512 .psize = 3,
1513 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
1514 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
1515 }, {
1516 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1517 .psize = 56,
1518 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
1519 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
1520 .np = 2,
1521 .tap = { 28, 28 }
1522 }, {
1523 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
1524 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
1525 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
1526 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
1527 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
1528 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
1529 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
1530 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
1531 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
1532 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
1533 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
1534 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
1535 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
1536 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
1537 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
1538 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
1539 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
1540 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
1541 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
1542 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
1543 "\x5a\x90\x11",
1544 .psize = 163,
1545 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
1546 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
1547 .np = 4,
1548 .tap = { 63, 64, 31, 5 }
1549 }, {
1550 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1551 .psize = 64,
1552 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
1553 "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
1554 }, {
1555 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1556 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1557 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1558 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1559 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1560 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1561 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1562 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1563 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1564 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1565 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1566 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1567 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1568 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1569 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1570 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1571 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1572 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1573 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1574 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1575 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1576 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1577 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1578 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1579 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1580 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1581 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1582 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1583 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1584 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1585 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1586 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1587 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1588 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1589 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1590 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1591 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1592 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1593 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1594 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1595 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1596 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1597 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1598 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1599 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1600 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1601 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1602 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1603 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1604 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1605 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1606 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1607 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1608 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1609 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1610 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1611 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1612 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1613 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1614 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1615 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1616 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1617 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1618 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1619 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1620 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1621 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1622 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1623 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1624 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1625 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1626 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1627 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1628 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1629 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1630 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1631 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1632 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1633 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1634 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1635 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1636 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1637 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1638 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1639 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1640 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1641 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1642 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1643 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1644 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1645 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1646 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1647 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1648 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1649 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1650 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1651 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1652 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1653 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1654 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1655 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1656 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1657 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1658 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1659 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1660 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1661 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1662 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1663 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1664 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1665 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1666 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1667 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1668 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1669 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1670 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1671 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1672 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1673 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1674 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1675 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1676 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1677 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1678 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1679 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1680 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1681 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1682 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1683 .psize = 1023,
1684 .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
1685 "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
1686 "\x30\xd6\xc9\x85",
1692 * SHA224 test vectors from from FIPS PUB 180-2
1694 static const struct hash_testvec sha224_tv_template[] = {
1696 .plaintext = "",
1697 .psize = 0,
1698 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
1699 "\x47\x61\x02\xbb\x28\x82\x34\xc4"
1700 "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
1701 "\xc5\xb3\xe4\x2f",
1702 }, {
1703 .plaintext = "abc",
1704 .psize = 3,
1705 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
1706 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
1707 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
1708 "\xE3\x6C\x9D\xA7",
1709 }, {
1710 .plaintext =
1711 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1712 .psize = 56,
1713 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
1714 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
1715 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
1716 "\x52\x52\x25\x25",
1717 .np = 2,
1718 .tap = { 28, 28 }
1719 }, {
1720 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1721 .psize = 64,
1722 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
1723 "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
1724 "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
1725 "\xef\x3b\xcb\x0e",
1726 }, {
1727 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1728 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1729 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1730 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1731 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1732 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1733 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1734 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1735 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1736 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1737 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1738 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1739 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1740 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1741 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1742 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1743 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1744 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1745 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1746 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1747 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1748 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1749 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1750 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1751 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1752 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1753 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1754 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1755 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1756 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1757 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1758 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1759 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1760 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1761 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1762 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1763 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1764 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1765 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1766 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1767 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1768 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1769 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1770 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1771 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1772 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1773 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1774 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1775 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1776 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1777 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1778 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1779 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1780 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1781 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1782 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1783 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1784 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1785 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1786 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1787 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1788 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1789 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1790 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1791 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1792 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1793 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1794 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1795 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1796 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1797 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1798 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1799 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1800 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1801 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1802 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1803 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1804 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1805 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1806 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1807 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1808 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1809 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1810 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1811 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1812 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1813 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1814 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1815 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1816 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1817 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1818 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1819 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1820 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1821 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1822 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1823 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1824 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1825 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1826 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1827 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1828 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1829 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1830 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1831 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1832 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1833 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1834 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1835 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1836 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1837 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1838 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1839 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1840 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1841 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1842 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1843 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1844 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1845 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1846 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1847 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1848 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1849 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1850 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1851 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1852 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1853 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1854 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1855 .psize = 1023,
1856 .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
1857 "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
1858 "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
1859 "\xe6\xf9\x4f\xcc",
1864 * SHA256 test vectors from from NIST
1866 static const struct hash_testvec sha256_tv_template[] = {
1868 .plaintext = "",
1869 .psize = 0,
1870 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
1871 "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
1872 "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
1873 "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
1874 }, {
1875 .plaintext = "abc",
1876 .psize = 3,
1877 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
1878 "\x41\x41\x40\xde\x5d\xae\x22\x23"
1879 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
1880 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
1881 }, {
1882 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1883 .psize = 56,
1884 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
1885 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
1886 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
1887 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
1888 .np = 2,
1889 .tap = { 28, 28 }
1890 }, {
1891 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1892 .psize = 64,
1893 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
1894 "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
1895 "\xd6\xff\x94\xa3\x72\x91\x85\x66"
1896 "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
1897 }, {
1898 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1899 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1900 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1901 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1902 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1903 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1904 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1905 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1906 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1907 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1908 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1909 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1910 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1911 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1912 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1913 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1914 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1915 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1916 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1917 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1918 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1919 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1920 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1921 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1922 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1923 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1924 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1925 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1926 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1927 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1928 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1929 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1930 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1931 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1932 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1933 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1934 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1935 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1936 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1937 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1938 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1939 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1940 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1941 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1942 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1943 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1944 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1945 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1946 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1947 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1948 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1949 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1950 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1951 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1952 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1953 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1954 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1955 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1956 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1957 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1958 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1959 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1960 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1961 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1962 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1963 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1964 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1965 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1966 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1967 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1968 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1969 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1970 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1971 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1972 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1973 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1974 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1975 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1976 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1977 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1978 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1979 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1980 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1981 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1982 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1983 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1984 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1985 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1986 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1987 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1988 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1989 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1990 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1991 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1992 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1993 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1994 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1995 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1996 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1997 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1998 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1999 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2000 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2001 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2002 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2003 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2004 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2005 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2006 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2007 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2008 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2009 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2010 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2011 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2012 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2013 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2014 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2015 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2016 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2017 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2018 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2019 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2020 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2021 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2022 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2023 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2024 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2025 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2026 .psize = 1023,
2027 .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
2028 "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
2029 "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
2030 "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
2035 * SHA384 test vectors from from NIST and kerneli
2037 static const struct hash_testvec sha384_tv_template[] = {
2039 .plaintext = "",
2040 .psize = 0,
2041 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
2042 "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
2043 "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
2044 "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
2045 "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
2046 "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
2047 }, {
2048 .plaintext= "abc",
2049 .psize = 3,
2050 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
2051 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
2052 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
2053 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
2054 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
2055 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
2056 }, {
2057 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2058 .psize = 56,
2059 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
2060 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
2061 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
2062 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
2063 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
2064 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
2065 }, {
2066 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2067 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2068 .psize = 112,
2069 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
2070 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
2071 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
2072 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
2073 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
2074 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
2075 }, {
2076 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2077 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2078 .psize = 104,
2079 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
2080 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
2081 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
2082 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
2083 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
2084 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
2085 .np = 4,
2086 .tap = { 26, 26, 26, 26 }
2087 }, {
2088 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2089 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2090 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2091 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2092 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2093 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2094 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2095 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2096 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2097 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2098 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2099 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2100 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2101 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2102 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2103 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2104 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2105 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2106 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2107 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2108 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2109 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2110 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2111 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2112 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2113 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2114 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2115 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2116 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2117 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2118 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2119 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2120 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2121 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2122 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2123 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2124 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2125 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2126 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2127 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2128 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2129 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2130 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2131 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2132 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2133 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2134 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2135 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2136 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2137 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2138 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2139 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2140 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2141 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2142 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2143 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2144 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2145 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2146 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2147 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2148 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2149 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2150 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2151 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2152 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2153 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2154 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2155 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2156 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2157 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2158 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2159 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2160 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2161 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2162 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2163 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2164 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2165 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2166 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2167 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2168 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2169 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2170 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2171 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2172 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2173 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2174 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2175 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2176 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2177 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2178 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2179 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2180 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2181 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2182 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2183 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2184 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2185 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2186 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2187 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2188 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2189 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2190 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2191 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2192 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2193 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2194 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2195 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2196 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2197 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2198 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2199 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2200 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2201 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2202 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2203 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2204 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2205 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2206 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2207 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2208 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2209 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2210 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2211 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2212 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2213 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2214 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2215 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2216 .psize = 1023,
2217 .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
2218 "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
2219 "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
2220 "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
2221 "\x75\x29\x62\x83\xae\x3f\x17\xab"
2222 "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
2227 * SHA512 test vectors from from NIST and kerneli
2229 static const struct hash_testvec sha512_tv_template[] = {
2231 .plaintext = "",
2232 .psize = 0,
2233 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
2234 "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
2235 "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
2236 "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
2237 "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
2238 "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
2239 "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
2240 "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
2241 }, {
2242 .plaintext = "abc",
2243 .psize = 3,
2244 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
2245 "\xcc\x41\x73\x49\xae\x20\x41\x31"
2246 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
2247 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
2248 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
2249 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
2250 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
2251 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
2252 }, {
2253 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2254 .psize = 56,
2255 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
2256 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
2257 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
2258 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
2259 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
2260 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
2261 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
2262 "\x54\xec\x63\x12\x38\xca\x34\x45",
2263 }, {
2264 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2265 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2266 .psize = 112,
2267 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
2268 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
2269 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
2270 "\x72\x99\xae\xad\xb6\x88\x90\x18"
2271 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
2272 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
2273 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
2274 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
2275 }, {
2276 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2277 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2278 .psize = 104,
2279 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
2280 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
2281 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
2282 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
2283 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
2284 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
2285 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
2286 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
2287 .np = 4,
2288 .tap = { 26, 26, 26, 26 }
2289 }, {
2290 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2291 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2292 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2293 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2294 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2295 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2296 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2297 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2298 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2299 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2300 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2301 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2302 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2303 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2304 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2305 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2306 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2307 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2308 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2309 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2310 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2311 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2312 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2313 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2314 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2315 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2316 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2317 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2318 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2319 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2320 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2321 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2322 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2323 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2324 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2325 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2326 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2327 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2328 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2329 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2330 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2331 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2332 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2333 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2334 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2335 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2336 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2337 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2338 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2339 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2340 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2341 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2342 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2343 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2344 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2345 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2346 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2347 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2348 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2349 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2350 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2351 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2352 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2353 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2354 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2355 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2356 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2357 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2358 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2359 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2360 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2361 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2362 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2363 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2364 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2365 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2366 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2367 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2368 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2369 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2370 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2371 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2372 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2373 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2374 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2375 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2376 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2377 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2378 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2379 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2380 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2381 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2382 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2383 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2384 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2385 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2386 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2387 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2388 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2389 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2390 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2391 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2392 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2393 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2394 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2395 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2396 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2397 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2398 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2399 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2400 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2401 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2402 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2403 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2404 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2405 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2406 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2407 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2408 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2409 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2410 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2411 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2412 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2413 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2414 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2415 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2416 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2417 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2418 .psize = 1023,
2419 .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
2420 "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
2421 "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
2422 "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
2423 "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
2424 "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
2425 "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
2426 "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
2432 * WHIRLPOOL test vectors from Whirlpool package
2433 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
2434 * submission
2436 static const struct hash_testvec wp512_tv_template[] = {
2438 .plaintext = "",
2439 .psize = 0,
2440 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2441 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2442 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2443 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2444 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2445 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
2446 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
2447 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
2450 }, {
2451 .plaintext = "a",
2452 .psize = 1,
2453 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2454 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2455 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2456 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2457 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2458 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
2459 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
2460 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
2461 }, {
2462 .plaintext = "abc",
2463 .psize = 3,
2464 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2465 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2466 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2467 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2468 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2469 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
2470 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
2471 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
2472 }, {
2473 .plaintext = "message digest",
2474 .psize = 14,
2475 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2476 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2477 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2478 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2479 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2480 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
2481 "\x92\xED\x92\x00\x52\x83\x8F\x33"
2482 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
2483 }, {
2484 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2485 .psize = 26,
2486 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2487 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2488 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2489 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2490 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2491 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
2492 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
2493 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
2494 }, {
2495 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2496 "abcdefghijklmnopqrstuvwxyz0123456789",
2497 .psize = 62,
2498 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2499 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2500 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2501 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2502 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2503 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
2504 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
2505 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
2506 }, {
2507 .plaintext = "1234567890123456789012345678901234567890"
2508 "1234567890123456789012345678901234567890",
2509 .psize = 80,
2510 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2511 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2512 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2513 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2514 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2515 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
2516 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
2517 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
2518 }, {
2519 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2520 .psize = 32,
2521 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2522 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2523 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2524 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2525 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2526 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
2527 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
2528 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
2532 static const struct hash_testvec wp384_tv_template[] = {
2534 .plaintext = "",
2535 .psize = 0,
2536 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2537 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2538 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2539 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2540 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2541 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
2544 }, {
2545 .plaintext = "a",
2546 .psize = 1,
2547 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2548 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2549 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2550 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2551 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2552 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
2553 }, {
2554 .plaintext = "abc",
2555 .psize = 3,
2556 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2557 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2558 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2559 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2560 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2561 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
2562 }, {
2563 .plaintext = "message digest",
2564 .psize = 14,
2565 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2566 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2567 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2568 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2569 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2570 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
2571 }, {
2572 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2573 .psize = 26,
2574 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2575 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2576 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2577 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2578 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2579 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
2580 }, {
2581 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2582 "abcdefghijklmnopqrstuvwxyz0123456789",
2583 .psize = 62,
2584 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2585 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2586 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2587 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2588 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2589 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
2590 }, {
2591 .plaintext = "1234567890123456789012345678901234567890"
2592 "1234567890123456789012345678901234567890",
2593 .psize = 80,
2594 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2595 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2596 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2597 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2598 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2599 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
2600 }, {
2601 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2602 .psize = 32,
2603 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2604 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2605 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2606 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2607 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2608 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
2612 static const struct hash_testvec wp256_tv_template[] = {
2614 .plaintext = "",
2615 .psize = 0,
2616 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2617 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2618 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2619 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
2622 }, {
2623 .plaintext = "a",
2624 .psize = 1,
2625 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2626 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2627 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2628 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
2629 }, {
2630 .plaintext = "abc",
2631 .psize = 3,
2632 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2633 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2634 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2635 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
2636 }, {
2637 .plaintext = "message digest",
2638 .psize = 14,
2639 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2640 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2641 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2642 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
2643 }, {
2644 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2645 .psize = 26,
2646 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2647 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2648 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2649 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
2650 }, {
2651 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2652 "abcdefghijklmnopqrstuvwxyz0123456789",
2653 .psize = 62,
2654 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2655 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2656 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2657 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
2658 }, {
2659 .plaintext = "1234567890123456789012345678901234567890"
2660 "1234567890123456789012345678901234567890",
2661 .psize = 80,
2662 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2663 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2664 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2665 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
2666 }, {
2667 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2668 .psize = 32,
2669 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2670 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2671 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2672 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
2677 * TIGER test vectors from Tiger website
2679 static const struct hash_testvec tgr192_tv_template[] = {
2681 .plaintext = "",
2682 .psize = 0,
2683 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2684 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2685 "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
2686 }, {
2687 .plaintext = "abc",
2688 .psize = 3,
2689 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2690 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2691 "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
2692 }, {
2693 .plaintext = "Tiger",
2694 .psize = 5,
2695 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2696 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2697 "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
2698 }, {
2699 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2700 .psize = 64,
2701 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2702 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2703 "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
2704 }, {
2705 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2706 .psize = 64,
2707 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2708 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2709 "\x57\x89\x65\x65\x97\x5f\x91\x97",
2710 }, {
2711 .plaintext = "Tiger - A Fast New Hash Function, "
2712 "by Ross Anderson and Eli Biham, "
2713 "proceedings of Fast Software Encryption 3, "
2714 "Cambridge, 1996.",
2715 .psize = 125,
2716 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2717 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2718 "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
2722 static const struct hash_testvec tgr160_tv_template[] = {
2724 .plaintext = "",
2725 .psize = 0,
2726 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2727 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2728 "\xf3\x73\xde\x2d",
2729 }, {
2730 .plaintext = "abc",
2731 .psize = 3,
2732 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2733 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2734 "\x93\x5f\x7b\x95",
2735 }, {
2736 .plaintext = "Tiger",
2737 .psize = 5,
2738 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2739 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2740 "\x37\x79\x0c\x11",
2741 }, {
2742 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2743 .psize = 64,
2744 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2745 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2746 "\xb5\x86\x44\x50",
2747 }, {
2748 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2749 .psize = 64,
2750 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2751 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2752 "\x57\x89\x65\x65",
2753 }, {
2754 .plaintext = "Tiger - A Fast New Hash Function, "
2755 "by Ross Anderson and Eli Biham, "
2756 "proceedings of Fast Software Encryption 3, "
2757 "Cambridge, 1996.",
2758 .psize = 125,
2759 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2760 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2761 "\xdd\x68\x15\x1d",
2765 static const struct hash_testvec tgr128_tv_template[] = {
2767 .plaintext = "",
2768 .psize = 0,
2769 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2770 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
2771 }, {
2772 .plaintext = "abc",
2773 .psize = 3,
2774 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2775 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
2776 }, {
2777 .plaintext = "Tiger",
2778 .psize = 5,
2779 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2780 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
2781 }, {
2782 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2783 .psize = 64,
2784 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2785 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
2786 }, {
2787 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2788 .psize = 64,
2789 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2790 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
2791 }, {
2792 .plaintext = "Tiger - A Fast New Hash Function, "
2793 "by Ross Anderson and Eli Biham, "
2794 "proceedings of Fast Software Encryption 3, "
2795 "Cambridge, 1996.",
2796 .psize = 125,
2797 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2798 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
2802 static const struct hash_testvec ghash_tv_template[] =
2805 .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
2806 "\xff\xca\xff\x95\xf8\x30\xf0\x61",
2807 .ksize = 16,
2808 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2809 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2810 .psize = 16,
2811 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2812 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2813 }, {
2814 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2815 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2816 .ksize = 16,
2817 .plaintext = "what do ya want for nothing?",
2818 .psize = 28,
2819 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
2820 "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
2821 .np = 2,
2822 .tap = {14, 14}
2823 }, {
2824 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2825 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2826 .ksize = 16,
2827 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2828 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2829 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2830 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2831 .psize = 50,
2832 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
2833 "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
2834 }, {
2835 .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2836 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2837 .ksize = 16,
2838 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2839 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2840 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2841 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2842 .psize = 50,
2843 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
2844 "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
2845 }, {
2846 .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2847 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2848 .ksize = 16,
2849 .plaintext = "Test With Truncation",
2850 .psize = 20,
2851 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
2852 "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
2853 }, {
2854 .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
2855 "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
2856 .ksize = 16,
2857 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
2858 "\x65\x72\x20\x4c\x61\x75\x73\x63"
2859 "\x68\x65\x6e\x20\x75\x6e\x64\x20"
2860 "\x53\x74\x61\x75\x6e\x65\x6e\x20"
2861 "\x73\x65\x69\x20\x73\x74\x69\x6c"
2862 "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
2863 "\x69\x6e\x20\x74\x69\x65\x66\x74"
2864 "\x69\x65\x66\x65\x73\x20\x4c\x65"
2865 "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
2866 "\x73\x20\x64\x75\x20\x77\x65\x69"
2867 "\xc3\x9f\x74\x20\x77\x61\x73\x20"
2868 "\x64\x65\x72\x20\x57\x69\x6e\x64"
2869 "\x20\x64\x69\x72\x20\x77\x69\x6c"
2870 "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
2871 "\x63\x68\x20\x64\x69\x65\x20\x42"
2872 "\x69\x72\x6b\x65\x6e\x20\x62\x65"
2873 "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
2874 "\x64\x20\x77\x65\x6e\x6e\x20\x64"
2875 "\x69\x72\x20\x65\x69\x6e\x6d\x61"
2876 "\x6c\x20\x64\x61\x73\x20\x53\x63"
2877 "\x68\x77\x65\x69\x67\x65\x6e\x20"
2878 "\x73\x70\x72\x61\x63\x68\x2c\x0a"
2879 "\x6c\x61\x73\x73\x20\x64\x65\x69"
2880 "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
2881 "\x20\x62\x65\x73\x69\x65\x67\x65"
2882 "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
2883 "\x20\x48\x61\x75\x63\x68\x65\x20"
2884 "\x67\x69\x62\x74\x20\x64\x69\x63"
2885 "\x68\x2c\x20\x67\x69\x62\x20\x6e"
2886 "\x61\x63\x68\x2c\x0a\x65\x72\x20"
2887 "\x77\x69\x72\x64\x20\x64\x69\x63"
2888 "\x68\x20\x6c\x69\x65\x62\x65\x6e"
2889 "\x20\x75\x6e\x64\x20\x77\x69\x65"
2890 "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
2891 "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
2892 "\x65\x69\x6e\x65\x20\x53\x65\x65"
2893 "\x6c\x65\x20\x73\x65\x69\x74\x20"
2894 "\x77\x65\x69\x74\x2c\x20\x73\x65"
2895 "\x69\x20\x77\x65\x69\x74\x2c\x0a"
2896 "\x64\x61\x73\x73\x20\x64\x69\x72"
2897 "\x20\x64\x61\x73\x20\x4c\x65\x62"
2898 "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
2899 "\x67\x65\x2c\x0a\x62\x72\x65\x69"
2900 "\x74\x65\x20\x64\x69\x63\x68\x20"
2901 "\x77\x69\x65\x20\x65\x69\x6e\x20"
2902 "\x46\x65\x69\x65\x72\x6b\x6c\x65"
2903 "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
2904 "\x20\x64\x69\x65\x20\x73\x69\x6e"
2905 "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
2906 "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
2907 .psize = 400,
2908 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
2909 "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
2914 * HMAC-MD5 test vectors from RFC2202
2915 * (These need to be fixed to not use strlen).
2917 static const struct hash_testvec hmac_md5_tv_template[] =
2920 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2921 .ksize = 16,
2922 .plaintext = "Hi There",
2923 .psize = 8,
2924 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
2925 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
2926 }, {
2927 .key = "Jefe",
2928 .ksize = 4,
2929 .plaintext = "what do ya want for nothing?",
2930 .psize = 28,
2931 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
2932 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
2933 .np = 2,
2934 .tap = {14, 14}
2935 }, {
2936 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2937 .ksize = 16,
2938 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2939 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2940 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2941 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2942 .psize = 50,
2943 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
2944 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
2945 }, {
2946 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
2947 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2948 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2949 .ksize = 25,
2950 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2951 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2952 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2953 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2954 .psize = 50,
2955 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
2956 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
2957 }, {
2958 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2959 .ksize = 16,
2960 .plaintext = "Test With Truncation",
2961 .psize = 20,
2962 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
2963 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
2964 }, {
2965 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2966 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2967 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2968 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2969 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2970 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2971 "\xaa\xaa",
2972 .ksize = 80,
2973 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2974 .psize = 54,
2975 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
2976 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
2977 }, {
2978 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2979 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2980 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2981 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2982 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2983 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2984 "\xaa\xaa",
2985 .ksize = 80,
2986 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2987 "Block-Size Data",
2988 .psize = 73,
2989 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
2990 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
2995 * HMAC-RIPEMD128 test vectors from RFC2286
2997 static const struct hash_testvec hmac_rmd128_tv_template[] = {
2999 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3000 .ksize = 16,
3001 .plaintext = "Hi There",
3002 .psize = 8,
3003 .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
3004 "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
3005 }, {
3006 .key = "Jefe",
3007 .ksize = 4,
3008 .plaintext = "what do ya want for nothing?",
3009 .psize = 28,
3010 .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
3011 "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
3012 .np = 2,
3013 .tap = { 14, 14 },
3014 }, {
3015 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3016 .ksize = 16,
3017 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3018 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3019 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3020 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3021 .psize = 50,
3022 .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
3023 "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
3024 }, {
3025 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3026 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3027 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3028 .ksize = 25,
3029 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3030 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3031 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3032 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3033 .psize = 50,
3034 .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
3035 "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
3036 }, {
3037 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3038 .ksize = 16,
3039 .plaintext = "Test With Truncation",
3040 .psize = 20,
3041 .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
3042 "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
3043 }, {
3044 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3045 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3046 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3047 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3048 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3049 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3050 "\xaa\xaa",
3051 .ksize = 80,
3052 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3053 .psize = 54,
3054 .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
3055 "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
3056 }, {
3057 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3058 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3059 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3060 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3061 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3062 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3063 "\xaa\xaa",
3064 .ksize = 80,
3065 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3066 "Block-Size Data",
3067 .psize = 73,
3068 .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
3069 "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
3074 * HMAC-RIPEMD160 test vectors from RFC2286
3076 static const struct hash_testvec hmac_rmd160_tv_template[] = {
3078 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3079 .ksize = 20,
3080 .plaintext = "Hi There",
3081 .psize = 8,
3082 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
3083 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
3084 }, {
3085 .key = "Jefe",
3086 .ksize = 4,
3087 .plaintext = "what do ya want for nothing?",
3088 .psize = 28,
3089 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
3090 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
3091 .np = 2,
3092 .tap = { 14, 14 },
3093 }, {
3094 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3095 .ksize = 20,
3096 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3097 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3098 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3099 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3100 .psize = 50,
3101 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
3102 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
3103 }, {
3104 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3105 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3106 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3107 .ksize = 25,
3108 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3109 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3110 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3111 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3112 .psize = 50,
3113 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
3114 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
3115 }, {
3116 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3117 .ksize = 20,
3118 .plaintext = "Test With Truncation",
3119 .psize = 20,
3120 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
3121 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
3122 }, {
3123 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3124 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3125 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3126 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3127 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3128 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3129 "\xaa\xaa",
3130 .ksize = 80,
3131 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3132 .psize = 54,
3133 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
3134 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
3135 }, {
3136 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3137 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3138 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3139 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3140 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3141 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3142 "\xaa\xaa",
3143 .ksize = 80,
3144 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3145 "Block-Size Data",
3146 .psize = 73,
3147 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
3148 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
3153 * HMAC-SHA1 test vectors from RFC2202
3155 static const struct hash_testvec hmac_sha1_tv_template[] = {
3157 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3158 .ksize = 20,
3159 .plaintext = "Hi There",
3160 .psize = 8,
3161 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
3162 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
3163 "\x46\xbe",
3164 }, {
3165 .key = "Jefe",
3166 .ksize = 4,
3167 .plaintext = "what do ya want for nothing?",
3168 .psize = 28,
3169 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
3170 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
3171 .np = 2,
3172 .tap = { 14, 14 }
3173 }, {
3174 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3175 .ksize = 20,
3176 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3177 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3178 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3179 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3180 .psize = 50,
3181 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
3182 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
3183 }, {
3184 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3185 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3186 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3187 .ksize = 25,
3188 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3189 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3190 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3191 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3192 .psize = 50,
3193 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
3194 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
3195 }, {
3196 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3197 .ksize = 20,
3198 .plaintext = "Test With Truncation",
3199 .psize = 20,
3200 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
3201 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
3202 }, {
3203 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3204 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3205 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3206 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3207 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3208 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3209 "\xaa\xaa",
3210 .ksize = 80,
3211 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3212 .psize = 54,
3213 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
3214 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
3215 }, {
3216 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3217 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3218 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3219 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3220 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3221 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3222 "\xaa\xaa",
3223 .ksize = 80,
3224 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3225 "Block-Size Data",
3226 .psize = 73,
3227 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
3228 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
3234 * SHA224 HMAC test vectors from RFC4231
3236 static const struct hash_testvec hmac_sha224_tv_template[] = {
3238 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3239 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3240 "\x0b\x0b\x0b\x0b",
3241 .ksize = 20,
3242 /* ("Hi There") */
3243 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
3244 .psize = 8,
3245 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
3246 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
3247 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
3248 "\x53\x68\x4b\x22",
3249 }, {
3250 .key = "Jefe",
3251 .ksize = 4,
3252 /* ("what do ya want for nothing?") */
3253 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
3254 "\x79\x61\x20\x77\x61\x6e\x74\x20"
3255 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
3256 "\x69\x6e\x67\x3f",
3257 .psize = 28,
3258 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
3259 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
3260 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
3261 "\x8f\xd0\x5e\x44",
3262 .np = 4,
3263 .tap = { 7, 7, 7, 7 }
3264 }, {
3265 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3266 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3267 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3268 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3269 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3270 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3271 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3272 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3273 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3274 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3275 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3276 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3277 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3278 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3279 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3280 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3281 "\xaa\xaa\xaa",
3282 .ksize = 131,
3283 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
3284 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
3285 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
3286 "\x72\x20\x54\x68\x61\x6e\x20\x42"
3287 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
3288 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
3289 "\x48\x61\x73\x68\x20\x4b\x65\x79"
3290 "\x20\x46\x69\x72\x73\x74",
3291 .psize = 54,
3292 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
3293 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
3294 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
3295 "\x3f\xa6\x87\x0e",
3296 }, {
3297 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3298 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3299 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3300 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3301 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3302 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3303 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3304 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3305 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3306 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3307 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3308 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3309 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3310 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3311 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3312 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3313 "\xaa\xaa\xaa",
3314 .ksize = 131,
3315 /* ("This is a test using a larger than block-size key and a")
3316 (" larger than block-size data. The key needs to be")
3317 (" hashed before being used by the HMAC algorithm.") */
3318 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
3319 "\x61\x20\x74\x65\x73\x74\x20\x75"
3320 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
3321 "\x61\x72\x67\x65\x72\x20\x74\x68"
3322 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
3323 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
3324 "\x79\x20\x61\x6e\x64\x20\x61\x20"
3325 "\x6c\x61\x72\x67\x65\x72\x20\x74"
3326 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
3327 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
3328 "\x61\x74\x61\x2e\x20\x54\x68\x65"
3329 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
3330 "\x64\x73\x20\x74\x6f\x20\x62\x65"
3331 "\x20\x68\x61\x73\x68\x65\x64\x20"
3332 "\x62\x65\x66\x6f\x72\x65\x20\x62"
3333 "\x65\x69\x6e\x67\x20\x75\x73\x65"
3334 "\x64\x20\x62\x79\x20\x74\x68\x65"
3335 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
3336 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
3337 .psize = 152,
3338 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
3339 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
3340 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
3341 "\xf6\xf5\x65\xd1",
3346 * HMAC-SHA256 test vectors from
3347 * draft-ietf-ipsec-ciph-sha-256-01.txt
3349 static const struct hash_testvec hmac_sha256_tv_template[] = {
3351 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3352 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3353 "\x11\x12\x13\x14\x15\x16\x17\x18"
3354 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3355 .ksize = 32,
3356 .plaintext = "abc",
3357 .psize = 3,
3358 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
3359 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
3360 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
3361 "\x92\x75\x90\x21\xcf\xab\x81\x81",
3362 }, {
3363 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3364 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3365 "\x11\x12\x13\x14\x15\x16\x17\x18"
3366 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3367 .ksize = 32,
3368 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3369 .psize = 56,
3370 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
3371 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
3372 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
3373 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
3374 }, {
3375 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3376 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3377 "\x11\x12\x13\x14\x15\x16\x17\x18"
3378 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3379 .ksize = 32,
3380 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3381 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3382 .psize = 112,
3383 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
3384 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
3385 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
3386 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
3387 }, {
3388 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3389 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3390 "\x0b\x0b\x0b\x0b\x0b\x0b",
3391 .ksize = 32,
3392 .plaintext = "Hi There",
3393 .psize = 8,
3394 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
3395 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
3396 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
3397 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
3398 }, {
3399 .key = "Jefe",
3400 .ksize = 4,
3401 .plaintext = "what do ya want for nothing?",
3402 .psize = 28,
3403 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
3404 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
3405 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
3406 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
3407 .np = 2,
3408 .tap = { 14, 14 }
3409 }, {
3410 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3411 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3412 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3413 .ksize = 32,
3414 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3415 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3416 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3417 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3418 .psize = 50,
3419 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
3420 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
3421 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
3422 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
3423 }, {
3424 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3425 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3426 "\x11\x12\x13\x14\x15\x16\x17\x18"
3427 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
3428 "\x21\x22\x23\x24\x25",
3429 .ksize = 37,
3430 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3431 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3432 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3433 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3434 .psize = 50,
3435 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
3436 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
3437 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
3438 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
3439 }, {
3440 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3441 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3442 "\x0c\x0c\x0c\x0c\x0c\x0c",
3443 .ksize = 32,
3444 .plaintext = "Test With Truncation",
3445 .psize = 20,
3446 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
3447 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
3448 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
3449 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
3450 }, {
3451 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3452 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3453 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3454 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3455 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3456 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3457 "\xaa\xaa",
3458 .ksize = 80,
3459 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3460 .psize = 54,
3461 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
3462 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
3463 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
3464 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
3465 }, {
3466 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3467 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3468 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3469 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3470 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3471 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3472 "\xaa\xaa",
3473 .ksize = 80,
3474 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
3475 "One Block-Size Data",
3476 .psize = 73,
3477 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
3478 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
3479 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
3480 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
3484 static const struct hash_testvec aes_cmac128_tv_template[] = {
3485 { /* From NIST Special Publication 800-38B, AES-128 */
3486 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3487 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3488 .plaintext = zeroed_string,
3489 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
3490 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
3491 .psize = 0,
3492 .ksize = 16,
3493 }, {
3494 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3495 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3496 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3497 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3498 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
3499 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
3500 .psize = 16,
3501 .ksize = 16,
3502 }, {
3503 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3504 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3505 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3506 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3507 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3508 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3509 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
3510 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
3511 "\x30\xca\x32\x61\x14\x97\xc8\x27",
3512 .psize = 40,
3513 .ksize = 16,
3514 }, {
3515 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3516 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3517 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3518 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3519 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3520 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3521 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3522 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3523 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3524 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3525 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
3526 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
3527 .psize = 64,
3528 .ksize = 16,
3529 }, { /* From NIST Special Publication 800-38B, AES-256 */
3530 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3531 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3532 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3533 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3534 .plaintext = zeroed_string,
3535 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
3536 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
3537 .psize = 0,
3538 .ksize = 32,
3539 }, {
3540 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3541 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3542 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3543 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3544 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3545 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3546 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3547 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3548 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3549 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3550 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3551 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3552 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
3553 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
3554 .psize = 64,
3555 .ksize = 32,
3559 static const struct hash_testvec aes_cbcmac_tv_template[] = {
3561 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3562 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3563 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3564 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3565 .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
3566 "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
3567 .psize = 16,
3568 .ksize = 16,
3569 }, {
3570 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3571 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3572 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3573 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3574 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3575 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3576 "\x30",
3577 .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
3578 "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
3579 .psize = 33,
3580 .ksize = 16,
3581 .np = 2,
3582 .tap = { 7, 26 },
3583 }, {
3584 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3585 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3586 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3587 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3588 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3589 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3590 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3591 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3592 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3593 "\xad\x2b\x41\x7b\xe6\x6c\x37",
3594 .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
3595 "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
3596 .psize = 63,
3597 .ksize = 16,
3598 }, {
3599 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3600 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3601 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3602 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3603 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3604 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3605 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3606 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3607 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3608 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3609 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3610 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
3611 "\x1c",
3612 .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
3613 "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
3614 .psize = 65,
3615 .ksize = 32,
3619 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
3621 * From NIST Special Publication 800-38B, Three Key TDEA
3622 * Corrected test vectors from:
3623 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
3626 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3627 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3628 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3629 .plaintext = zeroed_string,
3630 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
3631 .psize = 0,
3632 .ksize = 24,
3633 }, {
3634 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3635 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3636 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3637 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
3638 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
3639 .psize = 8,
3640 .ksize = 24,
3641 }, {
3642 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3643 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3644 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3645 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3646 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3647 "\xae\x2d\x8a\x57",
3648 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
3649 .psize = 20,
3650 .ksize = 24,
3651 }, {
3652 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3653 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3654 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3655 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3656 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3657 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3658 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
3659 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
3660 .psize = 32,
3661 .ksize = 24,
3665 static const struct hash_testvec aes_xcbc128_tv_template[] = {
3667 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3668 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3669 .plaintext = zeroed_string,
3670 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
3671 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
3672 .psize = 0,
3673 .ksize = 16,
3674 }, {
3675 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3676 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3677 .plaintext = "\x00\x01\x02",
3678 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
3679 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
3680 .psize = 3,
3681 .ksize = 16,
3682 } , {
3683 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3684 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3685 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3686 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3687 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
3688 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
3689 .psize = 16,
3690 .ksize = 16,
3691 }, {
3692 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3693 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3694 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3695 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3696 "\x10\x11\x12\x13",
3697 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
3698 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
3699 .tap = { 10, 10 },
3700 .psize = 20,
3701 .np = 2,
3702 .ksize = 16,
3703 }, {
3704 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3705 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3706 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3707 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3708 "\x10\x11\x12\x13\x14\x15\x16\x17"
3709 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3710 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
3711 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
3712 .psize = 32,
3713 .ksize = 16,
3714 }, {
3715 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3716 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3717 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3718 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3719 "\x10\x11\x12\x13\x14\x15\x16\x17"
3720 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
3721 "\x20\x21",
3722 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
3723 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
3724 .tap = { 17, 17 },
3725 .psize = 34,
3726 .np = 2,
3727 .ksize = 16,
3731 static const char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
3732 '\x02', '\x03', '\x02', '\x02',
3733 '\x02', '\x04', '\x01', '\x07',
3734 '\x04', '\x01', '\x04', '\x03',};
3735 static const char vmac_string2[128] = {'a', 'b', 'c',};
3736 static const char vmac_string3[128] = {'a', 'b', 'c', 'a', 'b', 'c',
3737 'a', 'b', 'c', 'a', 'b', 'c',
3738 'a', 'b', 'c', 'a', 'b', 'c',
3739 'a', 'b', 'c', 'a', 'b', 'c',
3740 'a', 'b', 'c', 'a', 'b', 'c',
3741 'a', 'b', 'c', 'a', 'b', 'c',
3742 'a', 'b', 'c', 'a', 'b', 'c',
3743 'a', 'b', 'c', 'a', 'b', 'c',
3746 static const char vmac_string4[17] = {'b', 'c', 'e', 'f',
3747 'i', 'j', 'l', 'm',
3748 'o', 'p', 'r', 's',
3749 't', 'u', 'w', 'x', 'z'};
3751 static const char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
3752 'o', 'l', 'k', ']', '%',
3753 '9', '2', '7', '!', 'A'};
3755 static const char vmac_string6[129] = {'p', 't', '*', '7', 'l',
3756 'i', '!', '#', 'w', '0',
3757 'z', '/', '4', 'A', 'n'};
3759 static const struct hash_testvec aes_vmac128_tv_template[] = {
3761 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3762 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3763 .plaintext = NULL,
3764 .digest = "\x07\x58\x80\x35\x77\xa4\x7b\x54",
3765 .psize = 0,
3766 .ksize = 16,
3767 }, {
3768 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3769 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3770 .plaintext = vmac_string1,
3771 .digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
3772 .psize = 128,
3773 .ksize = 16,
3774 }, {
3775 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3776 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3777 .plaintext = vmac_string2,
3778 .digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
3779 .psize = 128,
3780 .ksize = 16,
3781 }, {
3782 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
3783 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3784 .plaintext = vmac_string3,
3785 .digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
3786 .psize = 128,
3787 .ksize = 16,
3788 }, {
3789 .key = "abcdefghijklmnop",
3790 .plaintext = NULL,
3791 .digest = "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
3792 .psize = 0,
3793 .ksize = 16,
3794 }, {
3795 .key = "abcdefghijklmnop",
3796 .plaintext = vmac_string1,
3797 .digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
3798 .psize = 128,
3799 .ksize = 16,
3800 }, {
3801 .key = "abcdefghijklmnop",
3802 .plaintext = vmac_string2,
3803 .digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
3804 .psize = 128,
3805 .ksize = 16,
3806 }, {
3807 .key = "abcdefghijklmnop",
3808 .plaintext = vmac_string3,
3809 .digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
3810 .psize = 128,
3811 .ksize = 16,
3812 }, {
3813 .key = "a09b5cd!f#07K\x00\x00\x00",
3814 .plaintext = vmac_string4,
3815 .digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
3816 .psize = sizeof(vmac_string4),
3817 .ksize = 16,
3818 }, {
3819 .key = "a09b5cd!f#07K\x00\x00\x00",
3820 .plaintext = vmac_string5,
3821 .digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
3822 .psize = sizeof(vmac_string5),
3823 .ksize = 16,
3824 }, {
3825 .key = "a09b5cd!f#07K\x00\x00\x00",
3826 .plaintext = vmac_string6,
3827 .digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
3828 .psize = sizeof(vmac_string6),
3829 .ksize = 16,
3834 * SHA384 HMAC test vectors from RFC4231
3837 static const struct hash_testvec hmac_sha384_tv_template[] = {
3839 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3840 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3841 "\x0b\x0b\x0b\x0b",
3842 .ksize = 20,
3843 .plaintext = "Hi There",
3844 .psize = 8,
3845 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
3846 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
3847 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
3848 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
3849 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
3850 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
3851 }, {
3852 .key = "Jefe",
3853 .ksize = 4,
3854 .plaintext = "what do ya want for nothing?",
3855 .psize = 28,
3856 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
3857 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
3858 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
3859 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
3860 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
3861 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
3862 .np = 4,
3863 .tap = { 7, 7, 7, 7 }
3864 }, {
3865 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3866 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3867 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3868 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3869 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3870 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3871 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3872 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3873 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3874 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3875 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3876 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3877 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3878 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3879 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3880 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3881 "\xaa\xaa\xaa",
3882 .ksize = 131,
3883 .plaintext = "Test Using Larger Than Block-Siz"
3884 "e Key - Hash Key First",
3885 .psize = 54,
3886 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
3887 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
3888 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
3889 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
3890 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
3891 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
3892 }, {
3893 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3894 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3895 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3896 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3897 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3898 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3899 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3900 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3901 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3902 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3903 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3904 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3905 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3906 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3907 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3908 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3909 "\xaa\xaa\xaa",
3910 .ksize = 131,
3911 .plaintext = "This is a test u"
3912 "sing a larger th"
3913 "an block-size ke"
3914 "y and a larger t"
3915 "han block-size d"
3916 "ata. The key nee"
3917 "ds to be hashed "
3918 "before being use"
3919 "d by the HMAC al"
3920 "gorithm.",
3921 .psize = 152,
3922 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
3923 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
3924 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
3925 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
3926 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
3927 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
3932 * SHA512 HMAC test vectors from RFC4231
3935 static const struct hash_testvec hmac_sha512_tv_template[] = {
3937 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3938 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3939 "\x0b\x0b\x0b\x0b",
3940 .ksize = 20,
3941 .plaintext = "Hi There",
3942 .psize = 8,
3943 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
3944 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
3945 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
3946 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
3947 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
3948 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
3949 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
3950 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
3951 }, {
3952 .key = "Jefe",
3953 .ksize = 4,
3954 .plaintext = "what do ya want for nothing?",
3955 .psize = 28,
3956 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
3957 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
3958 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
3959 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
3960 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
3961 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
3962 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
3963 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
3964 .np = 4,
3965 .tap = { 7, 7, 7, 7 }
3966 }, {
3967 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3968 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3969 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3970 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3971 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3972 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3973 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3974 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3975 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3976 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3977 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3978 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3979 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3980 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3981 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3982 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3983 "\xaa\xaa\xaa",
3984 .ksize = 131,
3985 .plaintext = "Test Using Large"
3986 "r Than Block-Siz"
3987 "e Key - Hash Key"
3988 " First",
3989 .psize = 54,
3990 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
3991 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
3992 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
3993 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
3994 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
3995 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
3996 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
3997 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
3998 }, {
3999 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4000 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4001 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4002 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4003 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4004 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4005 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4006 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4007 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4008 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4009 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4010 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4011 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4012 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4013 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4014 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4015 "\xaa\xaa\xaa",
4016 .ksize = 131,
4017 .plaintext =
4018 "This is a test u"
4019 "sing a larger th"
4020 "an block-size ke"
4021 "y and a larger t"
4022 "han block-size d"
4023 "ata. The key nee"
4024 "ds to be hashed "
4025 "before being use"
4026 "d by the HMAC al"
4027 "gorithm.",
4028 .psize = 152,
4029 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
4030 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
4031 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
4032 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
4033 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
4034 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
4035 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
4036 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
4040 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
4042 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4043 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4044 "\x0b\x0b\x0b\x0b",
4045 .ksize = 20,
4046 .plaintext = "Hi There",
4047 .psize = 8,
4048 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
4049 "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
4050 "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
4051 "\xf3\xc8\x60\xf7",
4052 }, {
4053 .key = "Jefe",
4054 .ksize = 4,
4055 .plaintext = "what do ya want for nothing?",
4056 .psize = 28,
4057 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
4058 "\x1b\x79\x86\x34\xad\x38\x68\x11"
4059 "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
4060 "\xba\xce\x5e\x66",
4061 .np = 4,
4062 .tap = { 7, 7, 7, 7 }
4063 }, {
4064 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4065 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4066 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4067 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4068 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4069 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4070 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4071 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4072 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4073 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4074 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4075 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4076 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4077 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4078 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4079 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4080 "\xaa\xaa\xaa",
4081 .ksize = 131,
4082 .plaintext = "Test Using Large"
4083 "r Than Block-Siz"
4084 "e Key - Hash Key"
4085 " First",
4086 .psize = 54,
4087 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
4088 "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
4089 "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
4090 "\x5f\xb9\x99\x5f",
4091 }, {
4092 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4093 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4094 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4095 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4096 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4097 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4098 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4099 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4100 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4101 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4102 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4103 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4104 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4105 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4106 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4107 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4108 "\xaa\xaa\xaa",
4109 .ksize = 131,
4110 .plaintext =
4111 "This is a test u"
4112 "sing a larger th"
4113 "an block-size ke"
4114 "y and a larger t"
4115 "han block-size d"
4116 "ata. The key nee"
4117 "ds to be hashed "
4118 "before being use"
4119 "d by the HMAC al"
4120 "gorithm.",
4121 .psize = 152,
4122 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
4123 "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
4124 "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
4125 "\x29\xcd\x62\xa0",
4129 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
4131 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4132 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4133 "\x0b\x0b\x0b\x0b",
4134 .ksize = 20,
4135 .plaintext = "Hi There",
4136 .psize = 8,
4137 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
4138 "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
4139 "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
4140 "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
4141 }, {
4142 .key = "Jefe",
4143 .ksize = 4,
4144 .plaintext = "what do ya want for nothing?",
4145 .psize = 28,
4146 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
4147 "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
4148 "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
4149 "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
4150 .np = 4,
4151 .tap = { 7, 7, 7, 7 }
4152 }, {
4153 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4154 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4155 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4156 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4157 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4158 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4159 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4160 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4161 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4162 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4163 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4164 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4165 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4166 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4167 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4168 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4169 "\xaa\xaa\xaa",
4170 .ksize = 131,
4171 .plaintext = "Test Using Large"
4172 "r Than Block-Siz"
4173 "e Key - Hash Key"
4174 " First",
4175 .psize = 54,
4176 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
4177 "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
4178 "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
4179 "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
4180 }, {
4181 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4182 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4183 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4184 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4185 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4186 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4187 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4188 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4189 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4190 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4191 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4192 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4193 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4194 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4195 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4196 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4197 "\xaa\xaa\xaa",
4198 .ksize = 131,
4199 .plaintext =
4200 "This is a test u"
4201 "sing a larger th"
4202 "an block-size ke"
4203 "y and a larger t"
4204 "han block-size d"
4205 "ata. The key nee"
4206 "ds to be hashed "
4207 "before being use"
4208 "d by the HMAC al"
4209 "gorithm.",
4210 .psize = 152,
4211 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
4212 "\x7a\xef\x87\x63\x26\x1e\x49\xad"
4213 "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
4214 "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
4218 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
4220 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4221 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4222 "\x0b\x0b\x0b\x0b",
4223 .ksize = 20,
4224 .plaintext = "Hi There",
4225 .psize = 8,
4226 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
4227 "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
4228 "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
4229 "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
4230 "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
4231 "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
4232 }, {
4233 .key = "Jefe",
4234 .ksize = 4,
4235 .plaintext = "what do ya want for nothing?",
4236 .psize = 28,
4237 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
4238 "\x67\x64\xd2\xed\x61\x90\x3f\x21"
4239 "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
4240 "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
4241 "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
4242 "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
4243 .np = 4,
4244 .tap = { 7, 7, 7, 7 }
4245 }, {
4246 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4247 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4248 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4249 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4250 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4251 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4252 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4253 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4254 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4255 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4256 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4257 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4258 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4259 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4260 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4261 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4262 "\xaa\xaa\xaa",
4263 .ksize = 131,
4264 .plaintext = "Test Using Large"
4265 "r Than Block-Siz"
4266 "e Key - Hash Key"
4267 " First",
4268 .psize = 54,
4269 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
4270 "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
4271 "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
4272 "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
4273 "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
4274 "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
4275 }, {
4276 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4277 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4278 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4279 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4280 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4281 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4282 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4283 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4284 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4285 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4286 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4287 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4288 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4289 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4290 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4291 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4292 "\xaa\xaa\xaa",
4293 .ksize = 131,
4294 .plaintext =
4295 "This is a test u"
4296 "sing a larger th"
4297 "an block-size ke"
4298 "y and a larger t"
4299 "han block-size d"
4300 "ata. The key nee"
4301 "ds to be hashed "
4302 "before being use"
4303 "d by the HMAC al"
4304 "gorithm.",
4305 .psize = 152,
4306 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
4307 "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
4308 "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
4309 "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
4310 "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
4311 "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
4315 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
4317 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4318 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4319 "\x0b\x0b\x0b\x0b",
4320 .ksize = 20,
4321 .plaintext = "Hi There",
4322 .psize = 8,
4323 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
4324 "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
4325 "\xec\x15\x77\x0a\x7c\xab\xac\x53"
4326 "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
4327 "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
4328 "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
4329 "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
4330 "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
4331 }, {
4332 .key = "Jefe",
4333 .ksize = 4,
4334 .plaintext = "what do ya want for nothing?",
4335 .psize = 28,
4336 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
4337 "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
4338 "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
4339 "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
4340 "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
4341 "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
4342 "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
4343 "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
4344 .np = 4,
4345 .tap = { 7, 7, 7, 7 }
4346 }, {
4347 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4348 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4349 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4350 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4351 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4352 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4353 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4354 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4355 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4356 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4357 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4358 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4359 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4360 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4361 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4362 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4363 "\xaa\xaa\xaa",
4364 .ksize = 131,
4365 .plaintext = "Test Using Large"
4366 "r Than Block-Siz"
4367 "e Key - Hash Key"
4368 " First",
4369 .psize = 54,
4370 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
4371 "\x90\xed\x69\x11\xa4\xb6\x55\x24"
4372 "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
4373 "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
4374 "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
4375 "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
4376 "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
4377 "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
4378 }, {
4379 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4380 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4381 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4382 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4383 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4384 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4385 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4386 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4387 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4388 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4389 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4390 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4391 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4392 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4393 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4394 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4395 "\xaa\xaa\xaa",
4396 .ksize = 131,
4397 .plaintext =
4398 "This is a test u"
4399 "sing a larger th"
4400 "an block-size ke"
4401 "y and a larger t"
4402 "han block-size d"
4403 "ata. The key nee"
4404 "ds to be hashed "
4405 "before being use"
4406 "d by the HMAC al"
4407 "gorithm.",
4408 .psize = 152,
4409 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
4410 "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
4411 "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
4412 "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
4413 "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
4414 "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
4415 "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
4416 "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
4421 * Poly1305 test vectors from RFC7539 A.3.
4424 static const struct hash_testvec poly1305_tv_template[] = {
4425 { /* Test Vector #1 */
4426 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4427 "\x00\x00\x00\x00\x00\x00\x00\x00"
4428 "\x00\x00\x00\x00\x00\x00\x00\x00"
4429 "\x00\x00\x00\x00\x00\x00\x00\x00"
4430 "\x00\x00\x00\x00\x00\x00\x00\x00"
4431 "\x00\x00\x00\x00\x00\x00\x00\x00"
4432 "\x00\x00\x00\x00\x00\x00\x00\x00"
4433 "\x00\x00\x00\x00\x00\x00\x00\x00"
4434 "\x00\x00\x00\x00\x00\x00\x00\x00"
4435 "\x00\x00\x00\x00\x00\x00\x00\x00"
4436 "\x00\x00\x00\x00\x00\x00\x00\x00"
4437 "\x00\x00\x00\x00\x00\x00\x00\x00",
4438 .psize = 96,
4439 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
4440 "\x00\x00\x00\x00\x00\x00\x00\x00",
4441 }, { /* Test Vector #2 */
4442 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4443 "\x00\x00\x00\x00\x00\x00\x00\x00"
4444 "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4445 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4446 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4447 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4448 "\x6f\x20\x74\x68\x65\x20\x49\x45"
4449 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4450 "\x64\x65\x64\x20\x62\x79\x20\x74"
4451 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4452 "\x69\x62\x75\x74\x6f\x72\x20\x66"
4453 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4454 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4455 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4456 "\x20\x70\x61\x72\x74\x20\x6f\x66"
4457 "\x20\x61\x6e\x20\x49\x45\x54\x46"
4458 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4459 "\x74\x2d\x44\x72\x61\x66\x74\x20"
4460 "\x6f\x72\x20\x52\x46\x43\x20\x61"
4461 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4462 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4463 "\x20\x6d\x61\x64\x65\x20\x77\x69"
4464 "\x74\x68\x69\x6e\x20\x74\x68\x65"
4465 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4466 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4467 "\x45\x54\x46\x20\x61\x63\x74\x69"
4468 "\x76\x69\x74\x79\x20\x69\x73\x20"
4469 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4470 "\x65\x64\x20\x61\x6e\x20\x22\x49"
4471 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4472 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4473 "\x22\x2e\x20\x53\x75\x63\x68\x20"
4474 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4475 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4476 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4477 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4478 "\x74\x73\x20\x69\x6e\x20\x49\x45"
4479 "\x54\x46\x20\x73\x65\x73\x73\x69"
4480 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4481 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4482 "\x77\x72\x69\x74\x74\x65\x6e\x20"
4483 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4484 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4485 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4486 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4487 "\x64\x65\x20\x61\x74\x20\x61\x6e"
4488 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4489 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4490 "\x20\x77\x68\x69\x63\x68\x20\x61"
4491 "\x72\x65\x20\x61\x64\x64\x72\x65"
4492 "\x73\x73\x65\x64\x20\x74\x6f",
4493 .psize = 407,
4494 .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4495 "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
4496 }, { /* Test Vector #3 */
4497 .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4498 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4499 "\x00\x00\x00\x00\x00\x00\x00\x00"
4500 "\x00\x00\x00\x00\x00\x00\x00\x00"
4501 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4502 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4503 "\x6f\x20\x74\x68\x65\x20\x49\x45"
4504 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4505 "\x64\x65\x64\x20\x62\x79\x20\x74"
4506 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4507 "\x69\x62\x75\x74\x6f\x72\x20\x66"
4508 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4509 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4510 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4511 "\x20\x70\x61\x72\x74\x20\x6f\x66"
4512 "\x20\x61\x6e\x20\x49\x45\x54\x46"
4513 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4514 "\x74\x2d\x44\x72\x61\x66\x74\x20"
4515 "\x6f\x72\x20\x52\x46\x43\x20\x61"
4516 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4517 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4518 "\x20\x6d\x61\x64\x65\x20\x77\x69"
4519 "\x74\x68\x69\x6e\x20\x74\x68\x65"
4520 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4521 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4522 "\x45\x54\x46\x20\x61\x63\x74\x69"
4523 "\x76\x69\x74\x79\x20\x69\x73\x20"
4524 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4525 "\x65\x64\x20\x61\x6e\x20\x22\x49"
4526 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4527 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4528 "\x22\x2e\x20\x53\x75\x63\x68\x20"
4529 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4530 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4531 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4532 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4533 "\x74\x73\x20\x69\x6e\x20\x49\x45"
4534 "\x54\x46\x20\x73\x65\x73\x73\x69"
4535 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4536 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4537 "\x77\x72\x69\x74\x74\x65\x6e\x20"
4538 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4539 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4540 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4541 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4542 "\x64\x65\x20\x61\x74\x20\x61\x6e"
4543 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4544 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4545 "\x20\x77\x68\x69\x63\x68\x20\x61"
4546 "\x72\x65\x20\x61\x64\x64\x72\x65"
4547 "\x73\x73\x65\x64\x20\x74\x6f",
4548 .psize = 407,
4549 .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
4550 "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
4551 }, { /* Test Vector #4 */
4552 .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
4553 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
4554 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
4555 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
4556 "\x27\x54\x77\x61\x73\x20\x62\x72"
4557 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
4558 "\x6e\x64\x20\x74\x68\x65\x20\x73"
4559 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
4560 "\x76\x65\x73\x0a\x44\x69\x64\x20"
4561 "\x67\x79\x72\x65\x20\x61\x6e\x64"
4562 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
4563 "\x69\x6e\x20\x74\x68\x65\x20\x77"
4564 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
4565 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
4566 "\x65\x72\x65\x20\x74\x68\x65\x20"
4567 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
4568 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
4569 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
4570 "\x72\x61\x74\x68\x73\x20\x6f\x75"
4571 "\x74\x67\x72\x61\x62\x65\x2e",
4572 .psize = 159,
4573 .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
4574 "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
4575 }, { /* Test Vector #5 */
4576 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
4577 "\x00\x00\x00\x00\x00\x00\x00\x00"
4578 "\x00\x00\x00\x00\x00\x00\x00\x00"
4579 "\x00\x00\x00\x00\x00\x00\x00\x00"
4580 "\xff\xff\xff\xff\xff\xff\xff\xff"
4581 "\xff\xff\xff\xff\xff\xff\xff\xff",
4582 .psize = 48,
4583 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
4584 "\x00\x00\x00\x00\x00\x00\x00\x00",
4585 }, { /* Test Vector #6 */
4586 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
4587 "\x00\x00\x00\x00\x00\x00\x00\x00"
4588 "\xff\xff\xff\xff\xff\xff\xff\xff"
4589 "\xff\xff\xff\xff\xff\xff\xff\xff"
4590 "\x02\x00\x00\x00\x00\x00\x00\x00"
4591 "\x00\x00\x00\x00\x00\x00\x00\x00",
4592 .psize = 48,
4593 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
4594 "\x00\x00\x00\x00\x00\x00\x00\x00",
4595 }, { /* Test Vector #7 */
4596 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
4597 "\x00\x00\x00\x00\x00\x00\x00\x00"
4598 "\x00\x00\x00\x00\x00\x00\x00\x00"
4599 "\x00\x00\x00\x00\x00\x00\x00\x00"
4600 "\xff\xff\xff\xff\xff\xff\xff\xff"
4601 "\xff\xff\xff\xff\xff\xff\xff\xff"
4602 "\xf0\xff\xff\xff\xff\xff\xff\xff"
4603 "\xff\xff\xff\xff\xff\xff\xff\xff"
4604 "\x11\x00\x00\x00\x00\x00\x00\x00"
4605 "\x00\x00\x00\x00\x00\x00\x00\x00",
4606 .psize = 80,
4607 .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
4608 "\x00\x00\x00\x00\x00\x00\x00\x00",
4609 }, { /* Test Vector #8 */
4610 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
4611 "\x00\x00\x00\x00\x00\x00\x00\x00"
4612 "\x00\x00\x00\x00\x00\x00\x00\x00"
4613 "\x00\x00\x00\x00\x00\x00\x00\x00"
4614 "\xff\xff\xff\xff\xff\xff\xff\xff"
4615 "\xff\xff\xff\xff\xff\xff\xff\xff"
4616 "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4617 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4618 "\x01\x01\x01\x01\x01\x01\x01\x01"
4619 "\x01\x01\x01\x01\x01\x01\x01\x01",
4620 .psize = 80,
4621 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
4622 "\x00\x00\x00\x00\x00\x00\x00\x00",
4623 }, { /* Test Vector #9 */
4624 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
4625 "\x00\x00\x00\x00\x00\x00\x00\x00"
4626 "\x00\x00\x00\x00\x00\x00\x00\x00"
4627 "\x00\x00\x00\x00\x00\x00\x00\x00"
4628 "\xfd\xff\xff\xff\xff\xff\xff\xff"
4629 "\xff\xff\xff\xff\xff\xff\xff\xff",
4630 .psize = 48,
4631 .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
4632 "\xff\xff\xff\xff\xff\xff\xff\xff",
4633 }, { /* Test Vector #10 */
4634 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
4635 "\x04\x00\x00\x00\x00\x00\x00\x00"
4636 "\x00\x00\x00\x00\x00\x00\x00\x00"
4637 "\x00\x00\x00\x00\x00\x00\x00\x00"
4638 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4639 "\x00\x00\x00\x00\x00\x00\x00\x00"
4640 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4641 "\x01\x00\x00\x00\x00\x00\x00\x00"
4642 "\x00\x00\x00\x00\x00\x00\x00\x00"
4643 "\x00\x00\x00\x00\x00\x00\x00\x00"
4644 "\x01\x00\x00\x00\x00\x00\x00\x00"
4645 "\x00\x00\x00\x00\x00\x00\x00\x00",
4646 .psize = 96,
4647 .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
4648 "\x55\x00\x00\x00\x00\x00\x00\x00",
4649 }, { /* Test Vector #11 */
4650 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
4651 "\x04\x00\x00\x00\x00\x00\x00\x00"
4652 "\x00\x00\x00\x00\x00\x00\x00\x00"
4653 "\x00\x00\x00\x00\x00\x00\x00\x00"
4654 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4655 "\x00\x00\x00\x00\x00\x00\x00\x00"
4656 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4657 "\x01\x00\x00\x00\x00\x00\x00\x00"
4658 "\x00\x00\x00\x00\x00\x00\x00\x00"
4659 "\x00\x00\x00\x00\x00\x00\x00\x00",
4660 .psize = 80,
4661 .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
4662 "\x00\x00\x00\x00\x00\x00\x00\x00",
4663 }, { /* Regression test for overflow in AVX2 implementation */
4664 .plaintext = "\xff\xff\xff\xff\xff\xff\xff\xff"
4665 "\xff\xff\xff\xff\xff\xff\xff\xff"
4666 "\xff\xff\xff\xff\xff\xff\xff\xff"
4667 "\xff\xff\xff\xff\xff\xff\xff\xff"
4668 "\xff\xff\xff\xff\xff\xff\xff\xff"
4669 "\xff\xff\xff\xff\xff\xff\xff\xff"
4670 "\xff\xff\xff\xff\xff\xff\xff\xff"
4671 "\xff\xff\xff\xff\xff\xff\xff\xff"
4672 "\xff\xff\xff\xff\xff\xff\xff\xff"
4673 "\xff\xff\xff\xff\xff\xff\xff\xff"
4674 "\xff\xff\xff\xff\xff\xff\xff\xff"
4675 "\xff\xff\xff\xff\xff\xff\xff\xff"
4676 "\xff\xff\xff\xff\xff\xff\xff\xff"
4677 "\xff\xff\xff\xff\xff\xff\xff\xff"
4678 "\xff\xff\xff\xff\xff\xff\xff\xff"
4679 "\xff\xff\xff\xff\xff\xff\xff\xff"
4680 "\xff\xff\xff\xff\xff\xff\xff\xff"
4681 "\xff\xff\xff\xff\xff\xff\xff\xff"
4682 "\xff\xff\xff\xff\xff\xff\xff\xff"
4683 "\xff\xff\xff\xff\xff\xff\xff\xff"
4684 "\xff\xff\xff\xff\xff\xff\xff\xff"
4685 "\xff\xff\xff\xff\xff\xff\xff\xff"
4686 "\xff\xff\xff\xff\xff\xff\xff\xff"
4687 "\xff\xff\xff\xff\xff\xff\xff\xff"
4688 "\xff\xff\xff\xff\xff\xff\xff\xff"
4689 "\xff\xff\xff\xff\xff\xff\xff\xff"
4690 "\xff\xff\xff\xff\xff\xff\xff\xff"
4691 "\xff\xff\xff\xff\xff\xff\xff\xff"
4692 "\xff\xff\xff\xff\xff\xff\xff\xff"
4693 "\xff\xff\xff\xff\xff\xff\xff\xff"
4694 "\xff\xff\xff\xff\xff\xff\xff\xff"
4695 "\xff\xff\xff\xff\xff\xff\xff\xff"
4696 "\xff\xff\xff\xff\xff\xff\xff\xff"
4697 "\xff\xff\xff\xff\xff\xff\xff\xff"
4698 "\xff\xff\xff\xff\xff\xff\xff\xff"
4699 "\xff\xff\xff\xff\xff\xff\xff\xff"
4700 "\xff\xff\xff\xff\xff\xff\xff\xff"
4701 "\xff\xff\xff\xff",
4702 .psize = 300,
4703 .digest = "\xfb\x5e\x96\xd8\x61\xd5\xc7\xc8"
4704 "\x78\xe5\x87\xcc\x2d\x5a\x22\xe1",
4709 * DES test vectors.
4711 static const struct cipher_testvec des_enc_tv_template[] = {
4712 { /* From Applied Cryptography */
4713 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4714 .klen = 8,
4715 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4716 .ilen = 8,
4717 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4718 .rlen = 8,
4719 }, { /* Same key, different plaintext block */
4720 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4721 .klen = 8,
4722 .input = "\x22\x33\x44\x55\x66\x77\x88\x99",
4723 .ilen = 8,
4724 .result = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4725 .rlen = 8,
4726 }, { /* Sbox test from NBS */
4727 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4728 .klen = 8,
4729 .input = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4730 .ilen = 8,
4731 .result = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4732 .rlen = 8,
4733 }, { /* Three blocks */
4734 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4735 .klen = 8,
4736 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4737 "\x22\x33\x44\x55\x66\x77\x88\x99"
4738 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4739 .ilen = 24,
4740 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4741 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4742 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4743 .rlen = 24,
4744 }, { /* Weak key */
4745 .fail = true,
4746 .wk = 1,
4747 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
4748 .klen = 8,
4749 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4750 .ilen = 8,
4751 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4752 .rlen = 8,
4753 }, { /* Two blocks -- for testing encryption across pages */
4754 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4755 .klen = 8,
4756 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4757 "\x22\x33\x44\x55\x66\x77\x88\x99",
4758 .ilen = 16,
4759 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4760 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4761 .rlen = 16,
4762 .np = 2,
4763 .tap = { 8, 8 }
4764 }, { /* Four blocks -- for testing encryption with chunking */
4765 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4766 .klen = 8,
4767 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4768 "\x22\x33\x44\x55\x66\x77\x88\x99"
4769 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
4770 "\x22\x33\x44\x55\x66\x77\x88\x99",
4771 .ilen = 32,
4772 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4773 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4774 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
4775 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4776 .rlen = 32,
4777 .np = 3,
4778 .tap = { 14, 10, 8 }
4779 }, {
4780 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4781 .klen = 8,
4782 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4783 "\x22\x33\x44\x55\x66\x77\x88\x99"
4784 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4785 .ilen = 24,
4786 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4787 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4788 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4789 .rlen = 24,
4790 .np = 4,
4791 .tap = { 2, 1, 3, 18 }
4792 }, {
4793 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4794 .klen = 8,
4795 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4796 "\x22\x33\x44\x55\x66\x77\x88\x99",
4797 .ilen = 16,
4798 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4799 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4800 .rlen = 16,
4801 .np = 5,
4802 .tap = { 2, 2, 2, 2, 8 }
4803 }, {
4804 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4805 .klen = 8,
4806 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4807 .ilen = 8,
4808 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4809 .rlen = 8,
4810 .np = 8,
4811 .tap = { 1, 1, 1, 1, 1, 1, 1, 1 }
4812 }, { /* Generated with Crypto++ */
4813 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4814 .klen = 8,
4815 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4816 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4817 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4818 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4819 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4820 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4821 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4822 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4823 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4824 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4825 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4826 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4827 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4828 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4829 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4830 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4831 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4832 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4833 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4834 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4835 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4836 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4837 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4838 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4839 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4840 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4841 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4842 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4843 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4844 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4845 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4846 .ilen = 248,
4847 .result = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4848 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4849 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4850 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4851 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4852 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4853 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4854 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4855 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4856 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4857 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4858 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4859 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4860 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4861 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4862 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4863 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4864 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4865 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4866 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4867 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4868 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4869 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4870 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4871 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4872 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4873 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4874 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4875 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4876 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4877 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4878 .rlen = 248,
4879 .also_non_np = 1,
4880 .np = 3,
4881 .tap = { 248 - 10, 2, 8 },
4885 static const struct cipher_testvec des_dec_tv_template[] = {
4886 { /* From Applied Cryptography */
4887 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4888 .klen = 8,
4889 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4890 .ilen = 8,
4891 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4892 .rlen = 8,
4893 }, { /* Sbox test from NBS */
4894 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4895 .klen = 8,
4896 .input = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4897 .ilen = 8,
4898 .result = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4899 .rlen = 8,
4900 }, { /* Two blocks, for chunking test */
4901 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4902 .klen = 8,
4903 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4904 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4905 .ilen = 16,
4906 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4907 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4908 .rlen = 16,
4909 .np = 2,
4910 .tap = { 8, 8 }
4911 }, {
4912 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4913 .klen = 8,
4914 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4915 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4916 .ilen = 16,
4917 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4918 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4919 .rlen = 16,
4920 .np = 3,
4921 .tap = { 3, 12, 1 }
4922 }, { /* Generated with Crypto++ */
4923 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4924 .klen = 8,
4925 .input = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4926 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4927 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4928 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4929 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4930 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4931 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4932 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4933 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4934 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4935 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4936 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4937 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4938 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4939 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4940 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4941 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4942 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4943 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4944 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4945 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4946 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4947 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4948 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4949 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4950 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4951 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4952 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4953 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4954 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4955 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4956 .ilen = 248,
4957 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4958 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4959 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4960 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4961 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4962 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4963 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4964 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4965 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4966 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4967 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4968 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4969 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4970 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4971 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4972 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4973 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4974 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4975 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4976 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4977 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4978 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4979 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4980 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4981 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4982 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4983 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4984 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4985 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4986 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4987 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4988 .rlen = 248,
4989 .also_non_np = 1,
4990 .np = 3,
4991 .tap = { 248 - 10, 2, 8 },
4995 static const struct cipher_testvec des_cbc_enc_tv_template[] = {
4996 { /* From OpenSSL */
4997 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4998 .klen = 8,
4999 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5000 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
5001 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5002 "\x68\x65\x20\x74\x69\x6d\x65\x20",
5003 .ilen = 24,
5004 .result = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5005 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5006 "\x46\x8e\x91\x15\x78\x88\xba\x68",
5007 .rlen = 24,
5008 }, { /* FIPS Pub 81 */
5009 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5010 .klen = 8,
5011 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
5012 .input = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5013 .ilen = 8,
5014 .result = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5015 .rlen = 8,
5016 }, {
5017 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5018 .klen = 8,
5019 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5020 .input = "\x68\x65\x20\x74\x69\x6d\x65\x20",
5021 .ilen = 8,
5022 .result = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5023 .rlen = 8,
5024 }, {
5025 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5026 .klen = 8,
5027 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5028 .input = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5029 .ilen = 8,
5030 .result = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5031 .rlen = 8,
5032 }, { /* Copy of openssl vector for chunk testing */
5033 /* From OpenSSL */
5034 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5035 .klen = 8,
5036 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5037 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
5038 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5039 "\x68\x65\x20\x74\x69\x6d\x65\x20",
5040 .ilen = 24,
5041 .result = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5042 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5043 "\x46\x8e\x91\x15\x78\x88\xba\x68",
5044 .rlen = 24,
5045 .np = 2,
5046 .tap = { 13, 11 }
5047 }, { /* Generated with Crypto++ */
5048 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5049 .klen = 8,
5050 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5051 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5052 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5053 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5054 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5055 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5056 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5057 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5058 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5059 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5060 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5061 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5062 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5063 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5064 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5065 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5066 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5067 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5068 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5069 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5070 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5071 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5072 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5073 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5074 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5075 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5076 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5077 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5078 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5079 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5080 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5081 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5082 .ilen = 248,
5083 .result = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5084 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5085 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5086 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5087 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5088 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5089 "\x81\x72\x74\xDE\x30\x19\x69\x49"
5090 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5091 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5092 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5093 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5094 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5095 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5096 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5097 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5098 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5099 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5100 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5101 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5102 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5103 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5104 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5105 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5106 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5107 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5108 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5109 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5110 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5111 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5112 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5113 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5114 .rlen = 248,
5115 .also_non_np = 1,
5116 .np = 3,
5117 .tap = { 248 - 10, 2, 8 },
5121 static const struct cipher_testvec des_cbc_dec_tv_template[] = {
5122 { /* FIPS Pub 81 */
5123 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5124 .klen = 8,
5125 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
5126 .input = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5127 .ilen = 8,
5128 .result = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5129 .rlen = 8,
5130 }, {
5131 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5132 .klen = 8,
5133 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5134 .input = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5135 .ilen = 8,
5136 .result = "\x68\x65\x20\x74\x69\x6d\x65\x20",
5137 .rlen = 8,
5138 }, {
5139 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5140 .klen = 8,
5141 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5142 .input = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5143 .ilen = 8,
5144 .result = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5145 .rlen = 8,
5146 }, { /* Copy of above, for chunk testing */
5147 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5148 .klen = 8,
5149 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5150 .input = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5151 .ilen = 8,
5152 .result = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5153 .rlen = 8,
5154 .np = 2,
5155 .tap = { 4, 4 }
5156 }, { /* Generated with Crypto++ */
5157 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5158 .klen = 8,
5159 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5160 .input = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5161 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5162 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5163 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5164 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5165 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5166 "\x81\x72\x74\xDE\x30\x19\x69\x49"
5167 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5168 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5169 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5170 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5171 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5172 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5173 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5174 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5175 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5176 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5177 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5178 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5179 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5180 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5181 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5182 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5183 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5184 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5185 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5186 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5187 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5188 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5189 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5190 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5191 .ilen = 248,
5192 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5193 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5194 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5195 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5196 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5197 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5198 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5199 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5200 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5201 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5202 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5203 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5204 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5205 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5206 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5207 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5208 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5209 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5210 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5211 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5212 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5213 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5214 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5215 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5216 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5217 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5218 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5219 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5220 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5221 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5222 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5223 .rlen = 248,
5224 .also_non_np = 1,
5225 .np = 3,
5226 .tap = { 248 - 10, 2, 8 },
5230 static const struct cipher_testvec des_ctr_enc_tv_template[] = {
5231 { /* Generated with Crypto++ */
5232 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5233 .klen = 8,
5234 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5235 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5236 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5237 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5238 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5239 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5240 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5241 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5242 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5243 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5244 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5245 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5246 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5247 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5248 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5249 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5250 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5251 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5252 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5253 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5254 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5255 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5256 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5257 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5258 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5259 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5260 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5261 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5262 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5263 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5264 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5265 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5266 .ilen = 248,
5267 .result = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5268 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5269 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5270 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5271 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5272 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5273 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5274 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5275 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5276 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5277 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5278 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5279 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5280 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5281 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5282 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5283 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5284 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5285 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5286 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5287 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5288 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5289 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5290 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5291 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5292 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5293 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5294 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5295 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5296 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5297 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5298 .rlen = 248,
5299 .also_non_np = 1,
5300 .np = 3,
5301 .tap = { 248 - 10, 2, 8 },
5302 }, { /* Generated with Crypto++ */
5303 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5304 .klen = 8,
5305 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5306 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5307 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5308 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5309 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5310 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5311 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5312 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5313 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5314 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5315 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5316 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5317 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5318 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5319 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5320 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5321 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5322 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5323 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5324 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5325 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5326 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5327 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5328 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5329 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5330 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5331 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5332 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5333 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5334 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5335 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5336 "\xC6\x2F\xBB\x24\x8D\x19\x82",
5337 .ilen = 247,
5338 .result = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5339 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5340 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5341 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5342 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5343 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5344 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5345 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5346 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5347 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5348 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5349 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5350 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5351 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5352 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5353 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5354 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5355 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5356 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5357 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5358 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5359 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5360 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5361 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5362 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5363 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5364 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5365 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5366 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5367 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5368 "\x91\x45\x05\x3E\x58\xBF\x32",
5369 .rlen = 247,
5370 .also_non_np = 1,
5371 .np = 2,
5372 .tap = { 247 - 8, 8 },
5376 static const struct cipher_testvec des_ctr_dec_tv_template[] = {
5377 { /* Generated with Crypto++ */
5378 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5379 .klen = 8,
5380 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5381 .input = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5382 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5383 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5384 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5385 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5386 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5387 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5388 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5389 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5390 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5391 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5392 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5393 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5394 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5395 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5396 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5397 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5398 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5399 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5400 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5401 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5402 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5403 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5404 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5405 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5406 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5407 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5408 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5409 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5410 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5411 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5412 .ilen = 248,
5413 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5414 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5415 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5416 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5417 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5418 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5419 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5420 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5421 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5422 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5423 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5424 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5425 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5426 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5427 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5428 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5429 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5430 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5431 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5432 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5433 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5434 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5435 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5436 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5437 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5438 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5439 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5440 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5441 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5442 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5443 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5444 .rlen = 248,
5445 .also_non_np = 1,
5446 .np = 3,
5447 .tap = { 248 - 10, 2, 8 },
5448 }, { /* Generated with Crypto++ */
5449 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5450 .klen = 8,
5451 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5452 .input = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5453 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5454 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5455 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5456 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5457 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5458 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5459 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5460 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5461 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5462 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5463 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5464 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5465 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5466 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5467 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5468 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5469 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5470 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5471 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5472 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5473 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5474 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5475 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5476 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5477 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5478 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5479 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5480 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5481 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5482 "\x91\x45\x05\x3E\x58\xBF\x32",
5483 .ilen = 247,
5484 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5485 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5486 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5487 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5488 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5489 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5490 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5491 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5492 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5493 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5494 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5495 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5496 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5497 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5498 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5499 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5500 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5501 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5502 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5503 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5504 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5505 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5506 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5507 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5508 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5509 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5510 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5511 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5512 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5513 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5514 "\xC6\x2F\xBB\x24\x8D\x19\x82",
5515 .rlen = 247,
5516 .also_non_np = 1,
5517 .np = 2,
5518 .tap = { 247 - 8, 8 },
5522 static const struct cipher_testvec des3_ede_enc_tv_template[] = {
5523 { /* These are from openssl */
5524 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5525 "\x55\x55\x55\x55\x55\x55\x55\x55"
5526 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5527 .klen = 24,
5528 .input = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5529 .ilen = 8,
5530 .result = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5531 .rlen = 8,
5532 }, {
5533 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
5534 "\x86\x02\x87\x66\x59\x08\x21\x98"
5535 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5536 .klen = 24,
5537 .input = "\x73\x71\x75\x69\x67\x67\x6c\x65",
5538 .ilen = 8,
5539 .result = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5540 .rlen = 8,
5541 }, {
5542 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
5543 "\x91\x07\xd0\x15\x89\x19\x01\x01"
5544 "\x19\x07\x92\x10\x98\x1a\x01\x01",
5545 .klen = 24,
5546 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
5547 .ilen = 8,
5548 .result = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5549 .rlen = 8,
5550 }, { /* Generated with Crypto++ */
5551 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5552 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5553 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5554 .klen = 24,
5555 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5556 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5557 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5558 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5559 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5560 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5561 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5562 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5563 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5564 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5565 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5566 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5567 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5568 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5569 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5570 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5571 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5572 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5573 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5574 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5575 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5576 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5577 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5578 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5579 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5580 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5581 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5582 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5583 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5584 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5585 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5586 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5587 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5588 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5589 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5590 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5591 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5592 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5593 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5594 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5595 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5596 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5597 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5598 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5599 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5600 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5601 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5602 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5603 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5604 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5605 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5606 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5607 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5608 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5609 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5610 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5611 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5612 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5613 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5614 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5615 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5616 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5617 .ilen = 496,
5618 .result = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5619 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5620 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5621 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5622 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5623 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5624 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5625 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5626 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5627 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5628 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5629 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5630 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5631 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5632 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5633 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5634 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5635 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5636 "\x45\x86\x50\x01\x70\x35\x99\x92"
5637 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5638 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5639 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5640 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5641 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5642 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5643 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5644 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5645 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5646 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5647 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5648 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5649 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5650 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5651 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5652 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5653 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5654 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5655 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5656 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5657 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5658 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5659 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5660 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5661 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5662 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5663 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5664 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5665 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5666 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5667 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5668 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5669 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5670 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5671 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5672 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5673 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5674 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5675 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5676 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5677 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5678 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5679 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5680 .rlen = 496,
5681 .also_non_np = 1,
5682 .np = 3,
5683 .tap = { 496 - 20, 4, 16 },
5687 static const struct cipher_testvec des3_ede_dec_tv_template[] = {
5688 { /* These are from openssl */
5689 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5690 "\x55\x55\x55\x55\x55\x55\x55\x55"
5691 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5692 .klen = 24,
5693 .input = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5694 .ilen = 8,
5695 .result = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5696 .rlen = 8,
5697 }, {
5698 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
5699 "\x86\x02\x87\x66\x59\x08\x21\x98"
5700 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5701 .klen = 24,
5702 .input = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5703 .ilen = 8,
5704 .result = "\x73\x71\x75\x69\x67\x67\x6c\x65",
5705 .rlen = 8,
5706 }, {
5707 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
5708 "\x91\x07\xd0\x15\x89\x19\x01\x01"
5709 "\x19\x07\x92\x10\x98\x1a\x01\x01",
5710 .klen = 24,
5711 .input = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5712 .ilen = 8,
5713 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
5714 .rlen = 8,
5715 }, { /* Generated with Crypto++ */
5716 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5717 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5718 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5719 .klen = 24,
5720 .input = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5721 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5722 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5723 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5724 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5725 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5726 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5727 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5728 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5729 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5730 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5731 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5732 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5733 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5734 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5735 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5736 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5737 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5738 "\x45\x86\x50\x01\x70\x35\x99\x92"
5739 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5740 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5741 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5742 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5743 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5744 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5745 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5746 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5747 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5748 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5749 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5750 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5751 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5752 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5753 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5754 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5755 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5756 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5757 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5758 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5759 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5760 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5761 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5762 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5763 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5764 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5765 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5766 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5767 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5768 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5769 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5770 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5771 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5772 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5773 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5774 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5775 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5776 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5777 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5778 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5779 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5780 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5781 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5782 .ilen = 496,
5783 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5784 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5785 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5786 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5787 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5788 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5789 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5790 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5791 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5792 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5793 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5794 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5795 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5796 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5797 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5798 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5799 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5800 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5801 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5802 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5803 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5804 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5805 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5806 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5807 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5808 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5809 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5810 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5811 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5812 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5813 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5814 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5815 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5816 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5817 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5818 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5819 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5820 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5821 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5822 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5823 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5824 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5825 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5826 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5827 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5828 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5829 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5830 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5831 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5832 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5833 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5834 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5835 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5836 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5837 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5838 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5839 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5840 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5841 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5842 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5843 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5844 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5845 .rlen = 496,
5846 .also_non_np = 1,
5847 .np = 3,
5848 .tap = { 496 - 20, 4, 16 },
5852 static const struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
5853 { /* Generated from openssl */
5854 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5855 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5856 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5857 .klen = 24,
5858 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5859 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5860 "\x53\x20\x63\x65\x65\x72\x73\x74"
5861 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5862 "\x20\x79\x65\x53\x72\x63\x74\x65"
5863 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5864 "\x79\x6e\x53\x20\x63\x65\x65\x72"
5865 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5866 "\x6e\x61\x20\x79\x65\x53\x72\x63"
5867 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5868 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5869 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5870 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5871 "\x72\x63\x74\x65\x20\x73\x6f\x54"
5872 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5873 "\x63\x65\x65\x72\x73\x74\x54\x20"
5874 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5875 .ilen = 128,
5876 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5877 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5878 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5879 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5880 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5881 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5882 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5883 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5884 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5885 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5886 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5887 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5888 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5889 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5890 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5891 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5892 .rlen = 128,
5893 }, { /* Generated with Crypto++ */
5894 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5895 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5896 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5897 .klen = 24,
5898 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5899 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5900 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5901 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5902 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5903 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5904 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5905 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5906 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5907 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5908 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5909 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5910 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5911 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5912 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5913 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5914 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5915 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5916 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5917 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5918 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5919 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5920 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5921 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5922 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5923 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5924 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5925 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5926 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5927 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5928 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5929 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5930 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5931 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5932 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5933 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5934 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5935 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5936 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5937 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5938 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5939 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5940 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5941 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5942 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5943 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5944 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5945 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5946 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5947 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5948 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5949 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5950 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5951 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5952 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5953 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5954 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5955 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5956 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5957 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5958 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5959 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5960 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5961 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5962 .ilen = 496,
5963 .result = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5964 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5965 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5966 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5967 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5968 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5969 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5970 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5971 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5972 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5973 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5974 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5975 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5976 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5977 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5978 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5979 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5980 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5981 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5982 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5983 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5984 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5985 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5986 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5987 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5988 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5989 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5990 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5991 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5992 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5993 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5994 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5995 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5996 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5997 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5998 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5999 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6000 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6001 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6002 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6003 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6004 "\x73\x50\x08\x56\x20\x9B\x94\x23"
6005 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6006 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6007 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6008 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6009 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6010 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6011 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6012 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6013 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6014 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6015 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6016 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6017 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6018 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6019 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6020 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6021 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6022 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6023 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6024 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6025 .rlen = 496,
6026 .also_non_np = 1,
6027 .np = 3,
6028 .tap = { 496 - 20, 4, 16 },
6032 static const struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
6033 { /* Generated from openssl */
6034 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
6035 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
6036 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
6037 .klen = 24,
6038 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
6039 .input = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
6040 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
6041 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
6042 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
6043 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
6044 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
6045 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
6046 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
6047 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
6048 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
6049 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
6050 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
6051 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
6052 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
6053 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
6054 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
6055 .ilen = 128,
6056 .result = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
6057 "\x53\x20\x63\x65\x65\x72\x73\x74"
6058 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
6059 "\x20\x79\x65\x53\x72\x63\x74\x65"
6060 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
6061 "\x79\x6e\x53\x20\x63\x65\x65\x72"
6062 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
6063 "\x6e\x61\x20\x79\x65\x53\x72\x63"
6064 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
6065 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
6066 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
6067 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
6068 "\x72\x63\x74\x65\x20\x73\x6f\x54"
6069 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
6070 "\x63\x65\x65\x72\x73\x74\x54\x20"
6071 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
6072 .rlen = 128,
6073 }, { /* Generated with Crypto++ */
6074 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6075 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6076 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6077 .klen = 24,
6078 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6079 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6080 .input = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
6081 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
6082 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
6083 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
6084 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
6085 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
6086 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
6087 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
6088 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
6089 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
6090 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
6091 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
6092 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
6093 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
6094 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
6095 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
6096 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
6097 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
6098 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
6099 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
6100 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
6101 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
6102 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
6103 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
6104 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
6105 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
6106 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
6107 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
6108 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
6109 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
6110 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
6111 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
6112 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
6113 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
6114 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
6115 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
6116 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6117 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6118 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6119 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6120 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6121 "\x73\x50\x08\x56\x20\x9B\x94\x23"
6122 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6123 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6124 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6125 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6126 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6127 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6128 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6129 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6130 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6131 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6132 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6133 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6134 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6135 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6136 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6137 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6138 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6139 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6140 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6141 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6142 .ilen = 496,
6143 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6144 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6145 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6146 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6147 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6148 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6149 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6150 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6151 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6152 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6153 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6154 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6155 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6156 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6157 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6158 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6159 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6160 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6161 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6162 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6163 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6164 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6165 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6166 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6167 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6168 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6169 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6170 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6171 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6172 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6173 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6174 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6175 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6176 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6177 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6178 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6179 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6180 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6181 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6182 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6183 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6184 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6185 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6186 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6187 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6188 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6189 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6190 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6191 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6192 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6193 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6194 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6195 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6196 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6197 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6198 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6199 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6200 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6201 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6202 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6203 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6204 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6205 .rlen = 496,
6206 .also_non_np = 1,
6207 .np = 3,
6208 .tap = { 496 - 20, 4, 16 },
6212 static const struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
6213 { /* Generated with Crypto++ */
6214 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6215 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6216 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6217 .klen = 24,
6218 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6219 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6220 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6221 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6222 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6223 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6224 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6225 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6226 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6227 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6228 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6229 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6230 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6231 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6232 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6233 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6234 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6235 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6236 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6237 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6238 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6239 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6240 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6241 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6242 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6243 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6244 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6245 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6246 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6247 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6248 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6249 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6250 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6251 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6252 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6253 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6254 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6255 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6256 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6257 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6258 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6259 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6260 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6261 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6262 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6263 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6264 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6265 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6266 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6267 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6268 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6269 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6270 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6271 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6272 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6273 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6274 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6275 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6276 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6277 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6278 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6279 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6280 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6281 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6282 .ilen = 496,
6283 .result = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6284 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6285 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6286 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6287 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6288 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6289 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6290 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6291 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6292 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6293 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6294 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6295 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6296 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6297 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6298 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6299 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6300 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6301 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6302 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6303 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6304 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6305 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6306 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6307 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6308 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6309 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6310 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6311 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6312 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6313 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6314 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6315 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6316 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6317 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6318 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6319 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6320 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6321 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6322 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6323 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6324 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6325 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6326 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6327 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6328 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6329 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6330 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6331 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6332 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6333 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6334 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6335 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6336 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6337 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6338 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6339 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6340 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6341 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6342 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6343 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6344 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6345 .rlen = 496,
6346 .also_non_np = 1,
6347 .np = 3,
6348 .tap = { 496 - 20, 4, 16 },
6349 }, { /* Generated with Crypto++ */
6350 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6351 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6352 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6353 .klen = 24,
6354 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6355 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6356 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6357 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6358 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6359 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6360 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6361 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6362 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6363 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6364 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6365 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6366 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6367 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6368 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6369 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6370 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6371 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6372 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6373 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6374 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6375 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6376 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6377 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6378 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6379 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6380 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6381 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6382 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6383 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6384 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6385 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6386 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6387 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6388 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6389 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6390 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6391 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6392 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6393 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6394 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6395 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6396 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6397 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6398 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6399 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6400 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6401 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6402 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6403 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6404 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6405 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6406 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6407 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6408 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6409 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6410 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6411 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6412 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6413 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6414 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6415 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6416 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6417 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6418 "\x2E\xB1\x18",
6419 .ilen = 499,
6420 .result = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6421 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6422 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6423 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6424 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6425 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6426 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6427 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6428 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6429 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6430 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6431 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6432 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6433 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6434 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6435 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6436 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6437 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6438 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6439 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6440 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6441 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6442 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6443 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6444 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6445 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6446 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6447 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6448 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6449 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6450 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6451 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6452 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6453 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6454 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6455 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6456 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6457 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6458 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6459 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6460 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6461 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6462 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6463 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6464 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6465 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6466 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6467 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6468 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6469 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6470 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6471 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6472 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6473 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6474 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6475 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6476 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6477 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6478 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6479 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6480 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6481 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6482 "\xF2\x79\xD9",
6483 .rlen = 499,
6484 .also_non_np = 1,
6485 .np = 2,
6486 .tap = { 499 - 16, 16 },
6490 static const struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
6491 { /* Generated with Crypto++ */
6492 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6493 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6494 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6495 .klen = 24,
6496 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6497 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6498 .input = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6499 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6500 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6501 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6502 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6503 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6504 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6505 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6506 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6507 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6508 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6509 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6510 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6511 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6512 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6513 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6514 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6515 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6516 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6517 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6518 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6519 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6520 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6521 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6522 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6523 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6524 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6525 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6526 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6527 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6528 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6529 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6530 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6531 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6532 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6533 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6534 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6535 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6536 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6537 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6538 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6539 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6540 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6541 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6542 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6543 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6544 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6545 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6546 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6547 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6548 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6549 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6550 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6551 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6552 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6553 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6554 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6555 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6556 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6557 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6558 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6559 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6560 .ilen = 496,
6561 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6562 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6563 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6564 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6565 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6566 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6567 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6568 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6569 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6570 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6571 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6572 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6573 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6574 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6575 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6576 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6577 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6578 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6579 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6580 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6581 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6582 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6583 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6584 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6585 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6586 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6587 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6588 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6589 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6590 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6591 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6592 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6593 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6594 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6595 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6596 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6597 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6598 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6599 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6600 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6601 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6602 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6603 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6604 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6605 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6606 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6607 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6608 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6609 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6610 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6611 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6612 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6613 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6614 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6615 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6616 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6617 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6618 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6619 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6620 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6621 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6622 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6623 .rlen = 496,
6624 .also_non_np = 1,
6625 .np = 3,
6626 .tap = { 496 - 20, 4, 16 },
6627 }, { /* Generated with Crypto++ */
6628 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6629 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6630 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6631 .klen = 24,
6632 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6633 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6634 .input = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6635 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6636 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6637 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6638 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6639 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6640 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6641 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6642 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6643 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6644 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6645 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6646 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6647 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6648 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6649 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6650 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6651 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6652 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6653 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6654 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6655 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6656 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6657 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6658 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6659 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6660 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6661 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6662 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6663 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6664 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6665 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6666 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6667 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6668 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6669 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6670 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6671 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6672 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6673 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6674 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6675 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6676 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6677 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6678 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6679 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6680 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6681 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6682 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6683 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6684 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6685 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6686 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6687 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6688 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6689 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6690 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6691 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6692 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6693 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6694 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6695 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6696 "\xF2\x79\xD9",
6697 .ilen = 499,
6698 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6699 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6700 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6701 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6702 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6703 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6704 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6705 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6706 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6707 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6708 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6709 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6710 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6711 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6712 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6713 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6714 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6715 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6716 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6717 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6718 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6719 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6720 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6721 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6722 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6723 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6724 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6725 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6726 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6727 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6728 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6729 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6730 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6731 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6732 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6733 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6734 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6735 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6736 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6737 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6738 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6739 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6740 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6741 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6742 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6743 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6744 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6745 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6746 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6747 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6748 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6749 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6750 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6751 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6752 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6753 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6754 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6755 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6756 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6757 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6758 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6759 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6760 "\x2E\xB1\x18",
6761 .rlen = 499,
6762 .also_non_np = 1,
6763 .np = 2,
6764 .tap = { 499 - 16, 16 },
6769 * Blowfish test vectors.
6771 static const struct cipher_testvec bf_enc_tv_template[] = {
6772 { /* DES test vectors from OpenSSL */
6773 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
6774 .klen = 8,
6775 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
6776 .ilen = 8,
6777 .result = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6778 .rlen = 8,
6779 }, {
6780 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6781 .klen = 8,
6782 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
6783 .ilen = 8,
6784 .result = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6785 .rlen = 8,
6786 }, {
6787 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6788 .klen = 8,
6789 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6790 .ilen = 8,
6791 .result = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6792 .rlen = 8,
6793 }, { /* Vary the keylength... */
6794 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6795 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6796 .klen = 16,
6797 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6798 .ilen = 8,
6799 .result = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6800 .rlen = 8,
6801 }, {
6802 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6803 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6804 "\x00\x11\x22\x33\x44",
6805 .klen = 21,
6806 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6807 .ilen = 8,
6808 .result = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6809 .rlen = 8,
6810 }, { /* Generated with bf488 */
6811 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6812 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6813 "\x00\x11\x22\x33\x44\x55\x66\x77"
6814 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6815 "\x58\x40\x23\x64\x1a\xba\x61\x76"
6816 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6817 "\xff\xff\xff\xff\xff\xff\xff\xff",
6818 .klen = 56,
6819 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6820 .ilen = 8,
6821 .result = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6822 .rlen = 8,
6823 }, { /* Generated with Crypto++ */
6824 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6825 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6826 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6827 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6828 .klen = 32,
6829 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6830 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6831 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6832 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6833 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6834 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6835 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6836 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6837 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6838 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6839 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6840 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6841 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6842 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6843 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6844 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6845 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6846 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6847 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6848 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6849 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6850 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6851 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6852 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6853 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6854 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6855 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6856 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6857 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6858 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6859 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6860 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6861 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6862 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6863 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6864 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6865 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6866 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6867 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6868 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6869 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6870 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6871 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6872 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6873 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6874 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6875 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6876 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6877 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6878 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6879 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6880 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6881 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6882 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6883 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6884 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6885 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6886 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6887 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6888 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6889 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6890 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6891 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6892 .ilen = 504,
6893 .result = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6894 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6895 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6896 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6897 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6898 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6899 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6900 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6901 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6902 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6903 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6904 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6905 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6906 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6907 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6908 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6909 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6910 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6911 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6912 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6913 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6914 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6915 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6916 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6917 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6918 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6919 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6920 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6921 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6922 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6923 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6924 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6925 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6926 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6927 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6928 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6929 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6930 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6931 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6932 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6933 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6934 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6935 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6936 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6937 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6938 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6939 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6940 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6941 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6942 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6943 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6944 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6945 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6946 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6947 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6948 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6949 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6950 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6951 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6952 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6953 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6954 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6955 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6956 .rlen = 504,
6957 .also_non_np = 1,
6958 .np = 3,
6959 .tap = { 504 - 10, 2, 8 },
6963 static const struct cipher_testvec bf_dec_tv_template[] = {
6964 { /* DES test vectors from OpenSSL */
6965 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
6966 .klen = 8,
6967 .input = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6968 .ilen = 8,
6969 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
6970 .rlen = 8,
6971 }, {
6972 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6973 .klen = 8,
6974 .input = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6975 .ilen = 8,
6976 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
6977 .rlen = 8,
6978 }, {
6979 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6980 .klen = 8,
6981 .input = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6982 .ilen = 8,
6983 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6984 .rlen = 8,
6985 }, { /* Vary the keylength... */
6986 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6987 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6988 .klen = 16,
6989 .input = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6990 .ilen = 8,
6991 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6992 .rlen = 8,
6993 }, {
6994 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6995 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6996 "\x00\x11\x22\x33\x44",
6997 .klen = 21,
6998 .input = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6999 .ilen = 8,
7000 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7001 .rlen = 8,
7002 }, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
7003 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
7004 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
7005 "\x00\x11\x22\x33\x44\x55\x66\x77"
7006 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
7007 "\x58\x40\x23\x64\x1a\xba\x61\x76"
7008 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
7009 "\xff\xff\xff\xff\xff\xff\xff\xff",
7010 .klen = 56,
7011 .input = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
7012 .ilen = 8,
7013 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7014 .rlen = 8,
7015 }, { /* Generated with Crypto++ */
7016 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7017 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7018 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7019 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7020 .klen = 32,
7021 .input = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
7022 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
7023 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
7024 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
7025 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
7026 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
7027 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
7028 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
7029 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
7030 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
7031 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
7032 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
7033 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
7034 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
7035 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
7036 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
7037 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
7038 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
7039 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
7040 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
7041 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
7042 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
7043 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
7044 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
7045 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
7046 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
7047 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
7048 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
7049 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
7050 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
7051 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
7052 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
7053 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
7054 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
7055 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
7056 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
7057 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
7058 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
7059 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
7060 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
7061 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
7062 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
7063 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
7064 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
7065 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
7066 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
7067 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
7068 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
7069 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
7070 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
7071 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
7072 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
7073 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
7074 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
7075 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
7076 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
7077 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
7078 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
7079 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
7080 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
7081 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
7082 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
7083 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
7084 .ilen = 504,
7085 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7086 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7087 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7088 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7089 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7090 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7091 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7092 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7093 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7094 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7095 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7096 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7097 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7098 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7099 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7100 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7101 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7102 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7103 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7104 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7105 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7106 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7107 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7108 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7109 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7110 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7111 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7112 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7113 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7114 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7115 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7116 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7117 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7118 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7119 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7120 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7121 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7122 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7123 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7124 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7125 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7126 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7127 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7128 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7129 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7130 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7131 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7132 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7133 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7134 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7135 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7136 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7137 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7138 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7139 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7140 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7141 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7142 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7143 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7144 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7145 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7146 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7147 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7148 .rlen = 504,
7149 .also_non_np = 1,
7150 .np = 3,
7151 .tap = { 504 - 10, 2, 8 },
7155 static const struct cipher_testvec bf_cbc_enc_tv_template[] = {
7156 { /* From OpenSSL */
7157 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
7158 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7159 .klen = 16,
7160 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7161 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
7162 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7163 "\x68\x65\x20\x74\x69\x6d\x65\x20"
7164 "\x66\x6f\x72\x20\x00\x00\x00\x00",
7165 .ilen = 32,
7166 .result = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7167 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7168 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7169 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7170 .rlen = 32,
7171 }, { /* Generated with Crypto++ */
7172 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7173 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7174 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7175 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7176 .klen = 32,
7177 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7178 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7179 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7180 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7181 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7182 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7183 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7184 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7185 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7186 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7187 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7188 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7189 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7190 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7191 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7192 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7193 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7194 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7195 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7196 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7197 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7198 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7199 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7200 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7201 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7202 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7203 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7204 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7205 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7206 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7207 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7208 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7209 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7210 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7211 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7212 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7213 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7214 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7215 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7216 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7217 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7218 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7219 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7220 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7221 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7222 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7223 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7224 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7225 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7226 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7227 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7228 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7229 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7230 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7231 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7232 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7233 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7234 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7235 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7236 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7237 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7238 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7239 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7240 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7241 .ilen = 504,
7242 .result = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7243 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7244 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7245 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7246 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7247 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7248 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7249 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7250 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7251 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7252 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7253 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7254 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7255 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7256 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7257 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7258 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7259 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7260 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7261 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7262 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7263 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7264 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7265 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7266 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7267 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7268 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7269 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7270 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7271 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7272 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7273 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7274 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7275 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7276 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7277 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7278 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7279 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7280 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7281 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7282 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7283 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7284 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7285 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7286 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7287 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7288 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7289 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7290 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7291 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7292 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7293 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7294 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7295 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7296 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7297 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7298 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7299 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7300 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7301 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7302 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7303 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7304 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7305 .rlen = 504,
7306 .also_non_np = 1,
7307 .np = 3,
7308 .tap = { 504 - 10, 2, 8 },
7312 static const struct cipher_testvec bf_cbc_dec_tv_template[] = {
7313 { /* From OpenSSL */
7314 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
7315 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7316 .klen = 16,
7317 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7318 .input = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7319 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7320 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7321 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7322 .ilen = 32,
7323 .result = "\x37\x36\x35\x34\x33\x32\x31\x20"
7324 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7325 "\x68\x65\x20\x74\x69\x6d\x65\x20"
7326 "\x66\x6f\x72\x20\x00\x00\x00\x00",
7327 .rlen = 32,
7328 }, { /* Generated with Crypto++ */
7329 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7330 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7331 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7332 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7333 .klen = 32,
7334 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7335 .input = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7336 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7337 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7338 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7339 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7340 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7341 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7342 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7343 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7344 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7345 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7346 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7347 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7348 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7349 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7350 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7351 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7352 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7353 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7354 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7355 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7356 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7357 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7358 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7359 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7360 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7361 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7362 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7363 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7364 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7365 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7366 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7367 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7368 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7369 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7370 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7371 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7372 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7373 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7374 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7375 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7376 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7377 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7378 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7379 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7380 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7381 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7382 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7383 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7384 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7385 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7386 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7387 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7388 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7389 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7390 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7391 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7392 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7393 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7394 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7395 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7396 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7397 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7398 .ilen = 504,
7399 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7400 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7401 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7402 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7403 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7404 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7405 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7406 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7407 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7408 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7409 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7410 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7411 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7412 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7413 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7414 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7415 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7416 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7417 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7418 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7419 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7420 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7421 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7422 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7423 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7424 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7425 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7426 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7427 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7428 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7429 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7430 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7431 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7432 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7433 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7434 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7435 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7436 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7437 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7438 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7439 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7440 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7441 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7442 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7443 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7444 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7445 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7446 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7447 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7448 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7449 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7450 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7451 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7452 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7453 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7454 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7455 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7456 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7457 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7458 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7459 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7460 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7461 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7462 .rlen = 504,
7463 .also_non_np = 1,
7464 .np = 3,
7465 .tap = { 504 - 10, 2, 8 },
7469 static const struct cipher_testvec bf_ctr_enc_tv_template[] = {
7470 { /* Generated with Crypto++ */
7471 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7472 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7473 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7474 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7475 .klen = 32,
7476 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7477 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7478 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7479 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7480 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7481 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7482 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7483 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7484 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7485 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7486 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7487 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7488 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7489 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7490 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7491 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7492 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7493 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7494 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7495 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7496 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7497 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7498 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7499 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7500 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7501 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7502 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7503 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7504 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7505 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7506 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7507 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7508 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7509 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7510 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7511 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7512 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7513 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7514 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7515 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7516 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7517 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7518 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7519 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7520 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7521 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7522 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7523 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7524 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7525 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7526 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7527 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7528 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7529 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7530 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7531 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7532 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7533 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7534 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7535 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7536 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7537 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7538 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7539 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7540 .ilen = 504,
7541 .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7542 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7543 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7544 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7545 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7546 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7547 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7548 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7549 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7550 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7551 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7552 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7553 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7554 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7555 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7556 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7557 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7558 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7559 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7560 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7561 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7562 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7563 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7564 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7565 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7566 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7567 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7568 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7569 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7570 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7571 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7572 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7573 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7574 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7575 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7576 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7577 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7578 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7579 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7580 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7581 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7582 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7583 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7584 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7585 "\x82\x63\x11\xB3\x54\x49\x00\x08"
7586 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7587 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7588 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7589 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7590 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7591 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7592 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7593 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7594 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7595 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7596 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7597 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7598 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7599 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7600 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7601 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7602 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7603 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7604 .rlen = 504,
7605 }, { /* Generated with Crypto++ */
7606 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7607 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7608 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7609 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7610 .klen = 32,
7611 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7612 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7613 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7614 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7615 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7616 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7617 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7618 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7619 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7620 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7621 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7622 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7623 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7624 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7625 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7626 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7627 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7628 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7629 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7630 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7631 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7632 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7633 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7634 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7635 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7636 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7637 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7638 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7639 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7640 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7641 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7642 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7643 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7644 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7645 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7646 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7647 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7648 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7649 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7650 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7651 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7652 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7653 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7654 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7655 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7656 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7657 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7658 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7659 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7660 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7661 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7662 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7663 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7664 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7665 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7666 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7667 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7668 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7669 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7670 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7671 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7672 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7673 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7674 "\x2B\xC2\x59\xF0\x64\xFB\x92",
7675 .ilen = 503,
7676 .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7677 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7678 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7679 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7680 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7681 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7682 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7683 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7684 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7685 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7686 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7687 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7688 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7689 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7690 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7691 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7692 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7693 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7694 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7695 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7696 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7697 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7698 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7699 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7700 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7701 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7702 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7703 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7704 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7705 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7706 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7707 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7708 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7709 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7710 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7711 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7712 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7713 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7714 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7715 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7716 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7717 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7718 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7719 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7720 "\x82\x63\x11\xB3\x54\x49\x00\x08"
7721 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7722 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7723 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7724 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7725 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7726 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7727 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7728 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7729 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7730 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7731 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7732 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7733 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7734 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7735 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7736 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7737 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7738 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7739 .rlen = 503,
7740 .also_non_np = 1,
7741 .np = 2,
7742 .tap = { 503 - 8, 8 },
7743 }, { /* Generated with Crypto++ */
7744 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7745 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7746 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7747 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7748 .klen = 32,
7749 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7750 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7751 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7752 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7753 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7754 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7755 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7756 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7757 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7758 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7759 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7760 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7761 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7762 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7763 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7764 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7765 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7766 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7767 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7768 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7769 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7770 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7771 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7772 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7773 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7774 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7775 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7776 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7777 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7778 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7779 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7780 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7781 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7782 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7783 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7784 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7785 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7786 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7787 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7788 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7789 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7790 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7791 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7792 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7793 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7794 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7795 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7796 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7797 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7798 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7799 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7800 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7801 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7802 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7803 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7804 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7805 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7806 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7807 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7808 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7809 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7810 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7811 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7812 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7813 .ilen = 504,
7814 .result = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7815 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7816 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7817 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7818 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7819 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7820 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7821 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7822 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7823 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7824 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7825 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7826 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7827 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7828 "\x0B\x82\x59\x14\x26\x67\x08\x09"
7829 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7830 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7831 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7832 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7833 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7834 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7835 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7836 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
7837 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
7838 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
7839 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
7840 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
7841 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
7842 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
7843 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
7844 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
7845 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
7846 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
7847 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
7848 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
7849 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
7850 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
7851 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
7852 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
7853 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
7854 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
7855 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
7856 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
7857 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
7858 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
7859 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
7860 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
7861 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
7862 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
7863 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
7864 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
7865 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
7866 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
7867 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
7868 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
7869 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
7870 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
7871 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
7872 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
7873 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
7874 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
7875 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
7876 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
7877 .rlen = 504,
7881 static const struct cipher_testvec bf_ctr_dec_tv_template[] = {
7882 { /* Generated with Crypto++ */
7883 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7884 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7885 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7886 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7887 .klen = 32,
7888 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7889 .input = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7890 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7891 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7892 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7893 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7894 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7895 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7896 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7897 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7898 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7899 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7900 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7901 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7902 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7903 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7904 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7905 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7906 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7907 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7908 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7909 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7910 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7911 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7912 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7913 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7914 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7915 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7916 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7917 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7918 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7919 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7920 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7921 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7922 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7923 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7924 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7925 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7926 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7927 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7928 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7929 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7930 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7931 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7932 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7933 "\x82\x63\x11\xB3\x54\x49\x00\x08"
7934 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7935 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7936 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7937 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7938 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7939 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7940 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7941 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7942 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7943 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7944 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7945 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7946 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7947 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7948 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7949 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7950 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7951 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7952 .ilen = 504,
7953 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7954 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7955 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7956 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7957 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7958 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7959 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7960 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7961 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7962 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7963 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7964 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7965 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7966 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7967 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7968 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7969 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7970 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7971 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7972 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7973 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7974 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7975 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7976 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7977 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7978 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7979 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7980 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7981 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7982 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7983 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7984 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7985 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7986 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7987 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7988 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7989 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7990 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7991 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7992 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7993 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7994 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7995 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7996 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7997 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7998 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7999 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8000 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8001 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8002 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8003 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8004 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8005 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8006 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8007 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8008 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8009 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8010 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8011 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8012 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8013 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8014 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8015 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8016 .rlen = 504,
8017 }, { /* Generated with Crypto++ */
8018 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8019 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8020 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8021 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8022 .klen = 32,
8023 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8024 .input = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
8025 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8026 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8027 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8028 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8029 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8030 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8031 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8032 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8033 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8034 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8035 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8036 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8037 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8038 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8039 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8040 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8041 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8042 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8043 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8044 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8045 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8046 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8047 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8048 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8049 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8050 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8051 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8052 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8053 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8054 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8055 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8056 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8057 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8058 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8059 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8060 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8061 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8062 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8063 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8064 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8065 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8066 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8067 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8068 "\x82\x63\x11\xB3\x54\x49\x00\x08"
8069 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8070 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8071 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8072 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8073 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8074 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8075 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8076 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8077 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8078 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8079 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8080 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8081 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8082 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8083 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8084 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8085 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8086 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
8087 .ilen = 503,
8088 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8089 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8090 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8091 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8092 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8093 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8094 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8095 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8096 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8097 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8098 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8099 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8100 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8101 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8102 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8103 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8104 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8105 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8106 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8107 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8108 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8109 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8110 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8111 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8112 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8113 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8114 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8115 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8116 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8117 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8118 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8119 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8120 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8121 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8122 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8123 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8124 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8125 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8126 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8127 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8128 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8129 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8130 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8131 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8132 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8133 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8134 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8135 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8136 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8137 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8138 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8139 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8140 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8141 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8142 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8143 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8144 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8145 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8146 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8147 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8148 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8149 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8150 "\x2B\xC2\x59\xF0\x64\xFB\x92",
8151 .rlen = 503,
8152 .also_non_np = 1,
8153 .np = 2,
8154 .tap = { 503 - 8, 8 },
8155 }, { /* Generated with Crypto++ */
8156 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8157 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8158 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8159 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8160 .klen = 32,
8161 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8162 .input = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
8163 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8164 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8165 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8166 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8167 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8168 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8169 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8170 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8171 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8172 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8173 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8174 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8175 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8176 "\x0B\x82\x59\x14\x26\x67\x08\x09"
8177 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8178 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8179 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8180 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8181 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8182 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8183 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8184 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8185 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8186 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8187 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8188 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8189 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8190 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8191 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8192 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8193 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8194 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8195 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8196 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8197 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8198 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8199 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8200 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8201 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8202 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8203 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8204 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8205 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8206 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8207 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8208 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8209 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8210 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8211 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8212 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8213 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8214 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8215 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8216 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8217 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8218 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8219 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8220 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8221 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8222 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8223 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8224 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8225 .ilen = 504,
8226 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8227 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8228 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8229 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8230 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8231 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8232 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8233 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8234 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8235 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8236 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8237 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8238 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8239 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8240 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8241 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8242 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8243 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8244 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8245 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8246 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8247 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8248 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8249 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8250 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8251 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8252 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8253 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8254 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8255 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8256 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8257 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8258 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8259 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8260 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8261 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8262 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8263 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8264 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8265 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8266 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8267 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8268 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8269 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8270 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8271 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8272 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8273 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8274 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8275 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8276 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8277 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8278 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8279 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8280 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8281 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8282 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8283 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8284 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8285 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8286 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8287 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8288 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8289 .rlen = 504,
8294 * Twofish test vectors.
8296 static const struct cipher_testvec tf_enc_tv_template[] = {
8298 .key = zeroed_string,
8299 .klen = 16,
8300 .input = zeroed_string,
8301 .ilen = 16,
8302 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8303 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8304 .rlen = 16,
8305 }, {
8306 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8307 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8308 "\x00\x11\x22\x33\x44\x55\x66\x77",
8309 .klen = 24,
8310 .input = zeroed_string,
8311 .ilen = 16,
8312 .result = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8313 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8314 .rlen = 16,
8315 }, {
8316 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8317 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8318 "\x00\x11\x22\x33\x44\x55\x66\x77"
8319 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8320 .klen = 32,
8321 .input = zeroed_string,
8322 .ilen = 16,
8323 .result = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8324 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8325 .rlen = 16,
8326 }, { /* Generated with Crypto++ */
8327 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8328 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8329 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8330 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8331 .klen = 32,
8332 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8333 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8334 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8335 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8336 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8337 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8338 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8339 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8340 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8341 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8342 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8343 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8344 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8345 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8346 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8347 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8348 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8349 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8350 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8351 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8352 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8353 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8354 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8355 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8356 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8357 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8358 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8359 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8360 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8361 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8362 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8363 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8364 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8365 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8366 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8367 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8368 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8369 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8370 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8371 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8372 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8373 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8374 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8375 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8376 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8377 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8378 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8379 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8380 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8381 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8382 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8383 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8384 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8385 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8386 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8387 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8388 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8389 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8390 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8391 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8392 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8393 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8394 .ilen = 496,
8395 .result = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8396 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8397 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8398 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8399 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8400 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8401 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8402 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8403 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8404 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8405 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8406 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8407 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8408 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8409 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8410 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8411 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8412 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8413 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8414 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8415 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8416 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8417 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8418 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8419 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8420 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8421 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8422 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8423 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8424 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8425 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8426 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8427 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8428 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8429 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8430 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8431 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8432 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8433 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8434 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8435 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8436 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8437 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8438 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8439 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8440 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8441 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8442 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8443 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8444 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8445 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8446 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8447 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8448 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8449 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8450 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8451 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8452 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8453 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8454 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8455 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8456 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8457 .rlen = 496,
8458 .also_non_np = 1,
8459 .np = 3,
8460 .tap = { 496 - 20, 4, 16 },
8464 static const struct cipher_testvec tf_dec_tv_template[] = {
8466 .key = zeroed_string,
8467 .klen = 16,
8468 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8469 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8470 .ilen = 16,
8471 .result = zeroed_string,
8472 .rlen = 16,
8473 }, {
8474 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8475 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8476 "\x00\x11\x22\x33\x44\x55\x66\x77",
8477 .klen = 24,
8478 .input = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8479 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8480 .ilen = 16,
8481 .result = zeroed_string,
8482 .rlen = 16,
8483 }, {
8484 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8485 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8486 "\x00\x11\x22\x33\x44\x55\x66\x77"
8487 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8488 .klen = 32,
8489 .input = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8490 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8491 .ilen = 16,
8492 .result = zeroed_string,
8493 .rlen = 16,
8494 }, { /* Generated with Crypto++ */
8495 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8496 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8497 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8498 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8499 .klen = 32,
8500 .input = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8501 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8502 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8503 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8504 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8505 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8506 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8507 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8508 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8509 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8510 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8511 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8512 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8513 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8514 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8515 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8516 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8517 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8518 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8519 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8520 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8521 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8522 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8523 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8524 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8525 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8526 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8527 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8528 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8529 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8530 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8531 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8532 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8533 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8534 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8535 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8536 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8537 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8538 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8539 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8540 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8541 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8542 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8543 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8544 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8545 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8546 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8547 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8548 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8549 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8550 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8551 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8552 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8553 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8554 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8555 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8556 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8557 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8558 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8559 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8560 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8561 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8562 .ilen = 496,
8563 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8564 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8565 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8566 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8567 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8568 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8569 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8570 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8571 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8572 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8573 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8574 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8575 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8576 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8577 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8578 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8579 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8580 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8581 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8582 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8583 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8584 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8585 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8586 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8587 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8588 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8589 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8590 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8591 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8592 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8593 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8594 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8595 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8596 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8597 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8598 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8599 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8600 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8601 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8602 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8603 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8604 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8605 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8606 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8607 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8608 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8609 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8610 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8611 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8612 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8613 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8614 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8615 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8616 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8617 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8618 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8619 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8620 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8621 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8622 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8623 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8624 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8625 .rlen = 496,
8626 .also_non_np = 1,
8627 .np = 3,
8628 .tap = { 496 - 20, 4, 16 },
8632 static const struct cipher_testvec tf_cbc_enc_tv_template[] = {
8633 { /* Generated with Nettle */
8634 .key = zeroed_string,
8635 .klen = 16,
8636 .iv = zeroed_string,
8637 .input = zeroed_string,
8638 .ilen = 16,
8639 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8640 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8641 .rlen = 16,
8642 }, {
8643 .key = zeroed_string,
8644 .klen = 16,
8645 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8646 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8647 .input = zeroed_string,
8648 .ilen = 16,
8649 .result = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8650 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8651 .rlen = 16,
8652 }, {
8653 .key = zeroed_string,
8654 .klen = 16,
8655 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8656 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8657 .input = zeroed_string,
8658 .ilen = 16,
8659 .result = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8660 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8661 .rlen = 16,
8662 }, {
8663 .key = zeroed_string,
8664 .klen = 16,
8665 .iv = zeroed_string,
8666 .input = zeroed_string,
8667 .ilen = 48,
8668 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8669 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8670 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8671 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8672 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8673 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8674 .rlen = 48,
8675 }, { /* Generated with Crypto++ */
8676 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8677 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8678 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8679 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8680 .klen = 32,
8681 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8682 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8683 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8684 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8685 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8686 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8687 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8688 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8689 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8690 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8691 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8692 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8693 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8694 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8695 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8696 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8697 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8698 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8699 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8700 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8701 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8702 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8703 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8704 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8705 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8706 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8707 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8708 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8709 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8710 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8711 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8712 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8713 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8714 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8715 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8716 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8717 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8718 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8719 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8720 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8721 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8722 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8723 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8724 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8725 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8726 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8727 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8728 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8729 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8730 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8731 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8732 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8733 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8734 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8735 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8736 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8737 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8738 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8739 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8740 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8741 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8742 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8743 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8744 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8745 .ilen = 496,
8746 .result = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8747 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8748 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8749 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8750 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8751 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8752 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8753 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8754 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8755 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8756 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8757 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8758 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8759 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8760 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8761 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8762 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8763 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8764 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8765 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8766 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8767 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8768 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8769 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8770 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8771 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8772 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8773 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8774 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8775 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8776 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8777 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8778 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8779 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8780 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8781 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8782 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8783 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8784 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8785 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8786 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8787 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8788 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8789 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8790 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8791 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8792 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8793 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8794 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8795 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8796 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8797 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8798 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8799 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8800 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8801 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8802 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8803 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8804 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8805 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8806 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8807 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8808 .rlen = 496,
8809 .also_non_np = 1,
8810 .np = 3,
8811 .tap = { 496 - 20, 4, 16 },
8815 static const struct cipher_testvec tf_cbc_dec_tv_template[] = {
8816 { /* Reverse of the first four above */
8817 .key = zeroed_string,
8818 .klen = 16,
8819 .iv = zeroed_string,
8820 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8821 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8822 .ilen = 16,
8823 .result = zeroed_string,
8824 .rlen = 16,
8825 }, {
8826 .key = zeroed_string,
8827 .klen = 16,
8828 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8829 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8830 .input = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8831 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8832 .ilen = 16,
8833 .result = zeroed_string,
8834 .rlen = 16,
8835 }, {
8836 .key = zeroed_string,
8837 .klen = 16,
8838 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8839 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8840 .input = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8841 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8842 .ilen = 16,
8843 .result = zeroed_string,
8844 .rlen = 16,
8845 }, {
8846 .key = zeroed_string,
8847 .klen = 16,
8848 .iv = zeroed_string,
8849 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8850 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8851 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8852 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8853 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8854 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8855 .ilen = 48,
8856 .result = zeroed_string,
8857 .rlen = 48,
8858 }, { /* Generated with Crypto++ */
8859 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8860 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8861 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8862 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8863 .klen = 32,
8864 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8865 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8866 .input = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8867 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8868 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8869 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8870 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8871 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8872 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8873 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8874 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8875 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8876 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8877 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8878 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8879 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8880 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8881 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8882 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8883 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8884 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8885 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8886 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8887 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8888 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8889 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8890 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8891 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8892 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8893 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8894 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8895 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8896 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8897 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8898 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8899 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8900 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8901 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8902 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8903 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8904 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8905 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8906 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8907 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8908 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8909 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8910 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8911 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8912 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8913 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8914 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8915 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8916 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8917 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8918 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8919 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8920 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8921 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8922 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8923 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8924 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8925 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8926 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8927 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8928 .ilen = 496,
8929 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8930 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8931 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8932 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8933 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8934 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8935 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8936 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8937 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8938 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8939 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8940 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8941 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8942 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8943 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8944 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8945 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8946 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8947 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8948 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8949 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8950 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8951 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8952 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8953 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8954 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8955 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8956 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8957 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8958 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8959 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8960 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8961 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8962 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8963 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8964 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8965 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8966 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8967 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8968 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8969 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8970 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8971 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8972 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8973 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8974 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8975 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8976 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8977 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8978 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8979 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8980 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8981 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8982 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8983 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8984 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8985 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8986 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8987 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8988 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8989 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8990 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8991 .rlen = 496,
8992 .also_non_np = 1,
8993 .np = 3,
8994 .tap = { 496 - 20, 4, 16 },
8998 static const struct cipher_testvec tf_ctr_enc_tv_template[] = {
8999 { /* Generated with Crypto++ */
9000 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9001 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9002 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9003 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9004 .klen = 32,
9005 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9006 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9007 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9008 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9009 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9010 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9011 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9012 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9013 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9014 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9015 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9016 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9017 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9018 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9019 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9020 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9021 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9022 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9023 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9024 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9025 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9026 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9027 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9028 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9029 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9030 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9031 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9032 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9033 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9034 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9035 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9036 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9037 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9038 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9039 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9040 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9041 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9042 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9043 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9044 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9045 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9046 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9047 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9048 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9049 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9050 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9051 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9052 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9053 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9054 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9055 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9056 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9057 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9058 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9059 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9060 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9061 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9062 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9063 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9064 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9065 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9066 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9067 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9068 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9069 .ilen = 496,
9070 .result = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9071 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9072 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9073 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9074 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9075 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9076 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9077 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9078 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9079 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9080 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9081 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9082 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9083 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9084 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9085 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9086 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9087 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9088 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9089 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9090 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9091 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9092 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9093 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9094 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9095 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9096 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9097 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9098 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9099 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9100 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9101 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9102 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9103 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9104 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9105 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9106 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9107 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9108 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9109 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9110 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9111 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9112 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9113 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9114 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9115 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9116 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9117 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9118 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9119 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9120 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9121 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9122 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9123 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9124 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9125 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9126 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9127 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9128 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9129 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9130 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9131 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9132 .rlen = 496,
9133 }, { /* Generated with Crypto++ */
9134 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9135 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9136 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9137 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9138 .klen = 32,
9139 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9140 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9141 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9142 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9143 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9144 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9145 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9146 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9147 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9148 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9149 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9150 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9151 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9152 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9153 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9154 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9155 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9156 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9157 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9158 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9159 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9160 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9161 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9162 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9163 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9164 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9165 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9166 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9167 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9168 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9169 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9170 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9171 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9172 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9173 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9174 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9175 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9176 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9177 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9178 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9179 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9180 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9181 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9182 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9183 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9184 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9185 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9186 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9187 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9188 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9189 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9190 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9191 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9192 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9193 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9194 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9195 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9196 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9197 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9198 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9199 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9200 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9201 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9202 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9203 .ilen = 496,
9204 .result = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9205 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9206 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9207 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9208 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9209 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9210 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9211 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9212 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9213 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9214 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9215 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9216 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9217 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9218 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9219 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9220 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9221 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9222 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9223 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9224 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9225 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9226 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9227 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9228 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9229 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9230 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9231 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9232 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9233 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9234 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9235 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9236 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9237 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9238 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9239 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9240 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9241 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9242 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9243 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9244 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9245 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9246 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9247 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9248 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9249 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9250 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9251 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9252 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9253 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9254 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9255 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9256 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9257 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9258 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9259 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9260 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9261 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9262 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9263 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9264 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9265 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9266 .rlen = 496,
9267 }, { /* Generated with Crypto++ */
9268 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9269 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9270 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9271 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9272 .klen = 32,
9273 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9274 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9275 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9276 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9277 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9278 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9279 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9280 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9281 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9282 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9283 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9284 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9285 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9286 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9287 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9288 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9289 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9290 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9291 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9292 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9293 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9294 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9295 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9296 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9297 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9298 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9299 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9300 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9301 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9302 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9303 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9304 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9305 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9306 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9307 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9308 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9309 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9310 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9311 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9312 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9313 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9314 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9315 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9316 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9317 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9318 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9319 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9320 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9321 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9322 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9323 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9324 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9325 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9326 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9327 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9328 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9329 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9330 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9331 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9332 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9333 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9334 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9335 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9336 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9337 "\x2B\xC2\x59",
9338 .ilen = 499,
9339 .result = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9340 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9341 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9342 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9343 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9344 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9345 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9346 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9347 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9348 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9349 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9350 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9351 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9352 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9353 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9354 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9355 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9356 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9357 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9358 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9359 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9360 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9361 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9362 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9363 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9364 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9365 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9366 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9367 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9368 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9369 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9370 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9371 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9372 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9373 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9374 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9375 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9376 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9377 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9378 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9379 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9380 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9381 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9382 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9383 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9384 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9385 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9386 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9387 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9388 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9389 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9390 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9391 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9392 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9393 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9394 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9395 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9396 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9397 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9398 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9399 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9400 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9401 "\x6C\x82\x9D",
9402 .rlen = 499,
9403 .also_non_np = 1,
9404 .np = 2,
9405 .tap = { 499 - 16, 16 },
9409 static const struct cipher_testvec tf_ctr_dec_tv_template[] = {
9410 { /* Generated with Crypto++ */
9411 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9412 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9413 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9414 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9415 .klen = 32,
9416 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9417 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9418 .input = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9419 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9420 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9421 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9422 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9423 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9424 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9425 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9426 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9427 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9428 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9429 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9430 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9431 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9432 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9433 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9434 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9435 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9436 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9437 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9438 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9439 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9440 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9441 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9442 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9443 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9444 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9445 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9446 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9447 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9448 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9449 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9450 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9451 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9452 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9453 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9454 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9455 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9456 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9457 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9458 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9459 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9460 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9461 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9462 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9463 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9464 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9465 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9466 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9467 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9468 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9469 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9470 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9471 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9472 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9473 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9474 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9475 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9476 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9477 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9478 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9479 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9480 .ilen = 496,
9481 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9482 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9483 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9484 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9485 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9486 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9487 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9488 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9489 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9490 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9491 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9492 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9493 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9494 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9495 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9496 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9497 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9498 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9499 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9500 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9501 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9502 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9503 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9504 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9505 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9506 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9507 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9508 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9509 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9510 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9511 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9512 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9513 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9514 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9515 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9516 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9517 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9518 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9519 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9520 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9521 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9522 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9523 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9524 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9525 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9526 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9527 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9528 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9529 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9530 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9531 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9532 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9533 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9534 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9535 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9536 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9537 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9538 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9539 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9540 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9541 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9542 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9543 .rlen = 496,
9544 }, { /* Generated with Crypto++ */
9545 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9546 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9547 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9548 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9549 .klen = 32,
9550 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9551 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9552 .input = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9553 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9554 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9555 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9556 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9557 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9558 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9559 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9560 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9561 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9562 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9563 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9564 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9565 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9566 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9567 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9568 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9569 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9570 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9571 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9572 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9573 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9574 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9575 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9576 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9577 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9578 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9579 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9580 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9581 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9582 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9583 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9584 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9585 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9586 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9587 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9588 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9589 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9590 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9591 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9592 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9593 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9594 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9595 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9596 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9597 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9598 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9599 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9600 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9601 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9602 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9603 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9604 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9605 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9606 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9607 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9608 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9609 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9610 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9611 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9612 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9613 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9614 .ilen = 496,
9615 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9616 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9617 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9618 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9619 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9620 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9621 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9622 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9623 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9624 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9625 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9626 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9627 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9628 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9629 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9630 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9631 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9632 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9633 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9634 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9635 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9636 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9637 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9638 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9639 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9640 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9641 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9642 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9643 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9644 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9645 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9646 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9647 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9648 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9649 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9650 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9651 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9652 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9653 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9654 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9655 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9656 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9657 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9658 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9659 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9660 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9661 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9662 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9663 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9664 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9665 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9666 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9667 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9668 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9669 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9670 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9671 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9672 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9673 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9674 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9675 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9676 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9677 .rlen = 496,
9678 }, { /* Generated with Crypto++ */
9679 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9680 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9681 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9682 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9683 .klen = 32,
9684 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9685 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9686 .input = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9687 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9688 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9689 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9690 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9691 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9692 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9693 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9694 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9695 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9696 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9697 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9698 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9699 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9700 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9701 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9702 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9703 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9704 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9705 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9706 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9707 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9708 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9709 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9710 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9711 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9712 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9713 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9714 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9715 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9716 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9717 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9718 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9719 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9720 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9721 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9722 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9723 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9724 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9725 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9726 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9727 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9728 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9729 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9730 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9731 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9732 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9733 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9734 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9735 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9736 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9737 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9738 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9739 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9740 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9741 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9742 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9743 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9744 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9745 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9746 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9747 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9748 "\x6C\x82\x9D",
9749 .ilen = 499,
9750 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9751 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9752 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9753 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9754 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9755 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9756 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9757 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9758 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9759 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9760 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9761 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9762 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9763 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9764 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9765 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9766 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9767 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9768 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9769 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9770 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9771 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9772 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9773 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9774 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9775 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9776 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9777 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9778 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9779 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9780 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9781 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9782 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9783 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9784 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9785 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9786 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9787 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9788 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9789 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9790 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9791 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9792 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9793 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9794 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9795 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9796 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9797 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9798 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9799 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9800 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9801 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9802 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9803 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9804 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9805 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9806 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9807 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9808 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9809 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9810 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9811 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9812 "\x2B\xC2\x59",
9813 .rlen = 499,
9814 .also_non_np = 1,
9815 .np = 2,
9816 .tap = { 499 - 16, 16 },
9820 static const struct cipher_testvec tf_lrw_enc_tv_template[] = {
9821 /* Generated from AES-LRW test vectors */
9823 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9824 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9825 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9826 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9827 .klen = 32,
9828 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9829 "\x00\x00\x00\x00\x00\x00\x00\x01",
9830 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9831 "\x38\x39\x41\x42\x43\x44\x45\x46",
9832 .ilen = 16,
9833 .result = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9834 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9835 .rlen = 16,
9836 }, {
9837 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9838 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9839 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9840 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9841 .klen = 32,
9842 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9843 "\x00\x00\x00\x00\x00\x00\x00\x02",
9844 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9845 "\x38\x39\x41\x42\x43\x44\x45\x46",
9846 .ilen = 16,
9847 .result = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9848 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9849 .rlen = 16,
9850 }, {
9851 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9852 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9853 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9854 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9855 .klen = 32,
9856 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9857 "\x00\x00\x00\x02\x00\x00\x00\x00",
9858 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9859 "\x38\x39\x41\x42\x43\x44\x45\x46",
9860 .ilen = 16,
9861 .result = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9862 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9863 .rlen = 16,
9864 }, {
9865 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9866 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9867 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9868 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9869 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9870 .klen = 40,
9871 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9872 "\x00\x00\x00\x00\x00\x00\x00\x01",
9873 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9874 "\x38\x39\x41\x42\x43\x44\x45\x46",
9875 .ilen = 16,
9876 .result = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9877 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9878 .rlen = 16,
9879 }, {
9880 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9881 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9882 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9883 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9884 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9885 .klen = 40,
9886 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9887 "\x00\x00\x00\x02\x00\x00\x00\x00",
9888 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9889 "\x38\x39\x41\x42\x43\x44\x45\x46",
9890 .ilen = 16,
9891 .result = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9892 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9893 .rlen = 16,
9894 }, {
9895 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9896 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9897 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9898 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9899 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9900 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9901 .klen = 48,
9902 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9903 "\x00\x00\x00\x00\x00\x00\x00\x01",
9904 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9905 "\x38\x39\x41\x42\x43\x44\x45\x46",
9906 .ilen = 16,
9907 .result = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9908 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9909 .rlen = 16,
9910 }, {
9911 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9912 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9913 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9914 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9915 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9916 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9917 .klen = 48,
9918 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9919 "\x00\x00\x00\x02\x00\x00\x00\x00",
9920 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
9921 "\x38\x39\x41\x42\x43\x44\x45\x46",
9922 .ilen = 16,
9923 .result = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9924 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9925 .rlen = 16,
9926 }, {
9927 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9928 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9929 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9930 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9931 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9932 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9933 .klen = 48,
9934 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9935 "\x00\x00\x00\x00\x00\x00\x00\x01",
9936 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9937 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9938 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9939 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9940 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9941 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9942 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9943 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9944 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9945 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9946 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9947 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9948 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9949 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9950 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9951 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9952 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9953 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9954 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9955 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9956 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9957 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9958 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9959 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9960 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9961 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9962 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9963 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9964 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9965 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9966 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9967 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9968 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9969 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9970 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9971 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9972 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9973 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9974 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9975 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9976 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9977 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9978 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9979 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9980 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9981 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9982 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9983 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9984 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9985 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9986 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9987 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9988 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9989 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9990 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9991 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9992 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9993 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9994 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9995 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9996 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9997 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9998 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9999 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10000 .ilen = 512,
10001 .result = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10002 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10003 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10004 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10005 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10006 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10007 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10008 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10009 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10010 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10011 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10012 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10013 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10014 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10015 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10016 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10017 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10018 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10019 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10020 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10021 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10022 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10023 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10024 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10025 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10026 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10027 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10028 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10029 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10030 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10031 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10032 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10033 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10034 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10035 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10036 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10037 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10038 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10039 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10040 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10041 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10042 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10043 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10044 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10045 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10046 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10047 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10048 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10049 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10050 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10051 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10052 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10053 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10054 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10055 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10056 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10057 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10058 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10059 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10060 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10061 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10062 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10063 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10064 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10065 .rlen = 512,
10066 .also_non_np = 1,
10067 .np = 3,
10068 .tap = { 512 - 20, 4, 16 },
10072 static const struct cipher_testvec tf_lrw_dec_tv_template[] = {
10073 /* Generated from AES-LRW test vectors */
10074 /* same as enc vectors with input and result reversed */
10076 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10077 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10078 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10079 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10080 .klen = 32,
10081 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10082 "\x00\x00\x00\x00\x00\x00\x00\x01",
10083 .input = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
10084 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
10085 .ilen = 16,
10086 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10087 "\x38\x39\x41\x42\x43\x44\x45\x46",
10088 .rlen = 16,
10089 }, {
10090 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10091 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10092 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10093 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10094 .klen = 32,
10095 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10096 "\x00\x00\x00\x00\x00\x00\x00\x02",
10097 .input = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
10098 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
10099 .ilen = 16,
10100 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10101 "\x38\x39\x41\x42\x43\x44\x45\x46",
10102 .rlen = 16,
10103 }, {
10104 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10105 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10106 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10107 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10108 .klen = 32,
10109 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10110 "\x00\x00\x00\x02\x00\x00\x00\x00",
10111 .input = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
10112 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
10113 .ilen = 16,
10114 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10115 "\x38\x39\x41\x42\x43\x44\x45\x46",
10116 .rlen = 16,
10117 }, {
10118 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10119 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10120 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10121 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10122 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10123 .klen = 40,
10124 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10125 "\x00\x00\x00\x00\x00\x00\x00\x01",
10126 .input = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
10127 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
10128 .ilen = 16,
10129 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10130 "\x38\x39\x41\x42\x43\x44\x45\x46",
10131 .rlen = 16,
10132 }, {
10133 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10134 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10135 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10136 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10137 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10138 .klen = 40,
10139 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10140 "\x00\x00\x00\x02\x00\x00\x00\x00",
10141 .input = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
10142 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
10143 .ilen = 16,
10144 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10145 "\x38\x39\x41\x42\x43\x44\x45\x46",
10146 .rlen = 16,
10147 }, {
10148 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10149 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10150 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10151 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10152 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10153 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10154 .klen = 48,
10155 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10156 "\x00\x00\x00\x00\x00\x00\x00\x01",
10157 .input = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10158 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10159 .ilen = 16,
10160 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10161 "\x38\x39\x41\x42\x43\x44\x45\x46",
10162 .rlen = 16,
10163 }, {
10164 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10165 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10166 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10167 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10168 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10169 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10170 .klen = 48,
10171 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10172 "\x00\x00\x00\x02\x00\x00\x00\x00",
10173 .input = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10174 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10175 .ilen = 16,
10176 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10177 "\x38\x39\x41\x42\x43\x44\x45\x46",
10178 .rlen = 16,
10179 }, {
10180 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10181 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10182 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10183 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10184 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10185 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10186 .klen = 48,
10187 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10188 "\x00\x00\x00\x00\x00\x00\x00\x01",
10189 .input = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10190 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10191 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10192 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10193 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10194 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10195 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10196 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10197 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10198 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10199 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10200 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10201 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10202 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10203 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10204 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10205 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10206 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10207 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10208 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10209 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10210 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10211 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10212 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10213 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10214 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10215 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10216 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10217 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10218 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10219 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10220 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10221 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10222 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10223 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10224 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10225 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10226 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10227 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10228 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10229 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10230 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10231 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10232 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10233 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10234 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10235 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10236 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10237 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10238 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10239 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10240 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10241 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10242 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10243 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10244 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10245 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10246 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10247 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10248 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10249 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10250 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10251 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10252 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10253 .ilen = 512,
10254 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10255 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10256 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10257 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10258 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10259 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10260 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10261 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10262 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10263 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10264 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10265 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10266 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10267 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10268 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10269 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10270 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10271 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10272 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10273 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10274 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10275 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10276 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10277 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10278 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10279 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10280 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10281 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10282 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10283 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10284 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10285 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10286 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10287 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10288 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10289 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10290 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10291 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10292 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10293 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10294 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10295 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10296 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10297 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10298 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10299 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10300 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10301 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10302 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10303 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10304 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10305 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10306 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10307 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10308 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10309 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10310 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10311 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10312 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10313 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10314 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10315 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10316 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10317 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10318 .rlen = 512,
10319 .also_non_np = 1,
10320 .np = 3,
10321 .tap = { 512 - 20, 4, 16 },
10325 static const struct cipher_testvec tf_xts_enc_tv_template[] = {
10326 /* Generated from AES-XTS test vectors */
10328 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
10329 "\x00\x00\x00\x00\x00\x00\x00\x00"
10330 "\x00\x00\x00\x00\x00\x00\x00\x00"
10331 "\x00\x00\x00\x00\x00\x00\x00\x00",
10332 .klen = 32,
10333 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10334 "\x00\x00\x00\x00\x00\x00\x00\x00",
10335 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
10336 "\x00\x00\x00\x00\x00\x00\x00\x00"
10337 "\x00\x00\x00\x00\x00\x00\x00\x00"
10338 "\x00\x00\x00\x00\x00\x00\x00\x00",
10339 .ilen = 32,
10340 .result = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10341 "\x30\x74\xe4\x44\x52\x77\x97\x43"
10342 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10343 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10344 .rlen = 32,
10345 }, {
10346 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
10347 "\x11\x11\x11\x11\x11\x11\x11\x11"
10348 "\x22\x22\x22\x22\x22\x22\x22\x22"
10349 "\x22\x22\x22\x22\x22\x22\x22\x22",
10350 .klen = 32,
10351 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10352 "\x00\x00\x00\x00\x00\x00\x00\x00",
10353 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
10354 "\x44\x44\x44\x44\x44\x44\x44\x44"
10355 "\x44\x44\x44\x44\x44\x44\x44\x44"
10356 "\x44\x44\x44\x44\x44\x44\x44\x44",
10357 .ilen = 32,
10358 .result = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10359 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10360 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10361 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10362 .rlen = 32,
10363 }, {
10364 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10365 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10366 "\x22\x22\x22\x22\x22\x22\x22\x22"
10367 "\x22\x22\x22\x22\x22\x22\x22\x22",
10368 .klen = 32,
10369 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10370 "\x00\x00\x00\x00\x00\x00\x00\x00",
10371 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
10372 "\x44\x44\x44\x44\x44\x44\x44\x44"
10373 "\x44\x44\x44\x44\x44\x44\x44\x44"
10374 "\x44\x44\x44\x44\x44\x44\x44\x44",
10375 .ilen = 32,
10376 .result = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10377 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10378 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10379 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10380 .rlen = 32,
10381 }, {
10382 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10383 "\x23\x53\x60\x28\x74\x71\x35\x26"
10384 "\x31\x41\x59\x26\x53\x58\x97\x93"
10385 "\x23\x84\x62\x64\x33\x83\x27\x95",
10386 .klen = 32,
10387 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10388 "\x00\x00\x00\x00\x00\x00\x00\x00",
10389 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
10390 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10391 "\x10\x11\x12\x13\x14\x15\x16\x17"
10392 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10393 "\x20\x21\x22\x23\x24\x25\x26\x27"
10394 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10395 "\x30\x31\x32\x33\x34\x35\x36\x37"
10396 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10397 "\x40\x41\x42\x43\x44\x45\x46\x47"
10398 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10399 "\x50\x51\x52\x53\x54\x55\x56\x57"
10400 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10401 "\x60\x61\x62\x63\x64\x65\x66\x67"
10402 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10403 "\x70\x71\x72\x73\x74\x75\x76\x77"
10404 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10405 "\x80\x81\x82\x83\x84\x85\x86\x87"
10406 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10407 "\x90\x91\x92\x93\x94\x95\x96\x97"
10408 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10409 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10410 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10411 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10412 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10413 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10414 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10415 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10416 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10417 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10418 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10419 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10420 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10421 "\x00\x01\x02\x03\x04\x05\x06\x07"
10422 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10423 "\x10\x11\x12\x13\x14\x15\x16\x17"
10424 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10425 "\x20\x21\x22\x23\x24\x25\x26\x27"
10426 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10427 "\x30\x31\x32\x33\x34\x35\x36\x37"
10428 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10429 "\x40\x41\x42\x43\x44\x45\x46\x47"
10430 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10431 "\x50\x51\x52\x53\x54\x55\x56\x57"
10432 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10433 "\x60\x61\x62\x63\x64\x65\x66\x67"
10434 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10435 "\x70\x71\x72\x73\x74\x75\x76\x77"
10436 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10437 "\x80\x81\x82\x83\x84\x85\x86\x87"
10438 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10439 "\x90\x91\x92\x93\x94\x95\x96\x97"
10440 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10441 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10442 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10443 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10444 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10445 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10446 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10447 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10448 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10449 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10450 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10451 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10452 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10453 .ilen = 512,
10454 .result = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10455 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10456 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10457 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10458 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10459 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10460 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10461 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10462 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10463 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10464 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10465 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10466 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10467 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10468 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10469 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10470 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10471 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10472 "\x39\x80\x39\x09\x97\x65\xf2\x83"
10473 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10474 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10475 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10476 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10477 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10478 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10479 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10480 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10481 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10482 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10483 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10484 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10485 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10486 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10487 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10488 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10489 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10490 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10491 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10492 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10493 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10494 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10495 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10496 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10497 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10498 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10499 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10500 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10501 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10502 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10503 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10504 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10505 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10506 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10507 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10508 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10509 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10510 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10511 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10512 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10513 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10514 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10515 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10516 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10517 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10518 .rlen = 512,
10519 }, {
10520 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10521 "\x23\x53\x60\x28\x74\x71\x35\x26"
10522 "\x62\x49\x77\x57\x24\x70\x93\x69"
10523 "\x99\x59\x57\x49\x66\x96\x76\x27"
10524 "\x31\x41\x59\x26\x53\x58\x97\x93"
10525 "\x23\x84\x62\x64\x33\x83\x27\x95"
10526 "\x02\x88\x41\x97\x16\x93\x99\x37"
10527 "\x51\x05\x82\x09\x74\x94\x45\x92",
10528 .klen = 64,
10529 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10530 "\x00\x00\x00\x00\x00\x00\x00\x00",
10531 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
10532 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10533 "\x10\x11\x12\x13\x14\x15\x16\x17"
10534 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10535 "\x20\x21\x22\x23\x24\x25\x26\x27"
10536 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10537 "\x30\x31\x32\x33\x34\x35\x36\x37"
10538 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10539 "\x40\x41\x42\x43\x44\x45\x46\x47"
10540 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10541 "\x50\x51\x52\x53\x54\x55\x56\x57"
10542 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10543 "\x60\x61\x62\x63\x64\x65\x66\x67"
10544 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10545 "\x70\x71\x72\x73\x74\x75\x76\x77"
10546 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10547 "\x80\x81\x82\x83\x84\x85\x86\x87"
10548 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10549 "\x90\x91\x92\x93\x94\x95\x96\x97"
10550 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10551 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10552 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10553 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10554 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10555 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10556 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10557 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10558 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10559 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10560 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10561 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10562 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10563 "\x00\x01\x02\x03\x04\x05\x06\x07"
10564 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10565 "\x10\x11\x12\x13\x14\x15\x16\x17"
10566 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10567 "\x20\x21\x22\x23\x24\x25\x26\x27"
10568 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10569 "\x30\x31\x32\x33\x34\x35\x36\x37"
10570 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10571 "\x40\x41\x42\x43\x44\x45\x46\x47"
10572 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10573 "\x50\x51\x52\x53\x54\x55\x56\x57"
10574 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10575 "\x60\x61\x62\x63\x64\x65\x66\x67"
10576 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10577 "\x70\x71\x72\x73\x74\x75\x76\x77"
10578 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10579 "\x80\x81\x82\x83\x84\x85\x86\x87"
10580 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10581 "\x90\x91\x92\x93\x94\x95\x96\x97"
10582 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10583 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10584 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10585 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10586 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10587 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10588 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10589 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10590 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10591 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10592 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10593 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10594 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10595 .ilen = 512,
10596 .result = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10597 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10598 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10599 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10600 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10601 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10602 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10603 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10604 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10605 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10606 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10607 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10608 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10609 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10610 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10611 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10612 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10613 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10614 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10615 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10616 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10617 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10618 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10619 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10620 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10621 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10622 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10623 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10624 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10625 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10626 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10627 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10628 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10629 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10630 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10631 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10632 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10633 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10634 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10635 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10636 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10637 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10638 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10639 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10640 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10641 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10642 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10643 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10644 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10645 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10646 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10647 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10648 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10649 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10650 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10651 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10652 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10653 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10654 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10655 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10656 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10657 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10658 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10659 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10660 .rlen = 512,
10661 .also_non_np = 1,
10662 .np = 3,
10663 .tap = { 512 - 20, 4, 16 },
10667 static const struct cipher_testvec tf_xts_dec_tv_template[] = {
10668 /* Generated from AES-XTS test vectors */
10669 /* same as enc vectors with input and result reversed */
10671 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
10672 "\x00\x00\x00\x00\x00\x00\x00\x00"
10673 "\x00\x00\x00\x00\x00\x00\x00\x00"
10674 "\x00\x00\x00\x00\x00\x00\x00\x00",
10675 .klen = 32,
10676 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10677 "\x00\x00\x00\x00\x00\x00\x00\x00",
10678 .input = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10679 "\x30\x74\xe4\x44\x52\x77\x97\x43"
10680 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10681 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10682 .ilen = 32,
10683 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
10684 "\x00\x00\x00\x00\x00\x00\x00\x00"
10685 "\x00\x00\x00\x00\x00\x00\x00\x00"
10686 "\x00\x00\x00\x00\x00\x00\x00\x00",
10687 .rlen = 32,
10688 }, {
10689 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
10690 "\x11\x11\x11\x11\x11\x11\x11\x11"
10691 "\x22\x22\x22\x22\x22\x22\x22\x22"
10692 "\x22\x22\x22\x22\x22\x22\x22\x22",
10693 .klen = 32,
10694 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10695 "\x00\x00\x00\x00\x00\x00\x00\x00",
10696 .input = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10697 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10698 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10699 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10700 .ilen = 32,
10701 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
10702 "\x44\x44\x44\x44\x44\x44\x44\x44"
10703 "\x44\x44\x44\x44\x44\x44\x44\x44"
10704 "\x44\x44\x44\x44\x44\x44\x44\x44",
10705 .rlen = 32,
10706 }, {
10707 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10708 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10709 "\x22\x22\x22\x22\x22\x22\x22\x22"
10710 "\x22\x22\x22\x22\x22\x22\x22\x22",
10711 .klen = 32,
10712 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10713 "\x00\x00\x00\x00\x00\x00\x00\x00",
10714 .input = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10715 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10716 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10717 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10718 .ilen = 32,
10719 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
10720 "\x44\x44\x44\x44\x44\x44\x44\x44"
10721 "\x44\x44\x44\x44\x44\x44\x44\x44"
10722 "\x44\x44\x44\x44\x44\x44\x44\x44",
10723 .rlen = 32,
10724 }, {
10725 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10726 "\x23\x53\x60\x28\x74\x71\x35\x26"
10727 "\x31\x41\x59\x26\x53\x58\x97\x93"
10728 "\x23\x84\x62\x64\x33\x83\x27\x95",
10729 .klen = 32,
10730 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10731 "\x00\x00\x00\x00\x00\x00\x00\x00",
10732 .input = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10733 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10734 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10735 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10736 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10737 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10738 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10739 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10740 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10741 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10742 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10743 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10744 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10745 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10746 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10747 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10748 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10749 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10750 "\x39\x80\x39\x09\x97\x65\xf2\x83"
10751 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10752 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10753 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10754 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10755 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10756 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10757 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10758 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10759 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10760 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10761 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10762 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10763 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10764 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10765 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10766 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10767 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10768 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10769 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10770 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10771 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10772 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10773 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10774 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10775 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10776 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10777 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10778 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10779 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10780 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10781 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10782 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10783 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10784 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10785 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10786 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10787 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10788 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10789 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10790 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10791 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10792 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10793 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10794 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10795 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10796 .ilen = 512,
10797 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
10798 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10799 "\x10\x11\x12\x13\x14\x15\x16\x17"
10800 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10801 "\x20\x21\x22\x23\x24\x25\x26\x27"
10802 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10803 "\x30\x31\x32\x33\x34\x35\x36\x37"
10804 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10805 "\x40\x41\x42\x43\x44\x45\x46\x47"
10806 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10807 "\x50\x51\x52\x53\x54\x55\x56\x57"
10808 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10809 "\x60\x61\x62\x63\x64\x65\x66\x67"
10810 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10811 "\x70\x71\x72\x73\x74\x75\x76\x77"
10812 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10813 "\x80\x81\x82\x83\x84\x85\x86\x87"
10814 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10815 "\x90\x91\x92\x93\x94\x95\x96\x97"
10816 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10817 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10818 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10819 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10820 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10821 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10822 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10823 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10824 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10825 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10826 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10827 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10828 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10829 "\x00\x01\x02\x03\x04\x05\x06\x07"
10830 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10831 "\x10\x11\x12\x13\x14\x15\x16\x17"
10832 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10833 "\x20\x21\x22\x23\x24\x25\x26\x27"
10834 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10835 "\x30\x31\x32\x33\x34\x35\x36\x37"
10836 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10837 "\x40\x41\x42\x43\x44\x45\x46\x47"
10838 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10839 "\x50\x51\x52\x53\x54\x55\x56\x57"
10840 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10841 "\x60\x61\x62\x63\x64\x65\x66\x67"
10842 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10843 "\x70\x71\x72\x73\x74\x75\x76\x77"
10844 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10845 "\x80\x81\x82\x83\x84\x85\x86\x87"
10846 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10847 "\x90\x91\x92\x93\x94\x95\x96\x97"
10848 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10849 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10850 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10851 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10852 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10853 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10854 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10855 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10856 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10857 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10858 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10859 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10860 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10861 .rlen = 512,
10862 }, {
10863 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10864 "\x23\x53\x60\x28\x74\x71\x35\x26"
10865 "\x62\x49\x77\x57\x24\x70\x93\x69"
10866 "\x99\x59\x57\x49\x66\x96\x76\x27"
10867 "\x31\x41\x59\x26\x53\x58\x97\x93"
10868 "\x23\x84\x62\x64\x33\x83\x27\x95"
10869 "\x02\x88\x41\x97\x16\x93\x99\x37"
10870 "\x51\x05\x82\x09\x74\x94\x45\x92",
10871 .klen = 64,
10872 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10873 "\x00\x00\x00\x00\x00\x00\x00\x00",
10874 .input = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10875 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10876 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10877 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10878 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10879 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10880 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10881 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10882 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10883 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10884 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10885 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10886 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10887 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10888 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10889 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10890 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10891 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10892 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10893 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10894 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10895 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10896 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10897 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10898 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10899 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10900 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10901 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10902 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10903 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10904 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10905 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10906 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10907 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10908 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10909 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10910 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10911 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10912 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10913 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10914 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10915 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10916 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10917 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10918 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10919 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10920 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10921 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10922 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10923 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10924 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10925 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10926 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10927 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10928 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10929 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10930 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10931 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10932 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10933 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10934 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10935 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10936 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10937 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10938 .ilen = 512,
10939 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
10940 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10941 "\x10\x11\x12\x13\x14\x15\x16\x17"
10942 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10943 "\x20\x21\x22\x23\x24\x25\x26\x27"
10944 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10945 "\x30\x31\x32\x33\x34\x35\x36\x37"
10946 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10947 "\x40\x41\x42\x43\x44\x45\x46\x47"
10948 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10949 "\x50\x51\x52\x53\x54\x55\x56\x57"
10950 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10951 "\x60\x61\x62\x63\x64\x65\x66\x67"
10952 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10953 "\x70\x71\x72\x73\x74\x75\x76\x77"
10954 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10955 "\x80\x81\x82\x83\x84\x85\x86\x87"
10956 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10957 "\x90\x91\x92\x93\x94\x95\x96\x97"
10958 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10959 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10960 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10961 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10962 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10963 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10964 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10965 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10966 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10967 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10968 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10969 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10970 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10971 "\x00\x01\x02\x03\x04\x05\x06\x07"
10972 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10973 "\x10\x11\x12\x13\x14\x15\x16\x17"
10974 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10975 "\x20\x21\x22\x23\x24\x25\x26\x27"
10976 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10977 "\x30\x31\x32\x33\x34\x35\x36\x37"
10978 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10979 "\x40\x41\x42\x43\x44\x45\x46\x47"
10980 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10981 "\x50\x51\x52\x53\x54\x55\x56\x57"
10982 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10983 "\x60\x61\x62\x63\x64\x65\x66\x67"
10984 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10985 "\x70\x71\x72\x73\x74\x75\x76\x77"
10986 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10987 "\x80\x81\x82\x83\x84\x85\x86\x87"
10988 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10989 "\x90\x91\x92\x93\x94\x95\x96\x97"
10990 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10991 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10992 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10993 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10994 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10995 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10996 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10997 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10998 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10999 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11000 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11001 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11002 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11003 .rlen = 512,
11004 .also_non_np = 1,
11005 .np = 3,
11006 .tap = { 512 - 20, 4, 16 },
11011 * Serpent test vectors. These are backwards because Serpent writes
11012 * octet sequences in right-to-left mode.
11014 static const struct cipher_testvec serpent_enc_tv_template[] = {
11016 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
11017 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11018 .ilen = 16,
11019 .result = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11020 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11021 .rlen = 16,
11022 }, {
11023 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11024 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11025 .klen = 16,
11026 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
11027 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11028 .ilen = 16,
11029 .result = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11030 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11031 .rlen = 16,
11032 }, {
11033 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11034 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11035 "\x10\x11\x12\x13\x14\x15\x16\x17"
11036 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11037 .klen = 32,
11038 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
11039 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11040 .ilen = 16,
11041 .result = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11042 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11043 .rlen = 16,
11044 }, {
11045 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11046 .klen = 16,
11047 .input = zeroed_string,
11048 .ilen = 16,
11049 .result = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11050 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11051 .rlen = 16,
11052 }, { /* Generated with Crypto++ */
11053 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11054 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11055 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11056 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11057 .klen = 32,
11058 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11059 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11060 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11061 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11062 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11063 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11064 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11065 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11066 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11067 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11068 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11069 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11070 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11071 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11072 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11073 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11074 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11075 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11076 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11077 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11078 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11079 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11080 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11081 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11082 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11083 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11084 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11085 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11086 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11087 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11088 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11089 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11090 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11091 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11092 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11093 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11094 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11095 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11096 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11097 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11098 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11099 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11100 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11101 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11102 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11103 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11104 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11105 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11106 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11107 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11108 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11109 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11110 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11111 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11112 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11113 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11114 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11115 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11116 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11117 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11118 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11119 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11120 .ilen = 496,
11121 .result = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11122 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11123 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11124 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11125 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11126 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11127 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11128 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11129 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11130 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11131 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11132 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11133 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11134 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11135 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11136 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11137 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11138 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11139 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11140 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11141 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11142 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11143 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11144 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11145 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11146 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11147 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11148 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11149 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11150 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11151 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11152 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11153 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11154 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11155 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11156 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11157 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11158 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11159 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11160 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11161 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11162 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11163 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11164 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11165 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11166 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11167 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11168 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11169 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11170 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11171 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11172 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11173 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11174 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11175 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11176 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11177 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11178 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11179 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11180 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11181 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11182 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11183 .rlen = 496,
11184 .also_non_np = 1,
11185 .np = 3,
11186 .tap = { 496 - 20, 4, 16 },
11190 static const struct cipher_testvec tnepres_enc_tv_template[] = {
11191 { /* KeySize=128, PT=0, I=1 */
11192 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
11193 "\x00\x00\x00\x00\x00\x00\x00\x00",
11194 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
11195 "\x00\x00\x00\x00\x00\x00\x00\x00",
11196 .klen = 16,
11197 .ilen = 16,
11198 .result = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11199 "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11200 .rlen = 16,
11201 }, { /* KeySize=192, PT=0, I=1 */
11202 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
11203 "\x00\x00\x00\x00\x00\x00\x00\x00"
11204 "\x00\x00\x00\x00\x00\x00\x00\x00",
11205 .klen = 24,
11206 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
11207 "\x00\x00\x00\x00\x00\x00\x00\x00",
11208 .ilen = 16,
11209 .result = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11210 "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11211 .rlen = 16,
11212 }, { /* KeySize=256, PT=0, I=1 */
11213 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
11214 "\x00\x00\x00\x00\x00\x00\x00\x00"
11215 "\x00\x00\x00\x00\x00\x00\x00\x00"
11216 "\x00\x00\x00\x00\x00\x00\x00\x00",
11217 .klen = 32,
11218 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
11219 "\x00\x00\x00\x00\x00\x00\x00\x00",
11220 .ilen = 16,
11221 .result = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11222 "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11223 .rlen = 16,
11224 }, { /* KeySize=256, I=257 */
11225 .key = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11226 "\x17\x16\x15\x14\x13\x12\x11\x10"
11227 "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11228 "\x07\x06\x05\x04\x03\x02\x01\x00",
11229 .klen = 32,
11230 .input = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11231 "\x07\x06\x05\x04\x03\x02\x01\x00",
11232 .ilen = 16,
11233 .result = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11234 "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11235 .rlen = 16,
11240 static const struct cipher_testvec serpent_dec_tv_template[] = {
11242 .input = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11243 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11244 .ilen = 16,
11245 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11246 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11247 .rlen = 16,
11248 }, {
11249 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11250 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11251 .klen = 16,
11252 .input = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11253 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11254 .ilen = 16,
11255 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11256 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11257 .rlen = 16,
11258 }, {
11259 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11260 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11261 "\x10\x11\x12\x13\x14\x15\x16\x17"
11262 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11263 .klen = 32,
11264 .input = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11265 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11266 .ilen = 16,
11267 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11268 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11269 .rlen = 16,
11270 }, {
11271 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11272 .klen = 16,
11273 .input = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11274 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11275 .ilen = 16,
11276 .result = zeroed_string,
11277 .rlen = 16,
11278 }, { /* Generated with Crypto++ */
11279 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11280 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11281 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11282 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11283 .klen = 32,
11284 .input = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11285 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11286 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11287 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11288 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11289 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11290 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11291 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11292 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11293 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11294 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11295 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11296 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11297 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11298 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11299 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11300 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11301 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11302 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11303 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11304 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11305 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11306 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11307 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11308 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11309 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11310 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11311 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11312 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11313 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11314 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11315 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11316 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11317 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11318 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11319 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11320 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11321 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11322 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11323 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11324 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11325 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11326 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11327 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11328 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11329 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11330 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11331 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11332 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11333 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11334 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11335 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11336 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11337 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11338 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11339 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11340 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11341 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11342 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11343 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11344 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11345 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11346 .ilen = 496,
11347 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11348 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11349 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11350 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11351 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11352 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11353 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11354 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11355 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11356 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11357 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11358 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11359 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11360 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11361 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11362 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11363 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11364 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11365 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11366 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11367 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11368 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11369 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11370 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11371 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11372 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11373 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11374 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11375 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11376 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11377 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11378 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11379 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11380 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11381 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11382 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11383 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11384 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11385 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11386 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11387 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11388 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11389 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11390 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11391 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11392 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11393 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11394 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11395 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11396 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11397 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11398 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11399 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11400 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11401 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11402 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11403 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11404 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11405 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11406 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11407 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11408 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11409 .rlen = 496,
11410 .also_non_np = 1,
11411 .np = 3,
11412 .tap = { 496 - 20, 4, 16 },
11416 static const struct cipher_testvec tnepres_dec_tv_template[] = {
11418 .input = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11419 "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11420 .ilen = 16,
11421 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11422 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11423 .rlen = 16,
11424 }, {
11425 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11426 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11427 .klen = 16,
11428 .input = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
11429 "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
11430 .ilen = 16,
11431 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11432 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11433 .rlen = 16,
11434 }, {
11435 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11436 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11437 "\x10\x11\x12\x13\x14\x15\x16\x17"
11438 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11439 .klen = 32,
11440 .input = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
11441 "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
11442 .ilen = 16,
11443 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11444 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11445 .rlen = 16,
11446 }, { /* KeySize=128, I=121 */
11447 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11448 .klen = 16,
11449 .input = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
11450 "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
11451 .ilen = 16,
11452 .result = zeroed_string,
11453 .rlen = 16,
11457 static const struct cipher_testvec serpent_cbc_enc_tv_template[] = {
11458 { /* Generated with Crypto++ */
11459 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11460 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11461 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11462 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11463 .klen = 32,
11464 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11465 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11466 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11467 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11468 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11469 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11470 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11471 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11472 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11473 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11474 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11475 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11476 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11477 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11478 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11479 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11480 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11481 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11482 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11483 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11484 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11485 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11486 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11487 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11488 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11489 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11490 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11491 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11492 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11493 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11494 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11495 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11496 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11497 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11498 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11499 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11500 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11501 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11502 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11503 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11504 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11505 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11506 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11507 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11508 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11509 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11510 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11511 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11512 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11513 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11514 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11515 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11516 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11517 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11518 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11519 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11520 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11521 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11522 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11523 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11524 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11525 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11526 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11527 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11528 .ilen = 496,
11529 .result = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11530 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11531 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11532 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11533 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11534 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11535 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11536 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11537 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11538 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11539 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11540 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11541 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11542 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11543 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11544 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11545 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11546 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11547 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11548 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11549 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11550 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11551 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11552 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11553 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11554 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11555 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11556 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11557 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11558 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11559 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11560 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11561 "\x81\x92\x66\x67\x15\x1E\x39\x98"
11562 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11563 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11564 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11565 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11566 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11567 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11568 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11569 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11570 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11571 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11572 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11573 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11574 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11575 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11576 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11577 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11578 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11579 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11580 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11581 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11582 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11583 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11584 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11585 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11586 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11587 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11588 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11589 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11590 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11591 .rlen = 496,
11592 .also_non_np = 1,
11593 .np = 3,
11594 .tap = { 496 - 20, 4, 16 },
11598 static const struct cipher_testvec serpent_cbc_dec_tv_template[] = {
11599 { /* Generated with Crypto++ */
11600 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11601 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11602 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11603 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11604 .klen = 32,
11605 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11606 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11607 .input = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11608 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11609 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11610 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11611 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11612 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11613 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11614 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11615 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11616 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11617 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11618 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11619 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11620 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11621 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11622 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11623 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11624 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11625 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11626 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11627 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11628 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11629 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11630 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11631 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11632 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11633 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11634 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11635 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11636 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11637 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11638 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11639 "\x81\x92\x66\x67\x15\x1E\x39\x98"
11640 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11641 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11642 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11643 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11644 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11645 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11646 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11647 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11648 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11649 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11650 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11651 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11652 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11653 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11654 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11655 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11656 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11657 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11658 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11659 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11660 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11661 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11662 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11663 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11664 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11665 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11666 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11667 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11668 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11669 .ilen = 496,
11670 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11671 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11672 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11673 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11674 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11675 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11676 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11677 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11678 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11679 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11680 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11681 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11682 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11683 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11684 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11685 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11686 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11687 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11688 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11689 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11690 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11691 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11692 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11693 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11694 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11695 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11696 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11697 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11698 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11699 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11700 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11701 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11702 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11703 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11704 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11705 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11706 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11707 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11708 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11709 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11710 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11711 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11712 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11713 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11714 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11715 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11716 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11717 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11718 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11719 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11720 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11721 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11722 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11723 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11724 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11725 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11726 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11727 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11728 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11729 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11730 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11731 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11732 .rlen = 496,
11733 .also_non_np = 1,
11734 .np = 3,
11735 .tap = { 496 - 20, 4, 16 },
11739 static const struct cipher_testvec serpent_ctr_enc_tv_template[] = {
11740 { /* Generated with Crypto++ */
11741 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11742 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11743 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11744 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11745 .klen = 32,
11746 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11747 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11748 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11749 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11750 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11751 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11752 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11753 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11754 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11755 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11756 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11757 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11758 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11759 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11760 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11761 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11762 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11763 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11764 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11765 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11766 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11767 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11768 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11769 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11770 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11771 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11772 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11773 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11774 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11775 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11776 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11777 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11778 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11779 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11780 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11781 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11782 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11783 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11784 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11785 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11786 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11787 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11788 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11789 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11790 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11791 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11792 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11793 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11794 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11795 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11796 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11797 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11798 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11799 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11800 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11801 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11802 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11803 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11804 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11805 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11806 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11807 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11808 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11809 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11810 .ilen = 496,
11811 .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11812 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11813 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11814 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11815 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11816 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11817 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11818 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11819 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11820 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11821 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11822 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11823 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11824 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11825 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11826 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11827 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11828 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11829 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11830 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11831 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11832 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11833 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11834 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11835 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11836 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11837 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11838 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11839 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11840 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11841 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11842 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11843 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11844 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11845 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11846 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11847 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11848 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11849 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11850 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11851 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11852 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11853 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11854 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11855 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11856 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11857 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11858 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11859 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11860 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11861 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11862 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11863 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11864 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11865 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11866 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11867 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11868 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11869 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11870 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11871 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11872 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
11873 .rlen = 496,
11874 }, { /* Generated with Crypto++ */
11875 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11876 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11877 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11878 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11879 .klen = 32,
11880 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11881 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11882 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11883 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11884 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11885 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11886 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11887 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11888 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11889 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11890 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11891 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11892 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11893 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11894 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11895 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11896 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11897 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11898 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11899 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11900 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11901 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11902 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11903 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11904 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11905 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11906 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11907 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11908 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11909 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11910 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11911 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11912 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11913 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11914 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11915 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11916 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11917 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11918 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11919 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11920 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11921 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11922 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11923 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11924 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11925 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11926 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11927 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11928 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11929 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11930 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11931 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11932 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11933 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11934 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11935 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11936 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11937 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11938 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11939 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11940 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11941 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11942 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11943 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11944 "\x2B\xC2\x59",
11945 .ilen = 499,
11946 .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11947 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11948 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11949 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11950 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11951 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11952 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11953 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11954 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11955 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11956 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11957 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11958 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11959 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11960 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11961 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11962 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11963 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11964 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11965 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11966 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11967 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11968 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11969 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11970 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11971 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11972 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11973 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11974 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11975 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11976 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11977 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11978 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11979 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11980 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11981 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11982 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11983 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11984 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11985 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11986 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11987 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11988 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11989 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11990 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11991 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11992 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11993 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11994 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11995 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11996 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11997 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11998 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11999 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12000 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12001 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12002 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12003 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12004 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12005 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12006 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12007 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12008 "\x38\xE2\xE5",
12009 .rlen = 499,
12010 .also_non_np = 1,
12011 .np = 2,
12012 .tap = { 499 - 16, 16 },
12013 }, { /* Generated with Crypto++ */
12014 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12015 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12016 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12017 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12018 .klen = 32,
12019 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12020 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12021 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12022 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12023 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12024 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12025 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12026 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12027 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12028 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12029 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12030 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12031 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12032 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12033 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12034 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12035 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12036 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12037 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12038 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12039 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12040 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12041 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12042 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12043 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12044 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12045 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12046 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12047 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12048 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12049 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12050 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12051 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12052 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12053 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12054 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12055 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12056 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12057 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12058 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12059 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12060 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12061 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12062 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12063 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12064 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12065 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12066 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12067 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12068 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12069 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12070 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12071 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12072 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12073 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12074 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12075 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12076 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12077 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12078 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12079 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12080 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12081 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12082 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12083 .ilen = 496,
12084 .result = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12085 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12086 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12087 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12088 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12089 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12090 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12091 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12092 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12093 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12094 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12095 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12096 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12097 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12098 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12099 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12100 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12101 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12102 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12103 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12104 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12105 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12106 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12107 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12108 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12109 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12110 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12111 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12112 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12113 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12114 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12115 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12116 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12117 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12118 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12119 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12120 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12121 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12122 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12123 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12124 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12125 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12126 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12127 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12128 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12129 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12130 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12131 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12132 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12133 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12134 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12135 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12136 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12137 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12138 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12139 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12140 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12141 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12142 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12143 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12144 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12145 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12146 .rlen = 496,
12150 static const struct cipher_testvec serpent_ctr_dec_tv_template[] = {
12151 { /* Generated with Crypto++ */
12152 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12153 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12154 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12155 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12156 .klen = 32,
12157 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12158 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12159 .input = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12160 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12161 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12162 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12163 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12164 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12165 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12166 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12167 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12168 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12169 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12170 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12171 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12172 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12173 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12174 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12175 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12176 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12177 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12178 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12179 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12180 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12181 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12182 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12183 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12184 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12185 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12186 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12187 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12188 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12189 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12190 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12191 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12192 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12193 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12194 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12195 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12196 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12197 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12198 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12199 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12200 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12201 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12202 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12203 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12204 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12205 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12206 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12207 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12208 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12209 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12210 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12211 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12212 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12213 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12214 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12215 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12216 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12217 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12218 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12219 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12220 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12221 .ilen = 496,
12222 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12223 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12224 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12225 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12226 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12227 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12228 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12229 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12230 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12231 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12232 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12233 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12234 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12235 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12236 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12237 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12238 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12239 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12240 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12241 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12242 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12243 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12244 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12245 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12246 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12247 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12248 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12249 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12250 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12251 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12252 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12253 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12254 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12255 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12256 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12257 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12258 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12259 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12260 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12261 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12262 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12263 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12264 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12265 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12266 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12267 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12268 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12269 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12270 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12271 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12272 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12273 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12274 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12275 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12276 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12277 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12278 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12279 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12280 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12281 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12282 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12283 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12284 .rlen = 496,
12285 }, { /* Generated with Crypto++ */
12286 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12287 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12288 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12289 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12290 .klen = 32,
12291 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12292 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12293 .input = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12294 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12295 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12296 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12297 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12298 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12299 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12300 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12301 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12302 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12303 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12304 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12305 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12306 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12307 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12308 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12309 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12310 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12311 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12312 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12313 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12314 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12315 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12316 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12317 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12318 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12319 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12320 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12321 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12322 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12323 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12324 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12325 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12326 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12327 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12328 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12329 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12330 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12331 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12332 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12333 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12334 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12335 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12336 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12337 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12338 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12339 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12340 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12341 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12342 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12343 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12344 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12345 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12346 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12347 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12348 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12349 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12350 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12351 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12352 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12353 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12354 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12355 "\x38\xE2\xE5",
12356 .ilen = 499,
12357 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12358 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12359 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12360 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12361 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12362 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12363 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12364 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12365 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12366 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12367 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12368 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12369 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12370 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12371 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12372 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12373 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12374 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12375 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12376 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12377 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12378 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12379 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12380 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12381 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12382 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12383 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12384 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12385 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12386 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12387 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12388 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12389 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12390 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12391 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12392 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12393 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12394 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12395 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12396 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12397 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12398 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12399 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12400 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12401 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12402 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12403 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12404 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12405 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12406 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12407 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12408 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12409 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12410 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12411 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12412 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12413 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12414 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12415 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12416 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12417 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12418 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12419 "\x2B\xC2\x59",
12420 .rlen = 499,
12421 .also_non_np = 1,
12422 .np = 2,
12423 .tap = { 499 - 16, 16 },
12424 }, { /* Generated with Crypto++ */
12425 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12426 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12427 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12428 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12429 .klen = 32,
12430 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12431 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12432 .input = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12433 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12434 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12435 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12436 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12437 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12438 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12439 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12440 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12441 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12442 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12443 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12444 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12445 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12446 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12447 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12448 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12449 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12450 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12451 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12452 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12453 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12454 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12455 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12456 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12457 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12458 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12459 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12460 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12461 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12462 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12463 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12464 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12465 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12466 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12467 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12468 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12469 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12470 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12471 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12472 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12473 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12474 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12475 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12476 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12477 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12478 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12479 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12480 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12481 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12482 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12483 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12484 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12485 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12486 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12487 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12488 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12489 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12490 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12491 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12492 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12493 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12494 .ilen = 496,
12495 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12496 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12497 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12498 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12499 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12500 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12501 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12502 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12503 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12504 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12505 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12506 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12507 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12508 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12509 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12510 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12511 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12512 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12513 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12514 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12515 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12516 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12517 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12518 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12519 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12520 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12521 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12522 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12523 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12524 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12525 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12526 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12527 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12528 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12529 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12530 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12531 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12532 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12533 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12534 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12535 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12536 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12537 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12538 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12539 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12540 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12541 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12542 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12543 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12544 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12545 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12546 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12547 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12548 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12549 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12550 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12551 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12552 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12553 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12554 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12555 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12556 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12557 .rlen = 496,
12561 static const struct cipher_testvec serpent_lrw_enc_tv_template[] = {
12562 /* Generated from AES-LRW test vectors */
12564 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12565 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12566 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12567 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12568 .klen = 32,
12569 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12570 "\x00\x00\x00\x00\x00\x00\x00\x01",
12571 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12572 "\x38\x39\x41\x42\x43\x44\x45\x46",
12573 .ilen = 16,
12574 .result = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12575 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12576 .rlen = 16,
12577 }, {
12578 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12579 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12580 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12581 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12582 .klen = 32,
12583 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12584 "\x00\x00\x00\x00\x00\x00\x00\x02",
12585 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12586 "\x38\x39\x41\x42\x43\x44\x45\x46",
12587 .ilen = 16,
12588 .result = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12589 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12590 .rlen = 16,
12591 }, {
12592 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12593 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12594 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12595 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12596 .klen = 32,
12597 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12598 "\x00\x00\x00\x02\x00\x00\x00\x00",
12599 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12600 "\x38\x39\x41\x42\x43\x44\x45\x46",
12601 .ilen = 16,
12602 .result = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12603 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12604 .rlen = 16,
12605 }, {
12606 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12607 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12608 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12609 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12610 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12611 .klen = 40,
12612 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12613 "\x00\x00\x00\x00\x00\x00\x00\x01",
12614 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12615 "\x38\x39\x41\x42\x43\x44\x45\x46",
12616 .ilen = 16,
12617 .result = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12618 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12619 .rlen = 16,
12620 }, {
12621 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12622 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12623 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12624 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12625 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12626 .klen = 40,
12627 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12628 "\x00\x00\x00\x02\x00\x00\x00\x00",
12629 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12630 "\x38\x39\x41\x42\x43\x44\x45\x46",
12631 .ilen = 16,
12632 .result = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12633 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12634 .rlen = 16,
12635 }, {
12636 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12637 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12638 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12639 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12640 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12641 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12642 .klen = 48,
12643 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12644 "\x00\x00\x00\x00\x00\x00\x00\x01",
12645 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12646 "\x38\x39\x41\x42\x43\x44\x45\x46",
12647 .ilen = 16,
12648 .result = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12649 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12650 .rlen = 16,
12651 }, {
12652 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12653 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12654 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12655 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12656 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12657 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12658 .klen = 48,
12659 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12660 "\x00\x00\x00\x02\x00\x00\x00\x00",
12661 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
12662 "\x38\x39\x41\x42\x43\x44\x45\x46",
12663 .ilen = 16,
12664 .result = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12665 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12666 .rlen = 16,
12667 }, {
12668 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12669 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12670 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12671 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12672 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12673 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12674 .klen = 48,
12675 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12676 "\x00\x00\x00\x00\x00\x00\x00\x01",
12677 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12678 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12679 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12680 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12681 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12682 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12683 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12684 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12685 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12686 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12687 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12688 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12689 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12690 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12691 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12692 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12693 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12694 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12695 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12696 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12697 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12698 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12699 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12700 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12701 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12702 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12703 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12704 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12705 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12706 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12707 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12708 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12709 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12710 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12711 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12712 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12713 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12714 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12715 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12716 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12717 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12718 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12719 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12720 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12721 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12722 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12723 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12724 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12725 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12726 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12727 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12728 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12729 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12730 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12731 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12732 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12733 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12734 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12735 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12736 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12737 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12738 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12739 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12740 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12741 .ilen = 512,
12742 .result = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12743 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12744 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12745 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12746 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12747 "\xce\xab\xda\x33\x30\x20\x12\xfa"
12748 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12749 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12750 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12751 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12752 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12753 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12754 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12755 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12756 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12757 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12758 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12759 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12760 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12761 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12762 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12763 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12764 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12765 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12766 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12767 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12768 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12769 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12770 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12771 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12772 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12773 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12774 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12775 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12776 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12777 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12778 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12779 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12780 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12781 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12782 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12783 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12784 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12785 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12786 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12787 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12788 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12789 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12790 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12791 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12792 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12793 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12794 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12795 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12796 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12797 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12798 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12799 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12800 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12801 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12802 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12803 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12804 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12805 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12806 .rlen = 512,
12807 .also_non_np = 1,
12808 .np = 3,
12809 .tap = { 512 - 20, 4, 16 },
12813 static const struct cipher_testvec serpent_lrw_dec_tv_template[] = {
12814 /* Generated from AES-LRW test vectors */
12815 /* same as enc vectors with input and result reversed */
12817 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12818 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12819 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12820 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12821 .klen = 32,
12822 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12823 "\x00\x00\x00\x00\x00\x00\x00\x01",
12824 .input = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12825 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12826 .ilen = 16,
12827 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12828 "\x38\x39\x41\x42\x43\x44\x45\x46",
12829 .rlen = 16,
12830 }, {
12831 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12832 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12833 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12834 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12835 .klen = 32,
12836 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12837 "\x00\x00\x00\x00\x00\x00\x00\x02",
12838 .input = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12839 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12840 .ilen = 16,
12841 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12842 "\x38\x39\x41\x42\x43\x44\x45\x46",
12843 .rlen = 16,
12844 }, {
12845 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12846 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12847 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12848 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12849 .klen = 32,
12850 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12851 "\x00\x00\x00\x02\x00\x00\x00\x00",
12852 .input = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12853 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12854 .ilen = 16,
12855 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12856 "\x38\x39\x41\x42\x43\x44\x45\x46",
12857 .rlen = 16,
12858 }, {
12859 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12860 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12861 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12862 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12863 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12864 .klen = 40,
12865 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12866 "\x00\x00\x00\x00\x00\x00\x00\x01",
12867 .input = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12868 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12869 .ilen = 16,
12870 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12871 "\x38\x39\x41\x42\x43\x44\x45\x46",
12872 .rlen = 16,
12873 }, {
12874 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12875 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12876 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12877 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12878 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12879 .klen = 40,
12880 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12881 "\x00\x00\x00\x02\x00\x00\x00\x00",
12882 .input = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12883 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12884 .ilen = 16,
12885 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12886 "\x38\x39\x41\x42\x43\x44\x45\x46",
12887 .rlen = 16,
12888 }, {
12889 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12890 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12891 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12892 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12893 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12894 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12895 .klen = 48,
12896 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12897 "\x00\x00\x00\x00\x00\x00\x00\x01",
12898 .input = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12899 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12900 .ilen = 16,
12901 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12902 "\x38\x39\x41\x42\x43\x44\x45\x46",
12903 .rlen = 16,
12904 }, {
12905 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12906 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12907 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12908 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12909 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12910 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12911 .klen = 48,
12912 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12913 "\x00\x00\x00\x02\x00\x00\x00\x00",
12914 .input = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12915 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12916 .ilen = 16,
12917 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
12918 "\x38\x39\x41\x42\x43\x44\x45\x46",
12919 .rlen = 16,
12920 }, {
12921 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12922 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12923 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12924 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12925 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12926 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12927 .klen = 48,
12928 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12929 "\x00\x00\x00\x00\x00\x00\x00\x01",
12930 .input = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12931 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12932 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12933 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12934 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12935 "\xce\xab\xda\x33\x30\x20\x12\xfa"
12936 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12937 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12938 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12939 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12940 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12941 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12942 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12943 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12944 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12945 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12946 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12947 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12948 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12949 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12950 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12951 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12952 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12953 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12954 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12955 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12956 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12957 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12958 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12959 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12960 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12961 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12962 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12963 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12964 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12965 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12966 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12967 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12968 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12969 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12970 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12971 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12972 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12973 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12974 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12975 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12976 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12977 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12978 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12979 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12980 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12981 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12982 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12983 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12984 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12985 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12986 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12987 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12988 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12989 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12990 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12991 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12992 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12993 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12994 .ilen = 512,
12995 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12996 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12997 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12998 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12999 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13000 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13001 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13002 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13003 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13004 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13005 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13006 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13007 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13008 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13009 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13010 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13011 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13012 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13013 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13014 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13015 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13016 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13017 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13018 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13019 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13020 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13021 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13022 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13023 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13024 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13025 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13026 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13027 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13028 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13029 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13030 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13031 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13032 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13033 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13034 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13035 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13036 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13037 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13038 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13039 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13040 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13041 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13042 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13043 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13044 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13045 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13046 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13047 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13048 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13049 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13050 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13051 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13052 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13053 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13054 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13055 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13056 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13057 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13058 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13059 .rlen = 512,
13060 .also_non_np = 1,
13061 .np = 3,
13062 .tap = { 512 - 20, 4, 16 },
13066 static const struct cipher_testvec serpent_xts_enc_tv_template[] = {
13067 /* Generated from AES-XTS test vectors */
13069 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
13070 "\x00\x00\x00\x00\x00\x00\x00\x00"
13071 "\x00\x00\x00\x00\x00\x00\x00\x00"
13072 "\x00\x00\x00\x00\x00\x00\x00\x00",
13073 .klen = 32,
13074 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13075 "\x00\x00\x00\x00\x00\x00\x00\x00",
13076 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
13077 "\x00\x00\x00\x00\x00\x00\x00\x00"
13078 "\x00\x00\x00\x00\x00\x00\x00\x00"
13079 "\x00\x00\x00\x00\x00\x00\x00\x00",
13080 .ilen = 32,
13081 .result = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13082 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13083 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13084 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13085 .rlen = 32,
13086 }, {
13087 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
13088 "\x11\x11\x11\x11\x11\x11\x11\x11"
13089 "\x22\x22\x22\x22\x22\x22\x22\x22"
13090 "\x22\x22\x22\x22\x22\x22\x22\x22",
13091 .klen = 32,
13092 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13093 "\x00\x00\x00\x00\x00\x00\x00\x00",
13094 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
13095 "\x44\x44\x44\x44\x44\x44\x44\x44"
13096 "\x44\x44\x44\x44\x44\x44\x44\x44"
13097 "\x44\x44\x44\x44\x44\x44\x44\x44",
13098 .ilen = 32,
13099 .result = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13100 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13101 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13102 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13103 .rlen = 32,
13104 }, {
13105 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13106 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13107 "\x22\x22\x22\x22\x22\x22\x22\x22"
13108 "\x22\x22\x22\x22\x22\x22\x22\x22",
13109 .klen = 32,
13110 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13111 "\x00\x00\x00\x00\x00\x00\x00\x00",
13112 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
13113 "\x44\x44\x44\x44\x44\x44\x44\x44"
13114 "\x44\x44\x44\x44\x44\x44\x44\x44"
13115 "\x44\x44\x44\x44\x44\x44\x44\x44",
13116 .ilen = 32,
13117 .result = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13118 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13119 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13120 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13121 .rlen = 32,
13122 }, {
13123 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13124 "\x23\x53\x60\x28\x74\x71\x35\x26"
13125 "\x31\x41\x59\x26\x53\x58\x97\x93"
13126 "\x23\x84\x62\x64\x33\x83\x27\x95",
13127 .klen = 32,
13128 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13129 "\x00\x00\x00\x00\x00\x00\x00\x00",
13130 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
13131 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13132 "\x10\x11\x12\x13\x14\x15\x16\x17"
13133 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13134 "\x20\x21\x22\x23\x24\x25\x26\x27"
13135 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13136 "\x30\x31\x32\x33\x34\x35\x36\x37"
13137 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13138 "\x40\x41\x42\x43\x44\x45\x46\x47"
13139 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13140 "\x50\x51\x52\x53\x54\x55\x56\x57"
13141 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13142 "\x60\x61\x62\x63\x64\x65\x66\x67"
13143 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13144 "\x70\x71\x72\x73\x74\x75\x76\x77"
13145 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13146 "\x80\x81\x82\x83\x84\x85\x86\x87"
13147 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13148 "\x90\x91\x92\x93\x94\x95\x96\x97"
13149 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13150 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13151 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13152 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13153 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13154 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13155 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13156 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13157 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13158 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13159 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13160 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13161 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13162 "\x00\x01\x02\x03\x04\x05\x06\x07"
13163 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13164 "\x10\x11\x12\x13\x14\x15\x16\x17"
13165 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13166 "\x20\x21\x22\x23\x24\x25\x26\x27"
13167 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13168 "\x30\x31\x32\x33\x34\x35\x36\x37"
13169 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13170 "\x40\x41\x42\x43\x44\x45\x46\x47"
13171 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13172 "\x50\x51\x52\x53\x54\x55\x56\x57"
13173 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13174 "\x60\x61\x62\x63\x64\x65\x66\x67"
13175 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13176 "\x70\x71\x72\x73\x74\x75\x76\x77"
13177 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13178 "\x80\x81\x82\x83\x84\x85\x86\x87"
13179 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13180 "\x90\x91\x92\x93\x94\x95\x96\x97"
13181 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13182 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13183 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13184 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13185 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13186 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13187 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13188 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13189 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13190 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13191 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13192 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13193 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13194 .ilen = 512,
13195 .result = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13196 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13197 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13198 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13199 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13200 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13201 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13202 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13203 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13204 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13205 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13206 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13207 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13208 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13209 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13210 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13211 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13212 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13213 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13214 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13215 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13216 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13217 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13218 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13219 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13220 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13221 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13222 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13223 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13224 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13225 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13226 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13227 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13228 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13229 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13230 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13231 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13232 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13233 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13234 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13235 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13236 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13237 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13238 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13239 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13240 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13241 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13242 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13243 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13244 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13245 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13246 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13247 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13248 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13249 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13250 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13251 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13252 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13253 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13254 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13255 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13256 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13257 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13258 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13259 .rlen = 512,
13260 }, {
13261 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13262 "\x23\x53\x60\x28\x74\x71\x35\x26"
13263 "\x62\x49\x77\x57\x24\x70\x93\x69"
13264 "\x99\x59\x57\x49\x66\x96\x76\x27"
13265 "\x31\x41\x59\x26\x53\x58\x97\x93"
13266 "\x23\x84\x62\x64\x33\x83\x27\x95"
13267 "\x02\x88\x41\x97\x16\x93\x99\x37"
13268 "\x51\x05\x82\x09\x74\x94\x45\x92",
13269 .klen = 64,
13270 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13271 "\x00\x00\x00\x00\x00\x00\x00\x00",
13272 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
13273 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13274 "\x10\x11\x12\x13\x14\x15\x16\x17"
13275 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13276 "\x20\x21\x22\x23\x24\x25\x26\x27"
13277 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13278 "\x30\x31\x32\x33\x34\x35\x36\x37"
13279 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13280 "\x40\x41\x42\x43\x44\x45\x46\x47"
13281 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13282 "\x50\x51\x52\x53\x54\x55\x56\x57"
13283 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13284 "\x60\x61\x62\x63\x64\x65\x66\x67"
13285 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13286 "\x70\x71\x72\x73\x74\x75\x76\x77"
13287 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13288 "\x80\x81\x82\x83\x84\x85\x86\x87"
13289 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13290 "\x90\x91\x92\x93\x94\x95\x96\x97"
13291 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13292 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13293 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13294 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13295 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13296 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13297 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13298 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13299 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13300 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13301 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13302 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13303 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13304 "\x00\x01\x02\x03\x04\x05\x06\x07"
13305 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13306 "\x10\x11\x12\x13\x14\x15\x16\x17"
13307 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13308 "\x20\x21\x22\x23\x24\x25\x26\x27"
13309 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13310 "\x30\x31\x32\x33\x34\x35\x36\x37"
13311 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13312 "\x40\x41\x42\x43\x44\x45\x46\x47"
13313 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13314 "\x50\x51\x52\x53\x54\x55\x56\x57"
13315 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13316 "\x60\x61\x62\x63\x64\x65\x66\x67"
13317 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13318 "\x70\x71\x72\x73\x74\x75\x76\x77"
13319 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13320 "\x80\x81\x82\x83\x84\x85\x86\x87"
13321 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13322 "\x90\x91\x92\x93\x94\x95\x96\x97"
13323 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13324 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13325 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13326 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13327 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13328 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13329 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13330 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13331 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13332 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13333 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13334 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13335 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13336 .ilen = 512,
13337 .result = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13338 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13339 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13340 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13341 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13342 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13343 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13344 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13345 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13346 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13347 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13348 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13349 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13350 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13351 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13352 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13353 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13354 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13355 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13356 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13357 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13358 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13359 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13360 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13361 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13362 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13363 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13364 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13365 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13366 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13367 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13368 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13369 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13370 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13371 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13372 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13373 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13374 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13375 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13376 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13377 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13378 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13379 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13380 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13381 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13382 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13383 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13384 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13385 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13386 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13387 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13388 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13389 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13390 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13391 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13392 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13393 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13394 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13395 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13396 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13397 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13398 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13399 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13400 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13401 .rlen = 512,
13402 .also_non_np = 1,
13403 .np = 3,
13404 .tap = { 512 - 20, 4, 16 },
13408 static const struct cipher_testvec serpent_xts_dec_tv_template[] = {
13409 /* Generated from AES-XTS test vectors */
13410 /* same as enc vectors with input and result reversed */
13412 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
13413 "\x00\x00\x00\x00\x00\x00\x00\x00"
13414 "\x00\x00\x00\x00\x00\x00\x00\x00"
13415 "\x00\x00\x00\x00\x00\x00\x00\x00",
13416 .klen = 32,
13417 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13418 "\x00\x00\x00\x00\x00\x00\x00\x00",
13419 .input = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13420 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13421 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13422 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13423 .ilen = 32,
13424 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
13425 "\x00\x00\x00\x00\x00\x00\x00\x00"
13426 "\x00\x00\x00\x00\x00\x00\x00\x00"
13427 "\x00\x00\x00\x00\x00\x00\x00\x00",
13428 .rlen = 32,
13429 }, {
13430 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
13431 "\x11\x11\x11\x11\x11\x11\x11\x11"
13432 "\x22\x22\x22\x22\x22\x22\x22\x22"
13433 "\x22\x22\x22\x22\x22\x22\x22\x22",
13434 .klen = 32,
13435 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13436 "\x00\x00\x00\x00\x00\x00\x00\x00",
13437 .input = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13438 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13439 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13440 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13441 .ilen = 32,
13442 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
13443 "\x44\x44\x44\x44\x44\x44\x44\x44"
13444 "\x44\x44\x44\x44\x44\x44\x44\x44"
13445 "\x44\x44\x44\x44\x44\x44\x44\x44",
13446 .rlen = 32,
13447 }, {
13448 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13449 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13450 "\x22\x22\x22\x22\x22\x22\x22\x22"
13451 "\x22\x22\x22\x22\x22\x22\x22\x22",
13452 .klen = 32,
13453 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13454 "\x00\x00\x00\x00\x00\x00\x00\x00",
13455 .input = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13456 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13457 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13458 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13459 .ilen = 32,
13460 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
13461 "\x44\x44\x44\x44\x44\x44\x44\x44"
13462 "\x44\x44\x44\x44\x44\x44\x44\x44"
13463 "\x44\x44\x44\x44\x44\x44\x44\x44",
13464 .rlen = 32,
13465 }, {
13466 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13467 "\x23\x53\x60\x28\x74\x71\x35\x26"
13468 "\x31\x41\x59\x26\x53\x58\x97\x93"
13469 "\x23\x84\x62\x64\x33\x83\x27\x95",
13470 .klen = 32,
13471 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13472 "\x00\x00\x00\x00\x00\x00\x00\x00",
13473 .input = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13474 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13475 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13476 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13477 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13478 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13479 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13480 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13481 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13482 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13483 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13484 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13485 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13486 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13487 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13488 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13489 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13490 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13491 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13492 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13493 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13494 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13495 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13496 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13497 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13498 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13499 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13500 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13501 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13502 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13503 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13504 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13505 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13506 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13507 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13508 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13509 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13510 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13511 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13512 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13513 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13514 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13515 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13516 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13517 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13518 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13519 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13520 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13521 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13522 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13523 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13524 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13525 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13526 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13527 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13528 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13529 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13530 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13531 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13532 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13533 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13534 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13535 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13536 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13537 .ilen = 512,
13538 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
13539 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13540 "\x10\x11\x12\x13\x14\x15\x16\x17"
13541 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13542 "\x20\x21\x22\x23\x24\x25\x26\x27"
13543 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13544 "\x30\x31\x32\x33\x34\x35\x36\x37"
13545 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13546 "\x40\x41\x42\x43\x44\x45\x46\x47"
13547 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13548 "\x50\x51\x52\x53\x54\x55\x56\x57"
13549 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13550 "\x60\x61\x62\x63\x64\x65\x66\x67"
13551 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13552 "\x70\x71\x72\x73\x74\x75\x76\x77"
13553 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13554 "\x80\x81\x82\x83\x84\x85\x86\x87"
13555 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13556 "\x90\x91\x92\x93\x94\x95\x96\x97"
13557 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13558 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13559 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13560 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13561 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13562 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13563 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13564 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13565 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13566 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13567 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13568 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13569 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13570 "\x00\x01\x02\x03\x04\x05\x06\x07"
13571 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13572 "\x10\x11\x12\x13\x14\x15\x16\x17"
13573 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13574 "\x20\x21\x22\x23\x24\x25\x26\x27"
13575 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13576 "\x30\x31\x32\x33\x34\x35\x36\x37"
13577 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13578 "\x40\x41\x42\x43\x44\x45\x46\x47"
13579 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13580 "\x50\x51\x52\x53\x54\x55\x56\x57"
13581 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13582 "\x60\x61\x62\x63\x64\x65\x66\x67"
13583 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13584 "\x70\x71\x72\x73\x74\x75\x76\x77"
13585 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13586 "\x80\x81\x82\x83\x84\x85\x86\x87"
13587 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13588 "\x90\x91\x92\x93\x94\x95\x96\x97"
13589 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13590 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13591 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13592 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13593 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13594 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13595 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13596 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13597 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13598 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13599 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13600 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13601 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13602 .rlen = 512,
13603 }, {
13604 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13605 "\x23\x53\x60\x28\x74\x71\x35\x26"
13606 "\x62\x49\x77\x57\x24\x70\x93\x69"
13607 "\x99\x59\x57\x49\x66\x96\x76\x27"
13608 "\x31\x41\x59\x26\x53\x58\x97\x93"
13609 "\x23\x84\x62\x64\x33\x83\x27\x95"
13610 "\x02\x88\x41\x97\x16\x93\x99\x37"
13611 "\x51\x05\x82\x09\x74\x94\x45\x92",
13612 .klen = 64,
13613 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13614 "\x00\x00\x00\x00\x00\x00\x00\x00",
13615 .input = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13616 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13617 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13618 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13619 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13620 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13621 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13622 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13623 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13624 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13625 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13626 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13627 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13628 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13629 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13630 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13631 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13632 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13633 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13634 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13635 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13636 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13637 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13638 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13639 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13640 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13641 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13642 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13643 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13644 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13645 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13646 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13647 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13648 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13649 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13650 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13651 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13652 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13653 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13654 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13655 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13656 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13657 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13658 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13659 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13660 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13661 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13662 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13663 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13664 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13665 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13666 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13667 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13668 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13669 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13670 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13671 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13672 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13673 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13674 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13675 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13676 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13677 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13678 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13679 .ilen = 512,
13680 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
13681 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13682 "\x10\x11\x12\x13\x14\x15\x16\x17"
13683 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13684 "\x20\x21\x22\x23\x24\x25\x26\x27"
13685 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13686 "\x30\x31\x32\x33\x34\x35\x36\x37"
13687 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13688 "\x40\x41\x42\x43\x44\x45\x46\x47"
13689 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13690 "\x50\x51\x52\x53\x54\x55\x56\x57"
13691 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13692 "\x60\x61\x62\x63\x64\x65\x66\x67"
13693 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13694 "\x70\x71\x72\x73\x74\x75\x76\x77"
13695 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13696 "\x80\x81\x82\x83\x84\x85\x86\x87"
13697 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13698 "\x90\x91\x92\x93\x94\x95\x96\x97"
13699 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13700 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13701 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13702 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13703 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13704 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13705 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13706 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13707 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13708 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13709 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13710 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13711 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13712 "\x00\x01\x02\x03\x04\x05\x06\x07"
13713 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13714 "\x10\x11\x12\x13\x14\x15\x16\x17"
13715 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13716 "\x20\x21\x22\x23\x24\x25\x26\x27"
13717 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13718 "\x30\x31\x32\x33\x34\x35\x36\x37"
13719 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13720 "\x40\x41\x42\x43\x44\x45\x46\x47"
13721 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13722 "\x50\x51\x52\x53\x54\x55\x56\x57"
13723 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13724 "\x60\x61\x62\x63\x64\x65\x66\x67"
13725 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13726 "\x70\x71\x72\x73\x74\x75\x76\x77"
13727 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13728 "\x80\x81\x82\x83\x84\x85\x86\x87"
13729 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13730 "\x90\x91\x92\x93\x94\x95\x96\x97"
13731 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13732 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13733 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13734 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13735 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13736 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13737 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13738 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13739 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13740 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13741 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13742 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13743 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13744 .rlen = 512,
13745 .also_non_np = 1,
13746 .np = 3,
13747 .tap = { 512 - 20, 4, 16 },
13751 /* Cast6 test vectors from RFC 2612 */
13752 static const struct cipher_testvec cast6_enc_tv_template[] = {
13754 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13755 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13756 .klen = 16,
13757 .input = zeroed_string,
13758 .ilen = 16,
13759 .result = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13760 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13761 .rlen = 16,
13762 }, {
13763 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13764 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13765 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13766 .klen = 24,
13767 .input = zeroed_string,
13768 .ilen = 16,
13769 .result = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13770 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13771 .rlen = 16,
13772 }, {
13773 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13774 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13775 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13776 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13777 .klen = 32,
13778 .input = zeroed_string,
13779 .ilen = 16,
13780 .result = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13781 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13782 .rlen = 16,
13783 }, { /* Generated from TF test vectors */
13784 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13785 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13786 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13787 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13788 .klen = 32,
13789 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13790 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13791 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13792 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13793 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13794 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13795 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13796 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13797 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13798 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13799 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13800 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13801 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13802 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13803 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13804 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13805 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13806 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13807 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13808 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13809 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13810 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13811 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13812 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13813 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13814 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13815 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13816 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13817 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13818 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13819 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13820 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13821 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13822 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13823 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13824 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13825 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13826 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13827 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13828 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13829 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13830 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13831 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13832 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13833 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13834 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13835 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13836 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13837 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13838 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13839 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13840 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13841 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13842 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13843 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13844 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13845 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13846 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13847 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13848 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13849 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13850 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13851 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13852 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13853 .ilen = 496,
13854 .result = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13855 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13856 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13857 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13858 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13859 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13860 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13861 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13862 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13863 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13864 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13865 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13866 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13867 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13868 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13869 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13870 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13871 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13872 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13873 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13874 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13875 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13876 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13877 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13878 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13879 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13880 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13881 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13882 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13883 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13884 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13885 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13886 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13887 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13888 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13889 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13890 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13891 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13892 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13893 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13894 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13895 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13896 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13897 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13898 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13899 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13900 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13901 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13902 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13903 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13904 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13905 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13906 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13907 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13908 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13909 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13910 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13911 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13912 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13913 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13914 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13915 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13916 .rlen = 496,
13917 .also_non_np = 1,
13918 .np = 3,
13919 .tap = { 496 - 20, 4, 16 },
13923 static const struct cipher_testvec cast6_dec_tv_template[] = {
13925 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13926 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13927 .klen = 16,
13928 .input = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13929 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13930 .ilen = 16,
13931 .result = zeroed_string,
13932 .rlen = 16,
13933 }, {
13934 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13935 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13936 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13937 .klen = 24,
13938 .input = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13939 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13940 .ilen = 16,
13941 .result = zeroed_string,
13942 .rlen = 16,
13943 }, {
13944 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13945 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13946 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13947 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13948 .klen = 32,
13949 .input = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13950 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13951 .ilen = 16,
13952 .result = zeroed_string,
13953 .rlen = 16,
13954 }, { /* Generated from TF test vectors */
13955 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13956 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13957 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13958 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13959 .klen = 32,
13960 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13961 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13962 .input = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13963 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13964 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13965 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13966 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13967 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13968 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13969 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13970 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13971 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13972 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13973 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13974 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13975 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13976 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13977 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13978 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13979 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13980 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13981 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13982 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13983 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13984 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13985 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13986 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13987 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13988 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13989 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13990 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13991 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13992 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13993 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13994 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13995 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13996 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13997 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13998 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13999 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
14000 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
14001 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
14002 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
14003 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
14004 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
14005 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
14006 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
14007 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
14008 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
14009 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
14010 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
14011 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
14012 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
14013 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
14014 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
14015 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
14016 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
14017 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
14018 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
14019 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
14020 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
14021 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
14022 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
14023 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
14024 .ilen = 496,
14025 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14026 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14027 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14028 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14029 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14030 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14031 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14032 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14033 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14034 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14035 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14036 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14037 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14038 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14039 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14040 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14041 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14042 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14043 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14044 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14045 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14046 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14047 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14048 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14049 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14050 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14051 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14052 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14053 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14054 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14055 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14056 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14057 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14058 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14059 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14060 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14061 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14062 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14063 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14064 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14065 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14066 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14067 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14068 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14069 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14070 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14071 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14072 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14073 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14074 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14075 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14076 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14077 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14078 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14079 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14080 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14081 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14082 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14083 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14084 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14085 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14086 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14087 .rlen = 496,
14088 .also_non_np = 1,
14089 .np = 3,
14090 .tap = { 496 - 20, 4, 16 },
14094 static const struct cipher_testvec cast6_cbc_enc_tv_template[] = {
14095 { /* Generated from TF test vectors */
14096 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14097 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14098 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14099 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14100 .klen = 32,
14101 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14102 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14103 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14104 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14105 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14106 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14107 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14108 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14109 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14110 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14111 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14112 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14113 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14114 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14115 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14116 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14117 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14118 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14119 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14120 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14121 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14122 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14123 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14124 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14125 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14126 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14127 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14128 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14129 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14130 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14131 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14132 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14133 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14134 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14135 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14136 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14137 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14138 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14139 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14140 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14141 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14142 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14143 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14144 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14145 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14146 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14147 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14148 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14149 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14150 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14151 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14152 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14153 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14154 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14155 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14156 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14157 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14158 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14159 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14160 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14161 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14162 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14163 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14164 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14165 .ilen = 496,
14166 .result = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14167 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14168 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14169 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14170 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14171 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14172 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14173 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14174 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14175 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14176 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14177 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14178 "\x23\x16\x47\x72\x81\x13\x3A\x72"
14179 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14180 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14181 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14182 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14183 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14184 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14185 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14186 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14187 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14188 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14189 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14190 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14191 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14192 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14193 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14194 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14195 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14196 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14197 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14198 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14199 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14200 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14201 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14202 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14203 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14204 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14205 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14206 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14207 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14208 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14209 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14210 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14211 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14212 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14213 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14214 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14215 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14216 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14217 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14218 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14219 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14220 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14221 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14222 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14223 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14224 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14225 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14226 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14227 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14228 .rlen = 496,
14229 .also_non_np = 1,
14230 .np = 3,
14231 .tap = { 496 - 20, 4, 16 },
14235 static const struct cipher_testvec cast6_cbc_dec_tv_template[] = {
14236 { /* Generated from TF test vectors */
14237 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14238 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14239 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14240 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14241 .klen = 32,
14242 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14243 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14244 .input = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14245 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14246 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14247 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14248 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14249 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14250 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14251 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14252 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14253 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14254 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14255 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14256 "\x23\x16\x47\x72\x81\x13\x3A\x72"
14257 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14258 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14259 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14260 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14261 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14262 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14263 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14264 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14265 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14266 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14267 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14268 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14269 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14270 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14271 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14272 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14273 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14274 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14275 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14276 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14277 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14278 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14279 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14280 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14281 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14282 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14283 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14284 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14285 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14286 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14287 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14288 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14289 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14290 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14291 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14292 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14293 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14294 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14295 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14296 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14297 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14298 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14299 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14300 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14301 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14302 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14303 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14304 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14305 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14306 .ilen = 496,
14307 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14308 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14309 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14310 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14311 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14312 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14313 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14314 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14315 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14316 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14317 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14318 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14319 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14320 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14321 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14322 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14323 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14324 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14325 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14326 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14327 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14328 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14329 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14330 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14331 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14332 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14333 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14334 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14335 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14336 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14337 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14338 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14339 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14340 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14341 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14342 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14343 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14344 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14345 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14346 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14347 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14348 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14349 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14350 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14351 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14352 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14353 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14354 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14355 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14356 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14357 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14358 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14359 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14360 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14361 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14362 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14363 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14364 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14365 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14366 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14367 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14368 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14369 .rlen = 496,
14370 .also_non_np = 1,
14371 .np = 3,
14372 .tap = { 496 - 20, 4, 16 },
14376 static const struct cipher_testvec cast6_ctr_enc_tv_template[] = {
14377 { /* Generated from TF test vectors */
14378 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14379 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14380 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14381 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14382 .klen = 32,
14383 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14384 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14385 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14386 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14387 "\x3A",
14388 .ilen = 17,
14389 .result = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14390 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14391 "\x57",
14392 .rlen = 17,
14393 }, { /* Generated from TF test vectors */
14394 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14395 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14396 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14397 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14398 .klen = 32,
14399 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14400 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14401 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14402 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14403 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14404 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14405 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14406 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14407 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14408 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14409 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14410 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14411 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14412 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14413 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14414 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14415 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14416 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14417 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14418 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14419 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14420 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14421 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14422 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14423 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14424 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14425 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14426 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14427 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14428 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14429 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14430 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14431 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14432 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14433 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14434 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14435 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14436 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14437 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14438 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14439 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14440 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14441 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14442 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14443 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14444 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14445 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14446 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14447 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14448 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14449 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14450 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14451 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14452 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14453 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14454 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14455 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14456 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14457 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14458 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14459 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14460 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14461 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14462 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14463 .ilen = 496,
14464 .result = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14465 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14466 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14467 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14468 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14469 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14470 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14471 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14472 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14473 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14474 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14475 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14476 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14477 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14478 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14479 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14480 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14481 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14482 "\x49\x61\x22\x52\x64\x8C\x46\x41"
14483 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14484 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14485 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14486 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14487 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14488 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14489 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14490 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14491 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14492 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14493 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14494 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14495 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14496 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14497 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14498 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14499 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14500 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14501 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14502 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14503 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14504 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14505 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14506 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14507 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14508 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14509 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14510 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14511 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14512 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14513 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14514 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14515 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14516 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14517 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14518 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14519 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14520 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14521 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14522 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14523 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14524 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14525 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14526 .rlen = 496,
14527 .also_non_np = 1,
14528 .np = 3,
14529 .tap = { 496 - 20, 4, 16 },
14533 static const struct cipher_testvec cast6_ctr_dec_tv_template[] = {
14534 { /* Generated from TF test vectors */
14535 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14536 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14537 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14538 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14539 .klen = 32,
14540 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14541 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14542 .input = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14543 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14544 "\x57",
14545 .ilen = 17,
14546 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14547 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14548 "\x3A",
14549 .rlen = 17,
14550 }, { /* Generated from TF test vectors */
14551 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14552 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14553 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14554 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14555 .klen = 32,
14556 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14557 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14558 .input = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14559 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14560 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14561 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14562 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14563 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14564 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14565 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14566 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14567 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14568 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14569 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14570 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14571 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14572 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14573 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14574 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14575 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14576 "\x49\x61\x22\x52\x64\x8C\x46\x41"
14577 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14578 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14579 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14580 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14581 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14582 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14583 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14584 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14585 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14586 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14587 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14588 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14589 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14590 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14591 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14592 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14593 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14594 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14595 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14596 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14597 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14598 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14599 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14600 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14601 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14602 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14603 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14604 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14605 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14606 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14607 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14608 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14609 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14610 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14611 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14612 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14613 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14614 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14615 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14616 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14617 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14618 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14619 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14620 .ilen = 496,
14621 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14622 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14623 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14624 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14625 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14626 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14627 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14628 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14629 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14630 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14631 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14632 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14633 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14634 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14635 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14636 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14637 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14638 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14639 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14640 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14641 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14642 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14643 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14644 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14645 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14646 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14647 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14648 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14649 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14650 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14651 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14652 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14653 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14654 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14655 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14656 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14657 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14658 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14659 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14660 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14661 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14662 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14663 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14664 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14665 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14666 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14667 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14668 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14669 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14670 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14671 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14672 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14673 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14674 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14675 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14676 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14677 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14678 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14679 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14680 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14681 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14682 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14683 .rlen = 496,
14684 .also_non_np = 1,
14685 .np = 3,
14686 .tap = { 496 - 20, 4, 16 },
14690 static const struct cipher_testvec cast6_lrw_enc_tv_template[] = {
14691 { /* Generated from TF test vectors */
14692 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14693 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14694 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14695 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14696 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14697 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14698 .klen = 48,
14699 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14700 "\x00\x00\x00\x00\x00\x00\x00\x01",
14701 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14702 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14703 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14704 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14705 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14706 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14707 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14708 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14709 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14710 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14711 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14712 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14713 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14714 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14715 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14716 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14717 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14718 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14719 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14720 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14721 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14722 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14723 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14724 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14725 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14726 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14727 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14728 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14729 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14730 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14731 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14732 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14733 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14734 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14735 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14736 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14737 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14738 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14739 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14740 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14741 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14742 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14743 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14744 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14745 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14746 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14747 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14748 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14749 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14750 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14751 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14752 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14753 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14754 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14755 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14756 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14757 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14758 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14759 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14760 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14761 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14762 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14763 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14764 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14765 .ilen = 512,
14766 .result = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14767 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14768 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14769 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14770 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14771 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14772 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14773 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14774 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14775 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14776 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14777 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14778 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14779 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14780 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14781 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14782 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14783 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14784 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14785 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14786 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14787 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14788 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14789 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14790 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14791 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14792 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14793 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14794 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14795 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14796 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14797 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14798 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14799 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14800 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14801 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14802 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14803 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14804 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14805 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14806 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14807 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14808 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14809 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14810 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14811 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14812 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14813 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14814 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14815 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14816 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14817 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14818 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14819 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14820 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14821 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14822 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14823 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14824 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14825 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14826 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14827 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14828 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14829 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14830 .rlen = 512,
14831 .also_non_np = 1,
14832 .np = 3,
14833 .tap = { 512 - 20, 4, 16 },
14837 static const struct cipher_testvec cast6_lrw_dec_tv_template[] = {
14838 { /* Generated from TF test vectors */
14839 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14840 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14841 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14842 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14843 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14844 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14845 .klen = 48,
14846 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14847 "\x00\x00\x00\x00\x00\x00\x00\x01",
14848 .input = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14849 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14850 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14851 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14852 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14853 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14854 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14855 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14856 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14857 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14858 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14859 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14860 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14861 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14862 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14863 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14864 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14865 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14866 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14867 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14868 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14869 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14870 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14871 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14872 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14873 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14874 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14875 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14876 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14877 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14878 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14879 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14880 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14881 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14882 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14883 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14884 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14885 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14886 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14887 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14888 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14889 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14890 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14891 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14892 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14893 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14894 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14895 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14896 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14897 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14898 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14899 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14900 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14901 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14902 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14903 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14904 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14905 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14906 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14907 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14908 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14909 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14910 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14911 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14912 .ilen = 512,
14913 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14914 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14915 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14916 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14917 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14918 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14919 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14920 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14921 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14922 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14923 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14924 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14925 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14926 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14927 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14928 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14929 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14930 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14931 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14932 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14933 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14934 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14935 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14936 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14937 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14938 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14939 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14940 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14941 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14942 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14943 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14944 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14945 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14946 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14947 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14948 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14949 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14950 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14951 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14952 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14953 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14954 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14955 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14956 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14957 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14958 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14959 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14960 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14961 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14962 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14963 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14964 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14965 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14966 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14967 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14968 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14969 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14970 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14971 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14972 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14973 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14974 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14975 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14976 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14977 .rlen = 512,
14978 .also_non_np = 1,
14979 .np = 3,
14980 .tap = { 512 - 20, 4, 16 },
14984 static const struct cipher_testvec cast6_xts_enc_tv_template[] = {
14985 { /* Generated from TF test vectors */
14986 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
14987 "\x23\x53\x60\x28\x74\x71\x35\x26"
14988 "\x62\x49\x77\x57\x24\x70\x93\x69"
14989 "\x99\x59\x57\x49\x66\x96\x76\x27"
14990 "\x31\x41\x59\x26\x53\x58\x97\x93"
14991 "\x23\x84\x62\x64\x33\x83\x27\x95"
14992 "\x02\x88\x41\x97\x16\x93\x99\x37"
14993 "\x51\x05\x82\x09\x74\x94\x45\x92",
14994 .klen = 64,
14995 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
14996 "\x00\x00\x00\x00\x00\x00\x00\x00",
14997 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
14998 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14999 "\x10\x11\x12\x13\x14\x15\x16\x17"
15000 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15001 "\x20\x21\x22\x23\x24\x25\x26\x27"
15002 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15003 "\x30\x31\x32\x33\x34\x35\x36\x37"
15004 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15005 "\x40\x41\x42\x43\x44\x45\x46\x47"
15006 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15007 "\x50\x51\x52\x53\x54\x55\x56\x57"
15008 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15009 "\x60\x61\x62\x63\x64\x65\x66\x67"
15010 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15011 "\x70\x71\x72\x73\x74\x75\x76\x77"
15012 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15013 "\x80\x81\x82\x83\x84\x85\x86\x87"
15014 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15015 "\x90\x91\x92\x93\x94\x95\x96\x97"
15016 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15017 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15018 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15019 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15020 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15021 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15022 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15023 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15024 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15025 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15026 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15027 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15028 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15029 "\x00\x01\x02\x03\x04\x05\x06\x07"
15030 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15031 "\x10\x11\x12\x13\x14\x15\x16\x17"
15032 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15033 "\x20\x21\x22\x23\x24\x25\x26\x27"
15034 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15035 "\x30\x31\x32\x33\x34\x35\x36\x37"
15036 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15037 "\x40\x41\x42\x43\x44\x45\x46\x47"
15038 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15039 "\x50\x51\x52\x53\x54\x55\x56\x57"
15040 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15041 "\x60\x61\x62\x63\x64\x65\x66\x67"
15042 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15043 "\x70\x71\x72\x73\x74\x75\x76\x77"
15044 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15045 "\x80\x81\x82\x83\x84\x85\x86\x87"
15046 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15047 "\x90\x91\x92\x93\x94\x95\x96\x97"
15048 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15049 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15050 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15051 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15052 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15053 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15054 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15055 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15056 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15057 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15058 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15059 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15060 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15061 .ilen = 512,
15062 .result = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15063 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15064 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15065 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15066 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15067 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15068 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15069 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15070 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15071 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15072 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15073 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15074 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15075 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15076 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15077 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15078 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15079 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15080 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15081 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15082 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15083 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15084 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15085 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15086 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15087 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15088 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15089 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15090 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15091 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15092 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15093 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15094 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15095 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15096 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15097 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15098 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15099 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15100 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15101 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15102 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15103 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15104 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15105 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15106 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15107 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15108 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15109 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15110 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15111 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15112 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15113 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15114 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15115 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15116 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15117 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15118 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15119 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15120 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15121 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15122 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15123 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15124 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15125 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15126 .rlen = 512,
15127 .also_non_np = 1,
15128 .np = 3,
15129 .tap = { 512 - 20, 4, 16 },
15133 static const struct cipher_testvec cast6_xts_dec_tv_template[] = {
15134 { /* Generated from TF test vectors */
15135 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15136 "\x23\x53\x60\x28\x74\x71\x35\x26"
15137 "\x62\x49\x77\x57\x24\x70\x93\x69"
15138 "\x99\x59\x57\x49\x66\x96\x76\x27"
15139 "\x31\x41\x59\x26\x53\x58\x97\x93"
15140 "\x23\x84\x62\x64\x33\x83\x27\x95"
15141 "\x02\x88\x41\x97\x16\x93\x99\x37"
15142 "\x51\x05\x82\x09\x74\x94\x45\x92",
15143 .klen = 64,
15144 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
15145 "\x00\x00\x00\x00\x00\x00\x00\x00",
15146 .input = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15147 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15148 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15149 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15150 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15151 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15152 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15153 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15154 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15155 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15156 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15157 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15158 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15159 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15160 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15161 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15162 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15163 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15164 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15165 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15166 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15167 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15168 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15169 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15170 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15171 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15172 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15173 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15174 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15175 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15176 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15177 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15178 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15179 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15180 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15181 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15182 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15183 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15184 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15185 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15186 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15187 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15188 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15189 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15190 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15191 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15192 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15193 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15194 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15195 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15196 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15197 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15198 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15199 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15200 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15201 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15202 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15203 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15204 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15205 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15206 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15207 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15208 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15209 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15210 .ilen = 512,
15211 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15212 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15213 "\x10\x11\x12\x13\x14\x15\x16\x17"
15214 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15215 "\x20\x21\x22\x23\x24\x25\x26\x27"
15216 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15217 "\x30\x31\x32\x33\x34\x35\x36\x37"
15218 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15219 "\x40\x41\x42\x43\x44\x45\x46\x47"
15220 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15221 "\x50\x51\x52\x53\x54\x55\x56\x57"
15222 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15223 "\x60\x61\x62\x63\x64\x65\x66\x67"
15224 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15225 "\x70\x71\x72\x73\x74\x75\x76\x77"
15226 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15227 "\x80\x81\x82\x83\x84\x85\x86\x87"
15228 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15229 "\x90\x91\x92\x93\x94\x95\x96\x97"
15230 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15231 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15232 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15233 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15234 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15235 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15236 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15237 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15238 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15239 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15240 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15241 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15242 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15243 "\x00\x01\x02\x03\x04\x05\x06\x07"
15244 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15245 "\x10\x11\x12\x13\x14\x15\x16\x17"
15246 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15247 "\x20\x21\x22\x23\x24\x25\x26\x27"
15248 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15249 "\x30\x31\x32\x33\x34\x35\x36\x37"
15250 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15251 "\x40\x41\x42\x43\x44\x45\x46\x47"
15252 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15253 "\x50\x51\x52\x53\x54\x55\x56\x57"
15254 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15255 "\x60\x61\x62\x63\x64\x65\x66\x67"
15256 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15257 "\x70\x71\x72\x73\x74\x75\x76\x77"
15258 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15259 "\x80\x81\x82\x83\x84\x85\x86\x87"
15260 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15261 "\x90\x91\x92\x93\x94\x95\x96\x97"
15262 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15263 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15264 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15265 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15266 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15267 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15268 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15269 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15270 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15271 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15272 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15273 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15274 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15275 .rlen = 512,
15276 .also_non_np = 1,
15277 .np = 3,
15278 .tap = { 512 - 20, 4, 16 },
15284 * AES test vectors.
15286 static const struct cipher_testvec aes_enc_tv_template[] = {
15287 { /* From FIPS-197 */
15288 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15289 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15290 .klen = 16,
15291 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
15292 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15293 .ilen = 16,
15294 .result = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15295 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15296 .rlen = 16,
15297 }, {
15298 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15299 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15300 "\x10\x11\x12\x13\x14\x15\x16\x17",
15301 .klen = 24,
15302 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
15303 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15304 .ilen = 16,
15305 .result = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15306 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15307 .rlen = 16,
15308 }, {
15309 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15310 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15311 "\x10\x11\x12\x13\x14\x15\x16\x17"
15312 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15313 .klen = 32,
15314 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
15315 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15316 .ilen = 16,
15317 .result = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15318 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15319 .rlen = 16,
15320 }, { /* Generated with Crypto++ */
15321 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15322 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15323 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15324 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15325 .klen = 32,
15326 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15327 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15328 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15329 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15330 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15331 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15332 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15333 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15334 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15335 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15336 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15337 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15338 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15339 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15340 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15341 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15342 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15343 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15344 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15345 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15346 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15347 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15348 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15349 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15350 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15351 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15352 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15353 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15354 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15355 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15356 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15357 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15358 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15359 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15360 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15361 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15362 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15363 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15364 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15365 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15366 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15367 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15368 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15369 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15370 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15371 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15372 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15373 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15374 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15375 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15376 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15377 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15378 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15379 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15380 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15381 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15382 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15383 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15384 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15385 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15386 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15387 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15388 .ilen = 496,
15389 .result = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15390 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15391 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15392 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15393 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15394 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15395 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15396 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15397 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15398 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15399 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15400 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15401 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15402 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15403 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15404 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15405 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15406 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15407 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15408 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15409 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15410 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15411 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15412 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15413 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15414 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15415 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15416 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15417 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15418 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15419 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15420 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15421 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15422 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15423 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15424 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15425 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15426 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15427 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15428 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15429 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15430 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15431 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15432 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15433 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15434 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15435 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15436 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15437 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15438 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15439 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15440 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15441 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15442 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15443 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15444 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15445 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15446 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15447 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15448 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15449 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15450 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15451 .rlen = 496,
15452 .also_non_np = 1,
15453 .np = 3,
15454 .tap = { 496 - 20, 4, 16 },
15458 static const struct cipher_testvec aes_dec_tv_template[] = {
15459 { /* From FIPS-197 */
15460 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15461 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15462 .klen = 16,
15463 .input = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15464 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15465 .ilen = 16,
15466 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
15467 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15468 .rlen = 16,
15469 }, {
15470 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15471 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15472 "\x10\x11\x12\x13\x14\x15\x16\x17",
15473 .klen = 24,
15474 .input = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15475 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15476 .ilen = 16,
15477 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
15478 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15479 .rlen = 16,
15480 }, {
15481 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15482 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15483 "\x10\x11\x12\x13\x14\x15\x16\x17"
15484 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15485 .klen = 32,
15486 .input = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15487 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15488 .ilen = 16,
15489 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
15490 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15491 .rlen = 16,
15492 }, { /* Generated with Crypto++ */
15493 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15494 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15495 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15496 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15497 .klen = 32,
15498 .input = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15499 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15500 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15501 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15502 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15503 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15504 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15505 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15506 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15507 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15508 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15509 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15510 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15511 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15512 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15513 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15514 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15515 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15516 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15517 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15518 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15519 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15520 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15521 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15522 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15523 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15524 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15525 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15526 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15527 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15528 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15529 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15530 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15531 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15532 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15533 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15534 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15535 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15536 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15537 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15538 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15539 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15540 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15541 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15542 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15543 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15544 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15545 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15546 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15547 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15548 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15549 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15550 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15551 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15552 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15553 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15554 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15555 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15556 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15557 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15558 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15559 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15560 .ilen = 496,
15561 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15562 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15563 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15564 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15565 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15566 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15567 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15568 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15569 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15570 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15571 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15572 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15573 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15574 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15575 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15576 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15577 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15578 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15579 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15580 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15581 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15582 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15583 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15584 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15585 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15586 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15587 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15588 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15589 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15590 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15591 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15592 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15593 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15594 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15595 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15596 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15597 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15598 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15599 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15600 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15601 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15602 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15603 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15604 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15605 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15606 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15607 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15608 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15609 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15610 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15611 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15612 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15613 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15614 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15615 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15616 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15617 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15618 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15619 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15620 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15621 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15622 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15623 .rlen = 496,
15624 .also_non_np = 1,
15625 .np = 3,
15626 .tap = { 496 - 20, 4, 16 },
15630 static const struct cipher_testvec aes_cbc_enc_tv_template[] = {
15631 { /* From RFC 3602 */
15632 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15633 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15634 .klen = 16,
15635 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15636 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15637 .input = "Single block msg",
15638 .ilen = 16,
15639 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15640 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15641 .rlen = 16,
15642 .also_non_np = 1,
15643 .np = 8,
15644 .tap = { 3, 2, 3, 2, 3, 1, 1, 1 },
15645 }, {
15646 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15647 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15648 .klen = 16,
15649 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15650 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15651 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
15652 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15653 "\x10\x11\x12\x13\x14\x15\x16\x17"
15654 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15655 .ilen = 32,
15656 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15657 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15658 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15659 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15660 .rlen = 32,
15661 }, { /* From NIST SP800-38A */
15662 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15663 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15664 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15665 .klen = 24,
15666 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15667 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15668 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15669 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15670 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15671 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15672 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15673 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15674 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15675 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15676 .ilen = 64,
15677 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15678 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15679 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15680 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15681 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15682 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15683 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15684 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15685 .rlen = 64,
15686 }, {
15687 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15688 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15689 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15690 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15691 .klen = 32,
15692 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15693 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15694 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15695 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15696 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15697 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15698 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15699 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15700 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15701 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15702 .ilen = 64,
15703 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15704 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15705 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15706 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15707 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15708 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15709 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15710 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15711 .rlen = 64,
15712 }, { /* Generated with Crypto++ */
15713 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15714 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15715 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15716 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15717 .klen = 32,
15718 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15719 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15720 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15721 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15722 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15723 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15724 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15725 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15726 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15727 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15728 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15729 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15730 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15731 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15732 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15733 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15734 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15735 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15736 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15737 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15738 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15739 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15740 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15741 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15742 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15743 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15744 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15745 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15746 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15747 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15748 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15749 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15750 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15751 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15752 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15753 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15754 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15755 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15756 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15757 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15758 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15759 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15760 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15761 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15762 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15763 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15764 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15765 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15766 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15767 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15768 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15769 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15770 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15771 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15772 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15773 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15774 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15775 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15776 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15777 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15778 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15779 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15780 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15781 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15782 .ilen = 496,
15783 .result = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15784 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15785 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15786 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15787 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15788 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15789 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15790 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15791 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15792 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15793 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15794 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15795 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15796 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15797 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15798 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15799 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15800 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15801 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15802 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15803 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15804 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15805 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15806 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15807 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15808 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15809 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15810 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15811 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15812 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15813 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15814 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15815 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15816 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15817 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15818 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15819 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15820 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15821 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15822 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15823 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15824 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15825 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15826 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15827 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15828 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15829 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15830 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15831 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15832 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15833 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15834 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15835 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15836 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15837 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15838 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15839 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15840 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15841 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15842 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15843 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15844 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15845 .rlen = 496,
15846 .also_non_np = 1,
15847 .np = 3,
15848 .tap = { 496 - 20, 4, 16 },
15852 static const struct cipher_testvec aes_cbc_dec_tv_template[] = {
15853 { /* From RFC 3602 */
15854 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15855 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15856 .klen = 16,
15857 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15858 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15859 .input = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15860 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15861 .ilen = 16,
15862 .result = "Single block msg",
15863 .rlen = 16,
15864 .also_non_np = 1,
15865 .np = 8,
15866 .tap = { 3, 2, 3, 2, 3, 1, 1, 1 },
15867 }, {
15868 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15869 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15870 .klen = 16,
15871 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15872 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15873 .input = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15874 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15875 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15876 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15877 .ilen = 32,
15878 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15879 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15880 "\x10\x11\x12\x13\x14\x15\x16\x17"
15881 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15882 .rlen = 32,
15883 }, { /* From NIST SP800-38A */
15884 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15885 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15886 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15887 .klen = 24,
15888 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15889 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15890 .input = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15891 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15892 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15893 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15894 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15895 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15896 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15897 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15898 .ilen = 64,
15899 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15900 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15901 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15902 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15903 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15904 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15905 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15906 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15907 .rlen = 64,
15908 }, {
15909 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15910 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15911 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15912 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15913 .klen = 32,
15914 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15915 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15916 .input = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15917 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15918 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15919 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15920 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15921 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15922 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15923 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15924 .ilen = 64,
15925 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15926 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15927 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15928 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15929 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15930 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15931 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15932 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15933 .rlen = 64,
15934 }, { /* Generated with Crypto++ */
15935 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15936 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15937 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15938 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15939 .klen = 32,
15940 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15941 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15942 .input = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15943 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15944 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15945 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15946 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15947 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15948 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15949 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15950 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15951 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15952 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15953 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15954 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15955 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15956 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15957 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15958 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15959 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15960 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15961 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15962 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15963 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15964 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15965 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15966 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15967 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15968 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15969 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15970 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15971 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15972 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15973 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15974 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15975 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15976 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15977 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15978 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15979 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15980 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15981 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15982 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15983 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15984 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15985 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15986 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15987 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15988 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15989 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15990 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15991 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15992 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15993 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15994 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15995 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15996 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15997 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15998 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15999 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
16000 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
16001 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
16002 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
16003 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
16004 .ilen = 496,
16005 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16006 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16007 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16008 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16009 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16010 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16011 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16012 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16013 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16014 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16015 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16016 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16017 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16018 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16019 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16020 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16021 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16022 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16023 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16024 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16025 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16026 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16027 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16028 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16029 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16030 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16031 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16032 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16033 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16034 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16035 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16036 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16037 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16038 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16039 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16040 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16041 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16042 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16043 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16044 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16045 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16046 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16047 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16048 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16049 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16050 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16051 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16052 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16053 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16054 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16055 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16056 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16057 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16058 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16059 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16060 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16061 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16062 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16063 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16064 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16065 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16066 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16067 .rlen = 496,
16068 .also_non_np = 1,
16069 .np = 3,
16070 .tap = { 496 - 20, 4, 16 },
16074 static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
16075 { /* Input data from RFC 2410 Case 1 */
16076 #ifdef __LITTLE_ENDIAN
16077 .key = "\x08\x00" /* rta length */
16078 "\x01\x00" /* rta type */
16079 #else
16080 .key = "\x00\x08" /* rta length */
16081 "\x00\x01" /* rta type */
16082 #endif
16083 "\x00\x00\x00\x00" /* enc key length */
16084 "\x00\x00\x00\x00\x00\x00\x00\x00"
16085 "\x00\x00\x00\x00\x00\x00\x00\x00",
16086 .klen = 8 + 16 + 0,
16087 .iv = "",
16088 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16089 .ilen = 8,
16090 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16091 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16092 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16093 .rlen = 8 + 16,
16094 }, { /* Input data from RFC 2410 Case 2 */
16095 #ifdef __LITTLE_ENDIAN
16096 .key = "\x08\x00" /* rta length */
16097 "\x01\x00" /* rta type */
16098 #else
16099 .key = "\x00\x08" /* rta length */
16100 "\x00\x01" /* rta type */
16101 #endif
16102 "\x00\x00\x00\x00" /* enc key length */
16103 "\x00\x00\x00\x00\x00\x00\x00\x00"
16104 "\x00\x00\x00\x00\x00\x00\x00\x00",
16105 .klen = 8 + 16 + 0,
16106 .iv = "",
16107 .input = "Network Security People Have A Strange Sense Of Humor",
16108 .ilen = 53,
16109 .result = "Network Security People Have A Strange Sense Of Humor"
16110 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16111 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16112 .rlen = 53 + 16,
16116 static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
16118 #ifdef __LITTLE_ENDIAN
16119 .key = "\x08\x00" /* rta length */
16120 "\x01\x00" /* rta type */
16121 #else
16122 .key = "\x00\x08" /* rta length */
16123 "\x00\x01" /* rta type */
16124 #endif
16125 "\x00\x00\x00\x00" /* enc key length */
16126 "\x00\x00\x00\x00\x00\x00\x00\x00"
16127 "\x00\x00\x00\x00\x00\x00\x00\x00",
16128 .klen = 8 + 16 + 0,
16129 .iv = "",
16130 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16131 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16132 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16133 .ilen = 8 + 16,
16134 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16135 .rlen = 8,
16136 }, {
16137 #ifdef __LITTLE_ENDIAN
16138 .key = "\x08\x00" /* rta length */
16139 "\x01\x00" /* rta type */
16140 #else
16141 .key = "\x00\x08" /* rta length */
16142 "\x00\x01" /* rta type */
16143 #endif
16144 "\x00\x00\x00\x00" /* enc key length */
16145 "\x00\x00\x00\x00\x00\x00\x00\x00"
16146 "\x00\x00\x00\x00\x00\x00\x00\x00",
16147 .klen = 8 + 16 + 0,
16148 .iv = "",
16149 .input = "Network Security People Have A Strange Sense Of Humor"
16150 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16151 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16152 .ilen = 53 + 16,
16153 .result = "Network Security People Have A Strange Sense Of Humor",
16154 .rlen = 53,
16158 static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
16159 { /* RFC 3602 Case 1 */
16160 #ifdef __LITTLE_ENDIAN
16161 .key = "\x08\x00" /* rta length */
16162 "\x01\x00" /* rta type */
16163 #else
16164 .key = "\x00\x08" /* rta length */
16165 "\x00\x01" /* rta type */
16166 #endif
16167 "\x00\x00\x00\x10" /* enc key length */
16168 "\x00\x00\x00\x00\x00\x00\x00\x00"
16169 "\x00\x00\x00\x00\x00\x00\x00\x00"
16170 "\x00\x00\x00\x00"
16171 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16172 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16173 .klen = 8 + 20 + 16,
16174 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16175 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16176 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16177 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16178 .alen = 16,
16179 .input = "Single block msg",
16180 .ilen = 16,
16181 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16182 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16183 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16184 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16185 "\x03\x71\xa2\x06",
16186 .rlen = 16 + 20,
16187 }, { /* RFC 3602 Case 2 */
16188 #ifdef __LITTLE_ENDIAN
16189 .key = "\x08\x00" /* rta length */
16190 "\x01\x00" /* rta type */
16191 #else
16192 .key = "\x00\x08" /* rta length */
16193 "\x00\x01" /* rta type */
16194 #endif
16195 "\x00\x00\x00\x10" /* enc key length */
16196 "\x20\x21\x22\x23\x24\x25\x26\x27"
16197 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16198 "\x30\x31\x32\x33"
16199 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16200 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16201 .klen = 8 + 20 + 16,
16202 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16203 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16204 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16205 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16206 .alen = 16,
16207 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16208 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16209 "\x10\x11\x12\x13\x14\x15\x16\x17"
16210 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16211 .ilen = 32,
16212 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16213 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16214 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16215 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16216 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16217 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16218 "\x65\x39\xf8\xde",
16219 .rlen = 32 + 20,
16220 }, { /* RFC 3602 Case 3 */
16221 #ifdef __LITTLE_ENDIAN
16222 .key = "\x08\x00" /* rta length */
16223 "\x01\x00" /* rta type */
16224 #else
16225 .key = "\x00\x08" /* rta length */
16226 "\x00\x01" /* rta type */
16227 #endif
16228 "\x00\x00\x00\x10" /* enc key length */
16229 "\x11\x22\x33\x44\x55\x66\x77\x88"
16230 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16231 "\x22\x33\x44\x55"
16232 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16233 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16234 .klen = 8 + 20 + 16,
16235 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16236 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16237 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16238 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16239 .alen = 16,
16240 .input = "This is a 48-byte message (exactly 3 AES blocks)",
16241 .ilen = 48,
16242 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16243 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16244 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16245 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16246 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16247 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16248 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16249 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16250 "\x8d\x62\xf2\x1e",
16251 .rlen = 48 + 20,
16252 }, { /* RFC 3602 Case 4 */
16253 #ifdef __LITTLE_ENDIAN
16254 .key = "\x08\x00" /* rta length */
16255 "\x01\x00" /* rta type */
16256 #else
16257 .key = "\x00\x08" /* rta length */
16258 "\x00\x01" /* rta type */
16259 #endif
16260 "\x00\x00\x00\x10" /* enc key length */
16261 "\x11\x22\x33\x44\x55\x66\x77\x88"
16262 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16263 "\x22\x33\x44\x55"
16264 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16265 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16266 .klen = 8 + 20 + 16,
16267 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16268 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16269 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16270 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16271 .alen = 16,
16272 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16273 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16274 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16275 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16276 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16277 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16278 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16279 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16280 .ilen = 64,
16281 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16282 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16283 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16284 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16285 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16286 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16287 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16288 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16289 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16290 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16291 "\x1d\xbe\xc6\xe9",
16292 .rlen = 64 + 20,
16293 }, { /* RFC 3602 Case 5 */
16294 #ifdef __LITTLE_ENDIAN
16295 .key = "\x08\x00" /* rta length */
16296 "\x01\x00" /* rta type */
16297 #else
16298 .key = "\x00\x08" /* rta length */
16299 "\x00\x01" /* rta type */
16300 #endif
16301 "\x00\x00\x00\x10" /* enc key length */
16302 "\x11\x22\x33\x44\x55\x66\x77\x88"
16303 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16304 "\x22\x33\x44\x55"
16305 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16306 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16307 .klen = 8 + 20 + 16,
16308 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16309 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16310 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16311 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16312 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16313 .alen = 24,
16314 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16315 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16316 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16317 "\x10\x11\x12\x13\x14\x15\x16\x17"
16318 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16319 "\x20\x21\x22\x23\x24\x25\x26\x27"
16320 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16321 "\x30\x31\x32\x33\x34\x35\x36\x37"
16322 "\x01\x02\x03\x04\x05\x06\x07\x08"
16323 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16324 .ilen = 80,
16325 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16326 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16327 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16328 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16329 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16330 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16331 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16332 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16333 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16334 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16335 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16336 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16337 "\x85\xe1\x59\xf7",
16338 .rlen = 80 + 20,
16339 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16340 #ifdef __LITTLE_ENDIAN
16341 .key = "\x08\x00" /* rta length */
16342 "\x01\x00" /* rta type */
16343 #else
16344 .key = "\x00\x08" /* rta length */
16345 "\x00\x01" /* rta type */
16346 #endif
16347 "\x00\x00\x00\x18" /* enc key length */
16348 "\x11\x22\x33\x44\x55\x66\x77\x88"
16349 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16350 "\x22\x33\x44\x55"
16351 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16352 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16353 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16354 .klen = 8 + 20 + 24,
16355 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16356 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16357 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16358 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16359 .alen = 16,
16360 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16361 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16362 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16363 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16364 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16365 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16366 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16367 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16368 .ilen = 64,
16369 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16370 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16371 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16372 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16373 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16374 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16375 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16376 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16377 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16378 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16379 "\x47\x4c\xfc\x36",
16380 .rlen = 64 + 20,
16381 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16382 #ifdef __LITTLE_ENDIAN
16383 .key = "\x08\x00" /* rta length */
16384 "\x01\x00" /* rta type */
16385 #else
16386 .key = "\x00\x08" /* rta length */
16387 "\x00\x01" /* rta type */
16388 #endif
16389 "\x00\x00\x00\x20" /* enc key length */
16390 "\x11\x22\x33\x44\x55\x66\x77\x88"
16391 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16392 "\x22\x33\x44\x55"
16393 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16394 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16395 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16396 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16397 .klen = 8 + 20 + 32,
16398 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16399 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16400 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16401 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16402 .alen = 16,
16403 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16404 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16405 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16406 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16407 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16408 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16409 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16410 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16411 .ilen = 64,
16412 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16413 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16414 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16415 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16416 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16417 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16418 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16419 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16420 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16421 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16422 "\x51\xee\xd6\x4e",
16423 .rlen = 64 + 20,
16427 static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
16428 { /* Input data from RFC 2410 Case 1 */
16429 #ifdef __LITTLE_ENDIAN
16430 .key = "\x08\x00" /* rta length */
16431 "\x01\x00" /* rta type */
16432 #else
16433 .key = "\x00\x08" /* rta length */
16434 "\x00\x01" /* rta type */
16435 #endif
16436 "\x00\x00\x00\x00" /* enc key length */
16437 "\x00\x00\x00\x00\x00\x00\x00\x00"
16438 "\x00\x00\x00\x00\x00\x00\x00\x00"
16439 "\x00\x00\x00\x00",
16440 .klen = 8 + 20 + 0,
16441 .iv = "",
16442 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16443 .ilen = 8,
16444 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16445 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16446 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16447 "\x8c\x5e\xe4\x08",
16448 .rlen = 8 + 20,
16449 }, { /* Input data from RFC 2410 Case 2 */
16450 #ifdef __LITTLE_ENDIAN
16451 .key = "\x08\x00" /* rta length */
16452 "\x01\x00" /* rta type */
16453 #else
16454 .key = "\x00\x08" /* rta length */
16455 "\x00\x01" /* rta type */
16456 #endif
16457 "\x00\x00\x00\x00" /* enc key length */
16458 "\x00\x00\x00\x00\x00\x00\x00\x00"
16459 "\x00\x00\x00\x00\x00\x00\x00\x00"
16460 "\x00\x00\x00\x00",
16461 .klen = 8 + 20 + 0,
16462 .iv = "",
16463 .input = "Network Security People Have A Strange Sense Of Humor",
16464 .ilen = 53,
16465 .result = "Network Security People Have A Strange Sense Of Humor"
16466 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16467 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16468 "\x91\x56\xe4\xd6",
16469 .rlen = 53 + 20,
16473 static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
16475 #ifdef __LITTLE_ENDIAN
16476 .key = "\x08\x00" /* rta length */
16477 "\x01\x00" /* rta type */
16478 #else
16479 .key = "\x00\x08" /* rta length */
16480 "\x00\x01" /* rta type */
16481 #endif
16482 "\x00\x00\x00\x00" /* enc key length */
16483 "\x00\x00\x00\x00\x00\x00\x00\x00"
16484 "\x00\x00\x00\x00\x00\x00\x00\x00"
16485 "\x00\x00\x00\x00",
16486 .klen = 8 + 20 + 0,
16487 .iv = "",
16488 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16489 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16490 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16491 "\x8c\x5e\xe4\x08",
16492 .ilen = 8 + 20,
16493 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16494 .rlen = 8,
16495 }, {
16496 #ifdef __LITTLE_ENDIAN
16497 .key = "\x08\x00" /* rta length */
16498 "\x01\x00" /* rta type */
16499 #else
16500 .key = "\x00\x08" /* rta length */
16501 "\x00\x01" /* rta type */
16502 #endif
16503 "\x00\x00\x00\x00" /* enc key length */
16504 "\x00\x00\x00\x00\x00\x00\x00\x00"
16505 "\x00\x00\x00\x00\x00\x00\x00\x00"
16506 "\x00\x00\x00\x00",
16507 .klen = 8 + 20 + 0,
16508 .iv = "",
16509 .input = "Network Security People Have A Strange Sense Of Humor"
16510 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16511 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16512 "\x91\x56\xe4\xd6",
16513 .ilen = 53 + 20,
16514 .result = "Network Security People Have A Strange Sense Of Humor",
16515 .rlen = 53,
16519 static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
16520 { /* RFC 3602 Case 1 */
16521 #ifdef __LITTLE_ENDIAN
16522 .key = "\x08\x00" /* rta length */
16523 "\x01\x00" /* rta type */
16524 #else
16525 .key = "\x00\x08" /* rta length */
16526 "\x00\x01" /* rta type */
16527 #endif
16528 "\x00\x00\x00\x10" /* enc key length */
16529 "\x00\x00\x00\x00\x00\x00\x00\x00"
16530 "\x00\x00\x00\x00\x00\x00\x00\x00"
16531 "\x00\x00\x00\x00\x00\x00\x00\x00"
16532 "\x00\x00\x00\x00\x00\x00\x00\x00"
16533 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16534 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16535 .klen = 8 + 32 + 16,
16536 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16537 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16538 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16539 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16540 .alen = 16,
16541 .input = "Single block msg",
16542 .ilen = 16,
16543 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16544 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16545 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16546 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16547 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16548 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16549 .rlen = 16 + 32,
16550 }, { /* RFC 3602 Case 2 */
16551 #ifdef __LITTLE_ENDIAN
16552 .key = "\x08\x00" /* rta length */
16553 "\x01\x00" /* rta type */
16554 #else
16555 .key = "\x00\x08" /* rta length */
16556 "\x00\x01" /* rta type */
16557 #endif
16558 "\x00\x00\x00\x10" /* enc key length */
16559 "\x20\x21\x22\x23\x24\x25\x26\x27"
16560 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16561 "\x30\x31\x32\x33\x34\x35\x36\x37"
16562 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16563 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16564 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16565 .klen = 8 + 32 + 16,
16566 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16567 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16568 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16569 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16570 .alen = 16,
16571 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16572 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16573 "\x10\x11\x12\x13\x14\x15\x16\x17"
16574 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16575 .ilen = 32,
16576 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16577 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16578 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16579 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16580 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16581 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16582 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16583 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16584 .rlen = 32 + 32,
16585 }, { /* RFC 3602 Case 3 */
16586 #ifdef __LITTLE_ENDIAN
16587 .key = "\x08\x00" /* rta length */
16588 "\x01\x00" /* rta type */
16589 #else
16590 .key = "\x00\x08" /* rta length */
16591 "\x00\x01" /* rta type */
16592 #endif
16593 "\x00\x00\x00\x10" /* enc key length */
16594 "\x11\x22\x33\x44\x55\x66\x77\x88"
16595 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16596 "\x22\x33\x44\x55\x66\x77\x88\x99"
16597 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16598 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16599 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16600 .klen = 8 + 32 + 16,
16601 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16602 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16603 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16604 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16605 .alen = 16,
16606 .input = "This is a 48-byte message (exactly 3 AES blocks)",
16607 .ilen = 48,
16608 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16609 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16610 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16611 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16612 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16613 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16614 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16615 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16616 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16617 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16618 .rlen = 48 + 32,
16619 }, { /* RFC 3602 Case 4 */
16620 #ifdef __LITTLE_ENDIAN
16621 .key = "\x08\x00" /* rta length */
16622 "\x01\x00" /* rta type */
16623 #else
16624 .key = "\x00\x08" /* rta length */
16625 "\x00\x01" /* rta type */
16626 #endif
16627 "\x00\x00\x00\x10" /* enc key length */
16628 "\x11\x22\x33\x44\x55\x66\x77\x88"
16629 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16630 "\x22\x33\x44\x55\x66\x77\x88\x99"
16631 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16632 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16633 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16634 .klen = 8 + 32 + 16,
16635 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16636 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16637 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16638 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16639 .alen = 16,
16640 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16641 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16642 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16643 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16644 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16645 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16646 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16647 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16648 .ilen = 64,
16649 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16650 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16651 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16652 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16653 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16654 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16655 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16656 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16657 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16658 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16659 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16660 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16661 .rlen = 64 + 32,
16662 }, { /* RFC 3602 Case 5 */
16663 #ifdef __LITTLE_ENDIAN
16664 .key = "\x08\x00" /* rta length */
16665 "\x01\x00" /* rta type */
16666 #else
16667 .key = "\x00\x08" /* rta length */
16668 "\x00\x01" /* rta type */
16669 #endif
16670 "\x00\x00\x00\x10" /* enc key length */
16671 "\x11\x22\x33\x44\x55\x66\x77\x88"
16672 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16673 "\x22\x33\x44\x55\x66\x77\x88\x99"
16674 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16675 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16676 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16677 .klen = 8 + 32 + 16,
16678 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16679 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16680 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16681 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16682 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16683 .alen = 24,
16684 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16685 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16686 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16687 "\x10\x11\x12\x13\x14\x15\x16\x17"
16688 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16689 "\x20\x21\x22\x23\x24\x25\x26\x27"
16690 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16691 "\x30\x31\x32\x33\x34\x35\x36\x37"
16692 "\x01\x02\x03\x04\x05\x06\x07\x08"
16693 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16694 .ilen = 80,
16695 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16696 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16697 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16698 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16699 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16700 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16701 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16702 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16703 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16704 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16705 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16706 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16707 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16708 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16709 .rlen = 80 + 32,
16710 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16711 #ifdef __LITTLE_ENDIAN
16712 .key = "\x08\x00" /* rta length */
16713 "\x01\x00" /* rta type */
16714 #else
16715 .key = "\x00\x08" /* rta length */
16716 "\x00\x01" /* rta type */
16717 #endif
16718 "\x00\x00\x00\x18" /* enc key length */
16719 "\x11\x22\x33\x44\x55\x66\x77\x88"
16720 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16721 "\x22\x33\x44\x55\x66\x77\x88\x99"
16722 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16723 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16724 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16725 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16726 .klen = 8 + 32 + 24,
16727 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16728 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16729 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16730 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16731 .alen = 16,
16732 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16733 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16734 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16735 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16736 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16737 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16738 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16739 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16740 .ilen = 64,
16741 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16742 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16743 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16744 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16745 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16746 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16747 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16748 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16749 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16750 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16751 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16752 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16753 .rlen = 64 + 32,
16754 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16755 #ifdef __LITTLE_ENDIAN
16756 .key = "\x08\x00" /* rta length */
16757 "\x01\x00" /* rta type */
16758 #else
16759 .key = "\x00\x08" /* rta length */
16760 "\x00\x01" /* rta type */
16761 #endif
16762 "\x00\x00\x00\x20" /* enc key length */
16763 "\x11\x22\x33\x44\x55\x66\x77\x88"
16764 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16765 "\x22\x33\x44\x55\x66\x77\x88\x99"
16766 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16767 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16768 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16769 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16770 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16771 .klen = 8 + 32 + 32,
16772 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16773 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16774 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16775 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16776 .alen = 16,
16777 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16778 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16779 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16780 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16781 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16782 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16783 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16784 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16785 .ilen = 64,
16786 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16787 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16788 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16789 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16790 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16791 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16792 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16793 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16794 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16795 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16796 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16797 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16798 .rlen = 64 + 32,
16802 static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
16803 { /* RFC 3602 Case 1 */
16804 #ifdef __LITTLE_ENDIAN
16805 .key = "\x08\x00" /* rta length */
16806 "\x01\x00" /* rta type */
16807 #else
16808 .key = "\x00\x08" /* rta length */
16809 "\x00\x01" /* rta type */
16810 #endif
16811 "\x00\x00\x00\x10" /* enc key length */
16812 "\x00\x00\x00\x00\x00\x00\x00\x00"
16813 "\x00\x00\x00\x00\x00\x00\x00\x00"
16814 "\x00\x00\x00\x00\x00\x00\x00\x00"
16815 "\x00\x00\x00\x00\x00\x00\x00\x00"
16816 "\x00\x00\x00\x00\x00\x00\x00\x00"
16817 "\x00\x00\x00\x00\x00\x00\x00\x00"
16818 "\x00\x00\x00\x00\x00\x00\x00\x00"
16819 "\x00\x00\x00\x00\x00\x00\x00\x00"
16820 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16821 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16822 .klen = 8 + 64 + 16,
16823 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16824 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16825 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16826 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16827 .alen = 16,
16828 .input = "Single block msg",
16829 .ilen = 16,
16830 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16831 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16832 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16833 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16834 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16835 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16836 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16837 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16838 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16839 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16840 .rlen = 16 + 64,
16841 }, { /* RFC 3602 Case 2 */
16842 #ifdef __LITTLE_ENDIAN
16843 .key = "\x08\x00" /* rta length */
16844 "\x01\x00" /* rta type */
16845 #else
16846 .key = "\x00\x08" /* rta length */
16847 "\x00\x01" /* rta type */
16848 #endif
16849 "\x00\x00\x00\x10" /* enc key length */
16850 "\x20\x21\x22\x23\x24\x25\x26\x27"
16851 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16852 "\x30\x31\x32\x33\x34\x35\x36\x37"
16853 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16854 "\x40\x41\x42\x43\x44\x45\x46\x47"
16855 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16856 "\x50\x51\x52\x53\x54\x55\x56\x57"
16857 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16858 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16859 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16860 .klen = 8 + 64 + 16,
16861 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16862 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16863 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16864 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16865 .alen = 16,
16866 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16867 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16868 "\x10\x11\x12\x13\x14\x15\x16\x17"
16869 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16870 .ilen = 32,
16871 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16872 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16873 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16874 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16875 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16876 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16877 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16878 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16879 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16880 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16881 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16882 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16883 .rlen = 32 + 64,
16884 }, { /* RFC 3602 Case 3 */
16885 #ifdef __LITTLE_ENDIAN
16886 .key = "\x08\x00" /* rta length */
16887 "\x01\x00" /* rta type */
16888 #else
16889 .key = "\x00\x08" /* rta length */
16890 "\x00\x01" /* rta type */
16891 #endif
16892 "\x00\x00\x00\x10" /* enc key length */
16893 "\x11\x22\x33\x44\x55\x66\x77\x88"
16894 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16895 "\x22\x33\x44\x55\x66\x77\x88\x99"
16896 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16897 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16898 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16899 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16900 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16901 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16902 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16903 .klen = 8 + 64 + 16,
16904 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16905 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16906 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16907 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16908 .alen = 16,
16909 .input = "This is a 48-byte message (exactly 3 AES blocks)",
16910 .ilen = 48,
16911 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16912 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16913 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16914 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16915 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16916 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16917 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
16918 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
16919 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
16920 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
16921 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
16922 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
16923 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
16924 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
16925 .rlen = 48 + 64,
16926 }, { /* RFC 3602 Case 4 */
16927 #ifdef __LITTLE_ENDIAN
16928 .key = "\x08\x00" /* rta length */
16929 "\x01\x00" /* rta type */
16930 #else
16931 .key = "\x00\x08" /* rta length */
16932 "\x00\x01" /* rta type */
16933 #endif
16934 "\x00\x00\x00\x10" /* enc key length */
16935 "\x11\x22\x33\x44\x55\x66\x77\x88"
16936 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16937 "\x22\x33\x44\x55\x66\x77\x88\x99"
16938 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16939 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16940 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16941 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16942 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16943 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16944 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16945 .klen = 8 + 64 + 16,
16946 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16947 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16948 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16949 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16950 .alen = 16,
16951 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16952 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16953 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16954 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16955 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16956 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16957 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16958 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16959 .ilen = 64,
16960 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16961 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16962 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16963 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16964 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16965 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16966 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16967 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16968 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
16969 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
16970 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
16971 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
16972 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
16973 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
16974 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
16975 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
16976 .rlen = 64 + 64,
16977 }, { /* RFC 3602 Case 5 */
16978 #ifdef __LITTLE_ENDIAN
16979 .key = "\x08\x00" /* rta length */
16980 "\x01\x00" /* rta type */
16981 #else
16982 .key = "\x00\x08" /* rta length */
16983 "\x00\x01" /* rta type */
16984 #endif
16985 "\x00\x00\x00\x10" /* enc key length */
16986 "\x11\x22\x33\x44\x55\x66\x77\x88"
16987 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16988 "\x22\x33\x44\x55\x66\x77\x88\x99"
16989 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16990 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16991 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16992 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16993 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16994 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16995 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16996 .klen = 8 + 64 + 16,
16997 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16998 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16999 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17000 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17001 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17002 .alen = 24,
17003 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17004 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17005 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17006 "\x10\x11\x12\x13\x14\x15\x16\x17"
17007 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17008 "\x20\x21\x22\x23\x24\x25\x26\x27"
17009 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17010 "\x30\x31\x32\x33\x34\x35\x36\x37"
17011 "\x01\x02\x03\x04\x05\x06\x07\x08"
17012 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17013 .ilen = 80,
17014 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17015 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17016 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17017 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17018 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17019 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17020 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17021 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17022 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17023 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17024 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
17025 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
17026 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
17027 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
17028 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
17029 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
17030 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
17031 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
17032 .rlen = 80 + 64,
17033 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17034 #ifdef __LITTLE_ENDIAN
17035 .key = "\x08\x00" /* rta length */
17036 "\x01\x00" /* rta type */
17037 #else
17038 .key = "\x00\x08" /* rta length */
17039 "\x00\x01" /* rta type */
17040 #endif
17041 "\x00\x00\x00\x18" /* enc key length */
17042 "\x11\x22\x33\x44\x55\x66\x77\x88"
17043 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17044 "\x22\x33\x44\x55\x66\x77\x88\x99"
17045 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17046 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17047 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17048 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17049 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17050 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17051 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17052 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17053 .klen = 8 + 64 + 24,
17054 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
17055 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17056 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17057 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17058 .alen = 16,
17059 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17060 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17061 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17062 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17063 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17064 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17065 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17066 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17067 .ilen = 64,
17068 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17069 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17070 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17071 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17072 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17073 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17074 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17075 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17076 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17077 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17078 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17079 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17080 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17081 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17082 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17083 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17084 .rlen = 64 + 64,
17085 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17086 #ifdef __LITTLE_ENDIAN
17087 .key = "\x08\x00" /* rta length */
17088 "\x01\x00" /* rta type */
17089 #else
17090 .key = "\x00\x08" /* rta length */
17091 "\x00\x01" /* rta type */
17092 #endif
17093 "\x00\x00\x00\x20" /* enc key length */
17094 "\x11\x22\x33\x44\x55\x66\x77\x88"
17095 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17096 "\x22\x33\x44\x55\x66\x77\x88\x99"
17097 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17098 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17099 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17100 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17101 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17102 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17103 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17104 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17105 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17106 .klen = 8 + 64 + 32,
17107 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
17108 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17109 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17110 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17111 .alen = 16,
17112 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17113 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17114 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17115 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17116 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17117 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17118 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17119 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17120 .ilen = 64,
17121 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17122 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17123 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17124 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17125 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17126 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17127 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17128 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17129 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17130 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17131 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17132 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17133 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17134 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17135 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17136 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17137 .rlen = 64 + 64,
17141 static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
17142 { /*Generated with cryptopp*/
17143 #ifdef __LITTLE_ENDIAN
17144 .key = "\x08\x00" /* rta length */
17145 "\x01\x00" /* rta type */
17146 #else
17147 .key = "\x00\x08" /* rta length */
17148 "\x00\x01" /* rta type */
17149 #endif
17150 "\x00\x00\x00\x08" /* enc key length */
17151 "\x11\x22\x33\x44\x55\x66\x77\x88"
17152 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17153 "\x22\x33\x44\x55"
17154 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17155 .klen = 8 + 20 + 8,
17156 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17157 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17158 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17159 .alen = 16,
17160 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17161 "\x53\x20\x63\x65\x65\x72\x73\x74"
17162 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17163 "\x20\x79\x65\x53\x72\x63\x74\x65"
17164 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17165 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17166 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17167 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17168 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17169 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17170 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17171 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17172 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17173 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17174 "\x63\x65\x65\x72\x73\x74\x54\x20"
17175 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17176 .ilen = 128,
17177 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17178 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17179 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17180 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17181 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17182 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17183 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17184 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17185 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17186 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17187 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17188 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17189 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17190 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17191 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17192 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17193 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17194 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17195 "\x5c\x44\xa9\x37",
17196 .rlen = 128 + 20,
17200 static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
17201 { /*Generated with cryptopp*/
17202 #ifdef __LITTLE_ENDIAN
17203 .key = "\x08\x00" /* rta length */
17204 "\x01\x00" /* rta type */
17205 #else
17206 .key = "\x00\x08" /* rta length */
17207 "\x00\x01" /* rta type */
17208 #endif
17209 "\x00\x00\x00\x08" /* enc key length */
17210 "\x11\x22\x33\x44\x55\x66\x77\x88"
17211 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17212 "\x22\x33\x44\x55\x66\x77\x88\x99"
17213 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17214 .klen = 8 + 24 + 8,
17215 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17216 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17217 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17218 .alen = 16,
17219 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17220 "\x53\x20\x63\x65\x65\x72\x73\x74"
17221 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17222 "\x20\x79\x65\x53\x72\x63\x74\x65"
17223 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17224 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17225 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17226 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17227 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17228 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17229 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17230 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17231 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17232 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17233 "\x63\x65\x65\x72\x73\x74\x54\x20"
17234 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17235 .ilen = 128,
17236 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17237 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17238 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17239 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17240 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17241 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17242 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17243 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17244 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17245 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17246 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17247 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17248 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17249 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17250 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17251 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17252 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17253 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17254 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17255 .rlen = 128 + 24,
17259 static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
17260 { /*Generated with cryptopp*/
17261 #ifdef __LITTLE_ENDIAN
17262 .key = "\x08\x00" /* rta length */
17263 "\x01\x00" /* rta type */
17264 #else
17265 .key = "\x00\x08" /* rta length */
17266 "\x00\x01" /* rta type */
17267 #endif
17268 "\x00\x00\x00\x08" /* enc key length */
17269 "\x11\x22\x33\x44\x55\x66\x77\x88"
17270 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17271 "\x22\x33\x44\x55\x66\x77\x88\x99"
17272 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17273 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17274 .klen = 8 + 32 + 8,
17275 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17276 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17277 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17278 .alen = 16,
17279 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17280 "\x53\x20\x63\x65\x65\x72\x73\x74"
17281 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17282 "\x20\x79\x65\x53\x72\x63\x74\x65"
17283 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17284 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17285 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17286 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17287 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17288 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17289 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17290 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17291 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17292 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17293 "\x63\x65\x65\x72\x73\x74\x54\x20"
17294 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17295 .ilen = 128,
17296 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17297 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17298 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17299 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17300 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17301 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17302 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17303 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17304 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17305 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17306 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17307 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17308 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17309 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17310 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17311 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17312 "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17313 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17314 "\xde\x63\xde\x76\x52\xde\x9f\xba"
17315 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17316 .rlen = 128 + 32,
17320 static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
17321 { /*Generated with cryptopp*/
17322 #ifdef __LITTLE_ENDIAN
17323 .key = "\x08\x00" /* rta length */
17324 "\x01\x00" /* rta type */
17325 #else
17326 .key = "\x00\x08" /* rta length */
17327 "\x00\x01" /* rta type */
17328 #endif
17329 "\x00\x00\x00\x08" /* enc key length */
17330 "\x11\x22\x33\x44\x55\x66\x77\x88"
17331 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17332 "\x22\x33\x44\x55\x66\x77\x88\x99"
17333 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17334 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17335 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17336 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17337 .klen = 8 + 48 + 8,
17338 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17339 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17340 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17341 .alen = 16,
17342 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17343 "\x53\x20\x63\x65\x65\x72\x73\x74"
17344 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17345 "\x20\x79\x65\x53\x72\x63\x74\x65"
17346 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17347 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17348 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17349 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17350 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17351 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17352 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17353 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17354 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17355 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17356 "\x63\x65\x65\x72\x73\x74\x54\x20"
17357 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17358 .ilen = 128,
17359 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17360 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17361 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17362 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17363 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17364 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17365 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17366 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17367 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17368 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17369 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17370 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17371 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17372 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17373 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17374 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17375 "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17376 "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17377 "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17378 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17379 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17380 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17381 .rlen = 128 + 48,
17385 static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
17386 { /*Generated with cryptopp*/
17387 #ifdef __LITTLE_ENDIAN
17388 .key = "\x08\x00" /* rta length */
17389 "\x01\x00" /* rta type */
17390 #else
17391 .key = "\x00\x08" /* rta length */
17392 "\x00\x01" /* rta type */
17393 #endif
17394 "\x00\x00\x00\x08" /* enc key length */
17395 "\x11\x22\x33\x44\x55\x66\x77\x88"
17396 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17397 "\x22\x33\x44\x55\x66\x77\x88\x99"
17398 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17399 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17400 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17401 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17402 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17403 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17404 .klen = 8 + 64 + 8,
17405 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17406 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17407 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17408 .alen = 16,
17409 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17410 "\x53\x20\x63\x65\x65\x72\x73\x74"
17411 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17412 "\x20\x79\x65\x53\x72\x63\x74\x65"
17413 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17414 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17415 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17416 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17417 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17418 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17419 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17420 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17421 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17422 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17423 "\x63\x65\x65\x72\x73\x74\x54\x20"
17424 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17425 .ilen = 128,
17426 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17427 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17428 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17429 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17430 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17431 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17432 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17433 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17434 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17435 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17436 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17437 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17438 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17439 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17440 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17441 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17442 "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17443 "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17444 "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17445 "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17446 "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17447 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17448 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17449 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17450 .rlen = 128 + 64,
17454 static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
17455 { /*Generated with cryptopp*/
17456 #ifdef __LITTLE_ENDIAN
17457 .key = "\x08\x00" /* rta length */
17458 "\x01\x00" /* rta type */
17459 #else
17460 .key = "\x00\x08" /* rta length */
17461 "\x00\x01" /* rta type */
17462 #endif
17463 "\x00\x00\x00\x18" /* enc key length */
17464 "\x11\x22\x33\x44\x55\x66\x77\x88"
17465 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17466 "\x22\x33\x44\x55"
17467 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17468 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17469 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17470 .klen = 8 + 20 + 24,
17471 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17472 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17473 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17474 .alen = 16,
17475 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17476 "\x53\x20\x63\x65\x65\x72\x73\x74"
17477 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17478 "\x20\x79\x65\x53\x72\x63\x74\x65"
17479 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17480 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17481 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17482 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17483 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17484 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17485 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17486 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17487 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17488 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17489 "\x63\x65\x65\x72\x73\x74\x54\x20"
17490 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17491 .ilen = 128,
17492 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17493 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17494 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17495 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17496 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17497 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17498 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17499 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17500 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17501 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17502 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17503 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17504 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17505 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17506 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17507 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17508 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17509 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17510 "\xd1\x60\x91\xb3",
17511 .rlen = 128 + 20,
17515 static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
17516 { /*Generated with cryptopp*/
17517 #ifdef __LITTLE_ENDIAN
17518 .key = "\x08\x00" /* rta length */
17519 "\x01\x00" /* rta type */
17520 #else
17521 .key = "\x00\x08" /* rta length */
17522 "\x00\x01" /* rta type */
17523 #endif
17524 "\x00\x00\x00\x18" /* enc key length */
17525 "\x11\x22\x33\x44\x55\x66\x77\x88"
17526 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17527 "\x22\x33\x44\x55\x66\x77\x88\x99"
17528 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17529 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17530 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17531 .klen = 8 + 24 + 24,
17532 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17533 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17534 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17535 .alen = 16,
17536 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17537 "\x53\x20\x63\x65\x65\x72\x73\x74"
17538 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17539 "\x20\x79\x65\x53\x72\x63\x74\x65"
17540 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17541 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17542 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17543 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17544 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17545 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17546 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17547 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17548 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17549 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17550 "\x63\x65\x65\x72\x73\x74\x54\x20"
17551 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17552 .ilen = 128,
17553 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17554 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17555 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17556 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17557 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17558 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17559 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17560 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17561 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17562 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17563 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17564 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17565 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17566 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17567 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17568 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17569 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17570 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17571 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17572 .rlen = 128 + 24,
17576 static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
17577 { /*Generated with cryptopp*/
17578 #ifdef __LITTLE_ENDIAN
17579 .key = "\x08\x00" /* rta length */
17580 "\x01\x00" /* rta type */
17581 #else
17582 .key = "\x00\x08" /* rta length */
17583 "\x00\x01" /* rta type */
17584 #endif
17585 "\x00\x00\x00\x18" /* enc key length */
17586 "\x11\x22\x33\x44\x55\x66\x77\x88"
17587 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17588 "\x22\x33\x44\x55\x66\x77\x88\x99"
17589 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17590 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17591 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17592 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17593 .klen = 8 + 32 + 24,
17594 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17595 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17596 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17597 .alen = 16,
17598 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17599 "\x53\x20\x63\x65\x65\x72\x73\x74"
17600 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17601 "\x20\x79\x65\x53\x72\x63\x74\x65"
17602 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17603 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17604 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17605 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17606 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17607 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17608 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17609 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17610 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17611 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17612 "\x63\x65\x65\x72\x73\x74\x54\x20"
17613 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17614 .ilen = 128,
17615 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17616 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17617 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17618 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17619 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17620 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17621 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17622 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17623 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17624 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17625 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17626 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17627 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17628 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17629 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17630 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17631 "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17632 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17633 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17634 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17635 .rlen = 128 + 32,
17639 static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
17640 { /*Generated with cryptopp*/
17641 #ifdef __LITTLE_ENDIAN
17642 .key = "\x08\x00" /* rta length */
17643 "\x01\x00" /* rta type */
17644 #else
17645 .key = "\x00\x08" /* rta length */
17646 "\x00\x01" /* rta type */
17647 #endif
17648 "\x00\x00\x00\x18" /* enc key length */
17649 "\x11\x22\x33\x44\x55\x66\x77\x88"
17650 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17651 "\x22\x33\x44\x55\x66\x77\x88\x99"
17652 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17653 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17654 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17655 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17656 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17657 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17658 .klen = 8 + 48 + 24,
17659 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17660 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17661 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17662 .alen = 16,
17663 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17664 "\x53\x20\x63\x65\x65\x72\x73\x74"
17665 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17666 "\x20\x79\x65\x53\x72\x63\x74\x65"
17667 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17668 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17669 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17670 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17671 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17672 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17673 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17674 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17675 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17676 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17677 "\x63\x65\x65\x72\x73\x74\x54\x20"
17678 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17679 .ilen = 128,
17680 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17681 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17682 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17683 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17684 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17685 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17686 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17687 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17688 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17689 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17690 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17691 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17692 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17693 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17694 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17695 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17696 "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17697 "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17698 "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17699 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17700 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17701 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17702 .rlen = 128 + 48,
17706 static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
17707 { /*Generated with cryptopp*/
17708 #ifdef __LITTLE_ENDIAN
17709 .key = "\x08\x00" /* rta length */
17710 "\x01\x00" /* rta type */
17711 #else
17712 .key = "\x00\x08" /* rta length */
17713 "\x00\x01" /* rta type */
17714 #endif
17715 "\x00\x00\x00\x18" /* enc key length */
17716 "\x11\x22\x33\x44\x55\x66\x77\x88"
17717 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17718 "\x22\x33\x44\x55\x66\x77\x88\x99"
17719 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17720 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17721 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17722 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17723 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17724 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17725 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17726 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17727 .klen = 8 + 64 + 24,
17728 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17729 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17730 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17731 .alen = 16,
17732 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17733 "\x53\x20\x63\x65\x65\x72\x73\x74"
17734 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17735 "\x20\x79\x65\x53\x72\x63\x74\x65"
17736 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17737 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17738 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17739 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17740 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17741 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17742 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17743 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17744 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17745 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17746 "\x63\x65\x65\x72\x73\x74\x54\x20"
17747 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17748 .ilen = 128,
17749 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17750 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17751 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17752 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17753 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17754 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17755 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17756 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17757 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17758 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17759 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17760 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17761 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17762 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17763 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17764 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17765 "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17766 "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17767 "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17768 "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17769 "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17770 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17771 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17772 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17773 .rlen = 128 + 64,
17777 static const struct cipher_testvec aes_lrw_enc_tv_template[] = {
17778 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17779 { /* LRW-32-AES 1 */
17780 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17781 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17782 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17783 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17784 .klen = 32,
17785 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17786 "\x00\x00\x00\x00\x00\x00\x00\x01",
17787 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17788 "\x38\x39\x41\x42\x43\x44\x45\x46",
17789 .ilen = 16,
17790 .result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17791 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17792 .rlen = 16,
17793 }, { /* LRW-32-AES 2 */
17794 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17795 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17796 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17797 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17798 .klen = 32,
17799 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17800 "\x00\x00\x00\x00\x00\x00\x00\x02",
17801 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17802 "\x38\x39\x41\x42\x43\x44\x45\x46",
17803 .ilen = 16,
17804 .result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17805 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17806 .rlen = 16,
17807 }, { /* LRW-32-AES 3 */
17808 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17809 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17810 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17811 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17812 .klen = 32,
17813 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17814 "\x00\x00\x00\x02\x00\x00\x00\x00",
17815 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17816 "\x38\x39\x41\x42\x43\x44\x45\x46",
17817 .ilen = 16,
17818 .result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17819 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17820 .rlen = 16,
17821 }, { /* LRW-32-AES 4 */
17822 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17823 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17824 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17825 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17826 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17827 .klen = 40,
17828 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17829 "\x00\x00\x00\x00\x00\x00\x00\x01",
17830 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17831 "\x38\x39\x41\x42\x43\x44\x45\x46",
17832 .ilen = 16,
17833 .result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17834 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17835 .rlen = 16,
17836 }, { /* LRW-32-AES 5 */
17837 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17838 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17839 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17840 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17841 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17842 .klen = 40,
17843 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17844 "\x00\x00\x00\x02\x00\x00\x00\x00",
17845 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17846 "\x38\x39\x41\x42\x43\x44\x45\x46",
17847 .ilen = 16,
17848 .result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17849 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17850 .rlen = 16,
17851 }, { /* LRW-32-AES 6 */
17852 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17853 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17854 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17855 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17856 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17857 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17858 .klen = 48,
17859 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17860 "\x00\x00\x00\x00\x00\x00\x00\x01",
17861 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17862 "\x38\x39\x41\x42\x43\x44\x45\x46",
17863 .ilen = 16,
17864 .result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17865 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17866 .rlen = 16,
17867 }, { /* LRW-32-AES 7 */
17868 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17869 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17870 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17871 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17872 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17873 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17874 .klen = 48,
17875 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17876 "\x00\x00\x00\x02\x00\x00\x00\x00",
17877 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
17878 "\x38\x39\x41\x42\x43\x44\x45\x46",
17879 .ilen = 16,
17880 .result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17881 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17882 .rlen = 16,
17883 }, {
17884 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17885 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17886 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17887 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17888 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17889 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17890 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17891 .klen = 48,
17892 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17893 "\x00\x00\x00\x00\x00\x00\x00\x01",
17894 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17895 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17896 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17897 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17898 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17899 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17900 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17901 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17902 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17903 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17904 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17905 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17906 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17907 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17908 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17909 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17910 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17911 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17912 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17913 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17914 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17915 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17916 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17917 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17918 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17919 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17920 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17921 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17922 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17923 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17924 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17925 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17926 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17927 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17928 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17929 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17930 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17931 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17932 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17933 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17934 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17935 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17936 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17937 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17938 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17939 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17940 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17941 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17942 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17943 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17944 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17945 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17946 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17947 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17948 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17949 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17950 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17951 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17952 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17953 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17954 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17955 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17956 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17957 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17958 .ilen = 512,
17959 .result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17960 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17961 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17962 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17963 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17964 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17965 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17966 "\xe8\x58\x46\x97\x39\x51\x07\xde"
17967 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17968 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17969 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17970 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17971 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17972 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17973 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17974 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17975 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17976 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17977 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17978 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17979 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17980 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17981 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17982 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17983 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17984 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17985 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17986 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17987 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17988 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17989 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17990 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17991 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17992 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17993 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17994 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17995 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
17996 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
17997 "\xb8\x79\x78\x97\x94\xff\x72\x13"
17998 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
17999 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18000 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18001 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18002 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18003 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18004 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18005 "\x1e\x86\x53\x11\x53\x94\x00\xee"
18006 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18007 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18008 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18009 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18010 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18011 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18012 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18013 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18014 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18015 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18016 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18017 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18018 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18019 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18020 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18021 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18022 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18023 .rlen = 512,
18024 .also_non_np = 1,
18025 .np = 3,
18026 .tap = { 512 - 20, 4, 16 },
18030 static const struct cipher_testvec aes_lrw_dec_tv_template[] = {
18031 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
18032 /* same as enc vectors with input and result reversed */
18033 { /* LRW-32-AES 1 */
18034 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18035 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18036 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18037 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18038 .klen = 32,
18039 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18040 "\x00\x00\x00\x00\x00\x00\x00\x01",
18041 .input = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18042 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18043 .ilen = 16,
18044 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18045 "\x38\x39\x41\x42\x43\x44\x45\x46",
18046 .rlen = 16,
18047 }, { /* LRW-32-AES 2 */
18048 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18049 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18050 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18051 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18052 .klen = 32,
18053 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18054 "\x00\x00\x00\x00\x00\x00\x00\x02",
18055 .input = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18056 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18057 .ilen = 16,
18058 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18059 "\x38\x39\x41\x42\x43\x44\x45\x46",
18060 .rlen = 16,
18061 }, { /* LRW-32-AES 3 */
18062 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18063 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18064 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18065 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18066 .klen = 32,
18067 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18068 "\x00\x00\x00\x02\x00\x00\x00\x00",
18069 .input = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18070 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18071 .ilen = 16,
18072 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18073 "\x38\x39\x41\x42\x43\x44\x45\x46",
18074 .rlen = 16,
18075 }, { /* LRW-32-AES 4 */
18076 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18077 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18078 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18079 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18080 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18081 .klen = 40,
18082 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18083 "\x00\x00\x00\x00\x00\x00\x00\x01",
18084 .input = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18085 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18086 .ilen = 16,
18087 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18088 "\x38\x39\x41\x42\x43\x44\x45\x46",
18089 .rlen = 16,
18090 }, { /* LRW-32-AES 5 */
18091 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18092 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18093 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18094 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18095 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18096 .klen = 40,
18097 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18098 "\x00\x00\x00\x02\x00\x00\x00\x00",
18099 .input = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18100 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18101 .ilen = 16,
18102 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18103 "\x38\x39\x41\x42\x43\x44\x45\x46",
18104 .rlen = 16,
18105 }, { /* LRW-32-AES 6 */
18106 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18107 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18108 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18109 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18110 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18111 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18112 .klen = 48,
18113 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18114 "\x00\x00\x00\x00\x00\x00\x00\x01",
18115 .input = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18116 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18117 .ilen = 16,
18118 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18119 "\x38\x39\x41\x42\x43\x44\x45\x46",
18120 .rlen = 16,
18121 }, { /* LRW-32-AES 7 */
18122 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18123 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18124 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18125 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18126 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18127 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18128 .klen = 48,
18129 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18130 "\x00\x00\x00\x02\x00\x00\x00\x00",
18131 .input = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18132 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18133 .ilen = 16,
18134 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18135 "\x38\x39\x41\x42\x43\x44\x45\x46",
18136 .rlen = 16,
18137 }, {
18138 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18139 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18140 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18141 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18142 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18143 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18144 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18145 .klen = 48,
18146 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18147 "\x00\x00\x00\x00\x00\x00\x00\x01",
18148 .input = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18149 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18150 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18151 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18152 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18153 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18154 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18155 "\xe8\x58\x46\x97\x39\x51\x07\xde"
18156 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18157 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18158 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18159 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18160 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18161 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18162 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18163 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18164 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18165 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18166 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18167 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18168 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18169 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18170 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18171 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18172 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18173 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18174 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18175 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18176 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18177 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18178 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18179 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18180 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18181 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18182 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18183 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18184 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18185 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18186 "\xb8\x79\x78\x97\x94\xff\x72\x13"
18187 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18188 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18189 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18190 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18191 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18192 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18193 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18194 "\x1e\x86\x53\x11\x53\x94\x00\xee"
18195 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18196 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18197 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18198 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18199 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18200 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18201 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18202 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18203 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18204 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18205 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18206 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18207 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18208 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18209 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18210 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18211 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18212 .ilen = 512,
18213 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18214 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18215 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18216 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18217 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18218 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18219 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18220 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18221 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18222 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18223 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18224 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18225 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18226 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18227 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18228 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18229 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18230 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18231 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18232 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18233 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18234 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18235 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18236 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18237 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18238 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18239 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18240 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18241 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18242 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18243 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18244 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18245 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18246 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18247 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18248 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18249 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18250 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18251 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18252 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18253 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18254 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18255 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18256 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18257 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18258 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18259 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18260 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18261 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18262 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18263 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18264 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18265 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18266 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18267 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18268 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18269 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18270 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18271 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18272 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18273 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18274 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18275 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18276 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18277 .rlen = 512,
18278 .also_non_np = 1,
18279 .np = 3,
18280 .tap = { 512 - 20, 4, 16 },
18284 static const struct cipher_testvec aes_xts_enc_tv_template[] = {
18285 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18286 { /* XTS-AES 1 */
18287 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18288 "\x00\x00\x00\x00\x00\x00\x00\x00"
18289 "\x00\x00\x00\x00\x00\x00\x00\x00"
18290 "\x00\x00\x00\x00\x00\x00\x00\x00",
18291 .klen = 32,
18292 .fips_skip = 1,
18293 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18294 "\x00\x00\x00\x00\x00\x00\x00\x00",
18295 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
18296 "\x00\x00\x00\x00\x00\x00\x00\x00"
18297 "\x00\x00\x00\x00\x00\x00\x00\x00"
18298 "\x00\x00\x00\x00\x00\x00\x00\x00",
18299 .ilen = 32,
18300 .result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18301 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18302 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18303 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18304 .rlen = 32,
18305 }, { /* XTS-AES 2 */
18306 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
18307 "\x11\x11\x11\x11\x11\x11\x11\x11"
18308 "\x22\x22\x22\x22\x22\x22\x22\x22"
18309 "\x22\x22\x22\x22\x22\x22\x22\x22",
18310 .klen = 32,
18311 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18312 "\x00\x00\x00\x00\x00\x00\x00\x00",
18313 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
18314 "\x44\x44\x44\x44\x44\x44\x44\x44"
18315 "\x44\x44\x44\x44\x44\x44\x44\x44"
18316 "\x44\x44\x44\x44\x44\x44\x44\x44",
18317 .ilen = 32,
18318 .result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18319 "\x39\x33\x40\x38\xac\xef\x83\x8b"
18320 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18321 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18322 .rlen = 32,
18323 }, { /* XTS-AES 3 */
18324 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18325 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18326 "\x22\x22\x22\x22\x22\x22\x22\x22"
18327 "\x22\x22\x22\x22\x22\x22\x22\x22",
18328 .klen = 32,
18329 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18330 "\x00\x00\x00\x00\x00\x00\x00\x00",
18331 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
18332 "\x44\x44\x44\x44\x44\x44\x44\x44"
18333 "\x44\x44\x44\x44\x44\x44\x44\x44"
18334 "\x44\x44\x44\x44\x44\x44\x44\x44",
18335 .ilen = 32,
18336 .result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18337 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18338 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18339 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18340 .rlen = 32,
18341 }, { /* XTS-AES 4 */
18342 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18343 "\x23\x53\x60\x28\x74\x71\x35\x26"
18344 "\x31\x41\x59\x26\x53\x58\x97\x93"
18345 "\x23\x84\x62\x64\x33\x83\x27\x95",
18346 .klen = 32,
18347 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18348 "\x00\x00\x00\x00\x00\x00\x00\x00",
18349 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
18350 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18351 "\x10\x11\x12\x13\x14\x15\x16\x17"
18352 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18353 "\x20\x21\x22\x23\x24\x25\x26\x27"
18354 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18355 "\x30\x31\x32\x33\x34\x35\x36\x37"
18356 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18357 "\x40\x41\x42\x43\x44\x45\x46\x47"
18358 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18359 "\x50\x51\x52\x53\x54\x55\x56\x57"
18360 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18361 "\x60\x61\x62\x63\x64\x65\x66\x67"
18362 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18363 "\x70\x71\x72\x73\x74\x75\x76\x77"
18364 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18365 "\x80\x81\x82\x83\x84\x85\x86\x87"
18366 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18367 "\x90\x91\x92\x93\x94\x95\x96\x97"
18368 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18369 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18370 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18371 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18372 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18373 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18374 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18375 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18376 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18377 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18378 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18379 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18380 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18381 "\x00\x01\x02\x03\x04\x05\x06\x07"
18382 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18383 "\x10\x11\x12\x13\x14\x15\x16\x17"
18384 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18385 "\x20\x21\x22\x23\x24\x25\x26\x27"
18386 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18387 "\x30\x31\x32\x33\x34\x35\x36\x37"
18388 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18389 "\x40\x41\x42\x43\x44\x45\x46\x47"
18390 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18391 "\x50\x51\x52\x53\x54\x55\x56\x57"
18392 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18393 "\x60\x61\x62\x63\x64\x65\x66\x67"
18394 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18395 "\x70\x71\x72\x73\x74\x75\x76\x77"
18396 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18397 "\x80\x81\x82\x83\x84\x85\x86\x87"
18398 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18399 "\x90\x91\x92\x93\x94\x95\x96\x97"
18400 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18401 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18402 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18403 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18404 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18405 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18406 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18407 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18408 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18409 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18410 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18411 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18412 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18413 .ilen = 512,
18414 .result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18415 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18416 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18417 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18418 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18419 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18420 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18421 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18422 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18423 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18424 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18425 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18426 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18427 "\x22\x97\x61\x46\xae\x20\xce\x84"
18428 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18429 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18430 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18431 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18432 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18433 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18434 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18435 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18436 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18437 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18438 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18439 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18440 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18441 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18442 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18443 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18444 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18445 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18446 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18447 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18448 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18449 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18450 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18451 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18452 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18453 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18454 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18455 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18456 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18457 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18458 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18459 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18460 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18461 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18462 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18463 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18464 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18465 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18466 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18467 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18468 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18469 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18470 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18471 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18472 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18473 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18474 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18475 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18476 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18477 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18478 .rlen = 512,
18479 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18480 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18481 "\x23\x53\x60\x28\x74\x71\x35\x26"
18482 "\x62\x49\x77\x57\x24\x70\x93\x69"
18483 "\x99\x59\x57\x49\x66\x96\x76\x27"
18484 "\x31\x41\x59\x26\x53\x58\x97\x93"
18485 "\x23\x84\x62\x64\x33\x83\x27\x95"
18486 "\x02\x88\x41\x97\x16\x93\x99\x37"
18487 "\x51\x05\x82\x09\x74\x94\x45\x92",
18488 .klen = 64,
18489 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
18490 "\x00\x00\x00\x00\x00\x00\x00\x00",
18491 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
18492 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18493 "\x10\x11\x12\x13\x14\x15\x16\x17"
18494 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18495 "\x20\x21\x22\x23\x24\x25\x26\x27"
18496 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18497 "\x30\x31\x32\x33\x34\x35\x36\x37"
18498 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18499 "\x40\x41\x42\x43\x44\x45\x46\x47"
18500 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18501 "\x50\x51\x52\x53\x54\x55\x56\x57"
18502 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18503 "\x60\x61\x62\x63\x64\x65\x66\x67"
18504 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18505 "\x70\x71\x72\x73\x74\x75\x76\x77"
18506 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18507 "\x80\x81\x82\x83\x84\x85\x86\x87"
18508 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18509 "\x90\x91\x92\x93\x94\x95\x96\x97"
18510 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18511 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18512 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18513 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18514 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18515 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18516 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18517 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18518 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18519 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18520 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18521 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18522 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18523 "\x00\x01\x02\x03\x04\x05\x06\x07"
18524 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18525 "\x10\x11\x12\x13\x14\x15\x16\x17"
18526 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18527 "\x20\x21\x22\x23\x24\x25\x26\x27"
18528 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18529 "\x30\x31\x32\x33\x34\x35\x36\x37"
18530 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18531 "\x40\x41\x42\x43\x44\x45\x46\x47"
18532 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18533 "\x50\x51\x52\x53\x54\x55\x56\x57"
18534 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18535 "\x60\x61\x62\x63\x64\x65\x66\x67"
18536 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18537 "\x70\x71\x72\x73\x74\x75\x76\x77"
18538 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18539 "\x80\x81\x82\x83\x84\x85\x86\x87"
18540 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18541 "\x90\x91\x92\x93\x94\x95\x96\x97"
18542 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18543 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18544 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18545 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18546 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18547 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18548 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18549 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18550 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18551 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18552 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18553 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18554 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18555 .ilen = 512,
18556 .result = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18557 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18558 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18559 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18560 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18561 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18562 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18563 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18564 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18565 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18566 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18567 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18568 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18569 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18570 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18571 "\x00\x02\x08\x87\x89\x14\x29\xca"
18572 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18573 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18574 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18575 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18576 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18577 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18578 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18579 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18580 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18581 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18582 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18583 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18584 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18585 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18586 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18587 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18588 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18589 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18590 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18591 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18592 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18593 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18594 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18595 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18596 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18597 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18598 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18599 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18600 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18601 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18602 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18603 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18604 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18605 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18606 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18607 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18608 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18609 "\x94\x30\x54\xff\x84\x01\x14\x93"
18610 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18611 "\x53\x76\x44\x1a\x77\xed\x43\x85"
18612 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18613 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18614 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18615 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18616 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18617 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18618 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18619 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18620 .rlen = 512,
18621 .also_non_np = 1,
18622 .np = 3,
18623 .tap = { 512 - 20, 4, 16 },
18627 static const struct cipher_testvec aes_xts_dec_tv_template[] = {
18628 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18629 { /* XTS-AES 1 */
18630 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18631 "\x00\x00\x00\x00\x00\x00\x00\x00"
18632 "\x00\x00\x00\x00\x00\x00\x00\x00"
18633 "\x00\x00\x00\x00\x00\x00\x00\x00",
18634 .klen = 32,
18635 .fips_skip = 1,
18636 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18637 "\x00\x00\x00\x00\x00\x00\x00\x00",
18638 .input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18639 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18640 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18641 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18642 .ilen = 32,
18643 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
18644 "\x00\x00\x00\x00\x00\x00\x00\x00"
18645 "\x00\x00\x00\x00\x00\x00\x00\x00"
18646 "\x00\x00\x00\x00\x00\x00\x00\x00",
18647 .rlen = 32,
18648 }, { /* XTS-AES 2 */
18649 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
18650 "\x11\x11\x11\x11\x11\x11\x11\x11"
18651 "\x22\x22\x22\x22\x22\x22\x22\x22"
18652 "\x22\x22\x22\x22\x22\x22\x22\x22",
18653 .klen = 32,
18654 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18655 "\x00\x00\x00\x00\x00\x00\x00\x00",
18656 .input = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18657 "\x39\x33\x40\x38\xac\xef\x83\x8b"
18658 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18659 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18660 .ilen = 32,
18661 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
18662 "\x44\x44\x44\x44\x44\x44\x44\x44"
18663 "\x44\x44\x44\x44\x44\x44\x44\x44"
18664 "\x44\x44\x44\x44\x44\x44\x44\x44",
18665 .rlen = 32,
18666 }, { /* XTS-AES 3 */
18667 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18668 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18669 "\x22\x22\x22\x22\x22\x22\x22\x22"
18670 "\x22\x22\x22\x22\x22\x22\x22\x22",
18671 .klen = 32,
18672 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18673 "\x00\x00\x00\x00\x00\x00\x00\x00",
18674 .input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18675 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18676 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18677 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18678 .ilen = 32,
18679 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
18680 "\x44\x44\x44\x44\x44\x44\x44\x44"
18681 "\x44\x44\x44\x44\x44\x44\x44\x44"
18682 "\x44\x44\x44\x44\x44\x44\x44\x44",
18683 .rlen = 32,
18684 }, { /* XTS-AES 4 */
18685 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18686 "\x23\x53\x60\x28\x74\x71\x35\x26"
18687 "\x31\x41\x59\x26\x53\x58\x97\x93"
18688 "\x23\x84\x62\x64\x33\x83\x27\x95",
18689 .klen = 32,
18690 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18691 "\x00\x00\x00\x00\x00\x00\x00\x00",
18692 .input = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18693 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18694 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18695 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18696 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18697 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18698 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18699 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18700 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18701 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18702 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18703 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18704 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18705 "\x22\x97\x61\x46\xae\x20\xce\x84"
18706 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18707 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18708 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18709 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18710 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18711 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18712 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18713 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18714 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18715 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18716 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18717 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18718 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18719 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18720 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18721 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18722 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18723 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18724 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18725 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18726 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18727 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18728 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18729 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18730 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18731 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18732 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18733 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18734 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18735 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18736 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18737 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18738 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18739 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18740 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18741 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18742 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18743 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18744 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18745 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18746 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18747 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18748 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18749 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18750 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18751 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18752 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18753 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18754 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18755 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18756 .ilen = 512,
18757 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
18758 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18759 "\x10\x11\x12\x13\x14\x15\x16\x17"
18760 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18761 "\x20\x21\x22\x23\x24\x25\x26\x27"
18762 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18763 "\x30\x31\x32\x33\x34\x35\x36\x37"
18764 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18765 "\x40\x41\x42\x43\x44\x45\x46\x47"
18766 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18767 "\x50\x51\x52\x53\x54\x55\x56\x57"
18768 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18769 "\x60\x61\x62\x63\x64\x65\x66\x67"
18770 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18771 "\x70\x71\x72\x73\x74\x75\x76\x77"
18772 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18773 "\x80\x81\x82\x83\x84\x85\x86\x87"
18774 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18775 "\x90\x91\x92\x93\x94\x95\x96\x97"
18776 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18777 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18778 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18779 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18780 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18781 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18782 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18783 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18784 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18785 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18786 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18787 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18788 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18789 "\x00\x01\x02\x03\x04\x05\x06\x07"
18790 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18791 "\x10\x11\x12\x13\x14\x15\x16\x17"
18792 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18793 "\x20\x21\x22\x23\x24\x25\x26\x27"
18794 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18795 "\x30\x31\x32\x33\x34\x35\x36\x37"
18796 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18797 "\x40\x41\x42\x43\x44\x45\x46\x47"
18798 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18799 "\x50\x51\x52\x53\x54\x55\x56\x57"
18800 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18801 "\x60\x61\x62\x63\x64\x65\x66\x67"
18802 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18803 "\x70\x71\x72\x73\x74\x75\x76\x77"
18804 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18805 "\x80\x81\x82\x83\x84\x85\x86\x87"
18806 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18807 "\x90\x91\x92\x93\x94\x95\x96\x97"
18808 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18809 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18810 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18811 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18812 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18813 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18814 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18815 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18816 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18817 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18818 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18819 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18820 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18821 .rlen = 512,
18822 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18823 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18824 "\x23\x53\x60\x28\x74\x71\x35\x26"
18825 "\x62\x49\x77\x57\x24\x70\x93\x69"
18826 "\x99\x59\x57\x49\x66\x96\x76\x27"
18827 "\x31\x41\x59\x26\x53\x58\x97\x93"
18828 "\x23\x84\x62\x64\x33\x83\x27\x95"
18829 "\x02\x88\x41\x97\x16\x93\x99\x37"
18830 "\x51\x05\x82\x09\x74\x94\x45\x92",
18831 .klen = 64,
18832 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
18833 "\x00\x00\x00\x00\x00\x00\x00\x00",
18834 .input = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18835 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18836 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18837 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18838 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18839 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18840 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18841 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18842 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18843 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18844 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18845 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18846 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18847 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18848 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18849 "\x00\x02\x08\x87\x89\x14\x29\xca"
18850 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18851 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18852 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18853 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18854 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18855 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18856 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18857 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18858 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18859 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18860 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18861 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18862 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18863 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18864 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18865 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18866 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18867 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18868 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18869 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18870 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18871 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18872 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18873 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18874 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18875 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18876 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18877 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18878 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18879 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18880 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18881 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18882 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18883 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18884 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18885 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18886 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18887 "\x94\x30\x54\xff\x84\x01\x14\x93"
18888 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18889 "\x53\x76\x44\x1a\x77\xed\x43\x85"
18890 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18891 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18892 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18893 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18894 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18895 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18896 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18897 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18898 .ilen = 512,
18899 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
18900 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18901 "\x10\x11\x12\x13\x14\x15\x16\x17"
18902 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18903 "\x20\x21\x22\x23\x24\x25\x26\x27"
18904 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18905 "\x30\x31\x32\x33\x34\x35\x36\x37"
18906 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18907 "\x40\x41\x42\x43\x44\x45\x46\x47"
18908 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18909 "\x50\x51\x52\x53\x54\x55\x56\x57"
18910 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18911 "\x60\x61\x62\x63\x64\x65\x66\x67"
18912 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18913 "\x70\x71\x72\x73\x74\x75\x76\x77"
18914 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18915 "\x80\x81\x82\x83\x84\x85\x86\x87"
18916 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18917 "\x90\x91\x92\x93\x94\x95\x96\x97"
18918 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18919 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18920 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18921 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18922 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18923 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18924 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18925 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18926 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18927 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18928 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18929 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18930 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18931 "\x00\x01\x02\x03\x04\x05\x06\x07"
18932 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18933 "\x10\x11\x12\x13\x14\x15\x16\x17"
18934 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18935 "\x20\x21\x22\x23\x24\x25\x26\x27"
18936 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18937 "\x30\x31\x32\x33\x34\x35\x36\x37"
18938 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18939 "\x40\x41\x42\x43\x44\x45\x46\x47"
18940 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18941 "\x50\x51\x52\x53\x54\x55\x56\x57"
18942 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18943 "\x60\x61\x62\x63\x64\x65\x66\x67"
18944 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18945 "\x70\x71\x72\x73\x74\x75\x76\x77"
18946 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18947 "\x80\x81\x82\x83\x84\x85\x86\x87"
18948 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18949 "\x90\x91\x92\x93\x94\x95\x96\x97"
18950 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18951 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18952 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18953 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18954 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18955 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18956 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18957 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18958 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18959 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18960 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18961 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18962 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18963 .rlen = 512,
18964 .also_non_np = 1,
18965 .np = 3,
18966 .tap = { 512 - 20, 4, 16 },
18971 static const struct cipher_testvec aes_ctr_enc_tv_template[] = {
18972 { /* From NIST Special Publication 800-38A, Appendix F.5 */
18973 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18974 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18975 .klen = 16,
18976 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18977 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18978 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18979 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18980 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18981 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18982 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18983 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18984 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18985 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18986 .ilen = 64,
18987 .result = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18988 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18989 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18990 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18991 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18992 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18993 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18994 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18995 .rlen = 64,
18996 }, {
18997 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18998 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18999 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19000 .klen = 24,
19001 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19002 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19003 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19004 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19005 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19006 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19007 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19008 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19009 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19010 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19011 .ilen = 64,
19012 .result = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19013 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19014 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19015 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19016 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19017 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19018 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19019 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19020 .rlen = 64,
19021 }, {
19022 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19023 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19024 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19025 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19026 .klen = 32,
19027 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19028 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19029 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19030 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19031 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19032 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19033 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19034 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19035 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19036 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19037 .ilen = 64,
19038 .result = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19039 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19040 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19041 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19042 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19043 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19044 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19045 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19046 .rlen = 64,
19047 }, { /* Generated with Crypto++ */
19048 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19049 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19050 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19051 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19052 .klen = 32,
19053 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19054 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19055 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19056 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19057 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19058 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19059 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19060 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19061 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19062 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19063 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19064 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19065 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19066 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19067 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19068 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19069 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19070 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19071 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19072 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19073 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19074 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19075 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19076 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19077 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19078 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19079 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19080 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19081 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19082 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19083 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19084 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19085 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19086 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19087 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19088 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19089 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19090 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19091 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19092 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19093 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19094 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19095 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19096 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19097 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19098 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19099 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19100 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19101 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19102 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19103 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19104 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19105 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19106 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19107 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19108 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19109 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19110 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19111 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19112 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19113 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19114 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19115 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19116 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19117 .ilen = 496,
19118 .result = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19119 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19120 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19121 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19122 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19123 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19124 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19125 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19126 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19127 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19128 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19129 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19130 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19131 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19132 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19133 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19134 "\x34\x4B\x31\x69\x84\x66\x96\x44"
19135 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19136 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19137 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19138 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19139 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19140 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19141 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19142 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19143 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19144 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19145 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19146 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19147 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19148 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19149 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19150 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19151 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19152 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19153 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19154 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19155 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19156 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19157 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19158 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19159 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19160 "\x85\x99\x22\xE8\x91\x38\x70\x83"
19161 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19162 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19163 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19164 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19165 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19166 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19167 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19168 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19169 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19170 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19171 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19172 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19173 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19174 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19175 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19176 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19177 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19178 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19179 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19180 .rlen = 496,
19181 .also_non_np = 1,
19182 .np = 3,
19183 .tap = { 496 - 20, 4, 16 },
19184 }, { /* Generated with Crypto++ */
19185 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19186 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19187 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19188 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19189 .klen = 32,
19190 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19191 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19192 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19193 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19194 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19195 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19196 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19197 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19198 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19199 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19200 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19201 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19202 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19203 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19204 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19205 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19206 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19207 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19208 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19209 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19210 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19211 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19212 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19213 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19214 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19215 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19216 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19217 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19218 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19219 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19220 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19221 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19222 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19223 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19224 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19225 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19226 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19227 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19228 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19229 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19230 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19231 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19232 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19233 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19234 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19235 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19236 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19237 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19238 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19239 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19240 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19241 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19242 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19243 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19244 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19245 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19246 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19247 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19248 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19249 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19250 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19251 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19252 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19253 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19254 "\x7B\xE4\x4D",
19255 .ilen = 499,
19256 .result = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19257 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19258 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19259 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19260 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19261 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19262 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19263 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19264 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19265 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19266 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19267 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19268 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19269 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19270 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19271 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19272 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19273 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19274 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19275 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19276 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19277 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19278 "\x45\x18\x18\x74\x19\xAD\x71\x01"
19279 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19280 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19281 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19282 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19283 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19284 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19285 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19286 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19287 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19288 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19289 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19290 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19291 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19292 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19293 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19294 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19295 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19296 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19297 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19298 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19299 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19300 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19301 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19302 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19303 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19304 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19305 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19306 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19307 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19308 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19309 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19310 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19311 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19312 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19313 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19314 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19315 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19316 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19317 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19318 "\xFB\xF2\x3F",
19319 .rlen = 499,
19320 .also_non_np = 1,
19321 .np = 2,
19322 .tap = { 499 - 16, 16 },
19326 static const struct cipher_testvec aes_ctr_dec_tv_template[] = {
19327 { /* From NIST Special Publication 800-38A, Appendix F.5 */
19328 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19329 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19330 .klen = 16,
19331 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19332 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19333 .input = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19334 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19335 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19336 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19337 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19338 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19339 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19340 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19341 .ilen = 64,
19342 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19343 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19344 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19345 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19346 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19347 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19348 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19349 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19350 .rlen = 64,
19351 }, {
19352 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19353 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19354 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19355 .klen = 24,
19356 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19357 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19358 .input = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19359 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19360 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19361 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19362 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19363 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19364 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19365 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19366 .ilen = 64,
19367 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19368 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19369 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19370 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19371 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19372 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19373 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19374 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19375 .rlen = 64,
19376 }, {
19377 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19378 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19379 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19380 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19381 .klen = 32,
19382 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19383 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19384 .input = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19385 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19386 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19387 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19388 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19389 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19390 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19391 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19392 .ilen = 64,
19393 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19394 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19395 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19396 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19397 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19398 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19399 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19400 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19401 .rlen = 64,
19402 }, { /* Generated with Crypto++ */
19403 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19404 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19405 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19406 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19407 .klen = 32,
19408 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19409 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19410 .input = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19411 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19412 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19413 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19414 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19415 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19416 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19417 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19418 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19419 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19420 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19421 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19422 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19423 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19424 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19425 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19426 "\x34\x4B\x31\x69\x84\x66\x96\x44"
19427 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19428 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19429 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19430 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19431 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19432 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19433 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19434 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19435 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19436 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19437 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19438 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19439 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19440 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19441 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19442 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19443 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19444 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19445 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19446 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19447 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19448 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19449 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19450 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19451 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19452 "\x85\x99\x22\xE8\x91\x38\x70\x83"
19453 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19454 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19455 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19456 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19457 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19458 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19459 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19460 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19461 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19462 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19463 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19464 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19465 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19466 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19467 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19468 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19469 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19470 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19471 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19472 .ilen = 496,
19473 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19474 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19475 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19476 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19477 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19478 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19479 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19480 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19481 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19482 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19483 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19484 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19485 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19486 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19487 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19488 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19489 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19490 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19491 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19492 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19493 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19494 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19495 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19496 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19497 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19498 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19499 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19500 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19501 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19502 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19503 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19504 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19505 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19506 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19507 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19508 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19509 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19510 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19511 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19512 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19513 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19514 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19515 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19516 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19517 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19518 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19519 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19520 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19521 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19522 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19523 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19524 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19525 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19526 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19527 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19528 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19529 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19530 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19531 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19532 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19533 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19534 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19535 .rlen = 496,
19536 .also_non_np = 1,
19537 .np = 3,
19538 .tap = { 496 - 20, 4, 16 },
19539 }, { /* Generated with Crypto++ */
19540 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19541 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19542 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19543 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19544 .klen = 32,
19545 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19546 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19547 .input = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19548 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19549 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19550 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19551 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19552 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19553 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19554 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19555 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19556 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19557 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19558 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19559 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19560 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19561 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19562 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19563 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19564 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19565 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19566 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19567 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19568 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19569 "\x45\x18\x18\x74\x19\xAD\x71\x01"
19570 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19571 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19572 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19573 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19574 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19575 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19576 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19577 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19578 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19579 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19580 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19581 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19582 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19583 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19584 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19585 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19586 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19587 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19588 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19589 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19590 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19591 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19592 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19593 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19594 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19595 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19596 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19597 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19598 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19599 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19600 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19601 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19602 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19603 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19604 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19605 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19606 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19607 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19608 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19609 "\xFB\xF2\x3F",
19610 .ilen = 499,
19611 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19612 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19613 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19614 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19615 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19616 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19617 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19618 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19619 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19620 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19621 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19622 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19623 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19624 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19625 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19626 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19627 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19628 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19629 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19630 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19631 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19632 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19633 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19634 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19635 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19636 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19637 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19638 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19639 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19640 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19641 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19642 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19643 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19644 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19645 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19646 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19647 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19648 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19649 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19650 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19651 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19652 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19653 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19654 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19655 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19656 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19657 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19658 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19659 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19660 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19661 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19662 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19663 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19664 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19665 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19666 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19667 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19668 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19669 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19670 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19671 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19672 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19673 "\x7B\xE4\x4D",
19674 .rlen = 499,
19675 .also_non_np = 1,
19676 .np = 2,
19677 .tap = { 499 - 16, 16 },
19681 static const struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
19682 { /* From RFC 3686 */
19683 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19684 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19685 "\x00\x00\x00\x30",
19686 .klen = 20,
19687 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19688 .input = "Single block msg",
19689 .ilen = 16,
19690 .result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19691 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19692 .rlen = 16,
19693 }, {
19694 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19695 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19696 "\x00\x6c\xb6\xdb",
19697 .klen = 20,
19698 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19699 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
19700 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19701 "\x10\x11\x12\x13\x14\x15\x16\x17"
19702 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19703 .ilen = 32,
19704 .result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19705 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19706 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19707 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19708 .rlen = 32,
19709 }, {
19710 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19711 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19712 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19713 "\x00\x00\x00\x48",
19714 .klen = 28,
19715 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19716 .input = "Single block msg",
19717 .ilen = 16,
19718 .result = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19719 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19720 .rlen = 16,
19721 }, {
19722 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19723 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19724 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19725 "\x00\x96\xb0\x3b",
19726 .klen = 28,
19727 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19728 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
19729 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19730 "\x10\x11\x12\x13\x14\x15\x16\x17"
19731 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19732 .ilen = 32,
19733 .result = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19734 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19735 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19736 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19737 .rlen = 32,
19738 }, {
19739 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19740 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19741 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19742 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19743 "\x00\x00\x00\x60",
19744 .klen = 36,
19745 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19746 .input = "Single block msg",
19747 .ilen = 16,
19748 .result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19749 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19750 .rlen = 16,
19751 }, {
19752 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19753 "\x07\x96\x36\x58\x79\xef\xf8\x86"
19754 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19755 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19756 "\x00\xfa\xac\x24",
19757 .klen = 36,
19758 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19759 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
19760 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19761 "\x10\x11\x12\x13\x14\x15\x16\x17"
19762 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19763 .ilen = 32,
19764 .result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19765 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19766 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19767 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19768 .rlen = 32,
19769 }, {
19770 // generated using Crypto++
19771 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19772 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19773 "\x10\x11\x12\x13\x14\x15\x16\x17"
19774 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19775 "\x00\x00\x00\x00",
19776 .klen = 32 + 4,
19777 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19778 .input =
19779 "\x00\x01\x02\x03\x04\x05\x06\x07"
19780 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19781 "\x10\x11\x12\x13\x14\x15\x16\x17"
19782 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19783 "\x20\x21\x22\x23\x24\x25\x26\x27"
19784 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19785 "\x30\x31\x32\x33\x34\x35\x36\x37"
19786 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19787 "\x40\x41\x42\x43\x44\x45\x46\x47"
19788 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19789 "\x50\x51\x52\x53\x54\x55\x56\x57"
19790 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19791 "\x60\x61\x62\x63\x64\x65\x66\x67"
19792 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19793 "\x70\x71\x72\x73\x74\x75\x76\x77"
19794 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19795 "\x80\x81\x82\x83\x84\x85\x86\x87"
19796 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19797 "\x90\x91\x92\x93\x94\x95\x96\x97"
19798 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19799 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19800 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19801 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19802 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19803 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19804 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19805 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19806 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19807 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19808 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19809 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19810 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19811 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
19812 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19813 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
19814 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19815 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
19816 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19817 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19818 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19819 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19820 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19821 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19822 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19823 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
19824 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19825 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
19826 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19827 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
19828 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19829 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19830 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19831 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19832 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19833 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
19834 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19835 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
19836 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19837 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
19838 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19839 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19840 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19841 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19842 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19843 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19844 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19845 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19846 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19847 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19848 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19849 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19850 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19851 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19852 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19853 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19854 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19855 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19856 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19857 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19858 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19859 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19860 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19861 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19862 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19863 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19864 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19865 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19866 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19867 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19868 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19869 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19870 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19871 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19872 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19873 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19874 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19875 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19876 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19877 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19878 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19879 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19880 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19881 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19882 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19883 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19884 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19885 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19886 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19887 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19888 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19889 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19890 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19891 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19892 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19893 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19894 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19895 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19896 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19897 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19898 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19899 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19900 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19901 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19902 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19903 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19904 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19905 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19906 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19907 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19908 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19909 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19910 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19911 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19912 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19913 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19914 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19915 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19916 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19917 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19918 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19919 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19920 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19921 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19922 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19923 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19924 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19925 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19926 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19927 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19928 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19929 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19930 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19931 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19932 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19933 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19934 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19935 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19936 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19937 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19938 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19939 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19940 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19941 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19942 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19943 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19944 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19945 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19946 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19947 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19948 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19949 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19950 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19951 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19952 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19953 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19954 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19955 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19956 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19957 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19958 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19959 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19960 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19961 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19962 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19963 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19964 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19965 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19966 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19967 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19968 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19969 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19970 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19971 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19972 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19973 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19974 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
19975 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19976 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
19977 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19978 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19979 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19980 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19981 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19982 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19983 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19984 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19985 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19986 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
19987 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19988 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19989 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19990 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19991 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19992 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19993 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19994 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19995 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19996 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
19997 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19998 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19999 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
20000 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
20001 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
20002 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
20003 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
20004 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
20005 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
20006 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
20007 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
20008 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
20009 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
20010 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
20011 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
20012 "\x38\x47\x56\x65\x74\x83\x92\xa1"
20013 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
20014 "\x28\x37\x46\x55\x64\x73\x82\x91"
20015 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
20016 "\x18\x27\x36\x45\x54\x63\x72\x81"
20017 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
20018 "\x08\x17\x26\x35\x44\x53\x62\x71"
20019 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
20020 "\xf8\x07\x16\x25\x34\x43\x52\x61"
20021 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
20022 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
20023 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
20024 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
20025 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
20026 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
20027 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
20028 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
20029 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
20030 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
20031 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
20032 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
20033 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
20034 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
20035 "\x00\x11\x22\x33\x44\x55\x66\x77"
20036 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
20037 "\x10\x21\x32\x43\x54\x65\x76\x87"
20038 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
20039 "\x20\x31\x42\x53\x64\x75\x86\x97"
20040 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
20041 "\x30\x41\x52\x63\x74\x85\x96\xa7"
20042 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
20043 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
20044 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
20045 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
20046 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
20047 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
20048 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
20049 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
20050 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
20051 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
20052 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
20053 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
20054 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
20055 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
20056 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
20057 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
20058 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
20059 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
20060 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
20061 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
20062 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
20063 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
20064 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
20065 "\xf0\x01\x12\x23\x34\x45\x56\x67"
20066 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
20067 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
20068 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
20069 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
20070 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
20071 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
20072 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
20073 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
20074 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
20075 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
20076 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
20077 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
20078 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
20079 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
20080 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
20081 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
20082 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
20083 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
20084 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
20085 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
20086 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
20087 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
20088 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
20089 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
20090 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
20091 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
20092 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
20093 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
20094 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
20095 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
20096 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
20097 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
20098 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
20099 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
20100 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
20101 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
20102 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
20103 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
20104 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
20105 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
20106 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
20107 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
20108 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
20109 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
20110 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
20111 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
20112 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
20113 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
20114 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
20115 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
20116 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
20117 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
20118 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
20119 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
20120 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
20121 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
20122 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
20123 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
20124 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
20125 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
20126 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
20127 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
20128 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
20129 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
20130 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
20131 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
20132 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
20133 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
20134 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
20135 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
20136 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
20137 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
20138 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
20139 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
20140 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
20141 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
20142 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
20143 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
20144 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
20145 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
20146 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
20147 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
20148 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
20149 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
20150 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20151 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20152 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20153 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20154 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20155 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20156 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20157 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20158 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20159 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20160 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20161 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20162 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20163 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20164 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20165 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20166 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20167 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20168 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20169 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20170 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20171 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20172 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20173 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20174 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20175 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20176 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20177 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20178 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20179 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20180 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20181 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20182 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20183 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20184 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20185 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20186 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20187 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20188 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20189 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20190 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20191 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20192 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20193 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20194 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20195 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20196 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20197 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20198 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20199 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20200 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20201 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20202 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20203 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20204 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20205 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20206 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20207 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20208 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20209 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20210 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20211 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20212 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20213 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20214 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20215 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20216 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20217 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20218 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20219 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20220 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20221 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20222 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20223 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20224 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20225 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20226 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20227 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20228 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20229 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20230 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20231 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20232 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20233 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20234 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20235 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20236 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20237 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20238 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20239 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20240 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20241 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20242 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20243 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20244 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20245 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20246 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20247 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20248 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20249 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20250 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20251 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20252 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20253 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20254 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
20255 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20256 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20257 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20258 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20259 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20260 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20261 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20262 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20263 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20264 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20265 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20266 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20267 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20268 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20269 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20270 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20271 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20272 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20273 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20274 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20275 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20276 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20277 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20278 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20279 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20280 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20281 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20282 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20283 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20284 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20285 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20286 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20287 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20288 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20289 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20290 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20291 "\x00\x21\x42\x63",
20292 .ilen = 4100,
20293 .result =
20294 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20295 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
20296 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20297 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20298 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20299 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20300 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20301 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20302 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20303 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
20304 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20305 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20306 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20307 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20308 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20309 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20310 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20311 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20312 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20313 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20314 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20315 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20316 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20317 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20318 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20319 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20320 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20321 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20322 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20323 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20324 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20325 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20326 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20327 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
20328 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20329 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20330 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20331 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20332 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20333 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20334 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20335 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20336 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20337 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20338 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20339 "\x04\x02\xef\xd3\x44\xde\x76\x31"
20340 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20341 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20342 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20343 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20344 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20345 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20346 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20347 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20348 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20349 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20350 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20351 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20352 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20353 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20354 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20355 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20356 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
20357 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20358 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20359 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20360 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20361 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20362 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20363 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20364 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20365 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20366 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20367 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20368 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20369 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20370 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20371 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20372 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20373 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20374 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20375 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20376 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
20377 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20378 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20379 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
20380 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20381 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
20382 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20383 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20384 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20385 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20386 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20387 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20388 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20389 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20390 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20391 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20392 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20393 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20394 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20395 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20396 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20397 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20398 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20399 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20400 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20401 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20402 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20403 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20404 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20405 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20406 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20407 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20408 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20409 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20410 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20411 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20412 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20413 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20414 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20415 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20416 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20417 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20418 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20419 "\x26\x39\x83\x94\xef\x27\xd8\x53"
20420 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20421 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
20422 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20423 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20424 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20425 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20426 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
20427 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20428 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20429 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20430 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20431 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20432 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20433 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20434 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20435 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
20436 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20437 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20438 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20439 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20440 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20441 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20442 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20443 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20444 "\x35\x12\xe3\x36\x28\x27\x36\x58"
20445 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20446 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20447 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20448 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20449 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20450 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20451 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20452 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20453 "\x89\xf3\x78\x35\x44\x62\x78\x72"
20454 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20455 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20456 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20457 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20458 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20459 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20460 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20461 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20462 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20463 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20464 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
20465 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20466 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20467 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20468 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20469 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20470 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
20471 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20472 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20473 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20474 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20475 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20476 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20477 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20478 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20479 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20480 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20481 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20482 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
20483 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20484 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20485 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20486 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20487 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20488 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20489 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20490 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20491 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20492 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
20493 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20494 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20495 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20496 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20497 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20498 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20499 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20500 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
20501 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20502 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20503 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20504 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20505 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20506 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20507 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20508 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20509 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20510 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20511 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20512 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20513 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20514 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20515 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20516 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20517 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20518 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20519 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20520 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20521 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20522 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20523 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20524 "\x29\x90\x46\x30\x92\x69\x7d\x13"
20525 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20526 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20527 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20528 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20529 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20530 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20531 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20532 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20533 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20534 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20535 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20536 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20537 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20538 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20539 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20540 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20541 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
20542 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20543 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20544 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
20545 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20546 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20547 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20548 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20549 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20550 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20551 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20552 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20553 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20554 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20555 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20556 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20557 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20558 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20559 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20560 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20561 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20562 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20563 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
20564 "\x73\x02\x3b\x78\x21\x72\x43\x00"
20565 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
20566 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20567 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20568 "\x11\x94\x13\x69\x51\x09\x28\xde"
20569 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20570 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20571 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20572 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20573 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20574 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20575 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20576 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20577 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20578 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20579 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20580 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20581 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20582 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20583 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20584 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20585 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20586 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20587 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20588 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
20589 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20590 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20591 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20592 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20593 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20594 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20595 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20596 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20597 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20598 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20599 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20600 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20601 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
20602 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20603 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20604 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20605 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
20606 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20607 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20608 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20609 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20610 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20611 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20612 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20613 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20614 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20615 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20616 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
20617 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20618 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20619 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20620 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20621 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20622 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20623 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20624 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20625 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20626 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20627 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20628 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20629 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20630 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20631 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20632 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20633 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20634 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20635 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20636 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20637 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20638 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20639 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20640 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20641 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20642 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20643 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20644 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20645 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
20646 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20647 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20648 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20649 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20650 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20651 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20652 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20653 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20654 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20655 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20656 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20657 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20658 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20659 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20660 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20661 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20662 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20663 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20664 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20665 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20666 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20667 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20668 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20669 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20670 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
20671 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20672 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20673 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20674 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20675 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20676 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20677 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20678 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20679 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20680 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20681 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20682 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20683 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
20684 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20685 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20686 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20687 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20688 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
20689 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20690 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
20691 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20692 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20693 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20694 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20695 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20696 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20697 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20698 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20699 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
20700 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20701 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20702 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20703 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20704 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20705 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20706 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20707 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20708 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20709 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20710 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20711 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20712 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20713 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20714 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20715 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20716 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20717 "\xae\xed\x39\x88\x42\x11\x3c\xed"
20718 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20719 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20720 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20721 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20722 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20723 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20724 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20725 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20726 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20727 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20728 "\x34\x17\xde\xba\x47\xf1\x06\x18"
20729 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20730 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20731 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20732 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20733 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20734 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20735 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20736 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20737 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20738 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20739 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20740 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20741 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20742 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20743 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20744 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20745 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20746 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20747 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20748 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
20749 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20750 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20751 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20752 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20753 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20754 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20755 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20756 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20757 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
20758 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20759 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20760 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20761 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20762 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20763 "\x74\x56\x58\x40\x02\x37\x52\x2c"
20764 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20765 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20766 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20767 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20768 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20769 "\xed\x38\x80\x36\x72\x43\x27\x49"
20770 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20771 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20772 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20773 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20774 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20775 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20776 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20777 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20778 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20779 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20780 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
20781 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20782 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20783 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20784 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20785 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20786 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20787 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20788 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20789 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20790 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20791 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20792 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20793 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20794 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20795 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20796 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20797 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20798 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20799 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20800 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20801 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
20802 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20803 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20804 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20805 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
20806 "\x21\xed\xda\x86",
20807 .rlen = 4100,
20808 .np = 2,
20809 .tap = { 4064, 36 },
20813 static const struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
20814 { /* From RFC 3686 */
20815 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20816 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20817 "\x00\x00\x00\x30",
20818 .klen = 20,
20819 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20820 .input = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20821 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20822 .ilen = 16,
20823 .result = "Single block msg",
20824 .rlen = 16,
20825 }, {
20826 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20827 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20828 "\x00\x6c\xb6\xdb",
20829 .klen = 20,
20830 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20831 .input = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20832 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20833 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20834 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20835 .ilen = 32,
20836 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
20837 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20838 "\x10\x11\x12\x13\x14\x15\x16\x17"
20839 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20840 .rlen = 32,
20841 }, {
20842 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20843 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20844 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20845 "\x00\x00\x00\x48",
20846 .klen = 28,
20847 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20848 .input = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20849 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20850 .ilen = 16,
20851 .result = "Single block msg",
20852 .rlen = 16,
20853 }, {
20854 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20855 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20856 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20857 "\x00\x96\xb0\x3b",
20858 .klen = 28,
20859 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20860 .input = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20861 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20862 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20863 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20864 .ilen = 32,
20865 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
20866 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20867 "\x10\x11\x12\x13\x14\x15\x16\x17"
20868 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20869 .rlen = 32,
20870 }, {
20871 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20872 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20873 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20874 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20875 "\x00\x00\x00\x60",
20876 .klen = 36,
20877 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20878 .input = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20879 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20880 .ilen = 16,
20881 .result = "Single block msg",
20882 .rlen = 16,
20883 }, {
20884 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20885 "\x07\x96\x36\x58\x79\xef\xf8\x86"
20886 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20887 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20888 "\x00\xfa\xac\x24",
20889 .klen = 36,
20890 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20891 .input = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20892 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20893 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20894 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20895 .ilen = 32,
20896 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
20897 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20898 "\x10\x11\x12\x13\x14\x15\x16\x17"
20899 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20900 .rlen = 32,
20904 static const struct cipher_testvec aes_ofb_enc_tv_template[] = {
20905 /* From NIST Special Publication 800-38A, Appendix F.5 */
20907 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20908 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20909 .klen = 16,
20910 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20911 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20912 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20913 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20914 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20915 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20916 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20917 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20918 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20919 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20920 .ilen = 64,
20921 .result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20922 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20923 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20924 "\x3c\x52\xda\xc5\x4e\xd8\x25"
20925 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20926 "\x44\xf7\xa8\x22\x60\xed\xcc"
20927 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20928 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20929 .rlen = 64,
20933 static const struct cipher_testvec aes_ofb_dec_tv_template[] = {
20934 /* From NIST Special Publication 800-38A, Appendix F.5 */
20936 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20937 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20938 .klen = 16,
20939 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20940 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20941 .input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20942 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20943 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20944 "\x3c\x52\xda\xc5\x4e\xd8\x25"
20945 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20946 "\x44\xf7\xa8\x22\x60\xed\xcc"
20947 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20948 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20949 .ilen = 64,
20950 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20951 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20952 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20953 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20954 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20955 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20956 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20957 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20958 .rlen = 64,
20962 static const struct aead_testvec aes_gcm_enc_tv_template[] = {
20963 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20964 .key = zeroed_string,
20965 .klen = 16,
20966 .result = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20967 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20968 .rlen = 16,
20969 }, {
20970 .key = zeroed_string,
20971 .klen = 16,
20972 .input = zeroed_string,
20973 .ilen = 16,
20974 .result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20975 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20976 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20977 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20978 .rlen = 32,
20979 }, {
20980 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20981 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20982 .klen = 16,
20983 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20984 "\xde\xca\xf8\x88",
20985 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20986 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20987 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20988 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20989 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20990 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20991 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20992 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20993 .ilen = 64,
20994 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20995 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20996 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20997 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20998 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20999 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21000 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21001 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21002 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21003 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21004 .rlen = 80,
21005 }, {
21006 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21007 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21008 .klen = 16,
21009 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21010 "\xde\xca\xf8\x88",
21011 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21012 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21013 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21014 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21015 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21016 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21017 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21018 "\xba\x63\x7b\x39",
21019 .ilen = 60,
21020 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21021 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21022 "\xab\xad\xda\xd2",
21023 .alen = 20,
21024 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21025 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21026 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21027 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21028 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21029 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21030 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21031 "\x3d\x58\xe0\x91"
21032 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21033 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21034 .rlen = 76,
21035 }, {
21036 .key = zeroed_string,
21037 .klen = 24,
21038 .result = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
21039 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
21040 .rlen = 16,
21041 }, {
21042 .key = zeroed_string,
21043 .klen = 24,
21044 .input = zeroed_string,
21045 .ilen = 16,
21046 .result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21047 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21048 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21049 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21050 .rlen = 32,
21051 }, {
21052 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21053 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21054 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21055 .klen = 24,
21056 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21057 "\xde\xca\xf8\x88",
21058 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21059 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21060 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21061 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21062 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21063 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21064 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21065 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21066 .ilen = 64,
21067 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21068 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21069 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21070 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21071 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21072 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21073 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21074 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21075 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21076 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21077 .rlen = 80,
21078 }, {
21079 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21080 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21081 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21082 .klen = 24,
21083 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21084 "\xde\xca\xf8\x88",
21085 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21086 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21087 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21088 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21089 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21090 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21091 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21092 "\xba\x63\x7b\x39",
21093 .ilen = 60,
21094 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21095 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21096 "\xab\xad\xda\xd2",
21097 .alen = 20,
21098 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21099 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21100 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21101 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21102 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21103 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21104 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21105 "\xcc\xda\x27\x10"
21106 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21107 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21108 .rlen = 76,
21109 .np = 2,
21110 .tap = { 32, 28 },
21111 .anp = 2,
21112 .atap = { 8, 12 }
21113 }, {
21114 .key = zeroed_string,
21115 .klen = 32,
21116 .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
21117 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
21118 .rlen = 16,
21122 static const struct aead_testvec aes_gcm_dec_tv_template[] = {
21123 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21124 .key = zeroed_string,
21125 .klen = 32,
21126 .input = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
21127 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
21128 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
21129 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
21130 .ilen = 32,
21131 .result = zeroed_string,
21132 .rlen = 16,
21133 }, {
21134 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21135 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21136 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21137 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21138 .klen = 32,
21139 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21140 "\xde\xca\xf8\x88",
21141 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21142 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21143 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21144 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21145 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21146 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21147 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21148 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
21149 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
21150 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
21151 .ilen = 80,
21152 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21153 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21154 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21155 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21156 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21157 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21158 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21159 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21160 .rlen = 64,
21161 }, {
21162 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21163 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21164 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21165 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21166 .klen = 32,
21167 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21168 "\xde\xca\xf8\x88",
21169 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21170 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21171 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21172 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21173 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21174 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21175 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21176 "\xbc\xc9\xf6\x62"
21177 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
21178 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
21179 .ilen = 76,
21180 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21181 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21182 "\xab\xad\xda\xd2",
21183 .alen = 20,
21184 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21185 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21186 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21187 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21188 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21189 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21190 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21191 "\xba\x63\x7b\x39",
21192 .rlen = 60,
21193 .np = 2,
21194 .tap = { 48, 28 },
21195 .anp = 3,
21196 .atap = { 8, 8, 4 }
21197 }, {
21198 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21199 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21200 .klen = 16,
21201 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21202 "\xde\xca\xf8\x88",
21203 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21204 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21205 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21206 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21207 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21208 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21209 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21210 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21211 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21212 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21213 .ilen = 80,
21214 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21215 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21216 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21217 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21218 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21219 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21220 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21221 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21222 .rlen = 64,
21223 }, {
21224 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21225 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21226 .klen = 16,
21227 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21228 "\xde\xca\xf8\x88",
21229 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21230 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21231 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21232 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21233 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21234 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21235 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21236 "\x3d\x58\xe0\x91"
21237 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21238 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21239 .ilen = 76,
21240 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21241 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21242 "\xab\xad\xda\xd2",
21243 .alen = 20,
21244 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21245 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21246 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21247 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21248 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21249 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21250 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21251 "\xba\x63\x7b\x39",
21252 .rlen = 60,
21253 }, {
21254 .key = zeroed_string,
21255 .klen = 24,
21256 .input = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21257 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21258 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21259 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21260 .ilen = 32,
21261 .result = zeroed_string,
21262 .rlen = 16,
21263 }, {
21264 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21265 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21266 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21267 .klen = 24,
21268 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21269 "\xde\xca\xf8\x88",
21270 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21271 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21272 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21273 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21274 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21275 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21276 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21277 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21278 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21279 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21280 .ilen = 80,
21281 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21282 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21283 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21284 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21285 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21286 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21287 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21288 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21289 .rlen = 64,
21290 }, {
21291 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21292 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21293 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21294 .klen = 24,
21295 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21296 "\xde\xca\xf8\x88",
21297 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21298 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21299 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21300 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21301 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21302 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21303 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21304 "\xcc\xda\x27\x10"
21305 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21306 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21307 .ilen = 76,
21308 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21309 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21310 "\xab\xad\xda\xd2",
21311 .alen = 20,
21312 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21313 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21314 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21315 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21316 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21317 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21318 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21319 "\xba\x63\x7b\x39",
21320 .rlen = 60,
21324 static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
21325 { /* Generated using Crypto++ */
21326 .key = zeroed_string,
21327 .klen = 20,
21328 .iv = zeroed_string,
21329 .input = zeroed_string,
21330 .ilen = 16,
21331 .assoc = zeroed_string,
21332 .alen = 16,
21333 .result = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21334 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21335 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21336 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21337 .rlen = 32,
21339 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21340 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21341 "\x00\x00\x00\x00",
21342 .klen = 20,
21343 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21344 .input = zeroed_string,
21345 .ilen = 16,
21346 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
21347 "\x00\x00\x00\x00\x00\x00\x00\x01",
21348 .alen = 16,
21349 .result = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21350 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21351 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21352 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21353 .rlen = 32,
21355 }, {
21356 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21357 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21358 "\x00\x00\x00\x00",
21359 .klen = 20,
21360 .iv = zeroed_string,
21361 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
21362 "\x01\x01\x01\x01\x01\x01\x01\x01",
21363 .ilen = 16,
21364 .assoc = zeroed_string,
21365 .alen = 16,
21366 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21367 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21368 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21369 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21370 .rlen = 32,
21371 }, {
21372 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21373 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21374 "\x00\x00\x00\x00",
21375 .klen = 20,
21376 .iv = zeroed_string,
21377 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
21378 "\x01\x01\x01\x01\x01\x01\x01\x01",
21379 .ilen = 16,
21380 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21381 "\x00\x00\x00\x00\x00\x00\x00\x00",
21382 .alen = 16,
21383 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21384 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21385 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21386 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21387 .rlen = 32,
21388 }, {
21389 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21390 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21391 "\x00\x00\x00\x00",
21392 .klen = 20,
21393 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21394 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
21395 "\x01\x01\x01\x01\x01\x01\x01\x01",
21396 .ilen = 16,
21397 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21398 "\x00\x00\x00\x00\x00\x00\x00\x01",
21399 .alen = 16,
21400 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21401 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21402 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21403 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21404 .rlen = 32,
21405 }, {
21406 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21407 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21408 "\x00\x00\x00\x00",
21409 .klen = 20,
21410 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21411 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
21412 "\x01\x01\x01\x01\x01\x01\x01\x01"
21413 "\x01\x01\x01\x01\x01\x01\x01\x01"
21414 "\x01\x01\x01\x01\x01\x01\x01\x01"
21415 "\x01\x01\x01\x01\x01\x01\x01\x01"
21416 "\x01\x01\x01\x01\x01\x01\x01\x01"
21417 "\x01\x01\x01\x01\x01\x01\x01\x01"
21418 "\x01\x01\x01\x01\x01\x01\x01\x01",
21419 .ilen = 64,
21420 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21421 "\x00\x00\x00\x00\x00\x00\x00\x01",
21422 .alen = 16,
21423 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21424 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21425 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21426 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21427 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21428 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21429 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21430 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21431 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21432 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21433 .rlen = 80,
21434 }, {
21435 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
21436 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21437 "\x00\x00\x00\x00",
21438 .klen = 20,
21439 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21440 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
21441 "\xff\xff\xff\xff\xff\xff\xff\xff"
21442 "\xff\xff\xff\xff\xff\xff\xff\xff"
21443 "\xff\xff\xff\xff\xff\xff\xff\xff"
21444 "\xff\xff\xff\xff\xff\xff\xff\xff"
21445 "\xff\xff\xff\xff\xff\xff\xff\xff"
21446 "\xff\xff\xff\xff\xff\xff\xff\xff"
21447 "\xff\xff\xff\xff\xff\xff\xff\xff"
21448 "\xff\xff\xff\xff\xff\xff\xff\xff"
21449 "\xff\xff\xff\xff\xff\xff\xff\xff"
21450 "\xff\xff\xff\xff\xff\xff\xff\xff"
21451 "\xff\xff\xff\xff\xff\xff\xff\xff"
21452 "\xff\xff\xff\xff\xff\xff\xff\xff"
21453 "\xff\xff\xff\xff\xff\xff\xff\xff"
21454 "\xff\xff\xff\xff\xff\xff\xff\xff"
21455 "\xff\xff\xff\xff\xff\xff\xff\xff"
21456 "\xff\xff\xff\xff\xff\xff\xff\xff"
21457 "\xff\xff\xff\xff\xff\xff\xff\xff"
21458 "\xff\xff\xff\xff\xff\xff\xff\xff"
21459 "\xff\xff\xff\xff\xff\xff\xff\xff"
21460 "\xff\xff\xff\xff\xff\xff\xff\xff"
21461 "\xff\xff\xff\xff\xff\xff\xff\xff"
21462 "\xff\xff\xff\xff\xff\xff\xff\xff"
21463 "\xff\xff\xff\xff\xff\xff\xff\xff",
21464 .ilen = 192,
21465 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21466 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21467 "\x89\xab\xcd\xef",
21468 .alen = 20,
21469 .result = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21470 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21471 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21472 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21473 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21474 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21475 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21476 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21477 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21478 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21479 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21480 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21481 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21482 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21483 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21484 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21485 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21486 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21487 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21488 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21489 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21490 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21491 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21492 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21493 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21494 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21495 .rlen = 208,
21496 }, { /* From draft-mcgrew-gcm-test-01 */
21497 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21498 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21499 "\x2E\x44\x3B\x68",
21500 .klen = 20,
21501 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21502 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00"
21503 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21504 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21505 "\x38\xD3\x01\x00\x00\x01\x00\x00"
21506 "\x00\x00\x00\x00\x04\x5F\x73\x69"
21507 "\x70\x04\x5F\x75\x64\x70\x03\x73"
21508 "\x69\x70\x09\x63\x79\x62\x65\x72"
21509 "\x63\x69\x74\x79\x02\x64\x6B\x00"
21510 "\x00\x21\x00\x01\x01\x02\x02\x01",
21511 .ilen = 72,
21512 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21513 "\x00\x00\x00\x00\x49\x56\xED\x7E"
21514 "\x3B\x24\x4C\xFE",
21515 .alen = 20,
21516 .result = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21517 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21518 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21519 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21520 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21521 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21522 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21523 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21524 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21525 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21526 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21527 .rlen = 88,
21528 }, {
21529 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21530 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21531 "\xCA\xFE\xBA\xBE",
21532 .klen = 20,
21533 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21534 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21535 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21536 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21537 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21538 "\x00\x01\x00\x00\x00\x00\x00\x00"
21539 "\x03\x73\x69\x70\x09\x63\x79\x62"
21540 "\x65\x72\x63\x69\x74\x79\x02\x64"
21541 "\x6B\x00\x00\x01\x00\x01\x00\x01",
21542 .ilen = 64,
21543 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21544 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21545 .alen = 16,
21546 .result = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21547 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21548 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21549 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21550 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21551 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21552 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21553 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21554 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21555 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21556 .rlen = 80,
21557 }, {
21558 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21559 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21560 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21561 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21562 "\x11\x22\x33\x44",
21563 .klen = 36,
21564 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
21565 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00"
21566 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21567 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21568 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21569 "\x70\x02\x40\x00\x20\xBF\x00\x00"
21570 "\x02\x04\x05\xB4\x01\x01\x04\x02"
21571 "\x01\x02\x02\x01",
21572 .ilen = 52,
21573 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21574 "\x01\x02\x03\x04\x05\x06\x07\x08",
21575 .alen = 16,
21576 .result = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21577 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21578 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21579 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21580 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21581 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21582 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21583 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21584 "\x15\x95\x6C\x96",
21585 .rlen = 68,
21586 }, {
21587 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
21588 "\x00\x00\x00\x00\x00\x00\x00\x00"
21589 "\x00\x00\x00\x00",
21590 .klen = 20,
21591 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
21592 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21593 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21594 "\x01\x01\x01\x01\x08\x00\x07\x5C"
21595 "\x02\x00\x44\x00\x61\x62\x63\x64"
21596 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21597 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21598 "\x75\x76\x77\x61\x62\x63\x64\x65"
21599 "\x66\x67\x68\x69\x01\x02\x02\x01",
21600 .ilen = 64,
21601 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
21602 "\x00\x00\x00\x00\x00\x00\x00\x00",
21603 .alen = 16,
21604 .result = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21605 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21606 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21607 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21608 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21609 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21610 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21611 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21612 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21613 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21614 .rlen = 80,
21615 }, {
21616 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21617 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21618 "\x57\x69\x0E\x43",
21619 .klen = 20,
21620 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21621 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21622 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21623 "\x01\x01\x01\x01\x08\x00\x08\x5C"
21624 "\x02\x00\x43\x00\x61\x62\x63\x64"
21625 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21626 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21627 "\x75\x76\x77\x61\x62\x63\x64\x65"
21628 "\x66\x67\x68\x69\x01\x02\x02\x01",
21629 .ilen = 64,
21630 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21631 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21632 "\xA2\xFC\xA1\xA3",
21633 .alen = 20,
21634 .result = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21635 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21636 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21637 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21638 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21639 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21640 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21641 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21642 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21643 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21644 .rlen = 80,
21645 }, {
21646 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21647 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21648 "\x57\x69\x0E\x43",
21649 .klen = 20,
21650 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21651 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21652 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21653 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21654 "\x01\x02\x02\x01",
21655 .ilen = 28,
21656 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21657 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21658 "\xA2\xFC\xA1\xA3",
21659 .alen = 20,
21660 .result = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21661 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21662 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21663 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21664 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21665 "\xE7\xD0\x5D\x35",
21666 .rlen = 44,
21667 }, {
21668 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21669 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21670 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21671 "\xCA\xFE\xBA\xBE",
21672 .klen = 28,
21673 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21674 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21675 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21676 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21677 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21678 "\x50\x10\x16\xD0\x75\x68\x00\x01",
21679 .ilen = 40,
21680 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21681 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21682 .alen = 16,
21683 .result = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21684 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21685 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21686 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21687 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21688 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21689 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21690 .rlen = 56,
21691 }, {
21692 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21693 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21694 "\xDE\xCA\xF8\x88",
21695 .klen = 20,
21696 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21697 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00"
21698 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21699 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21700 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21701 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21702 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21703 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21704 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21705 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21706 "\x23\x01\x01\x01",
21707 .ilen = 76,
21708 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21709 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21710 "\xCE\xFA\xCE\x74",
21711 .alen = 20,
21712 .result = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21713 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21714 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21715 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21716 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21717 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21718 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21719 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21720 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21721 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21722 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21723 "\x69\x62\x34\x36",
21724 .rlen = 92,
21725 }, {
21726 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21727 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21728 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21729 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21730 "\x73\x61\x6C\x74",
21731 .klen = 36,
21732 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21733 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00"
21734 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21735 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21736 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21737 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21738 .ilen = 40,
21739 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21740 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21741 "\x69\x76\x65\x63",
21742 .alen = 20,
21743 .result = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21744 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21745 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21746 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21747 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21748 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21749 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21750 .rlen = 56,
21751 }, {
21752 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21753 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21754 "\x57\x69\x0E\x43",
21755 .klen = 20,
21756 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21757 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00"
21758 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21759 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21760 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21761 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21762 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21763 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21764 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21765 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21766 "\x15\x01\x01\x01",
21767 .ilen = 76,
21768 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21769 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21770 "\xA2\xFC\xA1\xA3",
21771 .alen = 20,
21772 .result = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21773 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21774 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21775 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21776 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21777 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21778 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21779 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21780 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21781 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21782 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21783 "\x8C\xAA\x81\xE2",
21784 .rlen = 92,
21785 }, {
21786 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21787 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21788 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21789 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21790 "\x73\x61\x6C\x74",
21791 .klen = 36,
21792 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21793 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75"
21794 "\x6C\x65\x73\x01\x74\x68\x65\x01"
21795 "\x6E\x65\x74\x77\x65\x01\x64\x65"
21796 "\x66\x69\x6E\x65\x01\x74\x68\x65"
21797 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21798 "\x67\x69\x65\x73\x01\x74\x68\x61"
21799 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21800 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21801 "\x72\x72\x6F\x77\x01\x02\x02\x01",
21802 .ilen = 72,
21803 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21804 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21805 "\x69\x76\x65\x63",
21806 .alen = 20,
21807 .result = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21808 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21809 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21810 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21811 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21812 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21813 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21814 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21815 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21816 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21817 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21818 .rlen = 88,
21819 }, {
21820 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21821 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21822 "\xD9\x66\x42\x67",
21823 .klen = 20,
21824 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21825 .input = "\x01\x02\x02\x01",
21826 .ilen = 4,
21827 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21828 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21829 .alen = 16,
21830 .result = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21831 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21832 "\x04\xBE\xF2\x70",
21833 .rlen = 20,
21834 }, {
21835 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21836 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21837 "\xDE\xCA\xF8\x88",
21838 .klen = 20,
21839 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21840 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21841 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21842 "\x62\x65\x00\x01",
21843 .ilen = 20,
21844 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21845 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21846 "\xCE\xFA\xCE\x74",
21847 .alen = 20,
21848 .result = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21849 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21850 "\x43\x33\x21\x64\x41\x25\x03\x52"
21851 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21852 "\x43\xAF\x8C\x3E",
21853 .rlen = 36,
21854 }, {
21855 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21856 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21857 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21858 "\x62\x65\x66\x6F\x72\x65\x69\x61"
21859 "\x74\x75\x72\x6E",
21860 .klen = 36,
21861 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
21862 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21863 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21864 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21865 "\x02\x00\x07\x00\x61\x62\x63\x64"
21866 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21867 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21868 "\x01\x02\x02\x01",
21869 .ilen = 52,
21870 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21871 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21872 "\x67\x65\x74\x6D",
21873 .alen = 20,
21874 .result = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21875 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21876 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21877 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21878 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21879 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21880 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21881 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21882 "\x9F\xB4\xC0\x53",
21883 .rlen = 68,
21884 }, {
21885 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21886 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21887 "\x57\x69\x0E\x43",
21888 .klen = 20,
21889 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21890 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21891 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21892 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21893 "\x02\x00\x07\x00\x61\x62\x63\x64"
21894 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21895 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21896 "\x01\x02\x02\x01",
21897 .ilen = 52,
21898 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21899 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21900 "\xA2\xFC\xA1\xA3",
21901 .alen = 20,
21902 .result = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21903 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21904 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21905 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21906 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21907 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21908 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21909 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21910 "\x40\xD7\xCB\x05",
21911 .rlen = 68,
21912 }, {
21913 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21914 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21915 "\x22\x43\x3C\x64",
21916 .klen = 20,
21917 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21918 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21919 "\x61\x62\x63\x64\x65\x66\x67\x68"
21920 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21921 "\x71\x72\x73\x74\x01\x02\x02\x01",
21922 .ilen = 32,
21923 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21924 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21925 "\x3A\x23\x4B\xFD",
21926 .alen = 20,
21927 .result = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21928 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21929 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21930 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21931 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21932 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21933 .rlen = 48,
21937 static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
21938 { /* Generated using Crypto++ */
21939 .key = zeroed_string,
21940 .klen = 20,
21941 .iv = zeroed_string,
21942 .input = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21943 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21944 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21945 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21946 .ilen = 32,
21947 .assoc = zeroed_string,
21948 .alen = 16,
21949 .result = zeroed_string,
21950 .rlen = 16,
21953 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21954 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21955 "\x00\x00\x00\x00",
21956 .klen = 20,
21957 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21958 .input = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21959 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21960 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21961 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21962 .ilen = 32,
21963 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
21964 "\x00\x00\x00\x00\x00\x00\x00\x01",
21965 .alen = 16,
21966 .result = zeroed_string,
21967 .rlen = 16,
21968 }, {
21969 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21970 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21971 "\x00\x00\x00\x00",
21972 .klen = 20,
21973 .iv = zeroed_string,
21974 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21975 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21976 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21977 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21978 .ilen = 32,
21979 .assoc = zeroed_string,
21980 .alen = 16,
21981 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21982 "\x01\x01\x01\x01\x01\x01\x01\x01",
21983 .rlen = 16,
21984 }, {
21985 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21986 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21987 "\x00\x00\x00\x00",
21988 .klen = 20,
21989 .iv = zeroed_string,
21990 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21991 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21992 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21993 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21994 .ilen = 32,
21995 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21996 "\x00\x00\x00\x00\x00\x00\x00\x00",
21997 .alen = 16,
21998 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21999 "\x01\x01\x01\x01\x01\x01\x01\x01",
22000 .rlen = 16,
22002 }, {
22003 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22004 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22005 "\x00\x00\x00\x00",
22006 .klen = 20,
22007 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
22008 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
22009 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22010 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
22011 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
22012 .ilen = 32,
22013 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
22014 "\x00\x00\x00\x00\x00\x00\x00\x01",
22015 .alen = 16,
22016 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22017 "\x01\x01\x01\x01\x01\x01\x01\x01",
22018 .rlen = 16,
22019 }, {
22020 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22021 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22022 "\x00\x00\x00\x00",
22023 .klen = 20,
22024 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
22025 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
22026 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
22027 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
22028 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
22029 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
22030 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
22031 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
22032 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
22033 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
22034 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
22035 .ilen = 80,
22036 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
22037 "\x00\x00\x00\x00\x00\x00\x00\x01",
22038 .alen = 16,
22039 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
22040 "\x01\x01\x01\x01\x01\x01\x01\x01"
22041 "\x01\x01\x01\x01\x01\x01\x01\x01"
22042 "\x01\x01\x01\x01\x01\x01\x01\x01"
22043 "\x01\x01\x01\x01\x01\x01\x01\x01"
22044 "\x01\x01\x01\x01\x01\x01\x01\x01"
22045 "\x01\x01\x01\x01\x01\x01\x01\x01"
22046 "\x01\x01\x01\x01\x01\x01\x01\x01",
22047 .rlen = 64,
22048 }, {
22049 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
22050 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22051 "\x00\x00\x00\x00",
22052 .klen = 20,
22053 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22054 .input = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
22055 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
22056 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
22057 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
22058 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
22059 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
22060 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
22061 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
22062 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22063 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22064 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22065 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22066 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22067 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22068 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22069 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22070 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22071 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22072 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22073 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22074 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22075 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22076 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22077 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22078 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22079 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22080 .ilen = 208,
22081 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22082 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22083 "\x89\xab\xcd\xef",
22084 .alen = 20,
22085 .result = "\xff\xff\xff\xff\xff\xff\xff\xff"
22086 "\xff\xff\xff\xff\xff\xff\xff\xff"
22087 "\xff\xff\xff\xff\xff\xff\xff\xff"
22088 "\xff\xff\xff\xff\xff\xff\xff\xff"
22089 "\xff\xff\xff\xff\xff\xff\xff\xff"
22090 "\xff\xff\xff\xff\xff\xff\xff\xff"
22091 "\xff\xff\xff\xff\xff\xff\xff\xff"
22092 "\xff\xff\xff\xff\xff\xff\xff\xff"
22093 "\xff\xff\xff\xff\xff\xff\xff\xff"
22094 "\xff\xff\xff\xff\xff\xff\xff\xff"
22095 "\xff\xff\xff\xff\xff\xff\xff\xff"
22096 "\xff\xff\xff\xff\xff\xff\xff\xff"
22097 "\xff\xff\xff\xff\xff\xff\xff\xff"
22098 "\xff\xff\xff\xff\xff\xff\xff\xff"
22099 "\xff\xff\xff\xff\xff\xff\xff\xff"
22100 "\xff\xff\xff\xff\xff\xff\xff\xff"
22101 "\xff\xff\xff\xff\xff\xff\xff\xff"
22102 "\xff\xff\xff\xff\xff\xff\xff\xff"
22103 "\xff\xff\xff\xff\xff\xff\xff\xff"
22104 "\xff\xff\xff\xff\xff\xff\xff\xff"
22105 "\xff\xff\xff\xff\xff\xff\xff\xff"
22106 "\xff\xff\xff\xff\xff\xff\xff\xff"
22107 "\xff\xff\xff\xff\xff\xff\xff\xff"
22108 "\xff\xff\xff\xff\xff\xff\xff\xff",
22109 .rlen = 192,
22110 }, {
22111 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22112 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22113 "\x2E\x44\x3B\x68",
22114 .klen = 20,
22115 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22116 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00"
22117 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22118 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22119 "\x38\xD3\x01\x00\x00\x01\x00\x00"
22120 "\x00\x00\x00\x00\x04\x5F\x73\x69"
22121 "\x70\x04\x5F\x75\x64\x70\x03\x73"
22122 "\x69\x70\x09\x63\x79\x62\x65\x72"
22123 "\x63\x69\x74\x79\x02\x64\x6B\x00"
22124 "\x00\x21\x00\x01\x01\x02\x02\x01",
22125 .rlen = 72,
22126 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
22127 "\x00\x00\x00\x00\x49\x56\xED\x7E"
22128 "\x3B\x24\x4C\xFE",
22129 .alen = 20,
22130 .input = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22131 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22132 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22133 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22134 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22135 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22136 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22137 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22138 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22139 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22140 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22141 .ilen = 88,
22142 }, {
22143 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22144 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22145 "\xCA\xFE\xBA\xBE",
22146 .klen = 20,
22147 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22148 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22149 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22150 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22151 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22152 "\x00\x01\x00\x00\x00\x00\x00\x00"
22153 "\x03\x73\x69\x70\x09\x63\x79\x62"
22154 "\x65\x72\x63\x69\x74\x79\x02\x64"
22155 "\x6B\x00\x00\x01\x00\x01\x00\x01",
22156 .rlen = 64,
22157 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22158 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22159 .alen = 16,
22160 .input = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22161 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22162 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22163 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22164 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22165 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22166 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22167 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22168 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22169 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22170 .ilen = 80,
22171 }, {
22172 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22173 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22174 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22175 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22176 "\x11\x22\x33\x44",
22177 .klen = 36,
22178 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
22179 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00"
22180 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22181 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22182 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22183 "\x70\x02\x40\x00\x20\xBF\x00\x00"
22184 "\x02\x04\x05\xB4\x01\x01\x04\x02"
22185 "\x01\x02\x02\x01",
22186 .rlen = 52,
22187 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22188 "\x01\x02\x03\x04\x05\x06\x07\x08",
22189 .alen = 16,
22190 .input = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22191 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22192 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22193 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22194 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22195 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22196 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22197 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22198 "\x15\x95\x6C\x96",
22199 .ilen = 68,
22200 }, {
22201 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22202 "\x00\x00\x00\x00\x00\x00\x00\x00"
22203 "\x00\x00\x00\x00",
22204 .klen = 20,
22205 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
22206 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22207 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22208 "\x01\x01\x01\x01\x08\x00\x07\x5C"
22209 "\x02\x00\x44\x00\x61\x62\x63\x64"
22210 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22211 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22212 "\x75\x76\x77\x61\x62\x63\x64\x65"
22213 "\x66\x67\x68\x69\x01\x02\x02\x01",
22214 .rlen = 64,
22215 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
22216 "\x00\x00\x00\x00\x00\x00\x00\x00",
22217 .alen = 16,
22218 .input = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22219 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22220 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22221 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22222 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22223 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22224 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22225 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22226 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22227 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22228 .ilen = 80,
22229 }, {
22230 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22231 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22232 "\x57\x69\x0E\x43",
22233 .klen = 20,
22234 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22235 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22236 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22237 "\x01\x01\x01\x01\x08\x00\x08\x5C"
22238 "\x02\x00\x43\x00\x61\x62\x63\x64"
22239 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22240 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22241 "\x75\x76\x77\x61\x62\x63\x64\x65"
22242 "\x66\x67\x68\x69\x01\x02\x02\x01",
22243 .rlen = 64,
22244 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22245 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22246 "\xA2\xFC\xA1\xA3",
22247 .alen = 20,
22248 .input = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22249 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22250 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22251 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22252 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22253 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22254 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22255 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22256 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22257 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22258 .ilen = 80,
22259 }, {
22260 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22261 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22262 "\x57\x69\x0E\x43",
22263 .klen = 20,
22264 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22265 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22266 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22267 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22268 "\x01\x02\x02\x01",
22269 .rlen = 28,
22270 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22271 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22272 "\xA2\xFC\xA1\xA3",
22273 .alen = 20,
22274 .input = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22275 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22276 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22277 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22278 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22279 "\xE7\xD0\x5D\x35",
22280 .ilen = 44,
22281 }, {
22282 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22283 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22284 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22285 "\xCA\xFE\xBA\xBE",
22286 .klen = 28,
22287 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22288 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22289 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22290 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22291 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22292 "\x50\x10\x16\xD0\x75\x68\x00\x01",
22293 .rlen = 40,
22294 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22295 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22296 .alen = 16,
22297 .input = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22298 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22299 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22300 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22301 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22302 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22303 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22304 .ilen = 56,
22305 }, {
22306 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22307 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22308 "\xDE\xCA\xF8\x88",
22309 .klen = 20,
22310 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22311 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00"
22312 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22313 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22314 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22315 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22316 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22317 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22318 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22319 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22320 "\x23\x01\x01\x01",
22321 .rlen = 76,
22322 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
22323 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22324 "\xCE\xFA\xCE\x74",
22325 .alen = 20,
22326 .input = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22327 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22328 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22329 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22330 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22331 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22332 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22333 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22334 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22335 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22336 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22337 "\x69\x62\x34\x36",
22338 .ilen = 92,
22339 }, {
22340 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22341 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22342 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22343 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22344 "\x73\x61\x6C\x74",
22345 .klen = 36,
22346 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22347 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00"
22348 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22349 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22350 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22351 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22352 .rlen = 40,
22353 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22354 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22355 "\x69\x76\x65\x63",
22356 .alen = 20,
22357 .input = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22358 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22359 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22360 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22361 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22362 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22363 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22364 .ilen = 56,
22365 }, {
22366 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22367 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22368 "\x57\x69\x0E\x43",
22369 .klen = 20,
22370 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22371 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00"
22372 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22373 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22374 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22375 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22376 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22377 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22378 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22379 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22380 "\x15\x01\x01\x01",
22381 .rlen = 76,
22382 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22383 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22384 "\xA2\xFC\xA1\xA3",
22385 .alen = 20,
22386 .input = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22387 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22388 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22389 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22390 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22391 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22392 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22393 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22394 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22395 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22396 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22397 "\x8C\xAA\x81\xE2",
22398 .ilen = 92,
22399 }, {
22400 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22401 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22402 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22403 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22404 "\x73\x61\x6C\x74",
22405 .klen = 36,
22406 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22407 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75"
22408 "\x6C\x65\x73\x01\x74\x68\x65\x01"
22409 "\x6E\x65\x74\x77\x65\x01\x64\x65"
22410 "\x66\x69\x6E\x65\x01\x74\x68\x65"
22411 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22412 "\x67\x69\x65\x73\x01\x74\x68\x61"
22413 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22414 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22415 "\x72\x72\x6F\x77\x01\x02\x02\x01",
22416 .rlen = 72,
22417 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22418 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22419 "\x69\x76\x65\x63",
22420 .alen = 20,
22421 .input = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22422 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22423 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22424 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22425 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22426 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22427 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22428 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22429 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22430 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22431 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22432 .ilen = 88,
22433 }, {
22434 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22435 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22436 "\xD9\x66\x42\x67",
22437 .klen = 20,
22438 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22439 .result = "\x01\x02\x02\x01",
22440 .rlen = 4,
22441 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22442 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22443 .alen = 16,
22444 .input = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22445 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22446 "\x04\xBE\xF2\x70",
22447 .ilen = 20,
22448 }, {
22449 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22450 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22451 "\xDE\xCA\xF8\x88",
22452 .klen = 20,
22453 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22454 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22455 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22456 "\x62\x65\x00\x01",
22457 .rlen = 20,
22458 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
22459 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22460 "\xCE\xFA\xCE\x74",
22461 .alen = 20,
22462 .input = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22463 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22464 "\x43\x33\x21\x64\x41\x25\x03\x52"
22465 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22466 "\x43\xAF\x8C\x3E",
22467 .ilen = 36,
22468 }, {
22469 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22470 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22471 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22472 "\x62\x65\x66\x6F\x72\x65\x69\x61"
22473 "\x74\x75\x72\x6E",
22474 .klen = 36,
22475 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
22476 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22477 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22478 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22479 "\x02\x00\x07\x00\x61\x62\x63\x64"
22480 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22481 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22482 "\x01\x02\x02\x01",
22483 .rlen = 52,
22484 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22485 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22486 "\x67\x65\x74\x6D",
22487 .alen = 20,
22488 .input = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22489 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22490 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22491 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22492 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22493 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22494 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22495 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22496 "\x9F\xB4\xC0\x53",
22497 .ilen = 68,
22498 }, {
22499 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22500 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22501 "\x57\x69\x0E\x43",
22502 .klen = 20,
22503 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22504 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22505 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22506 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22507 "\x02\x00\x07\x00\x61\x62\x63\x64"
22508 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22509 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22510 "\x01\x02\x02\x01",
22511 .rlen = 52,
22512 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22513 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22514 "\xA2\xFC\xA1\xA3",
22515 .alen = 20,
22516 .input = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22517 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22518 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22519 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22520 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22521 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22522 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22523 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22524 "\x40\xD7\xCB\x05",
22525 .ilen = 68,
22526 }, {
22527 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22528 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22529 "\x22\x43\x3C\x64",
22530 .klen = 20,
22531 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22532 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22533 "\x61\x62\x63\x64\x65\x66\x67\x68"
22534 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22535 "\x71\x72\x73\x74\x01\x02\x02\x01",
22536 .rlen = 32,
22537 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
22538 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22539 "\x3A\x23\x4B\xFD",
22540 .alen = 20,
22541 .input = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22542 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22543 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22544 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22545 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22546 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22547 .ilen = 48,
22551 static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
22552 { /* From draft-mcgrew-gcm-test-01 */
22553 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22554 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22555 "\x22\x43\x3c\x64",
22556 .klen = 20,
22557 .iv = zeroed_string,
22558 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
22559 "\x00\x00\x00\x00\x00\x00\x00\x00",
22560 .alen = 16,
22561 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22562 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22563 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22564 "\x02\x00\x07\x00\x61\x62\x63\x64"
22565 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22566 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22567 "\x01\x02\x02\x01",
22568 .ilen = 52,
22569 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22570 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22571 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22572 "\x02\x00\x07\x00\x61\x62\x63\x64"
22573 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22574 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22575 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22576 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22577 "\xe4\x09\x9a\xaa",
22578 .rlen = 68,
22582 static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
22583 { /* From draft-mcgrew-gcm-test-01 */
22584 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22585 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22586 "\x22\x43\x3c\x64",
22587 .klen = 20,
22588 .iv = zeroed_string,
22589 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
22590 "\x00\x00\x00\x00\x00\x00\x00\x00",
22591 .alen = 16,
22592 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22593 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22594 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22595 "\x02\x00\x07\x00\x61\x62\x63\x64"
22596 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22597 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22598 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22599 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22600 "\xe4\x09\x9a\xaa",
22601 .ilen = 68,
22602 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22603 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22604 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22605 "\x02\x00\x07\x00\x61\x62\x63\x64"
22606 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22607 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22608 "\x01\x02\x02\x01",
22609 .rlen = 52,
22610 }, { /* nearly same as previous, but should fail */
22611 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22612 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22613 "\x22\x43\x3c\x64",
22614 .klen = 20,
22615 .iv = zeroed_string,
22616 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
22617 "\x00\x00\x00\x00\x00\x00\x00\x00",
22618 .alen = 16,
22619 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22620 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22621 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22622 "\x02\x00\x07\x00\x61\x62\x63\x64"
22623 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22624 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22625 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22626 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22627 "\x00\x00\x00\x00",
22628 .ilen = 68,
22629 .novrfy = 1,
22630 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
22631 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22632 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22633 "\x02\x00\x07\x00\x61\x62\x63\x64"
22634 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22635 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22636 "\x01\x02\x02\x01",
22637 .rlen = 52,
22641 static const struct aead_testvec aes_ccm_enc_tv_template[] = {
22642 { /* From RFC 3610 */
22643 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22644 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22645 .klen = 16,
22646 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
22647 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22648 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
22649 .alen = 8,
22650 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22651 "\x10\x11\x12\x13\x14\x15\x16\x17"
22652 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22653 .ilen = 23,
22654 .result = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22655 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22656 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22657 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22658 .rlen = 31,
22659 }, {
22660 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22661 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22662 .klen = 16,
22663 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
22664 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22665 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
22666 "\x08\x09\x0a\x0b",
22667 .alen = 12,
22668 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22669 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22670 "\x1c\x1d\x1e\x1f",
22671 .ilen = 20,
22672 .result = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22673 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22674 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22675 "\x7d\x9c\x2d\x93",
22676 .rlen = 28,
22677 }, {
22678 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22679 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22680 .klen = 16,
22681 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22682 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22683 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
22684 .alen = 8,
22685 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22686 "\x10\x11\x12\x13\x14\x15\x16\x17"
22687 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22688 "\x20",
22689 .ilen = 25,
22690 .result = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22691 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22692 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22693 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22694 "\x7e\x5f\x4e",
22695 .rlen = 35,
22696 }, {
22697 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22698 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22699 .klen = 16,
22700 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22701 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22702 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
22703 "\x08\x09\x0a\x0b",
22704 .alen = 12,
22705 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22706 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22707 "\x1c\x1d\x1e",
22708 .ilen = 19,
22709 .result = "\x07\x34\x25\x94\x15\x77\x85\x15"
22710 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22711 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22712 "\x4d\x99\x99\x88\xdd",
22713 .rlen = 29,
22714 }, {
22715 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22716 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22717 .klen = 16,
22718 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22719 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22720 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22721 .alen = 8,
22722 .input = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22723 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22724 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22725 .ilen = 24,
22726 .result = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22727 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22728 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22729 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22730 .rlen = 32,
22731 }, {
22732 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22733 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22734 .klen = 16,
22735 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22736 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22737 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22738 "\x20\xea\x60\xc0",
22739 .alen = 12,
22740 .input = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22741 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22742 "\x3a\x80\x3b\xa8\x7f",
22743 .ilen = 21,
22744 .result = "\x00\x97\x69\xec\xab\xdf\x48\x62"
22745 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22746 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22747 "\x5a\xe0\x70\x45\x51",
22748 .rlen = 29,
22749 }, {
22750 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22751 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22752 .klen = 16,
22753 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22754 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22755 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22756 .alen = 8,
22757 .input = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22758 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22759 "\x98\x09\xd6\x7d\xbe\xdd\x18",
22760 .ilen = 23,
22761 .result = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22762 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22763 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22764 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22765 "\xba",
22766 .rlen = 33,
22767 }, {
22768 /* This is taken from FIPS CAVS. */
22769 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
22770 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
22771 .klen = 16,
22772 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
22773 .alen = 0,
22774 .input = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
22775 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
22776 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
22777 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
22778 .ilen = 32,
22779 .result = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
22780 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
22781 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
22782 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
22783 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
22784 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
22785 .rlen = 48,
22786 }, {
22787 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
22788 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
22789 .klen = 16,
22790 .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
22791 "\x30\x60\x15\x56\x00\x00\x00\x00",
22792 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
22793 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
22794 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
22795 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
22796 .alen = 32,
22797 .input = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
22798 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
22799 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
22800 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
22801 .ilen = 32,
22802 .result = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
22803 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
22804 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
22805 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
22806 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
22807 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
22808 .rlen = 48,
22809 }, {
22810 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
22811 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
22812 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
22813 .klen = 24,
22814 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
22815 "\x50\x20\xda\xe2\x00\x00\x00\x00",
22816 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
22817 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
22818 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
22819 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
22820 .alen = 32,
22821 .result = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
22822 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
22823 .rlen = 16,
22824 }, {
22825 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
22826 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
22827 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
22828 .klen = 24,
22829 .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
22830 "\xef\x09\x2e\x94\x00\x00\x00\x00",
22831 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
22832 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
22833 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
22834 "\xe3\x00\x73\x69\x84\x69\x87\x79",
22835 .alen = 32,
22836 .input = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
22837 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
22838 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
22839 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
22840 .ilen = 32,
22841 .result = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
22842 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
22843 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
22844 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
22845 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
22846 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
22847 .rlen = 48,
22848 }, {
22849 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
22850 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
22851 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
22852 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
22853 .klen = 32,
22854 .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
22855 "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
22856 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
22857 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
22858 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
22859 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
22860 .alen = 32,
22861 .input = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
22862 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
22863 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
22864 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
22865 .ilen = 32,
22866 .result = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
22867 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
22868 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
22869 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
22870 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
22871 .rlen = 40,
22872 }, {
22873 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
22874 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
22875 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
22876 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
22877 .klen = 32,
22878 .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
22879 "\x43\xf6\x1e\x50\0\0\0\0",
22880 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
22881 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
22882 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
22883 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
22884 .alen = 32,
22885 .input = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
22886 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
22887 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
22888 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
22889 .ilen = 32,
22890 .result = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
22891 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22892 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22893 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22894 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22895 "\x7b\x72\x8a\xf7",
22896 .rlen = 44,
22897 }, {
22898 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22899 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22900 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22901 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22902 .klen = 32,
22903 .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22904 "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22905 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22906 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22907 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22908 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22909 .alen = 32,
22910 .input = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22911 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22912 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22913 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22914 .ilen = 32,
22915 .result = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22916 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22917 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22918 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22919 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22920 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22921 .rlen = 48,
22925 static const struct aead_testvec aes_ccm_dec_tv_template[] = {
22926 { /* From RFC 3610 */
22927 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22928 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22929 .klen = 16,
22930 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
22931 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22932 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
22933 .alen = 8,
22934 .input = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22935 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22936 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22937 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22938 .ilen = 31,
22939 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22940 "\x10\x11\x12\x13\x14\x15\x16\x17"
22941 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22942 .rlen = 23,
22943 }, {
22944 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22945 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22946 .klen = 16,
22947 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
22948 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22949 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
22950 "\x08\x09\x0a\x0b",
22951 .alen = 12,
22952 .input = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22953 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22954 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22955 "\x7d\x9c\x2d\x93",
22956 .ilen = 28,
22957 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22958 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22959 "\x1c\x1d\x1e\x1f",
22960 .rlen = 20,
22961 }, {
22962 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22963 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22964 .klen = 16,
22965 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22966 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22967 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
22968 .alen = 8,
22969 .input = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22970 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22971 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22972 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22973 "\x7e\x5f\x4e",
22974 .ilen = 35,
22975 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22976 "\x10\x11\x12\x13\x14\x15\x16\x17"
22977 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22978 "\x20",
22979 .rlen = 25,
22980 }, {
22981 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22982 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22983 .klen = 16,
22984 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22985 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22986 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
22987 "\x08\x09\x0a\x0b",
22988 .alen = 12,
22989 .input = "\x07\x34\x25\x94\x15\x77\x85\x15"
22990 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22991 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22992 "\x4d\x99\x99\x88\xdd",
22993 .ilen = 29,
22994 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22995 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22996 "\x1c\x1d\x1e",
22997 .rlen = 19,
22998 }, {
22999 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23000 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23001 .klen = 16,
23002 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
23003 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23004 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
23005 .alen = 8,
23006 .input = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
23007 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
23008 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
23009 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
23010 .ilen = 32,
23011 .result = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
23012 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
23013 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
23014 .rlen = 24,
23015 }, {
23016 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23017 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23018 .klen = 16,
23019 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
23020 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23021 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
23022 "\x20\xea\x60\xc0",
23023 .alen = 12,
23024 .input = "\x00\x97\x69\xec\xab\xdf\x48\x62"
23025 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
23026 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
23027 "\x5a\xe0\x70\x45\x51",
23028 .ilen = 29,
23029 .result = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
23030 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
23031 "\x3a\x80\x3b\xa8\x7f",
23032 .rlen = 21,
23033 }, {
23034 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
23035 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
23036 .klen = 16,
23037 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
23038 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
23039 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
23040 .alen = 8,
23041 .input = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
23042 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
23043 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
23044 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
23045 "\xba",
23046 .ilen = 33,
23047 .result = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
23048 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
23049 "\x98\x09\xd6\x7d\xbe\xdd\x18",
23050 .rlen = 23,
23051 }, {
23052 /* This is taken from FIPS CAVS. */
23053 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23054 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23055 .klen = 16,
23056 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23057 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23058 .alen = 0,
23059 .input = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
23060 .ilen = 8,
23061 .result = "\x00",
23062 .rlen = 0,
23063 .novrfy = 1,
23064 }, {
23065 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23066 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23067 .klen = 16,
23068 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
23069 "\x7f\x88\x94\x68\x00\x00\x00\x00",
23070 .alen = 0,
23071 .input = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
23072 .ilen = 8,
23073 .result = "\x00",
23074 .rlen = 0,
23075 }, {
23076 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23077 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23078 .klen = 16,
23079 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23080 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23081 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
23082 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
23083 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
23084 "\xd8\x94\x99\x91\x81\x54\x62\x57",
23085 .alen = 32,
23086 .input = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
23087 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
23088 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
23089 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
23090 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
23091 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
23092 .ilen = 48,
23093 .result = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
23094 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
23095 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
23096 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
23097 .rlen = 32,
23098 .novrfy = 1,
23099 }, {
23100 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23101 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23102 .klen = 16,
23103 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
23104 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
23105 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
23106 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
23107 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
23108 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
23109 .alen = 32,
23110 .input = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
23111 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
23112 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
23113 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
23114 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
23115 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
23116 .ilen = 48,
23117 .result = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
23118 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
23119 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
23120 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
23121 .rlen = 32,
23122 }, {
23123 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23124 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23125 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
23126 .klen = 24,
23127 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23128 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23129 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23130 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23131 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23132 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23133 .alen = 32,
23134 .input = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
23135 .ilen = 8,
23136 .result = "\x00",
23137 .rlen = 0,
23138 }, {
23139 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23140 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23141 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23142 .klen = 24,
23143 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23144 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23145 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23146 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23147 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23148 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23149 .alen = 32,
23150 .input = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
23151 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
23152 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
23153 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
23154 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
23155 .ilen = 40,
23156 .result = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
23157 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
23158 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
23159 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
23160 .rlen = 32,
23161 }, {
23162 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23163 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23164 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23165 .klen = 24,
23166 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
23167 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
23168 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
23169 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
23170 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
23171 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
23172 .alen = 32,
23173 .input = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
23174 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
23175 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
23176 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
23177 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
23178 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
23179 .ilen = 48,
23180 .result = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
23181 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
23182 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
23183 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
23184 .rlen = 32,
23185 .novrfy = 1,
23186 }, {
23187 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
23188 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23189 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23190 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23191 .klen = 32,
23192 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23193 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23194 .alen = 0,
23195 .input = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23196 .ilen = 8,
23197 .result = "\x00",
23198 .rlen = 0,
23199 }, {
23200 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23201 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23202 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23203 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23204 .klen = 32,
23205 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23206 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23207 .alen = 0,
23208 .input = "\x48\x01\x5e\x02\x24\x04\x66\x47"
23209 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23210 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23211 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23212 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23213 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23214 .ilen = 48,
23215 .result = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23216 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23217 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23218 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23219 .rlen = 32,
23220 .novrfy = 1,
23221 }, {
23222 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23223 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23224 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23225 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23226 .klen = 32,
23227 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23228 "\x44\x89\x40\x7b\x00\x00\x00\x00",
23229 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23230 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23231 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23232 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23233 .alen = 32,
23234 .input = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23235 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23236 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23237 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23238 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23239 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23240 .ilen = 48,
23241 .result = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23242 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23243 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23244 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23245 .rlen = 32,
23250 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23251 * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
23252 * they use AD lengths which are not valid ESP header lengths.
23254 * These vectors are copied/generated from the ones for rfc4106 with
23255 * the key truncated by one byte..
23257 static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
23258 { /* Generated using Crypto++ */
23259 .key = zeroed_string,
23260 .klen = 19,
23261 .iv = zeroed_string,
23262 .input = zeroed_string,
23263 .ilen = 16,
23264 .assoc = zeroed_string,
23265 .alen = 16,
23266 .result = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23267 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23268 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23269 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23270 .rlen = 32,
23272 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23273 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23274 "\x00\x00\x00",
23275 .klen = 19,
23276 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23277 .input = zeroed_string,
23278 .ilen = 16,
23279 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
23280 "\x00\x00\x00\x00\x00\x00\x00\x01",
23281 .alen = 16,
23282 .result = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23283 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23284 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23285 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23286 .rlen = 32,
23288 }, {
23289 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23290 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23291 "\x00\x00\x00",
23292 .klen = 19,
23293 .iv = zeroed_string,
23294 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
23295 "\x01\x01\x01\x01\x01\x01\x01\x01",
23296 .ilen = 16,
23297 .assoc = zeroed_string,
23298 .alen = 16,
23299 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23300 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23301 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23302 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23303 .rlen = 32,
23304 }, {
23305 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23306 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23307 "\x00\x00\x00",
23308 .klen = 19,
23309 .iv = zeroed_string,
23310 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
23311 "\x01\x01\x01\x01\x01\x01\x01\x01",
23312 .ilen = 16,
23313 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23314 "\x00\x00\x00\x00\x00\x00\x00\x00",
23315 .alen = 16,
23316 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23317 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23318 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23319 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23320 .rlen = 32,
23321 }, {
23322 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23323 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23324 "\x00\x00\x00",
23325 .klen = 19,
23326 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23327 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
23328 "\x01\x01\x01\x01\x01\x01\x01\x01",
23329 .ilen = 16,
23330 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23331 "\x00\x00\x00\x00\x00\x00\x00\x01",
23332 .alen = 16,
23333 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23334 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23335 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23336 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23337 .rlen = 32,
23338 }, {
23339 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23340 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23341 "\x00\x00\x00",
23342 .klen = 19,
23343 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23344 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
23345 "\x01\x01\x01\x01\x01\x01\x01\x01"
23346 "\x01\x01\x01\x01\x01\x01\x01\x01"
23347 "\x01\x01\x01\x01\x01\x01\x01\x01"
23348 "\x01\x01\x01\x01\x01\x01\x01\x01"
23349 "\x01\x01\x01\x01\x01\x01\x01\x01"
23350 "\x01\x01\x01\x01\x01\x01\x01\x01"
23351 "\x01\x01\x01\x01\x01\x01\x01\x01",
23352 .ilen = 64,
23353 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23354 "\x00\x00\x00\x00\x00\x00\x00\x01",
23355 .alen = 16,
23356 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23357 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23358 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23359 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23360 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23361 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23362 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23363 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23364 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23365 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23366 .rlen = 80,
23367 }, {
23368 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23369 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23370 "\x00\x00\x00",
23371 .klen = 19,
23372 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
23373 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
23374 "\xff\xff\xff\xff\xff\xff\xff\xff"
23375 "\xff\xff\xff\xff\xff\xff\xff\xff"
23376 "\xff\xff\xff\xff\xff\xff\xff\xff"
23377 "\xff\xff\xff\xff\xff\xff\xff\xff"
23378 "\xff\xff\xff\xff\xff\xff\xff\xff"
23379 "\xff\xff\xff\xff\xff\xff\xff\xff"
23380 "\xff\xff\xff\xff\xff\xff\xff\xff"
23381 "\xff\xff\xff\xff\xff\xff\xff\xff"
23382 "\xff\xff\xff\xff\xff\xff\xff\xff"
23383 "\xff\xff\xff\xff\xff\xff\xff\xff"
23384 "\xff\xff\xff\xff\xff\xff\xff\xff"
23385 "\xff\xff\xff\xff\xff\xff\xff\xff"
23386 "\xff\xff\xff\xff\xff\xff\xff\xff"
23387 "\xff\xff\xff\xff\xff\xff\xff\xff"
23388 "\xff\xff\xff\xff\xff\xff\xff\xff"
23389 "\xff\xff\xff\xff\xff\xff\xff\xff"
23390 "\xff\xff\xff\xff\xff\xff\xff\xff"
23391 "\xff\xff\xff\xff\xff\xff\xff\xff"
23392 "\xff\xff\xff\xff\xff\xff\xff\xff"
23393 "\xff\xff\xff\xff\xff\xff\xff\xff"
23394 "\xff\xff\xff\xff\xff\xff\xff\xff"
23395 "\xff\xff\xff\xff\xff\xff\xff\xff"
23396 "\xff\xff\xff\xff\xff\xff\xff\xff",
23397 .ilen = 192,
23398 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23399 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23400 "\x89\xab\xcd\xef",
23401 .alen = 20,
23402 .result = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23403 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23404 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23405 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23406 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23407 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23408 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23409 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23410 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23411 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23412 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23413 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23414 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23415 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23416 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23417 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23418 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23419 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23420 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23421 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23422 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23423 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23424 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23425 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23426 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23427 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23428 .rlen = 208,
23429 }, { /* From draft-mcgrew-gcm-test-01 */
23430 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23431 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23432 "\x2E\x44\x3B",
23433 .klen = 19,
23434 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23435 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00"
23436 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23437 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23438 "\x38\xD3\x01\x00\x00\x01\x00\x00"
23439 "\x00\x00\x00\x00\x04\x5F\x73\x69"
23440 "\x70\x04\x5F\x75\x64\x70\x03\x73"
23441 "\x69\x70\x09\x63\x79\x62\x65\x72"
23442 "\x63\x69\x74\x79\x02\x64\x6B\x00"
23443 "\x00\x21\x00\x01\x01\x02\x02\x01",
23444 .ilen = 72,
23445 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
23446 "\x00\x00\x00\x00\x49\x56\xED\x7E"
23447 "\x3B\x24\x4C\xFE",
23448 .alen = 20,
23449 .result = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23450 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23451 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23452 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23453 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23454 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23455 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23456 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23457 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23458 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23459 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23460 .rlen = 88,
23461 }, {
23462 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23463 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23464 "\xCA\xFE\xBA",
23465 .klen = 19,
23466 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23467 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23468 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23469 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23470 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23471 "\x00\x01\x00\x00\x00\x00\x00\x00"
23472 "\x03\x73\x69\x70\x09\x63\x79\x62"
23473 "\x65\x72\x63\x69\x74\x79\x02\x64"
23474 "\x6B\x00\x00\x01\x00\x01\x00\x01",
23475 .ilen = 64,
23476 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23477 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23478 .alen = 16,
23479 .result = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23480 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23481 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23482 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23483 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23484 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23485 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23486 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23487 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23488 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23489 .rlen = 80,
23490 }, {
23491 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23492 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23493 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23494 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23495 "\x11\x22\x33",
23496 .klen = 35,
23497 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
23498 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00"
23499 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23500 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23501 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23502 "\x70\x02\x40\x00\x20\xBF\x00\x00"
23503 "\x02\x04\x05\xB4\x01\x01\x04\x02"
23504 "\x01\x02\x02\x01",
23505 .ilen = 52,
23506 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23507 "\x01\x02\x03\x04\x05\x06\x07\x08",
23508 .alen = 16,
23509 .result = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23510 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23511 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23512 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23513 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23514 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23515 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23516 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23517 "\x5A\x48\x6A\x3E",
23518 .rlen = 68,
23519 }, {
23520 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
23521 "\x00\x00\x00\x00\x00\x00\x00\x00"
23522 "\x00\x00\x00",
23523 .klen = 19,
23524 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
23525 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23526 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23527 "\x01\x01\x01\x01\x08\x00\x07\x5C"
23528 "\x02\x00\x44\x00\x61\x62\x63\x64"
23529 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23530 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23531 "\x75\x76\x77\x61\x62\x63\x64\x65"
23532 "\x66\x67\x68\x69\x01\x02\x02\x01",
23533 .ilen = 64,
23534 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
23535 "\x00\x00\x00\x00\x00\x00\x00\x00",
23536 .alen = 16,
23537 .result = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23538 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23539 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23540 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23541 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23542 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23543 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23544 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23545 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23546 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23547 .rlen = 80,
23548 }, {
23549 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23550 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23551 "\x57\x69\x0E",
23552 .klen = 19,
23553 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23554 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23555 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23556 "\x01\x01\x01\x01\x08\x00\x08\x5C"
23557 "\x02\x00\x43\x00\x61\x62\x63\x64"
23558 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23559 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23560 "\x75\x76\x77\x61\x62\x63\x64\x65"
23561 "\x66\x67\x68\x69\x01\x02\x02\x01",
23562 .ilen = 64,
23563 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23564 "\x10\x10\x10\x10\x4E\x28\x00\x00"
23565 "\xA2\xFC\xA1\xA3",
23566 .alen = 20,
23567 .result = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23568 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23569 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23570 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23571 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23572 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23573 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
23574 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
23575 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
23576 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
23577 .rlen = 80,
23578 }, {
23579 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23580 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23581 "\x57\x69\x0E",
23582 .klen = 19,
23583 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23584 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
23585 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
23586 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
23587 "\x01\x02\x02\x01",
23588 .ilen = 28,
23589 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23590 "\x10\x10\x10\x10\x4E\x28\x00\x00"
23591 "\xA2\xFC\xA1\xA3",
23592 .alen = 20,
23593 .result = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
23594 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
23595 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
23596 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
23597 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
23598 "\x08\xB4\x22\xE4",
23599 .rlen = 44,
23600 }, {
23601 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23602 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23603 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23604 "\xCA\xFE\xBA",
23605 .klen = 27,
23606 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23607 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
23608 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
23609 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
23610 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
23611 "\x50\x10\x16\xD0\x75\x68\x00\x01",
23612 .ilen = 40,
23613 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23614 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23615 .alen = 16,
23616 .result = "\x05\x22\x15\xD1\x52\x56\x85\x04"
23617 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
23618 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
23619 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
23620 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
23621 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
23622 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
23623 .rlen = 56,
23624 }, {
23625 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23626 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23627 "\xDE\xCA\xF8",
23628 .klen = 19,
23629 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23630 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00"
23631 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
23632 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23633 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
23634 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
23635 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
23636 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
23637 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
23638 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
23639 "\x23\x01\x01\x01",
23640 .ilen = 76,
23641 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
23642 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23643 "\xCE\xFA\xCE\x74",
23644 .alen = 20,
23645 .result = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
23646 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
23647 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
23648 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
23649 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
23650 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
23651 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
23652 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
23653 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
23654 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
23655 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
23656 "\x12\x25\x0B\xF9",
23657 .rlen = 92,
23658 }, {
23659 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23660 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23661 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23662 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23663 "\x73\x61\x6C",
23664 .klen = 35,
23665 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
23666 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00"
23667 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
23668 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
23669 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
23670 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
23671 .ilen = 40,
23672 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23673 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23674 "\x69\x76\x65\x63",
23675 .alen = 20,
23676 .result = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
23677 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
23678 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
23679 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
23680 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
23681 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
23682 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
23683 .rlen = 56,
23684 }, {
23685 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23686 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23687 "\x57\x69\x0E",
23688 .klen = 19,
23689 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23690 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00"
23691 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
23692 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23693 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
23694 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
23695 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
23696 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
23697 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
23698 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
23699 "\x15\x01\x01\x01",
23700 .ilen = 76,
23701 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23702 "\x10\x10\x10\x10\x4E\x28\x00\x00"
23703 "\xA2\xFC\xA1\xA3",
23704 .alen = 20,
23705 .result = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
23706 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
23707 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
23708 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
23709 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
23710 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
23711 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
23712 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
23713 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
23714 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
23715 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
23716 "\xCC\xF7\x46\x6F",
23717 .rlen = 92,
23718 }, {
23719 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23720 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23721 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23722 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23723 "\x73\x61\x6C",
23724 .klen = 35,
23725 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
23726 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75"
23727 "\x6C\x65\x73\x01\x74\x68\x65\x01"
23728 "\x6E\x65\x74\x77\x65\x01\x64\x65"
23729 "\x66\x69\x6E\x65\x01\x74\x68\x65"
23730 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
23731 "\x67\x69\x65\x73\x01\x74\x68\x61"
23732 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
23733 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
23734 "\x72\x72\x6F\x77\x01\x02\x02\x01",
23735 .ilen = 72,
23736 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23737 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23738 "\x69\x76\x65\x63",
23739 .alen = 20,
23740 .result = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
23741 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
23742 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
23743 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
23744 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
23745 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
23746 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
23747 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
23748 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
23749 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
23750 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
23751 .rlen = 88,
23752 }, {
23753 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23754 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23755 "\xD9\x66\x42",
23756 .klen = 19,
23757 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23758 .input = "\x01\x02\x02\x01",
23759 .ilen = 4,
23760 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23761 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23762 .alen = 16,
23763 .result = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
23764 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
23765 "\xF7\x61\x24\x62",
23766 .rlen = 20,
23767 }, {
23768 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23769 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23770 "\xDE\xCA\xF8",
23771 .klen = 19,
23772 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23773 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23774 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23775 "\x62\x65\x00\x01",
23776 .ilen = 20,
23777 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
23778 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23779 "\xCE\xFA\xCE\x74",
23780 .alen = 20,
23781 .result = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
23782 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
23783 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
23784 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
23785 "\x17\x17\x65\xAD",
23786 .rlen = 36,
23787 }, {
23788 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23789 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23790 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23791 "\x62\x65\x66\x6F\x72\x65\x69\x61"
23792 "\x74\x75\x72",
23793 .klen = 35,
23794 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
23795 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23796 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23797 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23798 "\x02\x00\x07\x00\x61\x62\x63\x64"
23799 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23800 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23801 "\x01\x02\x02\x01",
23802 .ilen = 52,
23803 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23804 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23805 "\x67\x65\x74\x6D",
23806 .alen = 20,
23807 .result = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
23808 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
23809 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
23810 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
23811 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
23812 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
23813 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
23814 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
23815 "\x39\xDB\xC8\xDC",
23816 .rlen = 68,
23817 }, {
23818 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23819 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23820 "\x57\x69\x0E",
23821 .klen = 19,
23822 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23823 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23824 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23825 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23826 "\x02\x00\x07\x00\x61\x62\x63\x64"
23827 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23828 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23829 "\x01\x02\x02\x01",
23830 .ilen = 52,
23831 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23832 "\x10\x10\x10\x10\x4E\x28\x00\x00"
23833 "\xA2\xFC\xA1\xA3",
23834 .alen = 20,
23835 .result = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
23836 "\x10\x60\x54\x25\xEB\x80\x04\x93"
23837 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
23838 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
23839 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23840 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23841 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
23842 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
23843 "\xF4\x95\x5D\x4F",
23844 .rlen = 68,
23845 }, {
23846 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23847 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23848 "\x22\x43\x3C",
23849 .klen = 19,
23850 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23851 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23852 "\x61\x62\x63\x64\x65\x66\x67\x68"
23853 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23854 "\x71\x72\x73\x74\x01\x02\x02\x01",
23855 .ilen = 32,
23856 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
23857 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23858 "\x3A\x23\x4B\xFD",
23859 .alen = 20,
23860 .result = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
23861 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
23862 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
23863 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
23864 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
23865 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
23866 .rlen = 48,
23870 static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
23871 { /* Generated using Crypto++ */
23872 .key = zeroed_string,
23873 .klen = 19,
23874 .iv = zeroed_string,
23875 .result = zeroed_string,
23876 .rlen = 16,
23877 .assoc = zeroed_string,
23878 .alen = 16,
23879 .input = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23880 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23881 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23882 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23883 .ilen = 32,
23885 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23886 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23887 "\x00\x00\x00",
23888 .klen = 19,
23889 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23890 .result = zeroed_string,
23891 .rlen = 16,
23892 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
23893 "\x00\x00\x00\x00\x00\x00\x00\x01",
23894 .alen = 16,
23895 .input = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23896 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23897 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23898 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23899 .ilen = 32,
23901 }, {
23902 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23903 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23904 "\x00\x00\x00",
23905 .klen = 19,
23906 .iv = zeroed_string,
23907 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
23908 "\x01\x01\x01\x01\x01\x01\x01\x01",
23909 .rlen = 16,
23910 .assoc = zeroed_string,
23911 .alen = 16,
23912 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23913 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23914 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23915 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23916 .ilen = 32,
23917 }, {
23918 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23919 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23920 "\x00\x00\x00",
23921 .klen = 19,
23922 .iv = zeroed_string,
23923 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
23924 "\x01\x01\x01\x01\x01\x01\x01\x01",
23925 .rlen = 16,
23926 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23927 "\x00\x00\x00\x00\x00\x00\x00\x00",
23928 .alen = 16,
23929 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23930 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23931 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23932 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23933 .ilen = 32,
23934 }, {
23935 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23936 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23937 "\x00\x00\x00",
23938 .klen = 19,
23939 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23940 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
23941 "\x01\x01\x01\x01\x01\x01\x01\x01",
23942 .rlen = 16,
23943 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23944 "\x00\x00\x00\x00\x00\x00\x00\x01",
23945 .alen = 16,
23946 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23947 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23948 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23949 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23950 .ilen = 32,
23951 }, {
23952 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23953 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23954 "\x00\x00\x00",
23955 .klen = 19,
23956 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
23957 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
23958 "\x01\x01\x01\x01\x01\x01\x01\x01"
23959 "\x01\x01\x01\x01\x01\x01\x01\x01"
23960 "\x01\x01\x01\x01\x01\x01\x01\x01"
23961 "\x01\x01\x01\x01\x01\x01\x01\x01"
23962 "\x01\x01\x01\x01\x01\x01\x01\x01"
23963 "\x01\x01\x01\x01\x01\x01\x01\x01"
23964 "\x01\x01\x01\x01\x01\x01\x01\x01",
23965 .rlen = 64,
23966 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
23967 "\x00\x00\x00\x00\x00\x00\x00\x01",
23968 .alen = 16,
23969 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23970 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23971 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23972 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23973 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23974 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23975 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23976 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23977 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23978 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23979 .ilen = 80,
23980 }, {
23981 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23982 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23983 "\x00\x00\x00",
23984 .klen = 19,
23985 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
23986 .result = "\xff\xff\xff\xff\xff\xff\xff\xff"
23987 "\xff\xff\xff\xff\xff\xff\xff\xff"
23988 "\xff\xff\xff\xff\xff\xff\xff\xff"
23989 "\xff\xff\xff\xff\xff\xff\xff\xff"
23990 "\xff\xff\xff\xff\xff\xff\xff\xff"
23991 "\xff\xff\xff\xff\xff\xff\xff\xff"
23992 "\xff\xff\xff\xff\xff\xff\xff\xff"
23993 "\xff\xff\xff\xff\xff\xff\xff\xff"
23994 "\xff\xff\xff\xff\xff\xff\xff\xff"
23995 "\xff\xff\xff\xff\xff\xff\xff\xff"
23996 "\xff\xff\xff\xff\xff\xff\xff\xff"
23997 "\xff\xff\xff\xff\xff\xff\xff\xff"
23998 "\xff\xff\xff\xff\xff\xff\xff\xff"
23999 "\xff\xff\xff\xff\xff\xff\xff\xff"
24000 "\xff\xff\xff\xff\xff\xff\xff\xff"
24001 "\xff\xff\xff\xff\xff\xff\xff\xff"
24002 "\xff\xff\xff\xff\xff\xff\xff\xff"
24003 "\xff\xff\xff\xff\xff\xff\xff\xff"
24004 "\xff\xff\xff\xff\xff\xff\xff\xff"
24005 "\xff\xff\xff\xff\xff\xff\xff\xff"
24006 "\xff\xff\xff\xff\xff\xff\xff\xff"
24007 "\xff\xff\xff\xff\xff\xff\xff\xff"
24008 "\xff\xff\xff\xff\xff\xff\xff\xff"
24009 "\xff\xff\xff\xff\xff\xff\xff\xff",
24010 .rlen = 192,
24011 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
24012 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
24013 "\x89\xab\xcd\xef",
24014 .alen = 20,
24015 .input = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
24016 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
24017 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
24018 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
24019 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
24020 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
24021 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
24022 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
24023 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
24024 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
24025 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
24026 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
24027 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
24028 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
24029 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
24030 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
24031 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
24032 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
24033 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
24034 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
24035 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
24036 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
24037 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
24038 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
24039 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
24040 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
24041 .ilen = 208,
24042 }, { /* From draft-mcgrew-gcm-test-01 */
24043 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24044 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24045 "\x2E\x44\x3B",
24046 .klen = 19,
24047 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
24048 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00"
24049 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
24050 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
24051 "\x38\xD3\x01\x00\x00\x01\x00\x00"
24052 "\x00\x00\x00\x00\x04\x5F\x73\x69"
24053 "\x70\x04\x5F\x75\x64\x70\x03\x73"
24054 "\x69\x70\x09\x63\x79\x62\x65\x72"
24055 "\x63\x69\x74\x79\x02\x64\x6B\x00"
24056 "\x00\x21\x00\x01\x01\x02\x02\x01",
24057 .rlen = 72,
24058 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
24059 "\x00\x00\x00\x00\x49\x56\xED\x7E"
24060 "\x3B\x24\x4C\xFE",
24061 .alen = 20,
24062 .input = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
24063 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
24064 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
24065 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
24066 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
24067 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
24068 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
24069 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
24070 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
24071 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
24072 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
24073 .ilen = 88,
24074 }, {
24075 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24076 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24077 "\xCA\xFE\xBA",
24078 .klen = 19,
24079 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24080 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
24081 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
24082 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
24083 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
24084 "\x00\x01\x00\x00\x00\x00\x00\x00"
24085 "\x03\x73\x69\x70\x09\x63\x79\x62"
24086 "\x65\x72\x63\x69\x74\x79\x02\x64"
24087 "\x6B\x00\x00\x01\x00\x01\x00\x01",
24088 .rlen = 64,
24089 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24090 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24091 .alen = 16,
24092 .input = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
24093 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
24094 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
24095 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
24096 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
24097 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
24098 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
24099 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
24100 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
24101 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
24102 .ilen = 80,
24103 }, {
24104 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24105 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24106 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24107 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24108 "\x11\x22\x33",
24109 .klen = 35,
24110 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
24111 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00"
24112 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
24113 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
24114 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
24115 "\x70\x02\x40\x00\x20\xBF\x00\x00"
24116 "\x02\x04\x05\xB4\x01\x01\x04\x02"
24117 "\x01\x02\x02\x01",
24118 .rlen = 52,
24119 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
24120 "\x01\x02\x03\x04\x05\x06\x07\x08",
24121 .alen = 16,
24122 .input = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
24123 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
24124 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
24125 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
24126 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
24127 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
24128 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
24129 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
24130 "\x5A\x48\x6A\x3E",
24131 .ilen = 68,
24132 }, {
24133 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
24134 "\x00\x00\x00\x00\x00\x00\x00\x00"
24135 "\x00\x00\x00",
24136 .klen = 19,
24137 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
24138 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
24139 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
24140 "\x01\x01\x01\x01\x08\x00\x07\x5C"
24141 "\x02\x00\x44\x00\x61\x62\x63\x64"
24142 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24143 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24144 "\x75\x76\x77\x61\x62\x63\x64\x65"
24145 "\x66\x67\x68\x69\x01\x02\x02\x01",
24146 .rlen = 64,
24147 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
24148 "\x00\x00\x00\x00\x00\x00\x00\x00",
24149 .alen = 16,
24150 .input = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
24151 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
24152 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
24153 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
24154 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
24155 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
24156 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
24157 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
24158 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
24159 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
24160 .ilen = 80,
24161 }, {
24162 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24163 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24164 "\x57\x69\x0E",
24165 .klen = 19,
24166 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24167 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
24168 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
24169 "\x01\x01\x01\x01\x08\x00\x08\x5C"
24170 "\x02\x00\x43\x00\x61\x62\x63\x64"
24171 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24172 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24173 "\x75\x76\x77\x61\x62\x63\x64\x65"
24174 "\x66\x67\x68\x69\x01\x02\x02\x01",
24175 .rlen = 64,
24176 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24177 "\x10\x10\x10\x10\x4E\x28\x00\x00"
24178 "\xA2\xFC\xA1\xA3",
24179 .alen = 20,
24180 .input = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
24181 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
24182 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
24183 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
24184 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24185 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24186 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24187 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24188 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24189 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24190 .ilen = 80,
24191 }, {
24192 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24193 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24194 "\x57\x69\x0E",
24195 .klen = 19,
24196 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24197 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24198 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24199 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24200 "\x01\x02\x02\x01",
24201 .rlen = 28,
24202 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24203 "\x10\x10\x10\x10\x4E\x28\x00\x00"
24204 "\xA2\xFC\xA1\xA3",
24205 .alen = 20,
24206 .input = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24207 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24208 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24209 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24210 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24211 "\x08\xB4\x22\xE4",
24212 .ilen = 44,
24213 }, {
24214 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24215 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24216 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24217 "\xCA\xFE\xBA",
24218 .klen = 27,
24219 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24220 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24221 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24222 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24223 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24224 "\x50\x10\x16\xD0\x75\x68\x00\x01",
24225 .rlen = 40,
24226 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24227 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24228 .alen = 16,
24229 .input = "\x05\x22\x15\xD1\x52\x56\x85\x04"
24230 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24231 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24232 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24233 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24234 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24235 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24236 .ilen = 56,
24237 }, {
24238 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24239 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24240 "\xDE\xCA\xF8",
24241 .klen = 19,
24242 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24243 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00"
24244 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24245 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24246 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24247 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24248 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24249 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24250 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24251 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24252 "\x23\x01\x01\x01",
24253 .rlen = 76,
24254 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
24255 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24256 "\xCE\xFA\xCE\x74",
24257 .alen = 20,
24258 .input = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24259 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24260 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24261 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24262 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24263 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24264 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24265 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24266 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24267 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24268 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24269 "\x12\x25\x0B\xF9",
24270 .ilen = 92,
24271 }, {
24272 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24273 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24274 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24275 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24276 "\x73\x61\x6C",
24277 .klen = 35,
24278 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
24279 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00"
24280 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24281 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24282 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24283 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24284 .rlen = 40,
24285 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24286 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24287 "\x69\x76\x65\x63",
24288 .alen = 20,
24289 .input = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24290 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24291 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24292 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24293 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24294 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24295 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24296 .ilen = 56,
24297 }, {
24298 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24299 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24300 "\x57\x69\x0E",
24301 .klen = 19,
24302 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24303 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00"
24304 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24305 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24306 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24307 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24308 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24309 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24310 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24311 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24312 "\x15\x01\x01\x01",
24313 .rlen = 76,
24314 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24315 "\x10\x10\x10\x10\x4E\x28\x00\x00"
24316 "\xA2\xFC\xA1\xA3",
24317 .alen = 20,
24318 .input = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24319 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24320 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24321 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24322 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24323 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24324 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24325 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24326 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24327 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24328 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24329 "\xCC\xF7\x46\x6F",
24330 .ilen = 92,
24331 }, {
24332 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24333 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24334 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24335 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24336 "\x73\x61\x6C",
24337 .klen = 35,
24338 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
24339 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75"
24340 "\x6C\x65\x73\x01\x74\x68\x65\x01"
24341 "\x6E\x65\x74\x77\x65\x01\x64\x65"
24342 "\x66\x69\x6E\x65\x01\x74\x68\x65"
24343 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24344 "\x67\x69\x65\x73\x01\x74\x68\x61"
24345 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24346 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24347 "\x72\x72\x6F\x77\x01\x02\x02\x01",
24348 .rlen = 72,
24349 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24350 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24351 "\x69\x76\x65\x63",
24352 .alen = 20,
24353 .input = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24354 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24355 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24356 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24357 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24358 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24359 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24360 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24361 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24362 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24363 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24364 .ilen = 88,
24365 }, {
24366 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24367 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24368 "\xD9\x66\x42",
24369 .klen = 19,
24370 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24371 .result = "\x01\x02\x02\x01",
24372 .rlen = 4,
24373 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24374 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24375 .alen = 16,
24376 .input = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24377 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24378 "\xF7\x61\x24\x62",
24379 .ilen = 20,
24380 }, {
24381 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24382 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24383 "\xDE\xCA\xF8",
24384 .klen = 19,
24385 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24386 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24387 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24388 "\x62\x65\x00\x01",
24389 .rlen = 20,
24390 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
24391 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24392 "\xCE\xFA\xCE\x74",
24393 .alen = 20,
24394 .input = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24395 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24396 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24397 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24398 "\x17\x17\x65\xAD",
24399 .ilen = 36,
24400 }, {
24401 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24402 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24403 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24404 "\x62\x65\x66\x6F\x72\x65\x69\x61"
24405 "\x74\x75\x72",
24406 .klen = 35,
24407 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
24408 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24409 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24410 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24411 "\x02\x00\x07\x00\x61\x62\x63\x64"
24412 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24413 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24414 "\x01\x02\x02\x01",
24415 .rlen = 52,
24416 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24417 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24418 "\x67\x65\x74\x6D",
24419 .alen = 20,
24420 .input = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24421 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24422 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24423 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24424 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
24425 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
24426 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
24427 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
24428 "\x39\xDB\xC8\xDC",
24429 .ilen = 68,
24430 }, {
24431 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24432 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24433 "\x57\x69\x0E",
24434 .klen = 19,
24435 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24436 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24437 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24438 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24439 "\x02\x00\x07\x00\x61\x62\x63\x64"
24440 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24441 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24442 "\x01\x02\x02\x01",
24443 .rlen = 52,
24444 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
24445 "\x10\x10\x10\x10\x4E\x28\x00\x00"
24446 "\xA2\xFC\xA1\xA3",
24447 .alen = 20,
24448 .input = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
24449 "\x10\x60\x54\x25\xEB\x80\x04\x93"
24450 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
24451 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
24452 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24453 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24454 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
24455 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
24456 "\xF4\x95\x5D\x4F",
24457 .ilen = 68,
24458 }, {
24459 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24460 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24461 "\x22\x43\x3C",
24462 .klen = 19,
24463 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
24464 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
24465 "\x61\x62\x63\x64\x65\x66\x67\x68"
24466 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
24467 "\x71\x72\x73\x74\x01\x02\x02\x01",
24468 .rlen = 32,
24469 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
24470 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
24471 "\x3A\x23\x4B\xFD",
24472 .alen = 20,
24473 .input = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
24474 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
24475 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
24476 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
24477 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
24478 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
24479 .ilen = 48,
24484 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
24486 static const struct aead_testvec rfc7539_enc_tv_template[] = {
24488 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
24489 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24490 "\x90\x91\x92\x93\x94\x95\x96\x97"
24491 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24492 .klen = 32,
24493 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
24494 "\x44\x45\x46\x47",
24495 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24496 "\xc4\xc5\xc6\xc7",
24497 .alen = 12,
24498 .input = "\x4c\x61\x64\x69\x65\x73\x20\x61"
24499 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24500 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24501 "\x74\x68\x65\x20\x63\x6c\x61\x73"
24502 "\x73\x20\x6f\x66\x20\x27\x39\x39"
24503 "\x3a\x20\x49\x66\x20\x49\x20\x63"
24504 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24505 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24506 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24507 "\x74\x69\x70\x20\x66\x6f\x72\x20"
24508 "\x74\x68\x65\x20\x66\x75\x74\x75"
24509 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24510 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24511 "\x75\x6c\x64\x20\x62\x65\x20\x69"
24512 "\x74\x2e",
24513 .ilen = 114,
24514 .result = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24515 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24516 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24517 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24518 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24519 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24520 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24521 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24522 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24523 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24524 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24525 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24526 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24527 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24528 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24529 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24530 "\x06\x91",
24531 .rlen = 130,
24532 }, {
24533 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24534 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24535 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24536 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24537 .klen = 32,
24538 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
24539 "\x05\x06\x07\x08",
24540 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
24541 "\x00\x00\x4e\x91",
24542 .alen = 12,
24543 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24544 "\x2d\x44\x72\x61\x66\x74\x73\x20"
24545 "\x61\x72\x65\x20\x64\x72\x61\x66"
24546 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24547 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24548 "\x64\x20\x66\x6f\x72\x20\x61\x20"
24549 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24550 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24551 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24552 "\x64\x20\x6d\x61\x79\x20\x62\x65"
24553 "\x20\x75\x70\x64\x61\x74\x65\x64"
24554 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24555 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24556 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24557 "\x20\x62\x79\x20\x6f\x74\x68\x65"
24558 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24559 "\x6e\x74\x73\x20\x61\x74\x20\x61"
24560 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24561 "\x20\x49\x74\x20\x69\x73\x20\x69"
24562 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24563 "\x69\x61\x74\x65\x20\x74\x6f\x20"
24564 "\x75\x73\x65\x20\x49\x6e\x74\x65"
24565 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24566 "\x66\x74\x73\x20\x61\x73\x20\x72"
24567 "\x65\x66\x65\x72\x65\x6e\x63\x65"
24568 "\x20\x6d\x61\x74\x65\x72\x69\x61"
24569 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24570 "\x63\x69\x74\x65\x20\x74\x68\x65"
24571 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24572 "\x74\x68\x61\x6e\x20\x61\x73\x20"
24573 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24574 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24575 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24576 "\x9d",
24577 .ilen = 265,
24578 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24579 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24580 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24581 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24582 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24583 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24584 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24585 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24586 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24587 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24588 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24589 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24590 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24591 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24592 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24593 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24594 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24595 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24596 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24597 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24598 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24599 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24600 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24601 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24602 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24603 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24604 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24605 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24606 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24607 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24608 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24609 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24610 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24611 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24612 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24613 "\x38",
24614 .rlen = 281,
24618 static const struct aead_testvec rfc7539_dec_tv_template[] = {
24620 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
24621 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24622 "\x90\x91\x92\x93\x94\x95\x96\x97"
24623 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24624 .klen = 32,
24625 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
24626 "\x44\x45\x46\x47",
24627 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24628 "\xc4\xc5\xc6\xc7",
24629 .alen = 12,
24630 .input = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24631 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24632 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24633 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24634 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24635 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24636 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24637 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24638 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24639 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24640 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24641 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24642 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24643 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24644 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24645 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24646 "\x06\x91",
24647 .ilen = 130,
24648 .result = "\x4c\x61\x64\x69\x65\x73\x20\x61"
24649 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24650 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24651 "\x74\x68\x65\x20\x63\x6c\x61\x73"
24652 "\x73\x20\x6f\x66\x20\x27\x39\x39"
24653 "\x3a\x20\x49\x66\x20\x49\x20\x63"
24654 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24655 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24656 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24657 "\x74\x69\x70\x20\x66\x6f\x72\x20"
24658 "\x74\x68\x65\x20\x66\x75\x74\x75"
24659 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24660 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24661 "\x75\x6c\x64\x20\x62\x65\x20\x69"
24662 "\x74\x2e",
24663 .rlen = 114,
24664 }, {
24665 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24666 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24667 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24668 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24669 .klen = 32,
24670 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
24671 "\x05\x06\x07\x08",
24672 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
24673 "\x00\x00\x4e\x91",
24674 .alen = 12,
24675 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24676 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24677 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24678 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24679 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24680 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24681 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24682 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24683 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24684 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24685 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24686 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24687 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24688 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24689 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24690 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24691 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24692 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24693 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24694 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24695 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24696 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24697 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24698 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24699 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24700 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24701 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24702 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24703 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24704 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24705 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24706 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24707 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24708 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24709 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24710 "\x38",
24711 .ilen = 281,
24712 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24713 "\x2d\x44\x72\x61\x66\x74\x73\x20"
24714 "\x61\x72\x65\x20\x64\x72\x61\x66"
24715 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24716 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24717 "\x64\x20\x66\x6f\x72\x20\x61\x20"
24718 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24719 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24720 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24721 "\x64\x20\x6d\x61\x79\x20\x62\x65"
24722 "\x20\x75\x70\x64\x61\x74\x65\x64"
24723 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24724 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24725 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24726 "\x20\x62\x79\x20\x6f\x74\x68\x65"
24727 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24728 "\x6e\x74\x73\x20\x61\x74\x20\x61"
24729 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24730 "\x20\x49\x74\x20\x69\x73\x20\x69"
24731 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24732 "\x69\x61\x74\x65\x20\x74\x6f\x20"
24733 "\x75\x73\x65\x20\x49\x6e\x74\x65"
24734 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24735 "\x66\x74\x73\x20\x61\x73\x20\x72"
24736 "\x65\x66\x65\x72\x65\x6e\x63\x65"
24737 "\x20\x6d\x61\x74\x65\x72\x69\x61"
24738 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24739 "\x63\x69\x74\x65\x20\x74\x68\x65"
24740 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24741 "\x74\x68\x61\x6e\x20\x61\x73\x20"
24742 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24743 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24744 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24745 "\x9d",
24746 .rlen = 265,
24751 * draft-irtf-cfrg-chacha20-poly1305
24753 static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
24755 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24756 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24757 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24758 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24759 "\x00\x00\x00\x00",
24760 .klen = 36,
24761 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
24762 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
24763 "\x00\x00\x4e\x91\x01\x02\x03\x04"
24764 "\x05\x06\x07\x08",
24765 .alen = 20,
24766 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24767 "\x2d\x44\x72\x61\x66\x74\x73\x20"
24768 "\x61\x72\x65\x20\x64\x72\x61\x66"
24769 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24770 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24771 "\x64\x20\x66\x6f\x72\x20\x61\x20"
24772 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24773 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24774 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24775 "\x64\x20\x6d\x61\x79\x20\x62\x65"
24776 "\x20\x75\x70\x64\x61\x74\x65\x64"
24777 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24778 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24779 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24780 "\x20\x62\x79\x20\x6f\x74\x68\x65"
24781 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24782 "\x6e\x74\x73\x20\x61\x74\x20\x61"
24783 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24784 "\x20\x49\x74\x20\x69\x73\x20\x69"
24785 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24786 "\x69\x61\x74\x65\x20\x74\x6f\x20"
24787 "\x75\x73\x65\x20\x49\x6e\x74\x65"
24788 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24789 "\x66\x74\x73\x20\x61\x73\x20\x72"
24790 "\x65\x66\x65\x72\x65\x6e\x63\x65"
24791 "\x20\x6d\x61\x74\x65\x72\x69\x61"
24792 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24793 "\x63\x69\x74\x65\x20\x74\x68\x65"
24794 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24795 "\x74\x68\x61\x6e\x20\x61\x73\x20"
24796 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24797 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24798 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24799 "\x9d",
24800 .ilen = 265,
24801 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24802 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24803 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24804 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24805 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24806 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24807 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24808 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24809 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24810 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24811 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24812 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24813 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24814 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24815 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24816 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24817 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24818 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24819 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24820 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24821 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24822 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24823 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24824 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24825 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24826 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24827 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24828 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24829 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24830 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24831 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24832 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24833 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24834 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24835 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24836 "\x38",
24837 .rlen = 281,
24841 static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
24843 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24844 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24845 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24846 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24847 "\x00\x00\x00\x00",
24848 .klen = 36,
24849 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
24850 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
24851 "\x00\x00\x4e\x91\x01\x02\x03\x04"
24852 "\x05\x06\x07\x08",
24853 .alen = 20,
24854 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24855 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24856 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24857 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24858 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24859 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24860 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24861 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24862 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24863 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24864 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24865 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24866 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24867 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24868 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24869 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24870 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24871 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24872 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24873 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24874 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24875 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24876 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24877 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24878 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24879 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24880 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24881 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24882 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24883 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24884 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24885 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24886 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24887 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24888 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24889 "\x38",
24890 .ilen = 281,
24891 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24892 "\x2d\x44\x72\x61\x66\x74\x73\x20"
24893 "\x61\x72\x65\x20\x64\x72\x61\x66"
24894 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24895 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24896 "\x64\x20\x66\x6f\x72\x20\x61\x20"
24897 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24898 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24899 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24900 "\x64\x20\x6d\x61\x79\x20\x62\x65"
24901 "\x20\x75\x70\x64\x61\x74\x65\x64"
24902 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24903 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24904 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24905 "\x20\x62\x79\x20\x6f\x74\x68\x65"
24906 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24907 "\x6e\x74\x73\x20\x61\x74\x20\x61"
24908 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24909 "\x20\x49\x74\x20\x69\x73\x20\x69"
24910 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24911 "\x69\x61\x74\x65\x20\x74\x6f\x20"
24912 "\x75\x73\x65\x20\x49\x6e\x74\x65"
24913 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24914 "\x66\x74\x73\x20\x61\x73\x20\x72"
24915 "\x65\x66\x65\x72\x65\x6e\x63\x65"
24916 "\x20\x6d\x61\x74\x65\x72\x69\x61"
24917 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24918 "\x63\x69\x74\x65\x20\x74\x68\x65"
24919 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24920 "\x74\x68\x61\x6e\x20\x61\x73\x20"
24921 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24922 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24923 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24924 "\x9d",
24925 .rlen = 265,
24930 * All key wrapping test vectors taken from
24931 * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
24933 * Note: as documented in keywrap.c, the ivout for encryption is the first
24934 * semiblock of the ciphertext from the test vector. For decryption, iv is
24935 * the first semiblock of the ciphertext.
24937 static const struct cipher_testvec aes_kw_enc_tv_template[] = {
24939 .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
24940 "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
24941 .klen = 16,
24942 .input = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
24943 "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
24944 .ilen = 16,
24945 .result = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
24946 "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
24947 .rlen = 16,
24948 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
24952 static const struct cipher_testvec aes_kw_dec_tv_template[] = {
24954 .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
24955 "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
24956 "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
24957 "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
24958 .klen = 32,
24959 .input = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
24960 "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
24961 .ilen = 16,
24962 .result = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
24963 "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
24964 .rlen = 16,
24965 .iv = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
24970 * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
24971 * test vectors, taken from Appendix B.2.9 and B.2.10:
24972 * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
24973 * Only AES-128 is supported at this time.
24975 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
24977 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24978 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24979 .klen = 16,
24980 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24981 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
24982 .dtlen = 16,
24983 .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
24984 "\x00\x00\x00\x00\x00\x00\x00\x00",
24985 .vlen = 16,
24986 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
24987 "\x84\x79\x66\x85\xc1\x2f\x76\x41",
24988 .rlen = 16,
24989 .loops = 1,
24990 }, {
24991 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24992 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24993 .klen = 16,
24994 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24995 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
24996 .dtlen = 16,
24997 .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
24998 "\x00\x00\x00\x00\x00\x00\x00\x00",
24999 .vlen = 16,
25000 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
25001 "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
25002 .rlen = 16,
25003 .loops = 1,
25004 }, {
25005 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25006 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25007 .klen = 16,
25008 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25009 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
25010 .dtlen = 16,
25011 .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
25012 "\x00\x00\x00\x00\x00\x00\x00\x00",
25013 .vlen = 16,
25014 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
25015 "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
25016 .rlen = 16,
25017 .loops = 1,
25018 }, {
25019 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25020 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25021 .klen = 16,
25022 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25023 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
25024 .dtlen = 16,
25025 .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
25026 "\x00\x00\x00\x00\x00\x00\x00\x00",
25027 .vlen = 16,
25028 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
25029 "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
25030 .rlen = 16,
25031 .loops = 1,
25032 }, {
25033 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25034 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25035 .klen = 16,
25036 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25037 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
25038 .dtlen = 16,
25039 .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
25040 "\x00\x00\x00\x00\x00\x00\x00\x00",
25041 .vlen = 16,
25042 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
25043 "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
25044 .rlen = 16,
25045 .loops = 1,
25046 }, { /* Monte Carlo Test */
25047 .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
25048 "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
25049 .klen = 16,
25050 .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
25051 "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
25052 .dtlen = 16,
25053 .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
25054 "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
25055 .vlen = 16,
25056 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
25057 "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
25058 .rlen = 16,
25059 .loops = 10000,
25064 * SP800-90A DRBG Test vectors from
25065 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25067 * Test vectors for DRBG with prediction resistance. All types of DRBGs
25068 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25069 * w/o personalization string, w/ and w/o additional input string).
25071 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
25073 .entropy = (unsigned char *)
25074 "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
25075 "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
25076 "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
25077 "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
25078 .entropylen = 48,
25079 .entpra = (unsigned char *)
25080 "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
25081 "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
25082 "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
25083 .entprb = (unsigned char *)
25084 "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
25085 "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
25086 "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
25087 .entprlen = 32,
25088 .expected = (unsigned char *)
25089 "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
25090 "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
25091 "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
25092 "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
25093 "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
25094 "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
25095 "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
25096 "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
25097 "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
25098 "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
25099 "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
25100 .expectedlen = 128,
25101 .addtla = NULL,
25102 .addtlb = NULL,
25103 .addtllen = 0,
25104 .pers = NULL,
25105 .perslen = 0,
25106 }, {
25107 .entropy = (unsigned char *)
25108 "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
25109 "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
25110 "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
25111 "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
25112 .entropylen = 48,
25113 .entpra = (unsigned char *)
25114 "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
25115 "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
25116 "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
25117 .entprb = (unsigned char *)
25118 "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
25119 "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
25120 "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
25121 .entprlen = 32,
25122 .expected = (unsigned char *)
25123 "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
25124 "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
25125 "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
25126 "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
25127 "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
25128 "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
25129 "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
25130 "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
25131 "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
25132 "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
25133 "\x50\x47\xa3\x63\x81\x16\xaf\x19",
25134 .expectedlen = 128,
25135 .addtla = (unsigned char *)
25136 "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
25137 "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
25138 "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
25139 .addtlb = (unsigned char *)
25140 "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
25141 "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
25142 "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
25143 .addtllen = 32,
25144 .pers = NULL,
25145 .perslen = 0,
25146 }, {
25147 .entropy = (unsigned char *)
25148 "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
25149 "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
25150 "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
25151 "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
25152 .entropylen = 48,
25153 .entpra = (unsigned char *)
25154 "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
25155 "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
25156 "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
25157 .entprb = (unsigned char *)
25158 "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
25159 "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
25160 "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
25161 .entprlen = 32,
25162 .expected = (unsigned char *)
25163 "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
25164 "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
25165 "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
25166 "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
25167 "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
25168 "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
25169 "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
25170 "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
25171 "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
25172 "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
25173 "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
25174 .expectedlen = 128,
25175 .addtla = NULL,
25176 .addtlb = NULL,
25177 .addtllen = 0,
25178 .pers = (unsigned char *)
25179 "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
25180 "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
25181 "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
25182 .perslen = 32,
25183 }, {
25184 .entropy = (unsigned char *)
25185 "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25186 "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25187 "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25188 "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25189 .entropylen = 48,
25190 .entpra = (unsigned char *)
25191 "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25192 "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25193 "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25194 .entprb = (unsigned char *)
25195 "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25196 "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25197 "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25198 .entprlen = 32,
25199 .expected = (unsigned char *)
25200 "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25201 "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25202 "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25203 "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25204 "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25205 "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25206 "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25207 "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25208 "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25209 "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25210 "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25211 .expectedlen = 128,
25212 .addtla = (unsigned char *)
25213 "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25214 "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25215 "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25216 .addtlb = (unsigned char *)
25217 "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25218 "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25219 "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25220 .addtllen = 32,
25221 .pers = (unsigned char *)
25222 "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25223 "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25224 "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25225 .perslen = 32,
25229 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25231 .entropy = (unsigned char *)
25232 "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25233 "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25234 "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25235 "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25236 .entropylen = 48,
25237 .entpra = (unsigned char *)
25238 "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25239 "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25240 "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25241 .entprb = (unsigned char *)
25242 "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25243 "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25244 "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25245 .entprlen = 32,
25246 .expected = (unsigned char *)
25247 "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25248 "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25249 "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25250 "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25251 "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25252 "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25253 "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25254 "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25255 "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25256 "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25257 "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25258 .expectedlen = 128,
25259 .addtla = NULL,
25260 .addtlb = NULL,
25261 .addtllen = 0,
25262 .pers = NULL,
25263 .perslen = 0,
25264 }, {
25265 .entropy = (unsigned char *)
25266 "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25267 "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25268 "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25269 "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25270 .entropylen = 48,
25271 .entpra = (unsigned char *)
25272 "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25273 "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25274 "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25275 .entprb = (unsigned char *)
25276 "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25277 "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25278 "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25279 .entprlen = 32,
25280 .expected = (unsigned char *)
25281 "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25282 "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25283 "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25284 "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25285 "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25286 "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25287 "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25288 "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25289 "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25290 "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25291 "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25292 .expectedlen = 128,
25293 .addtla = (unsigned char *)
25294 "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25295 "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25296 "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25297 .addtlb = (unsigned char *)
25298 "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25299 "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25300 "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25301 .addtllen = 32,
25302 .pers = NULL,
25303 .perslen = 0,
25304 }, {
25305 .entropy = (unsigned char *)
25306 "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25307 "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25308 "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25309 "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25310 .entropylen = 48,
25311 .entpra = (unsigned char *)
25312 "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25313 "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25314 "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25315 .entprb = (unsigned char *)
25316 "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25317 "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25318 "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25319 .entprlen = 32,
25320 .expected = (unsigned char *)
25321 "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25322 "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25323 "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25324 "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25325 "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25326 "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25327 "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25328 "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25329 "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25330 "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25331 "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25332 .expectedlen = 128,
25333 .addtla = NULL,
25334 .addtlb = NULL,
25335 .addtllen = 0,
25336 .pers = (unsigned char *)
25337 "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25338 "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25339 "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25340 .perslen = 32,
25341 }, {
25342 .entropy = (unsigned char *)
25343 "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25344 "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25345 "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25346 "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25347 .entropylen = 48,
25348 .entpra = (unsigned char *)
25349 "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25350 "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25351 "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25352 .entprb = (unsigned char *)
25353 "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25354 "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25355 "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25356 .entprlen = 32,
25357 .expected = (unsigned char *)
25358 "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25359 "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25360 "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25361 "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25362 "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25363 "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25364 "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25365 "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25366 "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25367 "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25368 "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25369 .expectedlen = 128,
25370 .addtla = (unsigned char *)
25371 "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25372 "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25373 "\x86\x88\x55\x28\xc1\x69\xdd\x76",
25374 .addtlb = (unsigned char *)
25375 "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25376 "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25377 "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25378 .addtllen = 32,
25379 .pers = (unsigned char *)
25380 "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25381 "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25382 "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25383 .perslen = 32,
25387 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25389 .entropy = (unsigned char *)
25390 "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25391 "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25392 .entropylen = 24,
25393 .entpra = (unsigned char *)
25394 "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25395 "\xb4\xec\x80\xb1",
25396 .entprb = (unsigned char *)
25397 "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25398 "\x28\x07\xeb\xc2",
25399 .entprlen = 16,
25400 .expected = (unsigned char *)
25401 "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25402 "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25403 "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25404 "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25405 "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25406 "\x8a\xf1\x23\xa8",
25407 .expectedlen = 64,
25408 .addtla = NULL,
25409 .addtlb = NULL,
25410 .addtllen = 0,
25411 .pers = NULL,
25412 .perslen = 0,
25413 }, {
25414 .entropy = (unsigned char *)
25415 "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25416 "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25417 .entropylen = 24,
25418 .entpra = (unsigned char *)
25419 "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25420 "\x67\xd1\x08\xf8",
25421 .entprb = (unsigned char *)
25422 "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25423 "\xd4\xba\x04\x58",
25424 .entprlen = 16,
25425 .expected = (unsigned char *)
25426 "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
25427 "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
25428 "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
25429 "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
25430 "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
25431 "\xc1\x02\x41\x82",
25432 .expectedlen = 64,
25433 .addtla = (unsigned char *)
25434 "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
25435 "\xeb\xb3\x01\x76",
25436 .addtlb = (unsigned char *)
25437 "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
25438 "\xd0\x7f\xcc\x43",
25439 .addtllen = 16,
25440 .pers = NULL,
25441 .perslen = 0,
25442 }, {
25443 .entropy = (unsigned char *)
25444 "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
25445 "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
25446 .entropylen = 24,
25447 .entpra = (unsigned char *)
25448 "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
25449 "\xc3\x0f\xe3\xb0",
25450 .entprb = (unsigned char *)
25451 "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
25452 "\xd6\x9c\x9d\xe8",
25453 .entprlen = 16,
25454 .expected = (unsigned char *)
25455 "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
25456 "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
25457 "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
25458 "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
25459 "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
25460 "\x72\x82\x0c\xcf",
25461 .expectedlen = 64,
25462 .addtla = NULL,
25463 .addtlb = NULL,
25464 .addtllen = 0,
25465 .pers = (unsigned char *)
25466 "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
25467 "\x21\x52\xb3\xad",
25468 .perslen = 16,
25469 }, {
25470 .entropy = (unsigned char *)
25471 "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
25472 "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
25473 .entropylen = 24,
25474 .entpra = (unsigned char *)
25475 "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
25476 "\xc4\x2c\xe8\x10",
25477 .entprb = (unsigned char *)
25478 "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
25479 "\x08\xf7\xa5\x01",
25480 .entprlen = 16,
25481 .expected = (unsigned char *)
25482 "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
25483 "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
25484 "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
25485 "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
25486 "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
25487 "\x23\xc5\x1f\x68",
25488 .expectedlen = 64,
25489 .addtla = (unsigned char *)
25490 "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
25491 "\x23\x6d\xad\x1d",
25492 .addtlb = (unsigned char *)
25493 "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
25494 "\xbc\x59\x31\x8c",
25495 .addtllen = 16,
25496 .pers = (unsigned char *)
25497 "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
25498 "\x37\x3c\x5c\x0b",
25499 .perslen = 16,
25504 * SP800-90A DRBG Test vectors from
25505 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25507 * Test vectors for DRBG without prediction resistance. All types of DRBGs
25508 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25509 * w/o personalization string, w/ and w/o additional input string).
25511 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
25513 .entropy = (unsigned char *)
25514 "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
25515 "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
25516 "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
25517 "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
25518 .entropylen = 48,
25519 .expected = (unsigned char *)
25520 "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
25521 "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
25522 "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
25523 "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
25524 "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
25525 "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
25526 "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
25527 "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
25528 "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
25529 "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
25530 "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
25531 .expectedlen = 128,
25532 .addtla = NULL,
25533 .addtlb = NULL,
25534 .addtllen = 0,
25535 .pers = NULL,
25536 .perslen = 0,
25537 }, {
25538 .entropy = (unsigned char *)
25539 "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
25540 "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
25541 "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
25542 "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
25543 .entropylen = 48,
25544 .expected = (unsigned char *)
25545 "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
25546 "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
25547 "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
25548 "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
25549 "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
25550 "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
25551 "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
25552 "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
25553 "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
25554 "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
25555 "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
25556 .expectedlen = 128,
25557 .addtla = (unsigned char *)
25558 "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
25559 "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
25560 "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
25561 .addtlb = (unsigned char *)
25562 "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
25563 "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
25564 "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
25565 .addtllen = 32,
25566 .pers = NULL,
25567 .perslen = 0,
25568 }, {
25569 .entropy = (unsigned char *)
25570 "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
25571 "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
25572 "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
25573 "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
25574 .entropylen = 48,
25575 .expected = (unsigned char *)
25576 "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
25577 "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
25578 "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
25579 "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
25580 "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
25581 "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
25582 "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
25583 "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
25584 "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
25585 "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
25586 "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
25587 .expectedlen = 128,
25588 .addtla = NULL,
25589 .addtlb = NULL,
25590 .addtllen = 0,
25591 .pers = (unsigned char *)
25592 "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
25593 "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
25594 "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
25595 .perslen = 32,
25596 }, {
25597 .entropy = (unsigned char *)
25598 "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
25599 "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
25600 "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
25601 "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
25602 .entropylen = 48,
25603 .expected = (unsigned char *)
25604 "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
25605 "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
25606 "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
25607 "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
25608 "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
25609 "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
25610 "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
25611 "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
25612 "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
25613 "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
25614 "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
25615 .expectedlen = 128,
25616 .addtla = (unsigned char *)
25617 "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
25618 "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
25619 "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
25620 .addtlb = (unsigned char *)
25621 "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
25622 "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
25623 "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
25624 .addtllen = 32,
25625 .pers = (unsigned char *)
25626 "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
25627 "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
25628 "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
25629 .perslen = 32,
25633 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
25635 .entropy = (unsigned char *)
25636 "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
25637 "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
25638 "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
25639 "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
25640 .entropylen = 48,
25641 .expected = (unsigned char *)
25642 "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
25643 "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
25644 "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
25645 "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
25646 "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
25647 "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
25648 "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
25649 "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
25650 "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
25651 "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
25652 "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
25653 .expectedlen = 128,
25654 .addtla = NULL,
25655 .addtlb = NULL,
25656 .addtllen = 0,
25657 .pers = NULL,
25658 .perslen = 0,
25659 }, {
25660 .entropy = (unsigned char *)
25661 "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
25662 "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
25663 "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
25664 "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
25665 .entropylen = 48,
25666 .expected = (unsigned char *)
25667 "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
25668 "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
25669 "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
25670 "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
25671 "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
25672 "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
25673 "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
25674 "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
25675 "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
25676 "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
25677 "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
25678 .expectedlen = 128,
25679 .addtla = (unsigned char *)
25680 "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
25681 "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
25682 "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
25683 .addtlb = (unsigned char *)
25684 "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
25685 "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
25686 "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
25687 .addtllen = 32,
25688 .pers = NULL,
25689 .perslen = 0,
25690 }, {
25691 .entropy = (unsigned char *)
25692 "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
25693 "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
25694 "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
25695 "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
25696 .entropylen = 48,
25697 .expected = (unsigned char *)
25698 "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
25699 "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
25700 "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
25701 "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
25702 "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
25703 "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
25704 "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
25705 "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
25706 "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
25707 "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
25708 "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
25709 .expectedlen = 128,
25710 .addtla = NULL,
25711 .addtlb = NULL,
25712 .addtllen = 0,
25713 .pers = (unsigned char *)
25714 "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
25715 "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
25716 "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
25717 .perslen = 32,
25718 }, {
25719 .entropy = (unsigned char *)
25720 "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
25721 "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
25722 "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
25723 "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
25724 .entropylen = 48,
25725 .expected = (unsigned char *)
25726 "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
25727 "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
25728 "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
25729 "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
25730 "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
25731 "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
25732 "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
25733 "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
25734 "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
25735 "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
25736 "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
25737 .expectedlen = 128,
25738 .addtla = (unsigned char *)
25739 "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
25740 "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
25741 "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
25742 .addtlb = (unsigned char *)
25743 "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
25744 "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
25745 "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
25746 .addtllen = 32,
25747 .pers = (unsigned char *)
25748 "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
25749 "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
25750 "\x36\x60\x3b\xca\x37\xc9\xee\x29",
25751 .perslen = 32,
25755 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
25757 .entropy = (unsigned char *)
25758 "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
25759 "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
25760 "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
25761 "\xac\x9b\xbb\x00",
25762 .entropylen = 40,
25763 .expected = (unsigned char *)
25764 "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
25765 "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
25766 "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
25767 "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
25768 "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
25769 "\x9a\x9d\xf1\x0d",
25770 .expectedlen = 64,
25771 .addtla = NULL,
25772 .addtlb = NULL,
25773 .addtllen = 0,
25774 .pers = NULL,
25775 .perslen = 0,
25779 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
25781 .entropy = (unsigned char *)
25782 "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
25783 "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
25784 "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
25785 "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
25786 .entropylen = 48,
25787 .expected = (unsigned char *)
25788 "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
25789 "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
25790 "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
25791 "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
25792 "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
25793 "\xb4\xf0\x7e\x1d",
25794 .expectedlen = 64,
25795 .addtla = NULL,
25796 .addtlb = NULL,
25797 .addtllen = 0,
25798 .pers = NULL,
25799 .perslen = 0,
25803 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
25805 .entropy = (unsigned char *)
25806 "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
25807 "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
25808 .entropylen = 24,
25809 .expected = (unsigned char *)
25810 "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
25811 "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
25812 "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
25813 "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
25814 "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
25815 "\xcb\x2d\xd6\xb0",
25816 .expectedlen = 64,
25817 .addtla = NULL,
25818 .addtlb = NULL,
25819 .addtllen = 0,
25820 .pers = NULL,
25821 .perslen = 0,
25822 }, {
25823 .entropy = (unsigned char *)
25824 "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
25825 "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
25826 .entropylen = 24,
25827 .expected = (unsigned char *)
25828 "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
25829 "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
25830 "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
25831 "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
25832 "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
25833 "\xc3\xdf\xb3\x81",
25834 .expectedlen = 64,
25835 .addtla = (unsigned char *)
25836 "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
25837 "\x91\x4d\x81\x56",
25838 .addtlb = (unsigned char *)
25839 "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
25840 "\x4a\x55\xd1\xc6",
25841 .addtllen = 16,
25842 .pers = NULL,
25843 .perslen = 0,
25844 }, {
25845 .entropy = (unsigned char *)
25846 "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
25847 "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
25848 .entropylen = 24,
25849 .expected = (unsigned char *)
25850 "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
25851 "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
25852 "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
25853 "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
25854 "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
25855 "\x34\x30\x0c\x3d",
25856 .expectedlen = 64,
25857 .addtla = NULL,
25858 .addtlb = NULL,
25859 .addtllen = 0,
25860 .pers = (unsigned char *)
25861 "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
25862 "\x0b\xc6\x97\x54",
25863 .perslen = 16,
25864 }, {
25865 .entropy = (unsigned char *)
25866 "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
25867 "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
25868 .entropylen = 24,
25869 .expected = (unsigned char *)
25870 "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
25871 "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
25872 "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
25873 "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
25874 "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
25875 "\x2b\x49\x1e\x5c",
25876 .expectedlen = 64,
25877 .addtla = (unsigned char *)
25878 "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
25879 "\x44\x85\xe7\xfe",
25880 .addtlb = (unsigned char *)
25881 "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
25882 "\x82\x16\x62\x7f",
25883 .addtllen = 16,
25884 .pers = (unsigned char *)
25885 "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
25886 "\x8e\xcf\xe0\x02",
25887 .perslen = 16,
25891 /* Cast5 test vectors from RFC 2144 */
25892 static const struct cipher_testvec cast5_enc_tv_template[] = {
25894 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
25895 "\x23\x45\x67\x89\x34\x56\x78\x9a",
25896 .klen = 16,
25897 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25898 .ilen = 8,
25899 .result = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25900 .rlen = 8,
25901 }, {
25902 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
25903 "\x23\x45",
25904 .klen = 10,
25905 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25906 .ilen = 8,
25907 .result = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25908 .rlen = 8,
25909 }, {
25910 .key = "\x01\x23\x45\x67\x12",
25911 .klen = 5,
25912 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
25913 .ilen = 8,
25914 .result = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25915 .rlen = 8,
25916 }, { /* Generated from TF test vectors */
25917 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25918 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25919 .klen = 16,
25920 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25921 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25922 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25923 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25924 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25925 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25926 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25927 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25928 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25929 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25930 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25931 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25932 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25933 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25934 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25935 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25936 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25937 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25938 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25939 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25940 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25941 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25942 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25943 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25944 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25945 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25946 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25947 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25948 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25949 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25950 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25951 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25952 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25953 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25954 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25955 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25956 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25957 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25958 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25959 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25960 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25961 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25962 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25963 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25964 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25965 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25966 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25967 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25968 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25969 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25970 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25971 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25972 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25973 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25974 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25975 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25976 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25977 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25978 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25979 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25980 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25981 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25982 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25983 .ilen = 496,
25984 .result = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25985 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25986 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25987 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25988 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25989 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25990 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25991 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25992 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25993 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25994 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25995 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25996 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25997 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25998 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25999 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26000 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26001 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26002 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26003 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26004 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26005 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26006 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26007 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26008 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26009 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26010 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26011 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26012 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26013 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26014 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26015 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26016 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26017 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26018 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26019 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26020 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26021 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26022 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26023 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26024 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26025 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26026 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26027 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26028 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26029 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26030 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26031 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26032 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26033 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26034 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26035 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26036 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26037 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26038 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26039 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26040 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26041 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26042 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26043 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26044 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26045 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26046 .rlen = 496,
26047 .also_non_np = 1,
26048 .np = 3,
26049 .tap = { 496 - 20, 4, 16 },
26053 static const struct cipher_testvec cast5_dec_tv_template[] = {
26055 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
26056 "\x23\x45\x67\x89\x34\x56\x78\x9a",
26057 .klen = 16,
26058 .input = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26059 .ilen = 8,
26060 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26061 .rlen = 8,
26062 }, {
26063 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
26064 "\x23\x45",
26065 .klen = 10,
26066 .input = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26067 .ilen = 8,
26068 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26069 .rlen = 8,
26070 }, {
26071 .key = "\x01\x23\x45\x67\x12",
26072 .klen = 5,
26073 .input = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26074 .ilen = 8,
26075 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26076 .rlen = 8,
26077 }, { /* Generated from TF test vectors */
26078 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26079 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26080 .klen = 16,
26081 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26082 .input = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26083 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26084 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26085 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26086 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26087 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26088 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26089 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26090 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26091 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26092 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26093 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26094 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26095 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26096 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26097 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26098 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26099 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26100 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26101 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26102 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26103 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26104 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26105 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26106 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26107 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26108 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26109 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26110 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26111 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26112 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26113 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26114 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26115 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26116 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26117 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26118 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26119 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26120 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26121 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26122 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26123 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26124 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26125 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26126 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26127 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26128 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26129 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26130 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26131 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26132 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26133 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26134 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26135 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26136 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26137 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26138 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26139 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26140 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26141 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26142 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26143 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26144 .ilen = 496,
26145 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26146 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26147 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26148 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26149 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26150 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26151 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26152 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26153 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26154 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26155 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26156 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26157 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26158 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26159 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26160 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26161 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26162 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26163 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26164 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26165 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26166 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26167 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26168 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26169 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26170 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26171 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26172 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26173 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26174 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26175 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26176 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26177 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26178 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26179 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26180 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26181 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26182 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26183 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26184 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26185 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26186 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26187 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26188 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26189 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26190 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26191 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26192 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26193 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26194 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26195 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26196 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26197 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26198 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26199 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26200 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26201 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26202 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26203 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26204 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26205 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26206 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26207 .rlen = 496,
26208 .also_non_np = 1,
26209 .np = 3,
26210 .tap = { 496 - 20, 4, 16 },
26214 static const struct cipher_testvec cast5_cbc_enc_tv_template[] = {
26215 { /* Generated from TF test vectors */
26216 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26217 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26218 .klen = 16,
26219 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26220 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26221 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26222 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26223 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26224 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26225 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26226 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26227 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26228 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26229 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26230 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26231 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26232 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26233 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26234 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26235 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26236 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26237 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26238 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26239 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26240 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26241 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26242 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26243 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26244 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26245 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26246 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26247 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26248 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26249 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26250 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26251 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26252 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26253 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26254 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26255 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26256 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26257 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26258 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26259 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26260 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26261 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26262 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26263 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26264 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26265 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26266 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26267 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26268 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26269 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26270 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26271 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26272 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26273 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26274 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26275 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26276 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26277 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26278 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26279 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26280 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26281 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26282 .ilen = 496,
26283 .result = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26284 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26285 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26286 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26287 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26288 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26289 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26290 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26291 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26292 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26293 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26294 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26295 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26296 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26297 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26298 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26299 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26300 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26301 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26302 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26303 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26304 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26305 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26306 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26307 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26308 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26309 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26310 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26311 "\x90\x12\x37\x49\x27\x98\x69\x18"
26312 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26313 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26314 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26315 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26316 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26317 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26318 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26319 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26320 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26321 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26322 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26323 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26324 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26325 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26326 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26327 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26328 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26329 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26330 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26331 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26332 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26333 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26334 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26335 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26336 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26337 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26338 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26339 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26340 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26341 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26342 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26343 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26344 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26345 .rlen = 496,
26346 .also_non_np = 1,
26347 .np = 3,
26348 .tap = { 496 - 20, 4, 16 },
26352 static const struct cipher_testvec cast5_cbc_dec_tv_template[] = {
26353 { /* Generated from TF test vectors */
26354 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26355 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26356 .klen = 16,
26357 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26358 .input = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26359 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26360 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26361 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26362 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26363 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26364 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26365 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26366 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26367 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26368 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26369 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26370 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26371 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26372 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26373 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26374 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26375 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26376 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26377 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26378 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26379 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26380 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26381 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26382 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26383 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26384 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26385 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26386 "\x90\x12\x37\x49\x27\x98\x69\x18"
26387 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26388 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26389 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26390 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26391 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26392 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26393 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26394 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26395 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26396 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26397 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26398 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26399 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26400 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26401 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26402 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26403 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26404 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26405 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26406 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26407 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26408 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26409 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26410 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26411 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26412 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26413 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26414 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26415 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26416 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26417 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26418 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26419 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26420 .ilen = 496,
26421 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26422 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26423 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26424 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26425 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26426 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26427 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26428 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26429 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26430 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26431 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26432 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26433 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26434 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26435 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26436 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26437 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26438 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26439 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26440 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26441 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26442 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26443 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26444 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26445 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26446 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26447 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26448 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26449 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26450 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26451 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26452 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26453 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26454 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26455 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26456 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26457 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26458 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26459 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26460 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26461 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26462 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26463 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26464 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26465 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26466 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26467 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26468 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26469 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26470 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26471 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26472 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26473 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26474 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26475 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26476 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26477 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26478 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26479 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26480 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26481 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26482 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26483 .rlen = 496,
26484 .also_non_np = 1,
26485 .np = 3,
26486 .tap = { 496 - 20, 4, 16 },
26490 static const struct cipher_testvec cast5_ctr_enc_tv_template[] = {
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",
26499 .ilen = 17,
26500 .result = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26501 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26502 "\x0C",
26503 .rlen = 17,
26504 }, { /* Generated from TF test vectors */
26505 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26506 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26507 .klen = 16,
26508 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26509 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26510 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26511 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26512 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26513 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26514 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26515 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26516 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26517 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26518 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26519 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26520 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26521 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26522 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26523 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26524 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26525 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26526 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26527 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26528 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26529 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26530 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26531 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26532 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26533 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26534 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26535 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26536 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26537 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26538 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26539 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26540 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26541 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26542 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26543 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26544 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26545 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26546 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26547 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26548 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26549 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26550 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26551 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26552 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26553 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26554 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26555 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26556 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26557 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26558 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26559 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26560 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26561 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26562 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26563 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26564 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26565 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26566 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26567 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26568 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26569 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26570 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26571 .ilen = 496,
26572 .result = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26573 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26574 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26575 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26576 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26577 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26578 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26579 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26580 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26581 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26582 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26583 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26584 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26585 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26586 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26587 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26588 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26589 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26590 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26591 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26592 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26593 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26594 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26595 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26596 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26597 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26598 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26599 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26600 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26601 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26602 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26603 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26604 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26605 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26606 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26607 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26608 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26609 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26610 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26611 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26612 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26613 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26614 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26615 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26616 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26617 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26618 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26619 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26620 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26621 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26622 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26623 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26624 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26625 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26626 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26627 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26628 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26629 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26630 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26631 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26632 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26633 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26634 .rlen = 496,
26635 .also_non_np = 1,
26636 .np = 3,
26637 .tap = { 496 - 20, 4, 16 },
26641 static const struct cipher_testvec cast5_ctr_dec_tv_template[] = {
26642 { /* Generated from TF test vectors */
26643 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26644 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26645 .klen = 16,
26646 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26647 .input = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26648 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26649 "\x0C",
26650 .ilen = 17,
26651 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26652 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26653 "\x3A",
26654 .rlen = 17,
26655 }, { /* Generated from TF test vectors */
26656 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26657 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26658 .klen = 16,
26659 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26660 .input = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26661 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26662 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26663 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26664 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26665 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26666 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26667 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26668 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26669 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26670 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26671 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26672 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26673 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26674 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26675 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26676 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26677 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26678 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26679 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26680 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26681 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26682 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26683 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26684 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26685 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26686 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26687 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26688 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26689 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26690 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26691 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26692 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26693 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26694 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26695 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26696 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26697 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26698 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26699 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26700 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26701 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26702 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26703 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26704 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26705 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26706 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26707 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26708 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26709 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26710 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26711 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26712 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26713 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26714 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26715 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26716 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26717 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26718 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26719 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26720 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26721 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26722 .ilen = 496,
26723 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26724 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26725 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26726 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26727 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26728 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26729 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26730 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26731 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26732 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26733 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26734 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26735 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26736 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26737 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26738 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26739 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26740 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26741 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26742 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26743 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26744 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26745 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26746 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26747 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26748 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26749 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26750 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26751 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26752 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26753 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26754 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26755 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26756 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26757 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26758 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26759 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26760 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26761 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26762 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26763 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26764 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26765 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26766 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26767 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26768 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26769 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26770 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26771 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26772 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26773 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26774 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26775 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26776 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26777 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26778 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26779 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26780 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26781 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26782 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26783 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26784 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26785 .rlen = 496,
26786 .also_non_np = 1,
26787 .np = 3,
26788 .tap = { 496 - 20, 4, 16 },
26793 * ARC4 test vectors from OpenSSL
26795 static const struct cipher_testvec arc4_enc_tv_template[] = {
26797 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26798 .klen = 8,
26799 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26800 .ilen = 8,
26801 .result = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26802 .rlen = 8,
26803 }, {
26804 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26805 .klen = 8,
26806 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
26807 .ilen = 8,
26808 .result = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26809 .rlen = 8,
26810 }, {
26811 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
26812 .klen = 8,
26813 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
26814 .ilen = 8,
26815 .result = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26816 .rlen = 8,
26817 }, {
26818 .key = "\xef\x01\x23\x45",
26819 .klen = 4,
26820 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
26821 "\x00\x00\x00\x00\x00\x00\x00\x00"
26822 "\x00\x00\x00\x00",
26823 .ilen = 20,
26824 .result = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26825 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26826 "\x36\xb6\x78\x58",
26827 .rlen = 20,
26828 }, {
26829 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26830 .klen = 8,
26831 .input = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26832 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26833 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26834 "\x12\x34\x56\x78",
26835 .ilen = 28,
26836 .result = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26837 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26838 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26839 "\x40\x01\x1e\xcf",
26840 .rlen = 28,
26841 }, {
26842 .key = "\xef\x01\x23\x45",
26843 .klen = 4,
26844 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
26845 "\x00\x00",
26846 .ilen = 10,
26847 .result = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26848 "\xbd\x61",
26849 .rlen = 10,
26850 }, {
26851 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26852 "\x00\x00\x00\x00\x00\x00\x00\x00",
26853 .klen = 16,
26854 .input = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26855 .ilen = 8,
26856 .result = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26857 .rlen = 8,
26861 static const struct cipher_testvec arc4_dec_tv_template[] = {
26863 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26864 .klen = 8,
26865 .input = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26866 .ilen = 8,
26867 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26868 .rlen = 8,
26869 }, {
26870 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26871 .klen = 8,
26872 .input = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26873 .ilen = 8,
26874 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
26875 .rlen = 8,
26876 }, {
26877 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
26878 .klen = 8,
26879 .input = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26880 .ilen = 8,
26881 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
26882 .rlen = 8,
26883 }, {
26884 .key = "\xef\x01\x23\x45",
26885 .klen = 4,
26886 .input = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26887 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26888 "\x36\xb6\x78\x58",
26889 .ilen = 20,
26890 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
26891 "\x00\x00\x00\x00\x00\x00\x00\x00"
26892 "\x00\x00\x00\x00",
26893 .rlen = 20,
26894 }, {
26895 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26896 .klen = 8,
26897 .input = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26898 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26899 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26900 "\x40\x01\x1e\xcf",
26901 .ilen = 28,
26902 .result = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26903 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26904 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26905 "\x12\x34\x56\x78",
26906 .rlen = 28,
26907 }, {
26908 .key = "\xef\x01\x23\x45",
26909 .klen = 4,
26910 .input = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26911 "\xbd\x61",
26912 .ilen = 10,
26913 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
26914 "\x00\x00",
26915 .rlen = 10,
26916 }, {
26917 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26918 "\x00\x00\x00\x00\x00\x00\x00\x00",
26919 .klen = 16,
26920 .input = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26921 .ilen = 8,
26922 .result = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26923 .rlen = 8,
26928 * TEA test vectors
26930 static const struct cipher_testvec tea_enc_tv_template[] = {
26932 .key = zeroed_string,
26933 .klen = 16,
26934 .input = zeroed_string,
26935 .ilen = 8,
26936 .result = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26937 .rlen = 8,
26938 }, {
26939 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
26940 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26941 .klen = 16,
26942 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26943 .ilen = 8,
26944 .result = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26945 .rlen = 8,
26946 }, {
26947 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
26948 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26949 .klen = 16,
26950 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26951 "\x65\x73\x74\x5f\x76\x65\x63\x74",
26952 .ilen = 16,
26953 .result = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26954 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26955 .rlen = 16,
26956 }, {
26957 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26958 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26959 .klen = 16,
26960 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
26961 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26962 "\x79\x6f\x75\x21\x21\x21\x20\x72"
26963 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26964 .ilen = 32,
26965 .result = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26966 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26967 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26968 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26969 .rlen = 32,
26973 static const struct cipher_testvec tea_dec_tv_template[] = {
26975 .key = zeroed_string,
26976 .klen = 16,
26977 .input = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26978 .ilen = 8,
26979 .result = zeroed_string,
26980 .rlen = 8,
26981 }, {
26982 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
26983 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26984 .klen = 16,
26985 .input = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26986 .ilen = 8,
26987 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26988 .rlen = 8,
26989 }, {
26990 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
26991 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26992 .klen = 16,
26993 .input = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26994 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26995 .ilen = 16,
26996 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26997 "\x65\x73\x74\x5f\x76\x65\x63\x74",
26998 .rlen = 16,
26999 }, {
27000 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27001 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27002 .klen = 16,
27003 .input = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
27004 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
27005 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
27006 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
27007 .ilen = 32,
27008 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
27009 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27010 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27011 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27012 .rlen = 32,
27017 * XTEA test vectors
27019 static const struct cipher_testvec xtea_enc_tv_template[] = {
27021 .key = zeroed_string,
27022 .klen = 16,
27023 .input = zeroed_string,
27024 .ilen = 8,
27025 .result = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27026 .rlen = 8,
27027 }, {
27028 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
27029 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27030 .klen = 16,
27031 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27032 .ilen = 8,
27033 .result = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27034 .rlen = 8,
27035 }, {
27036 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
27037 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27038 .klen = 16,
27039 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27040 "\x65\x73\x74\x5f\x76\x65\x63\x74",
27041 .ilen = 16,
27042 .result = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27043 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27044 .rlen = 16,
27045 }, {
27046 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27047 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27048 .klen = 16,
27049 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
27050 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27051 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27052 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27053 .ilen = 32,
27054 .result = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27055 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27056 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27057 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27058 .rlen = 32,
27062 static const struct cipher_testvec xtea_dec_tv_template[] = {
27064 .key = zeroed_string,
27065 .klen = 16,
27066 .input = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27067 .ilen = 8,
27068 .result = zeroed_string,
27069 .rlen = 8,
27070 }, {
27071 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
27072 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27073 .klen = 16,
27074 .input = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27075 .ilen = 8,
27076 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27077 .rlen = 8,
27078 }, {
27079 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
27080 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27081 .klen = 16,
27082 .input = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27083 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27084 .ilen = 16,
27085 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27086 "\x65\x73\x74\x5f\x76\x65\x63\x74",
27087 .rlen = 16,
27088 }, {
27089 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27090 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27091 .klen = 16,
27092 .input = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27093 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27094 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27095 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27096 .ilen = 32,
27097 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
27098 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27099 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27100 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27101 .rlen = 32,
27106 * KHAZAD test vectors.
27108 static const struct cipher_testvec khazad_enc_tv_template[] = {
27110 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
27111 "\x00\x00\x00\x00\x00\x00\x00\x00",
27112 .klen = 16,
27113 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
27114 .ilen = 8,
27115 .result = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27116 .rlen = 8,
27117 }, {
27118 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
27119 "\x38\x38\x38\x38\x38\x38\x38\x38",
27120 .klen = 16,
27121 .input = "\x38\x38\x38\x38\x38\x38\x38\x38",
27122 .ilen = 8,
27123 .result = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27124 .rlen = 8,
27125 }, {
27126 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27127 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27128 .klen = 16,
27129 .input = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27130 .ilen = 8,
27131 .result = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27132 .rlen = 8,
27133 }, {
27134 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27135 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27136 .klen = 16,
27137 .input = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27138 .ilen = 8,
27139 .result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27140 .rlen = 8,
27141 }, {
27142 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27143 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27144 .klen = 16,
27145 .input = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27146 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27147 .ilen = 16,
27148 .result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27149 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27150 .rlen = 16,
27154 static const struct cipher_testvec khazad_dec_tv_template[] = {
27156 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
27157 "\x00\x00\x00\x00\x00\x00\x00\x00",
27158 .klen = 16,
27159 .input = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27160 .ilen = 8,
27161 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
27162 .rlen = 8,
27163 }, {
27164 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
27165 "\x38\x38\x38\x38\x38\x38\x38\x38",
27166 .klen = 16,
27167 .input = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27168 .ilen = 8,
27169 .result = "\x38\x38\x38\x38\x38\x38\x38\x38",
27170 .rlen = 8,
27171 }, {
27172 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27173 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27174 .klen = 16,
27175 .input = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27176 .ilen = 8,
27177 .result = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27178 .rlen = 8,
27179 }, {
27180 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27181 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27182 .klen = 16,
27183 .input = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27184 .ilen = 8,
27185 .result = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27186 .rlen = 8,
27187 }, {
27188 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27189 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27190 .klen = 16,
27191 .input = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27192 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27193 .ilen = 16,
27194 .result = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27195 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27196 .rlen = 16,
27201 * Anubis test vectors.
27204 static const struct cipher_testvec anubis_enc_tv_template[] = {
27206 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27207 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27208 .klen = 16,
27209 .input = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27210 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27211 .ilen = 16,
27212 .result = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27213 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27214 .rlen = 16,
27215 }, {
27217 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
27218 "\x03\x03\x03\x03\x03\x03\x03\x03"
27219 "\x03\x03\x03\x03",
27220 .klen = 20,
27221 .input = "\x03\x03\x03\x03\x03\x03\x03\x03"
27222 "\x03\x03\x03\x03\x03\x03\x03\x03",
27223 .ilen = 16,
27224 .result = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27225 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27226 .rlen = 16,
27227 }, {
27228 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
27229 "\x24\x24\x24\x24\x24\x24\x24\x24"
27230 "\x24\x24\x24\x24\x24\x24\x24\x24"
27231 "\x24\x24\x24\x24",
27232 .klen = 28,
27233 .input = "\x24\x24\x24\x24\x24\x24\x24\x24"
27234 "\x24\x24\x24\x24\x24\x24\x24\x24",
27235 .ilen = 16,
27236 .result = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27237 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27238 .rlen = 16,
27239 }, {
27240 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
27241 "\x25\x25\x25\x25\x25\x25\x25\x25"
27242 "\x25\x25\x25\x25\x25\x25\x25\x25"
27243 "\x25\x25\x25\x25\x25\x25\x25\x25",
27244 .klen = 32,
27245 .input = "\x25\x25\x25\x25\x25\x25\x25\x25"
27246 "\x25\x25\x25\x25\x25\x25\x25\x25",
27247 .ilen = 16,
27248 .result = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27249 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27250 .rlen = 16,
27251 }, {
27252 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27253 "\x35\x35\x35\x35\x35\x35\x35\x35"
27254 "\x35\x35\x35\x35\x35\x35\x35\x35"
27255 "\x35\x35\x35\x35\x35\x35\x35\x35"
27256 "\x35\x35\x35\x35\x35\x35\x35\x35",
27257 .klen = 40,
27258 .input = "\x35\x35\x35\x35\x35\x35\x35\x35"
27259 "\x35\x35\x35\x35\x35\x35\x35\x35",
27260 .ilen = 16,
27261 .result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27262 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27263 .rlen = 16,
27267 static const struct cipher_testvec anubis_dec_tv_template[] = {
27269 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27270 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27271 .klen = 16,
27272 .input = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27273 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27274 .ilen = 16,
27275 .result = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27276 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27277 .rlen = 16,
27278 }, {
27280 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
27281 "\x03\x03\x03\x03\x03\x03\x03\x03"
27282 "\x03\x03\x03\x03",
27283 .klen = 20,
27284 .input = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27285 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27286 .ilen = 16,
27287 .result = "\x03\x03\x03\x03\x03\x03\x03\x03"
27288 "\x03\x03\x03\x03\x03\x03\x03\x03",
27289 .rlen = 16,
27290 }, {
27291 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
27292 "\x24\x24\x24\x24\x24\x24\x24\x24"
27293 "\x24\x24\x24\x24\x24\x24\x24\x24"
27294 "\x24\x24\x24\x24",
27295 .klen = 28,
27296 .input = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27297 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27298 .ilen = 16,
27299 .result = "\x24\x24\x24\x24\x24\x24\x24\x24"
27300 "\x24\x24\x24\x24\x24\x24\x24\x24",
27301 .rlen = 16,
27302 }, {
27303 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
27304 "\x25\x25\x25\x25\x25\x25\x25\x25"
27305 "\x25\x25\x25\x25\x25\x25\x25\x25"
27306 "\x25\x25\x25\x25\x25\x25\x25\x25",
27307 .klen = 32,
27308 .input = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27309 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27310 .ilen = 16,
27311 .result = "\x25\x25\x25\x25\x25\x25\x25\x25"
27312 "\x25\x25\x25\x25\x25\x25\x25\x25",
27313 .rlen = 16,
27314 }, {
27315 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27316 "\x35\x35\x35\x35\x35\x35\x35\x35"
27317 "\x35\x35\x35\x35\x35\x35\x35\x35"
27318 "\x35\x35\x35\x35\x35\x35\x35\x35"
27319 "\x35\x35\x35\x35\x35\x35\x35\x35",
27320 .input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27321 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27322 .klen = 40,
27323 .ilen = 16,
27324 .result = "\x35\x35\x35\x35\x35\x35\x35\x35"
27325 "\x35\x35\x35\x35\x35\x35\x35\x35",
27326 .rlen = 16,
27330 static const struct cipher_testvec anubis_cbc_enc_tv_template[] = {
27332 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27333 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27334 .klen = 16,
27335 .input = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27336 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27337 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27338 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27339 .ilen = 32,
27340 .result = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27341 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27342 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27343 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27344 .rlen = 32,
27345 }, {
27346 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27347 "\x35\x35\x35\x35\x35\x35\x35\x35"
27348 "\x35\x35\x35\x35\x35\x35\x35\x35"
27349 "\x35\x35\x35\x35\x35\x35\x35\x35"
27350 "\x35\x35\x35\x35\x35\x35\x35\x35",
27351 .klen = 40,
27352 .input = "\x35\x35\x35\x35\x35\x35\x35\x35"
27353 "\x35\x35\x35\x35\x35\x35\x35\x35"
27354 "\x35\x35\x35\x35\x35\x35\x35\x35"
27355 "\x35\x35\x35\x35\x35\x35\x35\x35",
27356 .ilen = 32,
27357 .result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27358 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27359 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27360 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27361 .rlen = 32,
27365 static const struct cipher_testvec anubis_cbc_dec_tv_template[] = {
27367 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27368 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27369 .klen = 16,
27370 .input = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27371 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27372 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27373 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27374 .ilen = 32,
27375 .result = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27376 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27377 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27378 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27379 .rlen = 32,
27380 }, {
27381 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27382 "\x35\x35\x35\x35\x35\x35\x35\x35"
27383 "\x35\x35\x35\x35\x35\x35\x35\x35"
27384 "\x35\x35\x35\x35\x35\x35\x35\x35"
27385 "\x35\x35\x35\x35\x35\x35\x35\x35",
27386 .klen = 40,
27387 .input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27388 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27389 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27390 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27391 .ilen = 32,
27392 .result = "\x35\x35\x35\x35\x35\x35\x35\x35"
27393 "\x35\x35\x35\x35\x35\x35\x35\x35"
27394 "\x35\x35\x35\x35\x35\x35\x35\x35"
27395 "\x35\x35\x35\x35\x35\x35\x35\x35",
27396 .rlen = 32,
27401 * XETA test vectors
27403 static const struct cipher_testvec xeta_enc_tv_template[] = {
27405 .key = zeroed_string,
27406 .klen = 16,
27407 .input = zeroed_string,
27408 .ilen = 8,
27409 .result = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27410 .rlen = 8,
27411 }, {
27412 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
27413 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27414 .klen = 16,
27415 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27416 .ilen = 8,
27417 .result = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27418 .rlen = 8,
27419 }, {
27420 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
27421 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27422 .klen = 16,
27423 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27424 "\x65\x73\x74\x5f\x76\x65\x63\x74",
27425 .ilen = 16,
27426 .result = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27427 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27428 .rlen = 16,
27429 }, {
27430 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27431 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27432 .klen = 16,
27433 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
27434 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27435 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27436 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27437 .ilen = 32,
27438 .result = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27439 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27440 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27441 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27442 .rlen = 32,
27446 static const struct cipher_testvec xeta_dec_tv_template[] = {
27448 .key = zeroed_string,
27449 .klen = 16,
27450 .input = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27451 .ilen = 8,
27452 .result = zeroed_string,
27453 .rlen = 8,
27454 }, {
27455 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
27456 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27457 .klen = 16,
27458 .input = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27459 .ilen = 8,
27460 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27461 .rlen = 8,
27462 }, {
27463 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
27464 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27465 .klen = 16,
27466 .input = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27467 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27468 .ilen = 16,
27469 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27470 "\x65\x73\x74\x5f\x76\x65\x63\x74",
27471 .rlen = 16,
27472 }, {
27473 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27474 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27475 .klen = 16,
27476 .input = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27477 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27478 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27479 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27480 .ilen = 32,
27481 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
27482 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27483 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27484 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27485 .rlen = 32,
27490 * FCrypt test vectors
27492 static const struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
27493 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27494 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
27495 .klen = 8,
27496 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27497 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
27498 .ilen = 8,
27499 .result = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27500 .rlen = 8,
27501 }, {
27502 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27503 .klen = 8,
27504 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27505 .input = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27506 .ilen = 8,
27507 .result = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27508 .rlen = 8,
27509 }, { /* From Arla */
27510 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27511 .klen = 8,
27512 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27513 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
27514 .ilen = 48,
27515 .result = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27516 "\xee\xac\x98\x62\x44\x51\xe4\x84"
27517 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27518 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27519 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27520 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27521 .rlen = 48,
27522 }, {
27523 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27524 .klen = 8,
27525 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27526 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
27527 .ilen = 48,
27528 .result = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27529 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27530 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27531 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27532 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27533 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27534 .rlen = 48,
27535 }, { /* split-page version */
27536 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27537 .klen = 8,
27538 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27539 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
27540 .ilen = 48,
27541 .result = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27542 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27543 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27544 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27545 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27546 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27547 .rlen = 48,
27548 .np = 2,
27549 .tap = { 20, 28 },
27553 static const struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
27554 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27555 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
27556 .klen = 8,
27557 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27558 .input = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27559 .ilen = 8,
27560 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
27561 .rlen = 8,
27562 }, {
27563 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27564 .klen = 8,
27565 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27566 .input = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27567 .ilen = 8,
27568 .result = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27569 .rlen = 8,
27570 }, { /* From Arla */
27571 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27572 .klen = 8,
27573 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27574 .input = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27575 "\xee\xac\x98\x62\x44\x51\xe4\x84"
27576 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27577 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27578 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27579 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27580 .ilen = 48,
27581 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
27582 .rlen = 48,
27583 }, {
27584 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27585 .klen = 8,
27586 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27587 .input = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27588 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27589 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27590 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27591 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27592 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27593 .ilen = 48,
27594 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
27595 .rlen = 48,
27596 }, { /* split-page version */
27597 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27598 .klen = 8,
27599 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27600 .input = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27601 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27602 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27603 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27604 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27605 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27606 .ilen = 48,
27607 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
27608 .rlen = 48,
27609 .np = 2,
27610 .tap = { 20, 28 },
27615 * CAMELLIA test vectors.
27617 static const struct cipher_testvec camellia_enc_tv_template[] = {
27619 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27620 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27621 .klen = 16,
27622 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27623 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27624 .ilen = 16,
27625 .result = "\x67\x67\x31\x38\x54\x96\x69\x73"
27626 "\x08\x57\x06\x56\x48\xea\xbe\x43",
27627 .rlen = 16,
27628 }, {
27629 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27630 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27631 "\x00\x11\x22\x33\x44\x55\x66\x77",
27632 .klen = 24,
27633 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27634 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27635 .ilen = 16,
27636 .result = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27637 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27638 .rlen = 16,
27639 }, {
27640 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27641 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27642 "\x00\x11\x22\x33\x44\x55\x66\x77"
27643 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27644 .klen = 32,
27645 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27646 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27647 .ilen = 16,
27648 .result = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27649 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27650 .rlen = 16,
27651 }, { /* Generated with Crypto++ */
27652 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27653 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27654 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27655 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27656 .klen = 32,
27657 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27658 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27659 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27660 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27661 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27662 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27663 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27664 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27665 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27666 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27667 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27668 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27669 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27670 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27671 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27672 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27673 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27674 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27675 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27676 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27677 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27678 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27679 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27680 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27681 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27682 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27683 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27684 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27685 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27686 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27687 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27688 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27689 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27690 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27691 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27692 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27693 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27694 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27695 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27696 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27697 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27698 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27699 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27700 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27701 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27702 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27703 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27704 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27705 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27706 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27707 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27708 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27709 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27710 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27711 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27712 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27713 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27714 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27715 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27716 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27717 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27718 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27719 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27720 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27721 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27722 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27723 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27724 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27725 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27726 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27727 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27728 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27729 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27730 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27731 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27732 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27733 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27734 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27735 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27736 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27737 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27738 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27739 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27740 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27741 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27742 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27743 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27744 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27745 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27746 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27747 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27748 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27749 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27750 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27751 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27752 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27753 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27754 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27755 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27756 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27757 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27758 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27759 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27760 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27761 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27762 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27763 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27764 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27765 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27766 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27767 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27768 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27769 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27770 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27771 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27772 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27773 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27774 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27775 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27776 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27777 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27778 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27779 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27780 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27781 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27782 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27783 .ilen = 1008,
27784 .result = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27785 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27786 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27787 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27788 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27789 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27790 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27791 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27792 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27793 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27794 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27795 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27796 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27797 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27798 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27799 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27800 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27801 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27802 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27803 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27804 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27805 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27806 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27807 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27808 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27809 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27810 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27811 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27812 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27813 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27814 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27815 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27816 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27817 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27818 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27819 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27820 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27821 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27822 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27823 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27824 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27825 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27826 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27827 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27828 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27829 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27830 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27831 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27832 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27833 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27834 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27835 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27836 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27837 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27838 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27839 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27840 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27841 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27842 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27843 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27844 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27845 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27846 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27847 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27848 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27849 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27850 "\xED\x28\x39\xE9\x63\xED\x41\x70"
27851 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27852 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27853 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27854 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27855 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27856 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27857 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27858 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27859 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27860 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27861 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27862 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27863 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27864 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27865 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27866 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27867 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27868 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27869 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27870 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27871 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27872 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27873 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27874 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27875 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27876 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27877 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27878 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27879 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27880 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27881 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27882 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27883 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27884 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27885 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27886 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27887 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27888 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27889 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27890 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27891 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27892 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27893 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27894 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27895 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27896 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27897 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27898 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27899 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27900 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27901 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27902 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27903 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27904 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27905 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27906 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27907 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27908 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27909 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27910 .rlen = 1008,
27911 .also_non_np = 1,
27912 .np = 3,
27913 .tap = { 1008 - 20, 4, 16 },
27917 static const struct cipher_testvec camellia_dec_tv_template[] = {
27919 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27920 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27921 .klen = 16,
27922 .input = "\x67\x67\x31\x38\x54\x96\x69\x73"
27923 "\x08\x57\x06\x56\x48\xea\xbe\x43",
27924 .ilen = 16,
27925 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27926 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27927 .rlen = 16,
27928 }, {
27929 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27930 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27931 "\x00\x11\x22\x33\x44\x55\x66\x77",
27932 .klen = 24,
27933 .input = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27934 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27935 .ilen = 16,
27936 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27937 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27938 .rlen = 16,
27939 }, {
27940 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27941 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27942 "\x00\x11\x22\x33\x44\x55\x66\x77"
27943 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27944 .klen = 32,
27945 .input = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27946 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27947 .ilen = 16,
27948 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27949 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27950 .rlen = 16,
27951 }, { /* Generated with Crypto++ */
27952 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27953 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27954 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27955 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27956 .klen = 32,
27957 .input = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27958 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27959 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27960 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27961 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27962 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27963 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27964 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27965 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27966 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27967 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27968 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27969 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27970 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27971 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27972 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27973 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27974 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27975 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27976 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27977 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27978 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27979 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27980 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27981 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27982 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27983 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27984 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27985 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27986 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27987 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27988 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27989 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27990 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27991 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27992 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27993 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27994 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27995 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27996 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27997 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27998 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27999 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
28000 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
28001 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
28002 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
28003 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
28004 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
28005 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
28006 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
28007 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
28008 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
28009 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
28010 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
28011 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
28012 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
28013 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
28014 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
28015 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
28016 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
28017 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
28018 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
28019 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
28020 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
28021 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
28022 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
28023 "\xED\x28\x39\xE9\x63\xED\x41\x70"
28024 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
28025 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
28026 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
28027 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
28028 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
28029 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
28030 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
28031 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
28032 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
28033 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
28034 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
28035 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
28036 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
28037 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
28038 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
28039 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
28040 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
28041 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
28042 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
28043 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
28044 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
28045 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
28046 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
28047 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
28048 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
28049 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
28050 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
28051 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
28052 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
28053 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
28054 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
28055 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
28056 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
28057 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
28058 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
28059 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
28060 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
28061 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
28062 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
28063 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
28064 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
28065 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
28066 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
28067 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
28068 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
28069 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
28070 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
28071 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
28072 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
28073 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
28074 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
28075 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
28076 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
28077 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
28078 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
28079 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
28080 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
28081 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
28082 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
28083 .ilen = 1008,
28084 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28085 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28086 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28087 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28088 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28089 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28090 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28091 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28092 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28093 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28094 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28095 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28096 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28097 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28098 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28099 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28100 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28101 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28102 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28103 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28104 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28105 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28106 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28107 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28108 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28109 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28110 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28111 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28112 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28113 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28114 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28115 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28116 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28117 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28118 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28119 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28120 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28121 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28122 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28123 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28124 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28125 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28126 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28127 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28128 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28129 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28130 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28131 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28132 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28133 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28134 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28135 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28136 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28137 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28138 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28139 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28140 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28141 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28142 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28143 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28144 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28145 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28146 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28147 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28148 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28149 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28150 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28151 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28152 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28153 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28154 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28155 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28156 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28157 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28158 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28159 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28160 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28161 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28162 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28163 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28164 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28165 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28166 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28167 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28168 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28169 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28170 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28171 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28172 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28173 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28174 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28175 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28176 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28177 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28178 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28179 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28180 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28181 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28182 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28183 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28184 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28185 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28186 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28187 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28188 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28189 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28190 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28191 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28192 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28193 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28194 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28195 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28196 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28197 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28198 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28199 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28200 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28201 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28202 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28203 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28204 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28205 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28206 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28207 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28208 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28209 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28210 .rlen = 1008,
28211 .also_non_np = 1,
28212 .np = 3,
28213 .tap = { 1008 - 20, 4, 16 },
28217 static const struct cipher_testvec camellia_cbc_enc_tv_template[] = {
28219 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28220 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28221 .klen = 16,
28222 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28223 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28224 .input = "Single block msg",
28225 .ilen = 16,
28226 .result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28227 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28228 .rlen = 16,
28229 }, {
28230 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28231 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28232 .klen = 16,
28233 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28234 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28235 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
28236 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28237 "\x10\x11\x12\x13\x14\x15\x16\x17"
28238 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28239 .ilen = 32,
28240 .result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28241 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28242 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28243 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28244 .rlen = 32,
28245 }, { /* Generated with Crypto++ */
28246 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28247 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28248 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28249 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28250 .klen = 32,
28251 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28252 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28253 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28254 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28255 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28256 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28257 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28258 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28259 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28260 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28261 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28262 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28263 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28264 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28265 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28266 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28267 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28268 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28269 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28270 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28271 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28272 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28273 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28274 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28275 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28276 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28277 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28278 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28279 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28280 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28281 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28282 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28283 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28284 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28285 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28286 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28287 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28288 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28289 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28290 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28291 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28292 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28293 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28294 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28295 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28296 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28297 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28298 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28299 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28300 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28301 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28302 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28303 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28304 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28305 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28306 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28307 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28308 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28309 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28310 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28311 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28312 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28313 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28314 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28315 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28316 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28317 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28318 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28319 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28320 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28321 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28322 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28323 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28324 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28325 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28326 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28327 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28328 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28329 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28330 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28331 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28332 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28333 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28334 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28335 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28336 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28337 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28338 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28339 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28340 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28341 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28342 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28343 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28344 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28345 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28346 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28347 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28348 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28349 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28350 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28351 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28352 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28353 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28354 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28355 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28356 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28357 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28358 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28359 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28360 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28361 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28362 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28363 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28364 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28365 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28366 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28367 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28368 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28369 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28370 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28371 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28372 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28373 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28374 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28375 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28376 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28377 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28378 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28379 .ilen = 1008,
28380 .result = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28381 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28382 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28383 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28384 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28385 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28386 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28387 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28388 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28389 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28390 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28391 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28392 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28393 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28394 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28395 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28396 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28397 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28398 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28399 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28400 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28401 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28402 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28403 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28404 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28405 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28406 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28407 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28408 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28409 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28410 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28411 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28412 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28413 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28414 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28415 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28416 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28417 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28418 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28419 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28420 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28421 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28422 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28423 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28424 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28425 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28426 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28427 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28428 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28429 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28430 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28431 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28432 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28433 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28434 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28435 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28436 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28437 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28438 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28439 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28440 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28441 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28442 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28443 "\x21\x41\x56\x72\x13\xE1\x86\x07"
28444 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28445 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28446 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28447 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28448 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28449 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28450 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28451 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28452 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28453 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28454 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28455 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28456 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28457 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28458 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28459 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28460 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28461 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28462 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28463 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28464 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28465 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28466 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28467 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28468 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28469 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28470 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28471 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28472 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28473 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28474 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28475 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28476 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28477 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28478 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28479 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28480 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28481 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28482 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28483 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28484 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28485 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28486 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28487 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28488 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28489 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28490 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28491 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28492 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28493 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28494 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28495 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28496 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28497 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28498 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28499 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28500 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28501 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28502 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28503 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28504 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28505 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28506 .rlen = 1008,
28507 .also_non_np = 1,
28508 .np = 3,
28509 .tap = { 1008 - 20, 4, 16 },
28513 static const struct cipher_testvec camellia_cbc_dec_tv_template[] = {
28515 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28516 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28517 .klen = 16,
28518 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28519 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28520 .input = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28521 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28522 .ilen = 16,
28523 .result = "Single block msg",
28524 .rlen = 16,
28525 }, {
28526 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28527 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28528 .klen = 16,
28529 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28530 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28531 .input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28532 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28533 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28534 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28535 .ilen = 32,
28536 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
28537 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28538 "\x10\x11\x12\x13\x14\x15\x16\x17"
28539 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28540 .rlen = 32,
28541 }, { /* Generated with Crypto++ */
28542 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28543 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28544 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28545 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28546 .klen = 32,
28547 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28548 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28549 .input = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28550 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28551 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28552 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28553 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28554 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28555 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28556 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28557 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28558 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28559 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28560 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28561 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28562 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28563 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28564 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28565 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28566 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28567 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28568 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28569 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28570 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28571 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28572 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28573 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28574 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28575 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28576 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28577 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28578 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28579 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28580 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28581 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28582 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28583 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28584 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28585 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28586 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28587 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28588 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28589 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28590 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28591 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28592 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28593 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28594 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28595 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28596 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28597 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28598 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28599 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28600 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28601 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28602 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28603 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28604 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28605 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28606 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28607 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28608 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28609 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28610 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28611 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28612 "\x21\x41\x56\x72\x13\xE1\x86\x07"
28613 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28614 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28615 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28616 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28617 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28618 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28619 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28620 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28621 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28622 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28623 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28624 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28625 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28626 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28627 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28628 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28629 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28630 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28631 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28632 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28633 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28634 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28635 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28636 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28637 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28638 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28639 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28640 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28641 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28642 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28643 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28644 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28645 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28646 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28647 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28648 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28649 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28650 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28651 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28652 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28653 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28654 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28655 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28656 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28657 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28658 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28659 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28660 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28661 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28662 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28663 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28664 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28665 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28666 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28667 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28668 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28669 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28670 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28671 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28672 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28673 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28674 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28675 .ilen = 1008,
28676 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28677 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28678 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28679 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28680 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28681 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28682 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28683 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28684 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28685 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28686 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28687 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28688 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28689 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28690 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28691 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28692 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28693 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28694 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28695 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28696 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28697 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28698 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28699 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28700 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28701 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28702 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28703 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28704 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28705 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28706 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28707 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28708 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28709 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28710 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28711 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28712 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28713 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28714 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28715 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28716 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28717 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28718 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28719 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28720 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28721 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28722 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28723 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28724 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28725 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28726 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28727 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28728 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28729 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28730 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28731 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28732 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28733 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28734 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28735 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28736 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28737 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28738 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28739 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28740 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28741 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28742 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28743 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28744 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28745 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28746 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28747 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28748 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28749 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28750 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28751 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28752 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28753 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28754 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28755 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28756 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28757 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28758 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28759 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28760 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28761 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28762 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28763 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28764 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28765 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28766 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28767 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28768 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28769 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28770 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28771 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28772 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28773 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28774 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28775 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28776 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28777 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28778 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28779 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28780 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28781 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28782 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28783 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28784 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28785 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28786 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28787 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28788 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28789 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28790 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28791 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28792 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28793 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28794 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28795 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28796 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28797 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28798 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28799 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28800 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28801 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28802 .rlen = 1008,
28803 .also_non_np = 1,
28804 .np = 3,
28805 .tap = { 1008 - 20, 4, 16 },
28809 static const struct cipher_testvec camellia_ctr_enc_tv_template[] = {
28810 { /* Generated with Crypto++ */
28811 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28812 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28813 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28814 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28815 .klen = 32,
28816 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28817 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28818 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28819 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28820 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28821 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28822 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28823 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28824 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28825 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28826 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28827 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28828 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28829 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28830 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28831 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28832 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28833 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28834 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28835 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28836 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28837 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28838 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28839 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28840 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28841 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28842 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28843 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28844 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28845 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28846 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28847 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28848 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28849 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28850 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28851 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28852 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28853 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28854 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28855 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28856 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28857 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28858 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28859 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28860 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28861 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28862 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28863 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28864 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28865 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28866 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28867 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28868 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28869 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28870 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28871 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28872 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28873 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28874 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28875 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28876 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28877 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28878 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28879 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
28880 .ilen = 496,
28881 .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28882 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28883 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28884 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28885 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28886 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28887 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28888 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28889 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28890 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28891 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28892 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28893 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28894 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28895 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28896 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28897 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28898 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28899 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28900 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28901 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28902 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28903 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28904 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28905 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28906 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28907 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28908 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28909 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28910 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28911 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28912 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28913 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28914 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28915 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28916 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28917 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28918 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28919 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28920 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28921 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28922 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28923 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28924 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28925 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28926 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28927 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28928 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28929 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28930 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28931 "\x76\x44\x45\xF3\x24\x11\x57\x98"
28932 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28933 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28934 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28935 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28936 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28937 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28938 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28939 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28940 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28941 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28942 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
28943 .rlen = 496,
28944 }, { /* Generated with Crypto++ */
28945 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28946 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28947 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28948 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28949 .klen = 32,
28950 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28951 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28952 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28953 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28954 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28955 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28956 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28957 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28958 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28959 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28960 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28961 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28962 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28963 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28964 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28965 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28966 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28967 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28968 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28969 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28970 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28971 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28972 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28973 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28974 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28975 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28976 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28977 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28978 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28979 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28980 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28981 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28982 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28983 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28984 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28985 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28986 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28987 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28988 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28989 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28990 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28991 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28992 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28993 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28994 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28995 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28996 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28997 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28998 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28999 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29000 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29001 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29002 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29003 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29004 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29005 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29006 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29007 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29008 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29009 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29010 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29011 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29012 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29013 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29014 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29015 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29016 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29017 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29018 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29019 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29020 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29021 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29022 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29023 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29024 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29025 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29026 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29027 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29028 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29029 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29030 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29031 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29032 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29033 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29034 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29035 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29036 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29037 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29038 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29039 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29040 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29041 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29042 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29043 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29044 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29045 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29046 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29047 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29048 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29049 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29050 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29051 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29052 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29053 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29054 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29055 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29056 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29057 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29058 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29059 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29060 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29061 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29062 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29063 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29064 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29065 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29066 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29067 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29068 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29069 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29070 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29071 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29072 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29073 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29074 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29075 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29076 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29077 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29078 "\xE4\x7B\x12",
29079 .ilen = 1011,
29080 .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29081 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29082 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29083 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29084 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29085 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29086 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29087 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29088 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29089 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29090 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29091 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29092 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29093 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29094 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29095 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29096 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29097 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29098 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29099 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29100 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29101 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29102 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29103 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29104 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29105 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29106 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29107 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29108 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29109 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29110 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29111 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29112 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29113 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29114 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29115 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29116 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29117 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29118 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29119 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29120 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29121 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29122 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29123 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29124 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29125 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29126 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29127 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29128 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29129 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29130 "\x76\x44\x45\xF3\x24\x11\x57\x98"
29131 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29132 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29133 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29134 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29135 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29136 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29137 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29138 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29139 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29140 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29141 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29142 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29143 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29144 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29145 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29146 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29147 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29148 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29149 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29150 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29151 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29152 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29153 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29154 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29155 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29156 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29157 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29158 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29159 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29160 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29161 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29162 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29163 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29164 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29165 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29166 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29167 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29168 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29169 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29170 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29171 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29172 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29173 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29174 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29175 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29176 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29177 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29178 "\x00\x70\x12\x56\x56\x50\xAD\x14"
29179 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29180 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29181 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29182 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29183 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29184 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29185 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29186 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29187 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29188 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29189 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29190 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29191 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29192 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29193 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29194 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29195 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29196 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29197 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29198 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29199 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29200 "\x74\x28\x9D\x05\x30\x20\x62\x41"
29201 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29202 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29203 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29204 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29205 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29206 "\xF1\x6B\xD9",
29207 .rlen = 1011,
29208 .also_non_np = 1,
29209 .np = 2,
29210 .tap = { 1011 - 16, 16 },
29211 }, { /* Generated with Crypto++ */
29212 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29213 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29214 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29215 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29216 .klen = 32,
29217 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29218 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29219 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29220 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29221 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29222 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29223 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29224 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29225 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29226 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29227 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29228 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29229 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29230 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29231 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29232 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29233 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29234 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29235 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29236 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29237 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29238 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29239 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29240 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29241 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29242 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29243 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29244 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29245 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29246 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29247 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29248 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29249 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29250 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29251 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29252 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29253 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29254 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29255 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29256 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29257 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29258 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29259 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29260 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29261 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29262 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29263 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29264 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29265 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29266 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29267 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29268 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29269 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29270 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29271 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29272 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29273 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29274 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29275 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29276 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29277 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29278 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29279 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29280 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29281 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29282 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29283 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29284 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29285 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29286 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29287 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29288 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29289 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29290 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29291 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29292 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29293 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29294 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29295 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29296 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29297 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29298 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29299 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29300 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29301 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29302 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29303 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29304 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29305 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29306 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29307 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29308 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29309 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29310 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29311 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29312 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29313 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29314 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29315 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29316 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29317 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29318 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29319 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29320 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29321 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29322 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29323 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29324 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29325 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29326 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29327 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29328 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29329 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29330 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29331 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29332 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29333 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29334 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29335 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29336 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29337 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29338 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29339 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29340 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29341 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29342 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29343 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29344 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29345 .ilen = 1008,
29346 .result = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29347 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29348 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29349 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29350 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29351 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29352 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29353 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29354 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29355 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29356 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29357 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29358 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29359 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29360 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29361 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29362 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29363 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29364 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29365 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29366 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29367 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29368 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29369 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29370 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29371 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29372 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29373 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29374 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29375 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29376 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29377 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29378 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29379 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29380 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29381 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29382 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29383 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29384 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29385 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29386 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29387 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29388 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29389 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29390 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29391 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29392 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29393 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29394 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29395 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29396 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29397 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29398 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29399 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29400 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29401 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29402 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29403 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29404 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29405 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29406 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29407 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29408 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29409 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29410 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29411 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29412 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29413 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29414 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29415 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29416 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29417 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29418 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29419 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29420 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29421 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29422 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29423 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29424 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29425 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29426 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29427 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29428 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29429 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29430 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29431 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29432 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29433 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29434 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29435 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29436 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29437 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29438 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29439 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29440 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29441 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29442 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29443 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29444 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29445 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29446 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29447 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29448 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29449 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29450 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29451 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29452 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29453 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29454 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29455 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29456 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29457 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29458 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29459 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29460 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29461 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29462 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29463 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29464 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29465 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29466 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29467 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29468 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29469 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29470 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29471 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29472 .rlen = 1008,
29476 static const struct cipher_testvec camellia_ctr_dec_tv_template[] = {
29477 { /* Generated with Crypto++ */
29478 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29479 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29480 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29481 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29482 .klen = 32,
29483 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29484 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29485 .input = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29486 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29487 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29488 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29489 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29490 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29491 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29492 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29493 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29494 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29495 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29496 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29497 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29498 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29499 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29500 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29501 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29502 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29503 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29504 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29505 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29506 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29507 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29508 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29509 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29510 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29511 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29512 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29513 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29514 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29515 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29516 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29517 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29518 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29519 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29520 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29521 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29522 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29523 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29524 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29525 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29526 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29527 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29528 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29529 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29530 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29531 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29532 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29533 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29534 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29535 "\x76\x44\x45\xF3\x24\x11\x57\x98"
29536 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29537 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29538 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29539 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29540 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29541 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29542 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29543 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29544 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29545 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29546 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
29547 .ilen = 496,
29548 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29549 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29550 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29551 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29552 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29553 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29554 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29555 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29556 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29557 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29558 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29559 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29560 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29561 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29562 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29563 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29564 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29565 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29566 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29567 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29568 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29569 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29570 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29571 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29572 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29573 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29574 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29575 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29576 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29577 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29578 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29579 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29580 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29581 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29582 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29583 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29584 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29585 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29586 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29587 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29588 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29589 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29590 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29591 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29592 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29593 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29594 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29595 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29596 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29597 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29598 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29599 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29600 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29601 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29602 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29603 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29604 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29605 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29606 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29607 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29608 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29609 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
29610 .rlen = 496,
29611 }, { /* Generated with Crypto++ */
29612 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29613 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29614 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29615 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29616 .klen = 32,
29617 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29618 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29619 .input = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29620 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29621 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29622 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29623 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29624 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29625 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29626 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29627 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29628 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29629 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29630 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29631 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29632 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29633 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29634 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29635 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29636 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29637 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29638 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29639 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29640 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29641 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29642 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29643 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29644 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29645 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29646 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29647 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29648 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29649 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29650 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29651 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29652 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29653 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29654 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29655 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29656 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29657 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29658 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29659 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29660 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29661 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29662 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29663 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29664 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29665 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29666 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29667 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29668 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29669 "\x76\x44\x45\xF3\x24\x11\x57\x98"
29670 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29671 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29672 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29673 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29674 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29675 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29676 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29677 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29678 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29679 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29680 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29681 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29682 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29683 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29684 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29685 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29686 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29687 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29688 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29689 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29690 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29691 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29692 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29693 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29694 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29695 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29696 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29697 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29698 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29699 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29700 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29701 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29702 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29703 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29704 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29705 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29706 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29707 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29708 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29709 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29710 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29711 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29712 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29713 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29714 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29715 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29716 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29717 "\x00\x70\x12\x56\x56\x50\xAD\x14"
29718 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29719 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29720 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29721 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29722 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29723 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29724 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29725 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29726 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29727 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29728 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29729 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29730 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29731 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29732 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29733 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29734 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29735 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29736 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29737 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29738 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29739 "\x74\x28\x9D\x05\x30\x20\x62\x41"
29740 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29741 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29742 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29743 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29744 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29745 "\xF1\x6B\xD9",
29746 .ilen = 1011,
29747 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29748 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29749 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29750 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29751 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29752 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29753 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29754 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29755 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29756 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29757 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29758 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29759 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29760 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29761 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29762 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29763 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29764 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29765 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29766 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29767 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29768 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29769 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29770 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29771 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29772 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29773 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29774 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29775 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29776 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29777 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29778 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29779 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29780 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29781 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29782 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29783 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29784 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29785 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29786 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29787 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29788 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29789 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29790 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29791 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29792 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29793 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29794 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29795 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29796 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29797 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29798 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29799 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29800 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29801 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29802 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29803 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29804 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29805 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29806 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29807 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29808 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29809 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29810 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29811 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29812 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29813 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29814 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29815 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29816 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29817 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29818 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29819 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29820 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29821 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29822 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29823 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29824 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29825 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29826 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29827 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29828 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29829 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29830 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29831 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29832 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29833 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29834 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29835 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29836 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29837 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29838 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29839 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29840 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29841 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29842 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29843 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29844 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29845 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29846 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29847 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29848 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29849 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29850 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29851 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29852 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29853 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29854 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29855 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29856 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29857 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29858 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29859 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29860 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29861 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29862 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29863 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29864 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29865 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29866 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29867 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29868 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29869 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29870 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29871 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29872 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29873 "\xE4\x7B\x12",
29874 .rlen = 1011,
29875 .also_non_np = 1,
29876 .np = 2,
29877 .tap = { 1011 - 16, 16 },
29878 }, { /* Generated with Crypto++ */
29879 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29880 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29881 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29882 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29883 .klen = 32,
29884 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29885 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29886 .input = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29887 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29888 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29889 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29890 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29891 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29892 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29893 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29894 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29895 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29896 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29897 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29898 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29899 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29900 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29901 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29902 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29903 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29904 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29905 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29906 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29907 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29908 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29909 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29910 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29911 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29912 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29913 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29914 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29915 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29916 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29917 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29918 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29919 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29920 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29921 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29922 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29923 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29924 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29925 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29926 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29927 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29928 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29929 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29930 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29931 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29932 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29933 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29934 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29935 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29936 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29937 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29938 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29939 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29940 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29941 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29942 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29943 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29944 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29945 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29946 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29947 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29948 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29949 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29950 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29951 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29952 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29953 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29954 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29955 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29956 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29957 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29958 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29959 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29960 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29961 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29962 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29963 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29964 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29965 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29966 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29967 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29968 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29969 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29970 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29971 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29972 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29973 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29974 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29975 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29976 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29977 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29978 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29979 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29980 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29981 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29982 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29983 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29984 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29985 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29986 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29987 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29988 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29989 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29990 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29991 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29992 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29993 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29994 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29995 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29996 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29997 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29998 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29999 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
30000 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
30001 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
30002 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
30003 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
30004 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
30005 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
30006 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
30007 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
30008 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
30009 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
30010 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
30011 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
30012 .ilen = 1008,
30013 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
30014 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
30015 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
30016 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
30017 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
30018 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
30019 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
30020 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
30021 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
30022 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
30023 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
30024 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
30025 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
30026 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
30027 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
30028 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
30029 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
30030 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
30031 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
30032 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
30033 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
30034 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
30035 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
30036 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
30037 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
30038 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
30039 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
30040 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
30041 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30042 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30043 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30044 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30045 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30046 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30047 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30048 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30049 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30050 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30051 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30052 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30053 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30054 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30055 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30056 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30057 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30058 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30059 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30060 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30061 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30062 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30063 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30064 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30065 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30066 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30067 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30068 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30069 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30070 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30071 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30072 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30073 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30074 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
30075 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
30076 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
30077 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
30078 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
30079 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
30080 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
30081 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
30082 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
30083 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
30084 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
30085 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
30086 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
30087 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
30088 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
30089 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
30090 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
30091 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
30092 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
30093 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
30094 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
30095 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
30096 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
30097 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
30098 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
30099 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
30100 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
30101 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
30102 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
30103 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
30104 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
30105 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
30106 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
30107 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
30108 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
30109 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
30110 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
30111 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
30112 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
30113 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
30114 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
30115 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
30116 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
30117 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
30118 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
30119 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
30120 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
30121 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
30122 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
30123 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
30124 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
30125 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
30126 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
30127 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
30128 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
30129 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
30130 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
30131 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
30132 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
30133 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
30134 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
30135 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
30136 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
30137 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
30138 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
30139 .rlen = 1008,
30143 static const struct cipher_testvec camellia_lrw_enc_tv_template[] = {
30144 /* Generated from AES-LRW test vectors */
30146 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30147 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30148 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30149 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30150 .klen = 32,
30151 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30152 "\x00\x00\x00\x00\x00\x00\x00\x01",
30153 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30154 "\x38\x39\x41\x42\x43\x44\x45\x46",
30155 .ilen = 16,
30156 .result = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30157 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30158 .rlen = 16,
30159 }, {
30160 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30161 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30162 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30163 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30164 .klen = 32,
30165 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30166 "\x00\x00\x00\x00\x00\x00\x00\x02",
30167 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30168 "\x38\x39\x41\x42\x43\x44\x45\x46",
30169 .ilen = 16,
30170 .result = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30171 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30172 .rlen = 16,
30173 }, {
30174 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30175 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30176 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30177 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30178 .klen = 32,
30179 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30180 "\x00\x00\x00\x02\x00\x00\x00\x00",
30181 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30182 "\x38\x39\x41\x42\x43\x44\x45\x46",
30183 .ilen = 16,
30184 .result = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30185 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30186 .rlen = 16,
30187 }, {
30188 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30189 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30190 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30191 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30192 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30193 .klen = 40,
30194 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30195 "\x00\x00\x00\x00\x00\x00\x00\x01",
30196 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30197 "\x38\x39\x41\x42\x43\x44\x45\x46",
30198 .ilen = 16,
30199 .result = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30200 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30201 .rlen = 16,
30202 }, {
30203 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30204 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30205 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30206 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30207 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30208 .klen = 40,
30209 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30210 "\x00\x00\x00\x02\x00\x00\x00\x00",
30211 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30212 "\x38\x39\x41\x42\x43\x44\x45\x46",
30213 .ilen = 16,
30214 .result = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30215 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30216 .rlen = 16,
30217 }, {
30218 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30219 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30220 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30221 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30222 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30223 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30224 .klen = 48,
30225 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30226 "\x00\x00\x00\x00\x00\x00\x00\x01",
30227 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30228 "\x38\x39\x41\x42\x43\x44\x45\x46",
30229 .ilen = 16,
30230 .result = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30231 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30232 .rlen = 16,
30233 }, {
30234 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30235 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30236 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30237 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30238 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30239 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30240 .klen = 48,
30241 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30242 "\x00\x00\x00\x02\x00\x00\x00\x00",
30243 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
30244 "\x38\x39\x41\x42\x43\x44\x45\x46",
30245 .ilen = 16,
30246 .result = "\x04\xab\x28\x37\x31\x7a\x26\xab"
30247 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30248 .rlen = 16,
30249 }, {
30250 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30251 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30252 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30253 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30254 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30255 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30256 .klen = 48,
30257 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30258 "\x00\x00\x00\x00\x00\x00\x00\x01",
30259 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30260 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30261 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30262 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30263 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30264 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30265 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30266 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30267 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30268 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30269 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30270 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30271 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30272 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30273 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30274 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30275 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30276 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30277 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30278 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30279 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30280 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30281 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30282 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30283 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30284 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30285 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30286 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30287 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30288 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30289 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30290 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30291 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30292 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30293 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30294 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30295 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30296 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30297 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30298 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30299 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30300 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30301 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30302 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30303 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30304 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30305 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30306 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30307 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30308 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30309 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30310 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30311 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30312 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30313 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30314 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30315 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30316 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30317 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30318 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30319 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30320 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30321 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30322 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30323 .ilen = 512,
30324 .result = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30325 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30326 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30327 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30328 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30329 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30330 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30331 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30332 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30333 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30334 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30335 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30336 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30337 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30338 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30339 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30340 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30341 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30342 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30343 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30344 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30345 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30346 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30347 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30348 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30349 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30350 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30351 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30352 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30353 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30354 "\xed\x14\xa9\x57\x19\x63\x40\x04"
30355 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30356 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30357 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30358 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30359 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30360 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30361 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30362 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30363 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30364 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30365 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30366 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30367 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30368 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30369 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30370 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30371 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30372 "\x35\xa5\x83\x04\x84\x01\x99\x56"
30373 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30374 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30375 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30376 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30377 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30378 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30379 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30380 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30381 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30382 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30383 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30384 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30385 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30386 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30387 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30388 .rlen = 512,
30389 .also_non_np = 1,
30390 .np = 3,
30391 .tap = { 512 - 20, 4, 16 },
30395 static const struct cipher_testvec camellia_lrw_dec_tv_template[] = {
30396 /* Generated from AES-LRW test vectors */
30397 /* same as enc vectors with input and result reversed */
30399 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30400 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30401 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30402 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30403 .klen = 32,
30404 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30405 "\x00\x00\x00\x00\x00\x00\x00\x01",
30406 .input = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30407 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30408 .ilen = 16,
30409 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30410 "\x38\x39\x41\x42\x43\x44\x45\x46",
30411 .rlen = 16,
30412 }, {
30413 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30414 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30415 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30416 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30417 .klen = 32,
30418 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30419 "\x00\x00\x00\x00\x00\x00\x00\x02",
30420 .input = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30421 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30422 .ilen = 16,
30423 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30424 "\x38\x39\x41\x42\x43\x44\x45\x46",
30425 .rlen = 16,
30426 }, {
30427 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30428 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30429 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30430 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30431 .klen = 32,
30432 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30433 "\x00\x00\x00\x02\x00\x00\x00\x00",
30434 .input = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30435 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30436 .ilen = 16,
30437 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30438 "\x38\x39\x41\x42\x43\x44\x45\x46",
30439 .rlen = 16,
30440 }, {
30441 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30442 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30443 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30444 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30445 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30446 .klen = 40,
30447 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30448 "\x00\x00\x00\x00\x00\x00\x00\x01",
30449 .input = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30450 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30451 .ilen = 16,
30452 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30453 "\x38\x39\x41\x42\x43\x44\x45\x46",
30454 .rlen = 16,
30455 }, {
30456 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30457 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30458 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30459 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30460 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30461 .klen = 40,
30462 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30463 "\x00\x00\x00\x02\x00\x00\x00\x00",
30464 .input = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30465 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30466 .ilen = 16,
30467 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30468 "\x38\x39\x41\x42\x43\x44\x45\x46",
30469 .rlen = 16,
30470 }, {
30471 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30472 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30473 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30474 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30475 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30476 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30477 .klen = 48,
30478 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30479 "\x00\x00\x00\x00\x00\x00\x00\x01",
30480 .input = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30481 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30482 .ilen = 16,
30483 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30484 "\x38\x39\x41\x42\x43\x44\x45\x46",
30485 .rlen = 16,
30486 }, {
30487 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30488 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30489 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30490 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30491 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30492 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30493 .klen = 48,
30494 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30495 "\x00\x00\x00\x02\x00\x00\x00\x00",
30496 .input = "\x04\xab\x28\x37\x31\x7a\x26\xab"
30497 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30498 .ilen = 16,
30499 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
30500 "\x38\x39\x41\x42\x43\x44\x45\x46",
30501 .rlen = 16,
30502 }, {
30503 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30504 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30505 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30506 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30507 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30508 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30509 .klen = 48,
30510 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30511 "\x00\x00\x00\x00\x00\x00\x00\x01",
30512 .input = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30513 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30514 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30515 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30516 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30517 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30518 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30519 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30520 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30521 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30522 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30523 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30524 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30525 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30526 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30527 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30528 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30529 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30530 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30531 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30532 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30533 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30534 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30535 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30536 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30537 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30538 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30539 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30540 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30541 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30542 "\xed\x14\xa9\x57\x19\x63\x40\x04"
30543 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30544 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30545 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30546 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30547 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30548 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30549 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30550 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30551 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30552 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30553 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30554 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30555 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30556 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30557 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30558 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30559 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30560 "\x35\xa5\x83\x04\x84\x01\x99\x56"
30561 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30562 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30563 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30564 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30565 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30566 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30567 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30568 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30569 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30570 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30571 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30572 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30573 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30574 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30575 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30576 .ilen = 512,
30577 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30578 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30579 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30580 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30581 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30582 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30583 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30584 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30585 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30586 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30587 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30588 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30589 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30590 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30591 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30592 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30593 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30594 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30595 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30596 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30597 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30598 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30599 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30600 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30601 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30602 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30603 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30604 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30605 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30606 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30607 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30608 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30609 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30610 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30611 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30612 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30613 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30614 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30615 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30616 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30617 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30618 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30619 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30620 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30621 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30622 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30623 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30624 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30625 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30626 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30627 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30628 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30629 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30630 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30631 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30632 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30633 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30634 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30635 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30636 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30637 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30638 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30639 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30640 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30641 .rlen = 512,
30642 .also_non_np = 1,
30643 .np = 3,
30644 .tap = { 512 - 20, 4, 16 },
30648 static const struct cipher_testvec camellia_xts_enc_tv_template[] = {
30649 /* Generated from AES-XTS test vectors */
30651 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
30652 "\x00\x00\x00\x00\x00\x00\x00\x00"
30653 "\x00\x00\x00\x00\x00\x00\x00\x00"
30654 "\x00\x00\x00\x00\x00\x00\x00\x00",
30655 .klen = 32,
30656 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30657 "\x00\x00\x00\x00\x00\x00\x00\x00",
30658 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
30659 "\x00\x00\x00\x00\x00\x00\x00\x00"
30660 "\x00\x00\x00\x00\x00\x00\x00\x00"
30661 "\x00\x00\x00\x00\x00\x00\x00\x00",
30662 .ilen = 32,
30663 .result = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30664 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30665 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30666 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30667 .rlen = 32,
30668 }, {
30669 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
30670 "\x11\x11\x11\x11\x11\x11\x11\x11"
30671 "\x22\x22\x22\x22\x22\x22\x22\x22"
30672 "\x22\x22\x22\x22\x22\x22\x22\x22",
30673 .klen = 32,
30674 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
30675 "\x00\x00\x00\x00\x00\x00\x00\x00",
30676 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
30677 "\x44\x44\x44\x44\x44\x44\x44\x44"
30678 "\x44\x44\x44\x44\x44\x44\x44\x44"
30679 "\x44\x44\x44\x44\x44\x44\x44\x44",
30680 .ilen = 32,
30681 .result = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30682 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30683 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30684 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30685 .rlen = 32,
30686 }, {
30687 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30688 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30689 "\x22\x22\x22\x22\x22\x22\x22\x22"
30690 "\x22\x22\x22\x22\x22\x22\x22\x22",
30691 .klen = 32,
30692 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
30693 "\x00\x00\x00\x00\x00\x00\x00\x00",
30694 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
30695 "\x44\x44\x44\x44\x44\x44\x44\x44"
30696 "\x44\x44\x44\x44\x44\x44\x44\x44"
30697 "\x44\x44\x44\x44\x44\x44\x44\x44",
30698 .ilen = 32,
30699 .result = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30700 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30701 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30702 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30703 .rlen = 32,
30704 }, {
30705 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
30706 "\x23\x53\x60\x28\x74\x71\x35\x26"
30707 "\x31\x41\x59\x26\x53\x58\x97\x93"
30708 "\x23\x84\x62\x64\x33\x83\x27\x95",
30709 .klen = 32,
30710 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30711 "\x00\x00\x00\x00\x00\x00\x00\x00",
30712 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
30713 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30714 "\x10\x11\x12\x13\x14\x15\x16\x17"
30715 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30716 "\x20\x21\x22\x23\x24\x25\x26\x27"
30717 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30718 "\x30\x31\x32\x33\x34\x35\x36\x37"
30719 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30720 "\x40\x41\x42\x43\x44\x45\x46\x47"
30721 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30722 "\x50\x51\x52\x53\x54\x55\x56\x57"
30723 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30724 "\x60\x61\x62\x63\x64\x65\x66\x67"
30725 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30726 "\x70\x71\x72\x73\x74\x75\x76\x77"
30727 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30728 "\x80\x81\x82\x83\x84\x85\x86\x87"
30729 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30730 "\x90\x91\x92\x93\x94\x95\x96\x97"
30731 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30732 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30733 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30734 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30735 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30736 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30737 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30738 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30739 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30740 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30741 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30742 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30743 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30744 "\x00\x01\x02\x03\x04\x05\x06\x07"
30745 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30746 "\x10\x11\x12\x13\x14\x15\x16\x17"
30747 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30748 "\x20\x21\x22\x23\x24\x25\x26\x27"
30749 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30750 "\x30\x31\x32\x33\x34\x35\x36\x37"
30751 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30752 "\x40\x41\x42\x43\x44\x45\x46\x47"
30753 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30754 "\x50\x51\x52\x53\x54\x55\x56\x57"
30755 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30756 "\x60\x61\x62\x63\x64\x65\x66\x67"
30757 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30758 "\x70\x71\x72\x73\x74\x75\x76\x77"
30759 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30760 "\x80\x81\x82\x83\x84\x85\x86\x87"
30761 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30762 "\x90\x91\x92\x93\x94\x95\x96\x97"
30763 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30764 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30765 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30766 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30767 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30768 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30769 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30770 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30771 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30772 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30773 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30774 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30775 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30776 .ilen = 512,
30777 .result = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
30778 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
30779 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
30780 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
30781 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
30782 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
30783 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
30784 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
30785 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
30786 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
30787 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
30788 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
30789 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
30790 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
30791 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
30792 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
30793 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
30794 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
30795 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
30796 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
30797 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
30798 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
30799 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
30800 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
30801 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
30802 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
30803 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
30804 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
30805 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
30806 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
30807 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
30808 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
30809 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
30810 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
30811 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
30812 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
30813 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
30814 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
30815 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
30816 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
30817 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
30818 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
30819 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
30820 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
30821 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
30822 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
30823 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
30824 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
30825 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
30826 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
30827 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
30828 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
30829 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
30830 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
30831 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
30832 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
30833 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
30834 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
30835 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
30836 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
30837 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
30838 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
30839 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
30840 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
30841 .rlen = 512,
30842 }, {
30843 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
30844 "\x23\x53\x60\x28\x74\x71\x35\x26"
30845 "\x62\x49\x77\x57\x24\x70\x93\x69"
30846 "\x99\x59\x57\x49\x66\x96\x76\x27"
30847 "\x31\x41\x59\x26\x53\x58\x97\x93"
30848 "\x23\x84\x62\x64\x33\x83\x27\x95"
30849 "\x02\x88\x41\x97\x16\x93\x99\x37"
30850 "\x51\x05\x82\x09\x74\x94\x45\x92",
30851 .klen = 64,
30852 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
30853 "\x00\x00\x00\x00\x00\x00\x00\x00",
30854 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
30855 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30856 "\x10\x11\x12\x13\x14\x15\x16\x17"
30857 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30858 "\x20\x21\x22\x23\x24\x25\x26\x27"
30859 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30860 "\x30\x31\x32\x33\x34\x35\x36\x37"
30861 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30862 "\x40\x41\x42\x43\x44\x45\x46\x47"
30863 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30864 "\x50\x51\x52\x53\x54\x55\x56\x57"
30865 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30866 "\x60\x61\x62\x63\x64\x65\x66\x67"
30867 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30868 "\x70\x71\x72\x73\x74\x75\x76\x77"
30869 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30870 "\x80\x81\x82\x83\x84\x85\x86\x87"
30871 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30872 "\x90\x91\x92\x93\x94\x95\x96\x97"
30873 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30874 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30875 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30876 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30877 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30878 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30879 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30880 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30881 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30882 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30883 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30884 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30885 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30886 "\x00\x01\x02\x03\x04\x05\x06\x07"
30887 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30888 "\x10\x11\x12\x13\x14\x15\x16\x17"
30889 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30890 "\x20\x21\x22\x23\x24\x25\x26\x27"
30891 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30892 "\x30\x31\x32\x33\x34\x35\x36\x37"
30893 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30894 "\x40\x41\x42\x43\x44\x45\x46\x47"
30895 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30896 "\x50\x51\x52\x53\x54\x55\x56\x57"
30897 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30898 "\x60\x61\x62\x63\x64\x65\x66\x67"
30899 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30900 "\x70\x71\x72\x73\x74\x75\x76\x77"
30901 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30902 "\x80\x81\x82\x83\x84\x85\x86\x87"
30903 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30904 "\x90\x91\x92\x93\x94\x95\x96\x97"
30905 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30906 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30907 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30908 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30909 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30910 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30911 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30912 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30913 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30914 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30915 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30916 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30917 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30918 .ilen = 512,
30919 .result = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
30920 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
30921 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
30922 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
30923 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
30924 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
30925 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
30926 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
30927 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
30928 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
30929 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
30930 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
30931 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
30932 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
30933 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
30934 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
30935 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
30936 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
30937 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
30938 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
30939 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
30940 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
30941 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
30942 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
30943 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
30944 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
30945 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
30946 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
30947 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
30948 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
30949 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
30950 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
30951 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
30952 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
30953 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
30954 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
30955 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
30956 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
30957 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
30958 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
30959 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
30960 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
30961 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
30962 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
30963 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
30964 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
30965 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
30966 "\x21\x17\xf8\x59\x15\x24\x64\x22"
30967 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
30968 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
30969 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
30970 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
30971 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
30972 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
30973 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
30974 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
30975 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
30976 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
30977 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
30978 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
30979 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
30980 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
30981 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
30982 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
30983 .rlen = 512,
30984 .also_non_np = 1,
30985 .np = 3,
30986 .tap = { 512 - 20, 4, 16 },
30990 static const struct cipher_testvec camellia_xts_dec_tv_template[] = {
30991 /* Generated from AES-XTS test vectors */
30992 /* same as enc vectors with input and result reversed */
30994 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
30995 "\x00\x00\x00\x00\x00\x00\x00\x00"
30996 "\x00\x00\x00\x00\x00\x00\x00\x00"
30997 "\x00\x00\x00\x00\x00\x00\x00\x00",
30998 .klen = 32,
30999 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
31000 "\x00\x00\x00\x00\x00\x00\x00\x00",
31001 .input = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
31002 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
31003 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
31004 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
31005 .ilen = 32,
31006 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
31007 "\x00\x00\x00\x00\x00\x00\x00\x00"
31008 "\x00\x00\x00\x00\x00\x00\x00\x00"
31009 "\x00\x00\x00\x00\x00\x00\x00\x00",
31010 .rlen = 32,
31011 }, {
31012 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
31013 "\x11\x11\x11\x11\x11\x11\x11\x11"
31014 "\x22\x22\x22\x22\x22\x22\x22\x22"
31015 "\x22\x22\x22\x22\x22\x22\x22\x22",
31016 .klen = 32,
31017 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
31018 "\x00\x00\x00\x00\x00\x00\x00\x00",
31019 .input = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
31020 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
31021 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
31022 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
31023 .ilen = 32,
31024 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
31025 "\x44\x44\x44\x44\x44\x44\x44\x44"
31026 "\x44\x44\x44\x44\x44\x44\x44\x44"
31027 "\x44\x44\x44\x44\x44\x44\x44\x44",
31028 .rlen = 32,
31029 }, {
31030 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
31031 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
31032 "\x22\x22\x22\x22\x22\x22\x22\x22"
31033 "\x22\x22\x22\x22\x22\x22\x22\x22",
31034 .klen = 32,
31035 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
31036 "\x00\x00\x00\x00\x00\x00\x00\x00",
31037 .input = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
31038 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
31039 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
31040 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
31041 .ilen = 32,
31042 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
31043 "\x44\x44\x44\x44\x44\x44\x44\x44"
31044 "\x44\x44\x44\x44\x44\x44\x44\x44"
31045 "\x44\x44\x44\x44\x44\x44\x44\x44",
31046 .rlen = 32,
31047 }, {
31048 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
31049 "\x23\x53\x60\x28\x74\x71\x35\x26"
31050 "\x31\x41\x59\x26\x53\x58\x97\x93"
31051 "\x23\x84\x62\x64\x33\x83\x27\x95",
31052 .klen = 32,
31053 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
31054 "\x00\x00\x00\x00\x00\x00\x00\x00",
31055 .input = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
31056 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
31057 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
31058 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
31059 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
31060 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
31061 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
31062 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
31063 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
31064 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
31065 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
31066 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
31067 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
31068 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
31069 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
31070 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
31071 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
31072 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
31073 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
31074 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
31075 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
31076 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
31077 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
31078 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
31079 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
31080 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
31081 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
31082 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
31083 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
31084 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
31085 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
31086 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
31087 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
31088 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
31089 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
31090 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
31091 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
31092 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
31093 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
31094 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
31095 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
31096 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
31097 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
31098 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
31099 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
31100 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
31101 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
31102 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
31103 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
31104 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
31105 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
31106 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
31107 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
31108 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
31109 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
31110 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
31111 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
31112 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
31113 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
31114 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
31115 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
31116 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
31117 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
31118 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
31119 .ilen = 512,
31120 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
31121 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31122 "\x10\x11\x12\x13\x14\x15\x16\x17"
31123 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31124 "\x20\x21\x22\x23\x24\x25\x26\x27"
31125 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31126 "\x30\x31\x32\x33\x34\x35\x36\x37"
31127 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31128 "\x40\x41\x42\x43\x44\x45\x46\x47"
31129 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31130 "\x50\x51\x52\x53\x54\x55\x56\x57"
31131 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31132 "\x60\x61\x62\x63\x64\x65\x66\x67"
31133 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31134 "\x70\x71\x72\x73\x74\x75\x76\x77"
31135 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31136 "\x80\x81\x82\x83\x84\x85\x86\x87"
31137 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31138 "\x90\x91\x92\x93\x94\x95\x96\x97"
31139 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31140 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31141 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31142 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31143 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31144 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31145 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31146 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31147 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31148 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31149 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31150 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31151 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31152 "\x00\x01\x02\x03\x04\x05\x06\x07"
31153 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31154 "\x10\x11\x12\x13\x14\x15\x16\x17"
31155 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31156 "\x20\x21\x22\x23\x24\x25\x26\x27"
31157 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31158 "\x30\x31\x32\x33\x34\x35\x36\x37"
31159 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31160 "\x40\x41\x42\x43\x44\x45\x46\x47"
31161 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31162 "\x50\x51\x52\x53\x54\x55\x56\x57"
31163 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31164 "\x60\x61\x62\x63\x64\x65\x66\x67"
31165 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31166 "\x70\x71\x72\x73\x74\x75\x76\x77"
31167 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31168 "\x80\x81\x82\x83\x84\x85\x86\x87"
31169 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31170 "\x90\x91\x92\x93\x94\x95\x96\x97"
31171 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31172 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31173 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31174 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31175 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31176 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31177 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31178 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31179 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31180 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31181 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31182 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31183 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31184 .rlen = 512,
31185 }, {
31186 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
31187 "\x23\x53\x60\x28\x74\x71\x35\x26"
31188 "\x62\x49\x77\x57\x24\x70\x93\x69"
31189 "\x99\x59\x57\x49\x66\x96\x76\x27"
31190 "\x31\x41\x59\x26\x53\x58\x97\x93"
31191 "\x23\x84\x62\x64\x33\x83\x27\x95"
31192 "\x02\x88\x41\x97\x16\x93\x99\x37"
31193 "\x51\x05\x82\x09\x74\x94\x45\x92",
31194 .klen = 64,
31195 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
31196 "\x00\x00\x00\x00\x00\x00\x00\x00",
31197 .input = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31198 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31199 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31200 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31201 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31202 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31203 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31204 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31205 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31206 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31207 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31208 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31209 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31210 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31211 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31212 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31213 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31214 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31215 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31216 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31217 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31218 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31219 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31220 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31221 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31222 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31223 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31224 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31225 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31226 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31227 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31228 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31229 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31230 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31231 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31232 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31233 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31234 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31235 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31236 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31237 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31238 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31239 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31240 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31241 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31242 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31243 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31244 "\x21\x17\xf8\x59\x15\x24\x64\x22"
31245 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31246 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31247 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31248 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31249 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31250 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31251 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31252 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31253 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31254 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31255 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31256 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31257 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31258 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31259 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31260 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31261 .ilen = 512,
31262 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
31263 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31264 "\x10\x11\x12\x13\x14\x15\x16\x17"
31265 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31266 "\x20\x21\x22\x23\x24\x25\x26\x27"
31267 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31268 "\x30\x31\x32\x33\x34\x35\x36\x37"
31269 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31270 "\x40\x41\x42\x43\x44\x45\x46\x47"
31271 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31272 "\x50\x51\x52\x53\x54\x55\x56\x57"
31273 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31274 "\x60\x61\x62\x63\x64\x65\x66\x67"
31275 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31276 "\x70\x71\x72\x73\x74\x75\x76\x77"
31277 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31278 "\x80\x81\x82\x83\x84\x85\x86\x87"
31279 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31280 "\x90\x91\x92\x93\x94\x95\x96\x97"
31281 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31282 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31283 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31284 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31285 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31286 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31287 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31288 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31289 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31290 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31291 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31292 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31293 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31294 "\x00\x01\x02\x03\x04\x05\x06\x07"
31295 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31296 "\x10\x11\x12\x13\x14\x15\x16\x17"
31297 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31298 "\x20\x21\x22\x23\x24\x25\x26\x27"
31299 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31300 "\x30\x31\x32\x33\x34\x35\x36\x37"
31301 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31302 "\x40\x41\x42\x43\x44\x45\x46\x47"
31303 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31304 "\x50\x51\x52\x53\x54\x55\x56\x57"
31305 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31306 "\x60\x61\x62\x63\x64\x65\x66\x67"
31307 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31308 "\x70\x71\x72\x73\x74\x75\x76\x77"
31309 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31310 "\x80\x81\x82\x83\x84\x85\x86\x87"
31311 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31312 "\x90\x91\x92\x93\x94\x95\x96\x97"
31313 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31314 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31315 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31316 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31317 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31318 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31319 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31320 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31321 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31322 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31323 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31324 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31325 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31326 .rlen = 512,
31327 .also_non_np = 1,
31328 .np = 3,
31329 .tap = { 512 - 20, 4, 16 },
31334 * SEED test vectors
31336 static const struct cipher_testvec seed_enc_tv_template[] = {
31338 .key = zeroed_string,
31339 .klen = 16,
31340 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
31341 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31342 .ilen = 16,
31343 .result = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31344 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31345 .rlen = 16,
31346 }, {
31347 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
31348 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31349 .klen = 16,
31350 .input = zeroed_string,
31351 .ilen = 16,
31352 .result = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31353 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31354 .rlen = 16,
31355 }, {
31356 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31357 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31358 .klen = 16,
31359 .input = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31360 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31361 .ilen = 16,
31362 .result = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31363 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31364 .rlen = 16,
31365 }, {
31366 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31367 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31368 .klen = 16,
31369 .input = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31370 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31371 .ilen = 16,
31372 .result = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31373 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31374 .rlen = 16,
31378 static const struct cipher_testvec seed_dec_tv_template[] = {
31380 .key = zeroed_string,
31381 .klen = 16,
31382 .input = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31383 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31384 .ilen = 16,
31385 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
31386 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31387 .rlen = 16,
31388 }, {
31389 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
31390 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31391 .klen = 16,
31392 .input = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31393 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31394 .ilen = 16,
31395 .result = zeroed_string,
31396 .rlen = 16,
31397 }, {
31398 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31399 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31400 .klen = 16,
31401 .input = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31402 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31403 .ilen = 16,
31404 .result = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31405 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31406 .rlen = 16,
31407 }, {
31408 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31409 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31410 .klen = 16,
31411 .input = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31412 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31413 .ilen = 16,
31414 .result = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31415 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31416 .rlen = 16,
31420 static const struct cipher_testvec salsa20_stream_enc_tv_template[] = {
31422 * Testvectors from verified.test-vectors submitted to ECRYPT.
31423 * They are truncated to size 39, 64, 111, 129 to test a variety
31424 * of input length.
31426 { /* Set 3, vector 0 */
31427 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
31428 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
31429 .klen = 16,
31430 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
31431 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
31432 "\x00\x00\x00\x00\x00\x00\x00\x00"
31433 "\x00\x00\x00\x00\x00\x00\x00\x00"
31434 "\x00\x00\x00\x00\x00\x00\x00\x00"
31435 "\x00\x00\x00\x00\x00\x00\x00",
31436 .ilen = 39,
31437 .result = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
31438 "\x68\x02\x41\x0C\x68\x86\x88\x89"
31439 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
31440 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
31441 "\x58\x3F\x52\x79\x70\xEB\xC1",
31442 .rlen = 39,
31443 }, { /* Set 5, vector 0 */
31444 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
31445 "\x00\x00\x00\x00\x00\x00\x00\x00",
31446 .klen = 16,
31447 .iv = "\x80\x00\x00\x00\x00\x00\x00\x00",
31448 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
31449 "\x00\x00\x00\x00\x00\x00\x00\x00"
31450 "\x00\x00\x00\x00\x00\x00\x00\x00"
31451 "\x00\x00\x00\x00\x00\x00\x00\x00"
31452 "\x00\x00\x00\x00\x00\x00\x00\x00"
31453 "\x00\x00\x00\x00\x00\x00\x00\x00"
31454 "\x00\x00\x00\x00\x00\x00\x00\x00"
31455 "\x00\x00\x00\x00\x00\x00\x00\x00",
31456 .ilen = 64,
31457 .result = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
31458 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
31459 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
31460 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
31461 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
31462 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
31463 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
31464 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
31465 .rlen = 64,
31466 }, { /* Set 3, vector 27 */
31467 .key = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
31468 "\x23\x24\x25\x26\x27\x28\x29\x2A"
31469 "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
31470 "\x33\x34\x35\x36\x37\x38\x39\x3A",
31471 .klen = 32,
31472 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
31473 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
31474 "\x00\x00\x00\x00\x00\x00\x00\x00"
31475 "\x00\x00\x00\x00\x00\x00\x00\x00"
31476 "\x00\x00\x00\x00\x00\x00\x00\x00"
31477 "\x00\x00\x00\x00\x00\x00\x00\x00"
31478 "\x00\x00\x00\x00\x00\x00\x00\x00"
31479 "\x00\x00\x00\x00\x00\x00\x00\x00"
31480 "\x00\x00\x00\x00\x00\x00\x00\x00"
31481 "\x00\x00\x00\x00\x00\x00\x00\x00"
31482 "\x00\x00\x00\x00\x00\x00\x00\x00"
31483 "\x00\x00\x00\x00\x00\x00\x00\x00"
31484 "\x00\x00\x00\x00\x00\x00\x00\x00"
31485 "\x00\x00\x00\x00\x00\x00\x00\x00"
31486 "\x00\x00\x00\x00\x00\x00\x00",
31487 .ilen = 111,
31488 .result = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
31489 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
31490 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
31491 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
31492 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
31493 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
31494 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
31495 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
31496 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
31497 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
31498 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
31499 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
31500 "\x95\x46\x45\x54\xE9\x75\x03\x08"
31501 "\x44\xAF\xE5\x8A\x81\x12\x09",
31502 .rlen = 111,
31503 }, { /* Set 5, vector 27 */
31504 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
31505 "\x00\x00\x00\x00\x00\x00\x00\x00"
31506 "\x00\x00\x00\x00\x00\x00\x00\x00"
31507 "\x00\x00\x00\x00\x00\x00\x00\x00",
31508 .klen = 32,
31509 .iv = "\x00\x00\x00\x10\x00\x00\x00\x00",
31510 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
31511 "\x00\x00\x00\x00\x00\x00\x00\x00"
31512 "\x00\x00\x00\x00\x00\x00\x00\x00"
31513 "\x00\x00\x00\x00\x00\x00\x00\x00"
31514 "\x00\x00\x00\x00\x00\x00\x00\x00"
31515 "\x00\x00\x00\x00\x00\x00\x00\x00"
31516 "\x00\x00\x00\x00\x00\x00\x00\x00"
31517 "\x00\x00\x00\x00\x00\x00\x00\x00"
31518 "\x00\x00\x00\x00\x00\x00\x00\x00"
31519 "\x00\x00\x00\x00\x00\x00\x00\x00"
31520 "\x00\x00\x00\x00\x00\x00\x00\x00"
31521 "\x00\x00\x00\x00\x00\x00\x00\x00"
31522 "\x00\x00\x00\x00\x00\x00\x00\x00"
31523 "\x00\x00\x00\x00\x00\x00\x00\x00"
31524 "\x00\x00\x00\x00\x00\x00\x00\x00"
31525 "\x00\x00\x00\x00\x00\x00\x00\x00"
31526 "\x00",
31527 .ilen = 129,
31528 .result = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
31529 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
31530 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
31531 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
31532 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
31533 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
31534 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
31535 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
31536 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
31537 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
31538 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
31539 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
31540 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
31541 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
31542 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
31543 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
31544 "\x5A",
31545 .rlen = 129,
31546 }, { /* large test vector generated using Crypto++ */
31547 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
31548 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31549 "\x10\x11\x12\x13\x14\x15\x16\x17"
31550 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
31551 .klen = 32,
31552 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
31553 "\x00\x00\x00\x00\x00\x00\x00\x00",
31554 .input =
31555 "\x00\x01\x02\x03\x04\x05\x06\x07"
31556 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31557 "\x10\x11\x12\x13\x14\x15\x16\x17"
31558 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31559 "\x20\x21\x22\x23\x24\x25\x26\x27"
31560 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31561 "\x30\x31\x32\x33\x34\x35\x36\x37"
31562 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31563 "\x40\x41\x42\x43\x44\x45\x46\x47"
31564 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31565 "\x50\x51\x52\x53\x54\x55\x56\x57"
31566 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31567 "\x60\x61\x62\x63\x64\x65\x66\x67"
31568 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31569 "\x70\x71\x72\x73\x74\x75\x76\x77"
31570 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31571 "\x80\x81\x82\x83\x84\x85\x86\x87"
31572 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31573 "\x90\x91\x92\x93\x94\x95\x96\x97"
31574 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31575 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31576 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31577 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31578 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31579 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31580 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31581 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31582 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31583 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31584 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31585 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31586 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31587 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
31588 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
31589 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
31590 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
31591 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
31592 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
31593 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
31594 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
31595 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
31596 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
31597 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
31598 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
31599 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
31600 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
31601 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
31602 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
31603 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
31604 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
31605 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
31606 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
31607 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
31608 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
31609 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
31610 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
31611 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
31612 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
31613 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
31614 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
31615 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
31616 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
31617 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
31618 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
31619 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
31620 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
31621 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
31622 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
31623 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
31624 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
31625 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
31626 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
31627 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
31628 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
31629 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
31630 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
31631 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
31632 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
31633 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
31634 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
31635 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
31636 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
31637 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
31638 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
31639 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
31640 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
31641 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
31642 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
31643 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
31644 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
31645 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
31646 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
31647 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
31648 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
31649 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
31650 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
31651 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
31652 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
31653 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
31654 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
31655 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
31656 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
31657 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
31658 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
31659 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
31660 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
31661 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
31662 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
31663 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
31664 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
31665 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
31666 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
31667 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
31668 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
31669 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
31670 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
31671 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
31672 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
31673 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
31674 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
31675 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
31676 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
31677 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
31678 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
31679 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
31680 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
31681 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
31682 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
31683 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
31684 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
31685 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
31686 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
31687 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
31688 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
31689 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
31690 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
31691 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
31692 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
31693 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
31694 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
31695 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
31696 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
31697 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
31698 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
31699 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
31700 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
31701 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
31702 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
31703 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
31704 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
31705 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
31706 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
31707 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
31708 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
31709 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
31710 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
31711 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
31712 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
31713 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
31714 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
31715 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
31716 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
31717 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
31718 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
31719 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
31720 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
31721 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
31722 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
31723 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
31724 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
31725 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
31726 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
31727 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
31728 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
31729 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
31730 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
31731 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
31732 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
31733 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
31734 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
31735 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
31736 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
31737 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
31738 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
31739 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
31740 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
31741 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
31742 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
31743 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
31744 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
31745 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
31746 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
31747 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
31748 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
31749 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
31750 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
31751 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
31752 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
31753 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
31754 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
31755 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
31756 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
31757 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
31758 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
31759 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
31760 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
31761 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
31762 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
31763 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
31764 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
31765 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
31766 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
31767 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
31768 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
31769 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
31770 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
31771 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
31772 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
31773 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
31774 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
31775 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
31776 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
31777 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
31778 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
31779 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
31780 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
31781 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
31782 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
31783 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
31784 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
31785 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
31786 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
31787 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
31788 "\x38\x47\x56\x65\x74\x83\x92\xa1"
31789 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
31790 "\x28\x37\x46\x55\x64\x73\x82\x91"
31791 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
31792 "\x18\x27\x36\x45\x54\x63\x72\x81"
31793 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
31794 "\x08\x17\x26\x35\x44\x53\x62\x71"
31795 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
31796 "\xf8\x07\x16\x25\x34\x43\x52\x61"
31797 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
31798 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
31799 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
31800 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
31801 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
31802 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
31803 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
31804 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
31805 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
31806 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
31807 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
31808 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
31809 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
31810 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
31811 "\x00\x11\x22\x33\x44\x55\x66\x77"
31812 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
31813 "\x10\x21\x32\x43\x54\x65\x76\x87"
31814 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
31815 "\x20\x31\x42\x53\x64\x75\x86\x97"
31816 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
31817 "\x30\x41\x52\x63\x74\x85\x96\xa7"
31818 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
31819 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
31820 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
31821 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
31822 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
31823 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
31824 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
31825 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
31826 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
31827 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
31828 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
31829 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
31830 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
31831 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
31832 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
31833 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
31834 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
31835 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
31836 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
31837 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
31838 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
31839 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
31840 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
31841 "\xf0\x01\x12\x23\x34\x45\x56\x67"
31842 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
31843 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
31844 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
31845 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
31846 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
31847 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
31848 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
31849 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
31850 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
31851 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
31852 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
31853 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
31854 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
31855 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
31856 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
31857 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
31858 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
31859 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
31860 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
31861 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
31862 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
31863 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
31864 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
31865 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
31866 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
31867 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
31868 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
31869 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
31870 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
31871 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
31872 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
31873 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
31874 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
31875 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
31876 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
31877 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
31878 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
31879 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
31880 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
31881 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
31882 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
31883 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
31884 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
31885 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
31886 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
31887 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
31888 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
31889 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
31890 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
31891 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
31892 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
31893 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
31894 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
31895 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
31896 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
31897 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
31898 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
31899 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
31900 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
31901 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
31902 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
31903 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
31904 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
31905 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
31906 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
31907 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
31908 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
31909 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
31910 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
31911 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
31912 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
31913 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
31914 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
31915 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
31916 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
31917 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
31918 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
31919 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
31920 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
31921 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
31922 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
31923 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
31924 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
31925 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
31926 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
31927 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
31928 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
31929 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
31930 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
31931 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
31932 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
31933 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
31934 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
31935 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
31936 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
31937 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
31938 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
31939 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
31940 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
31941 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
31942 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
31943 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
31944 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
31945 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
31946 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
31947 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
31948 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
31949 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
31950 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
31951 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
31952 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
31953 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
31954 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
31955 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
31956 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
31957 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
31958 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
31959 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
31960 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
31961 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
31962 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
31963 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
31964 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
31965 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
31966 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
31967 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
31968 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
31969 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
31970 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
31971 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
31972 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
31973 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
31974 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
31975 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
31976 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
31977 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
31978 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
31979 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
31980 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
31981 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
31982 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
31983 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
31984 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
31985 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
31986 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
31987 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
31988 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
31989 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
31990 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
31991 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
31992 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
31993 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
31994 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
31995 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
31996 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
31997 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
31998 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
31999 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
32000 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
32001 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
32002 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
32003 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
32004 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
32005 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
32006 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
32007 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
32008 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
32009 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
32010 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
32011 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
32012 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
32013 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
32014 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
32015 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
32016 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
32017 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
32018 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
32019 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
32020 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
32021 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
32022 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
32023 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
32024 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
32025 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
32026 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
32027 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
32028 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
32029 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
32030 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
32031 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
32032 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
32033 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
32034 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
32035 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
32036 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
32037 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
32038 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
32039 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
32040 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
32041 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
32042 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
32043 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
32044 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
32045 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
32046 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
32047 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
32048 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
32049 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
32050 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
32051 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
32052 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
32053 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
32054 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
32055 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
32056 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
32057 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
32058 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
32059 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
32060 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
32061 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
32062 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
32063 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
32064 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
32065 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
32066 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
32067 "\x00\x21\x42\x63",
32068 .ilen = 4100,
32069 .result =
32070 "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
32071 "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
32072 "\x29\x01\xce\x98\x55\x53\xf9\x0c"
32073 "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
32074 "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
32075 "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
32076 "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
32077 "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
32078 "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
32079 "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
32080 "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
32081 "\xbb\xde\x56\x86\xab\x65\x21\x30"
32082 "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
32083 "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
32084 "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
32085 "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
32086 "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
32087 "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
32088 "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
32089 "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
32090 "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
32091 "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
32092 "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
32093 "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
32094 "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
32095 "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
32096 "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
32097 "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
32098 "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
32099 "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
32100 "\x45\xff\x3f\xce\x55\xf6\x95\x10"
32101 "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
32102 "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
32103 "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
32104 "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
32105 "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
32106 "\x62\x08\x18\x7a\x25\x49\x28\xac"
32107 "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
32108 "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
32109 "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
32110 "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
32111 "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
32112 "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
32113 "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
32114 "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
32115 "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
32116 "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
32117 "\x33\xee\x14\x19\x22\x52\x89\xa7"
32118 "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
32119 "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
32120 "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
32121 "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
32122 "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
32123 "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
32124 "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
32125 "\x04\x07\x08\x52\xe6\xc0\xda\x93"
32126 "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
32127 "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
32128 "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
32129 "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
32130 "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
32131 "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
32132 "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
32133 "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
32134 "\x5a\x90\xae\x75\x0a\x74\x18\x89"
32135 "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
32136 "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
32137 "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
32138 "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
32139 "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
32140 "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
32141 "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
32142 "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
32143 "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
32144 "\x49\x97\x33\xab\x36\x14\x0a\x70"
32145 "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
32146 "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
32147 "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
32148 "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
32149 "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
32150 "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
32151 "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
32152 "\x47\x13\x28\x73\x3c\xbb\x00\x90"
32153 "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
32154 "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
32155 "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
32156 "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
32157 "\xad\x04\x07\xae\x22\x90\x4a\x93"
32158 "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
32159 "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
32160 "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
32161 "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
32162 "\x53\xf9\x80\x10\xde\x80\xa2\x41"
32163 "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
32164 "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
32165 "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
32166 "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
32167 "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
32168 "\xde\xff\x07\x44\xdd\x56\x1b\xad"
32169 "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
32170 "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
32171 "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
32172 "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
32173 "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
32174 "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
32175 "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
32176 "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
32177 "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
32178 "\x23\xf8\x66\x18\x14\x28\x34\x0f"
32179 "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
32180 "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
32181 "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
32182 "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
32183 "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
32184 "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
32185 "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
32186 "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
32187 "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
32188 "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
32189 "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
32190 "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
32191 "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
32192 "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
32193 "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
32194 "\xca\x8e\x61\x87\xde\xad\x80\xd2"
32195 "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
32196 "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
32197 "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
32198 "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
32199 "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
32200 "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
32201 "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
32202 "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
32203 "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
32204 "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
32205 "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
32206 "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
32207 "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
32208 "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
32209 "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
32210 "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
32211 "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
32212 "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
32213 "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
32214 "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
32215 "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
32216 "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
32217 "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
32218 "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
32219 "\x54\xda\x24\x6a\xc4\x41\x65\x46"
32220 "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
32221 "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
32222 "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
32223 "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
32224 "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
32225 "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
32226 "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
32227 "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
32228 "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
32229 "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
32230 "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
32231 "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
32232 "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
32233 "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
32234 "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
32235 "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
32236 "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
32237 "\xef\xcc\xa7\xec\xab\x43\x09\x18"
32238 "\xd3\xab\x68\xd1\x07\x99\x44\x47"
32239 "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
32240 "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
32241 "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
32242 "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
32243 "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
32244 "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
32245 "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
32246 "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
32247 "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
32248 "\x71\x6e\x9f\x58\x15\x67\x72\x87"
32249 "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
32250 "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
32251 "\xba\x41\x54\xac\xf0\xfc\x59\x12"
32252 "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
32253 "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
32254 "\x2e\x53\x49\x97\x94\x33\xae\x40"
32255 "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
32256 "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
32257 "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
32258 "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
32259 "\xce\x87\xad\xcc\x72\x05\x00\x29"
32260 "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
32261 "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
32262 "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
32263 "\xac\xc0\x79\x50\x69\xca\x59\x32"
32264 "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
32265 "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
32266 "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
32267 "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
32268 "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
32269 "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
32270 "\x05\x68\x6b\xab\xe3\x41\x49\xed"
32271 "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
32272 "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
32273 "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
32274 "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
32275 "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
32276 "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
32277 "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
32278 "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
32279 "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
32280 "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
32281 "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
32282 "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
32283 "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
32284 "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
32285 "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
32286 "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
32287 "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
32288 "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
32289 "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
32290 "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
32291 "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
32292 "\x85\x75\xe6\x43\xf6\x87\x08\x68"
32293 "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
32294 "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
32295 "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
32296 "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
32297 "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
32298 "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
32299 "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
32300 "\xaf\x55\xeb\x22\xac\x93\x68\x32"
32301 "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
32302 "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
32303 "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
32304 "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
32305 "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
32306 "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
32307 "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
32308 "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
32309 "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
32310 "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
32311 "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
32312 "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
32313 "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
32314 "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
32315 "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
32316 "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
32317 "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
32318 "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
32319 "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
32320 "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
32321 "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
32322 "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
32323 "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
32324 "\x38\x55\xab\x33\x26\xef\x9f\x43"
32325 "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
32326 "\x58\x09\x09\x1b\xc3\x65\x46\x46"
32327 "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
32328 "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
32329 "\x63\x86\xf2\x03\x67\x45\xd2\x72"
32330 "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
32331 "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
32332 "\x2b\x82\x39\xbd\x69\x54\xed\x62"
32333 "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
32334 "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
32335 "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
32336 "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
32337 "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
32338 "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
32339 "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
32340 "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
32341 "\x55\xad\xa4\xd1\x22\x54\x70\x94"
32342 "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
32343 "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
32344 "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
32345 "\x62\x36\x43\xb2\x82\x15\x75\x50"
32346 "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
32347 "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
32348 "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
32349 "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
32350 "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
32351 "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
32352 "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
32353 "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
32354 "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
32355 "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
32356 "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
32357 "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
32358 "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
32359 "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
32360 "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
32361 "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
32362 "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
32363 "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
32364 "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
32365 "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
32366 "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
32367 "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
32368 "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
32369 "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
32370 "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
32371 "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
32372 "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
32373 "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
32374 "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
32375 "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
32376 "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
32377 "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
32378 "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
32379 "\x42\x19\x23\x7d\xc8\x73\xee\x25"
32380 "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
32381 "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
32382 "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
32383 "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
32384 "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
32385 "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
32386 "\xdb\x87\xee\xef\x55\x89\x2a\x59"
32387 "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
32388 "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
32389 "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
32390 "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
32391 "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
32392 "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
32393 "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
32394 "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
32395 "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
32396 "\xae\xab\x86\x09\x89\xc9\xc2\x40"
32397 "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
32398 "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
32399 "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
32400 "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
32401 "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
32402 "\x95\xd9\x34\x34\x86\xc6\x41\x94"
32403 "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
32404 "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
32405 "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
32406 "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
32407 "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
32408 "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
32409 "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
32410 "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
32411 "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
32412 "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
32413 "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
32414 "\xa7\x33\x34\x86\xca\xe4\x96\x23"
32415 "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
32416 "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
32417 "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
32418 "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
32419 "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
32420 "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
32421 "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
32422 "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
32423 "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
32424 "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
32425 "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
32426 "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
32427 "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
32428 "\x68\xc8\x7f\x51\x22\x42\xef\x49"
32429 "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
32430 "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
32431 "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
32432 "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
32433 "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
32434 "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
32435 "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
32436 "\x73\x2e\x71\x79\x16\x06\x63\x28"
32437 "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
32438 "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
32439 "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
32440 "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
32441 "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
32442 "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
32443 "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
32444 "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
32445 "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
32446 "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
32447 "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
32448 "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
32449 "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
32450 "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
32451 "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
32452 "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
32453 "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
32454 "\x19\x07\xaf\x90\x62\x5c\x68\x98"
32455 "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
32456 "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
32457 "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
32458 "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
32459 "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
32460 "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
32461 "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
32462 "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
32463 "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
32464 "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
32465 "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
32466 "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
32467 "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
32468 "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
32469 "\x21\x33\x44\xfe\x7f\x35\x32\x93"
32470 "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
32471 "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
32472 "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
32473 "\x64\xf0\x48\xe5\x57\x99\xee\x75"
32474 "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
32475 "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
32476 "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
32477 "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
32478 "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
32479 "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
32480 "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
32481 "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
32482 "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
32483 "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
32484 "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
32485 "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
32486 "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
32487 "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
32488 "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
32489 "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
32490 "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
32491 "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
32492 "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
32493 "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
32494 "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
32495 "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
32496 "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
32497 "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
32498 "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
32499 "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
32500 "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
32501 "\x56\xf5\x4e\x01\x35\x27\x45\x77"
32502 "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
32503 "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
32504 "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
32505 "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
32506 "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
32507 "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
32508 "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
32509 "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
32510 "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
32511 "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
32512 "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
32513 "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
32514 "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
32515 "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
32516 "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
32517 "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
32518 "\x87\x8f\x03\x21\x28\x95\x0c\x89"
32519 "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
32520 "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
32521 "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
32522 "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
32523 "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
32524 "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
32525 "\x85\x73\x78\x45\x20\x7f\xae\x13"
32526 "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
32527 "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
32528 "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
32529 "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
32530 "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
32531 "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
32532 "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
32533 "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
32534 "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
32535 "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
32536 "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
32537 "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
32538 "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
32539 "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
32540 "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
32541 "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
32542 "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
32543 "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
32544 "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
32545 "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
32546 "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
32547 "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
32548 "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
32549 "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
32550 "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
32551 "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
32552 "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
32553 "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
32554 "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
32555 "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
32556 "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
32557 "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
32558 "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
32559 "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
32560 "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
32561 "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
32562 "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
32563 "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
32564 "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
32565 "\x6e\x12\x17\x72\x63\x57\xc7\xba"
32566 "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
32567 "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
32568 "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
32569 "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
32570 "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
32571 "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
32572 "\x0c\x24\x43\x31\x40\x57\xf1\x72"
32573 "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
32574 "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
32575 "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
32576 "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
32577 "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
32578 "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
32579 "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
32580 "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
32581 "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
32582 "\xaf\xdf\x11\x95",
32583 .rlen = 4100,
32584 .np = 2,
32585 .tap = { 4064, 36 },
32589 static const struct cipher_testvec chacha20_enc_tv_template[] = {
32590 { /* RFC7539 A.2. Test Vector #1 */
32591 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
32592 "\x00\x00\x00\x00\x00\x00\x00\x00"
32593 "\x00\x00\x00\x00\x00\x00\x00\x00"
32594 "\x00\x00\x00\x00\x00\x00\x00\x00",
32595 .klen = 32,
32596 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
32597 "\x00\x00\x00\x00\x00\x00\x00\x00",
32598 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
32599 "\x00\x00\x00\x00\x00\x00\x00\x00"
32600 "\x00\x00\x00\x00\x00\x00\x00\x00"
32601 "\x00\x00\x00\x00\x00\x00\x00\x00"
32602 "\x00\x00\x00\x00\x00\x00\x00\x00"
32603 "\x00\x00\x00\x00\x00\x00\x00\x00"
32604 "\x00\x00\x00\x00\x00\x00\x00\x00"
32605 "\x00\x00\x00\x00\x00\x00\x00\x00",
32606 .ilen = 64,
32607 .result = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
32608 "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
32609 "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
32610 "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
32611 "\xda\x41\x59\x7c\x51\x57\x48\x8d"
32612 "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
32613 "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
32614 "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
32615 .rlen = 64,
32616 }, { /* RFC7539 A.2. Test Vector #2 */
32617 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
32618 "\x00\x00\x00\x00\x00\x00\x00\x00"
32619 "\x00\x00\x00\x00\x00\x00\x00\x00"
32620 "\x00\x00\x00\x00\x00\x00\x00\x01",
32621 .klen = 32,
32622 .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
32623 "\x00\x00\x00\x00\x00\x00\x00\x02",
32624 .input = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
32625 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
32626 "\x6f\x20\x74\x68\x65\x20\x49\x45"
32627 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
32628 "\x64\x65\x64\x20\x62\x79\x20\x74"
32629 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
32630 "\x69\x62\x75\x74\x6f\x72\x20\x66"
32631 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
32632 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
32633 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
32634 "\x20\x70\x61\x72\x74\x20\x6f\x66"
32635 "\x20\x61\x6e\x20\x49\x45\x54\x46"
32636 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
32637 "\x74\x2d\x44\x72\x61\x66\x74\x20"
32638 "\x6f\x72\x20\x52\x46\x43\x20\x61"
32639 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
32640 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
32641 "\x20\x6d\x61\x64\x65\x20\x77\x69"
32642 "\x74\x68\x69\x6e\x20\x74\x68\x65"
32643 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
32644 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
32645 "\x45\x54\x46\x20\x61\x63\x74\x69"
32646 "\x76\x69\x74\x79\x20\x69\x73\x20"
32647 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
32648 "\x65\x64\x20\x61\x6e\x20\x22\x49"
32649 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
32650 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
32651 "\x22\x2e\x20\x53\x75\x63\x68\x20"
32652 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32653 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
32654 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
32655 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32656 "\x74\x73\x20\x69\x6e\x20\x49\x45"
32657 "\x54\x46\x20\x73\x65\x73\x73\x69"
32658 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
32659 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
32660 "\x77\x72\x69\x74\x74\x65\x6e\x20"
32661 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
32662 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
32663 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
32664 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
32665 "\x64\x65\x20\x61\x74\x20\x61\x6e"
32666 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
32667 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
32668 "\x20\x77\x68\x69\x63\x68\x20\x61"
32669 "\x72\x65\x20\x61\x64\x64\x72\x65"
32670 "\x73\x73\x65\x64\x20\x74\x6f",
32671 .ilen = 375,
32672 .result = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
32673 "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
32674 "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
32675 "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
32676 "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
32677 "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
32678 "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
32679 "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
32680 "\x40\x42\xe0\x27\x85\xec\xec\xfa"
32681 "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
32682 "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
32683 "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
32684 "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
32685 "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
32686 "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
32687 "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
32688 "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
32689 "\xd6\x62\xab\x05\x26\x91\xca\x66"
32690 "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
32691 "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
32692 "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
32693 "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
32694 "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
32695 "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
32696 "\x08\x71\xcd\xac\x63\x89\x39\xe2"
32697 "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
32698 "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
32699 "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
32700 "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
32701 "\x37\x20\xfc\x88\xdc\x95\xed\x84"
32702 "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
32703 "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
32704 "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
32705 "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
32706 "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
32707 "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
32708 "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
32709 "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
32710 "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
32711 "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
32712 "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
32713 "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
32714 "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
32715 "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
32716 "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
32717 "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
32718 "\xc4\xfd\x80\x6c\x22\xf2\x21",
32719 .rlen = 375,
32720 .also_non_np = 1,
32721 .np = 3,
32722 .tap = { 375 - 20, 4, 16 },
32724 }, { /* RFC7539 A.2. Test Vector #3 */
32725 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32726 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32727 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32728 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32729 .klen = 32,
32730 .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
32731 "\x00\x00\x00\x00\x00\x00\x00\x02",
32732 .input = "\x27\x54\x77\x61\x73\x20\x62\x72"
32733 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
32734 "\x6e\x64\x20\x74\x68\x65\x20\x73"
32735 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
32736 "\x76\x65\x73\x0a\x44\x69\x64\x20"
32737 "\x67\x79\x72\x65\x20\x61\x6e\x64"
32738 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
32739 "\x69\x6e\x20\x74\x68\x65\x20\x77"
32740 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
32741 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
32742 "\x65\x72\x65\x20\x74\x68\x65\x20"
32743 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
32744 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
32745 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
32746 "\x72\x61\x74\x68\x73\x20\x6f\x75"
32747 "\x74\x67\x72\x61\x62\x65\x2e",
32748 .ilen = 127,
32749 .result = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
32750 "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
32751 "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
32752 "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
32753 "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
32754 "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
32755 "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
32756 "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
32757 "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
32758 "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
32759 "\x1a\x55\x32\x05\x57\x16\xea\xd6"
32760 "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
32761 "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
32762 "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
32763 "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
32764 "\x75\x7a\x79\x7a\xc1\x88\xd1",
32765 .rlen = 127,
32766 }, { /* Self-made test vector for long data */
32767 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32768 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32769 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32770 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32771 .klen = 32,
32772 .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
32773 "\x00\x00\x00\x00\x00\x00\x00\x01",
32774 .input = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
32775 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
32776 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
32777 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
32778 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
32779 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
32780 "\x01\xc6\x67\xda\x03\x91\x18\x90"
32781 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
32782 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
32783 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
32784 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
32785 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
32786 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
32787 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
32788 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
32789 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
32790 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
32791 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
32792 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
32793 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
32794 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
32795 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
32796 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
32797 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
32798 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
32799 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
32800 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
32801 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
32802 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
32803 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
32804 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
32805 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
32806 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
32807 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
32808 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
32809 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
32810 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
32811 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
32812 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
32813 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
32814 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
32815 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
32816 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
32817 "\x49\x46\x00\x88\x22\x8d\xce\xea"
32818 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
32819 "\x72\x11\xf5\x50\x73\x04\x40\x47"
32820 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
32821 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
32822 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
32823 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
32824 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
32825 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
32826 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
32827 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
32828 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
32829 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
32830 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
32831 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
32832 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
32833 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
32834 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
32835 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
32836 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
32837 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
32838 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
32839 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
32840 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
32841 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
32842 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
32843 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
32844 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
32845 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
32846 "\x65\x69\x8a\x45\x29\xef\x74\x85"
32847 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
32848 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
32849 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
32850 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
32851 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
32852 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
32853 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
32854 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
32855 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
32856 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
32857 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
32858 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
32859 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
32860 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
32861 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
32862 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
32863 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
32864 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
32865 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
32866 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
32867 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
32868 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
32869 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
32870 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
32871 "\x25\x94\x10\x5f\x40\x00\x64\x99"
32872 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
32873 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
32874 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
32875 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
32876 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
32877 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
32878 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
32879 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
32880 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
32881 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
32882 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
32883 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
32884 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
32885 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
32886 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
32887 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
32888 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
32889 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
32890 "\xb9\x83\x90\xef\x20\x59\x46\xff"
32891 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
32892 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
32893 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
32894 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
32895 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
32896 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
32897 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
32898 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
32899 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
32900 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
32901 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
32902 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
32903 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
32904 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
32905 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
32906 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
32907 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
32908 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
32909 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
32910 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
32911 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
32912 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
32913 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
32914 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
32915 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
32916 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
32917 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
32918 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
32919 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
32920 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
32921 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
32922 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
32923 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
32924 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
32925 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
32926 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
32927 "\xca\x34\x83\x27\x10\x5b\x68\x45"
32928 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
32929 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
32930 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
32931 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
32932 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
32933 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
32934 "\x72",
32935 .ilen = 1281,
32936 .result = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
32937 "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
32938 "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
32939 "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
32940 "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
32941 "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
32942 "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
32943 "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
32944 "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
32945 "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
32946 "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
32947 "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
32948 "\x33\x4a\x71\x15\xfe\xee\x12\x54"
32949 "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
32950 "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
32951 "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
32952 "\x57\x0e\x94\x17\x26\x39\xbb\x54"
32953 "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
32954 "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
32955 "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
32956 "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
32957 "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
32958 "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
32959 "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
32960 "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
32961 "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
32962 "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
32963 "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
32964 "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
32965 "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
32966 "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
32967 "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
32968 "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
32969 "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
32970 "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
32971 "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
32972 "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
32973 "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
32974 "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
32975 "\xae\xe7\x61\x32\xef\x41\x6c\x75"
32976 "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
32977 "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
32978 "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
32979 "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
32980 "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
32981 "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
32982 "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
32983 "\xc1\x22\xf3\x79\xae\x95\x78\x66"
32984 "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
32985 "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
32986 "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
32987 "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
32988 "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
32989 "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
32990 "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
32991 "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
32992 "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
32993 "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
32994 "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
32995 "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
32996 "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
32997 "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
32998 "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
32999 "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
33000 "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
33001 "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
33002 "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
33003 "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
33004 "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
33005 "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
33006 "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
33007 "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
33008 "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
33009 "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
33010 "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
33011 "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
33012 "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
33013 "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
33014 "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
33015 "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
33016 "\x54\x1c\x34\x72\xde\x0c\x68\x39"
33017 "\x9d\x32\xa5\x75\x92\x13\x32\xea"
33018 "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
33019 "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
33020 "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
33021 "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
33022 "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
33023 "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
33024 "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
33025 "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
33026 "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
33027 "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
33028 "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
33029 "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
33030 "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
33031 "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
33032 "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
33033 "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
33034 "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
33035 "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
33036 "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
33037 "\x79\x61\x23\xe0\xa2\x99\x73\x55"
33038 "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
33039 "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
33040 "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
33041 "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
33042 "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
33043 "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
33044 "\x48\x56\xaa\x85\x22\xd8\x36\xed"
33045 "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
33046 "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
33047 "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
33048 "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
33049 "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
33050 "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
33051 "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
33052 "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
33053 "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
33054 "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
33055 "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
33056 "\xec\x83\x92\x99\x87\x47\xe0\x7c"
33057 "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
33058 "\x98\xb0\x87\xb6\x86\x13\x64\x33"
33059 "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
33060 "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
33061 "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
33062 "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
33063 "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
33064 "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
33065 "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
33066 "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
33067 "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
33068 "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
33069 "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
33070 "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
33071 "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
33072 "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
33073 "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
33074 "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
33075 "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
33076 "\x5f\xae\x25\x84\x22\x90\x5f\x26"
33077 "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
33078 "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
33079 "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
33080 "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
33081 "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
33082 "\x74\x06\x89\x0e\x90\xeb\x85\xff"
33083 "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
33084 "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
33085 "\x02\x85\x68\xd0\x03\x12\xde\x92"
33086 "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
33087 "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
33088 "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
33089 "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
33090 "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
33091 "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
33092 "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
33093 "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
33094 "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
33095 "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
33096 "\x98",
33097 .rlen = 1281,
33098 .also_non_np = 1,
33099 .np = 3,
33100 .tap = { 1200, 1, 80 },
33105 * CTS (Cipher Text Stealing) mode tests
33107 static const struct cipher_testvec cts_mode_enc_tv_template[] = {
33108 { /* from rfc3962 */
33109 .klen = 16,
33110 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33111 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33112 .ilen = 17,
33113 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33114 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33115 "\x20",
33116 .rlen = 17,
33117 .result = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33118 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33119 "\x97",
33120 }, {
33121 .klen = 16,
33122 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33123 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33124 .ilen = 31,
33125 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33126 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33127 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33128 "\x20\x47\x61\x75\x27\x73\x20",
33129 .rlen = 31,
33130 .result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33131 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33132 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33133 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33134 }, {
33135 .klen = 16,
33136 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33137 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33138 .ilen = 32,
33139 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33140 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33141 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33142 "\x20\x47\x61\x75\x27\x73\x20\x43",
33143 .rlen = 32,
33144 .result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33145 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33146 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33147 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33148 }, {
33149 .klen = 16,
33150 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33151 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33152 .ilen = 47,
33153 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33154 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33155 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33156 "\x20\x47\x61\x75\x27\x73\x20\x43"
33157 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33158 "\x70\x6c\x65\x61\x73\x65\x2c",
33159 .rlen = 47,
33160 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33161 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33162 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33163 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33164 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33165 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33166 }, {
33167 .klen = 16,
33168 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33169 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33170 .ilen = 48,
33171 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33172 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33173 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33174 "\x20\x47\x61\x75\x27\x73\x20\x43"
33175 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33176 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33177 .rlen = 48,
33178 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33179 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33180 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33181 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33182 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33183 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33184 }, {
33185 .klen = 16,
33186 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33187 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33188 .ilen = 64,
33189 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33190 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33191 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33192 "\x20\x47\x61\x75\x27\x73\x20\x43"
33193 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33194 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33195 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33196 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33197 .rlen = 64,
33198 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33199 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33200 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33201 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33202 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33203 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33204 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33205 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33209 static const struct cipher_testvec cts_mode_dec_tv_template[] = {
33210 { /* from rfc3962 */
33211 .klen = 16,
33212 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33213 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33214 .rlen = 17,
33215 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33216 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33217 "\x20",
33218 .ilen = 17,
33219 .input = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33220 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33221 "\x97",
33222 }, {
33223 .klen = 16,
33224 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33225 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33226 .rlen = 31,
33227 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33228 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33229 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33230 "\x20\x47\x61\x75\x27\x73\x20",
33231 .ilen = 31,
33232 .input = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33233 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33234 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33235 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33236 }, {
33237 .klen = 16,
33238 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33239 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33240 .rlen = 32,
33241 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33242 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33243 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33244 "\x20\x47\x61\x75\x27\x73\x20\x43",
33245 .ilen = 32,
33246 .input = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33247 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33248 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33249 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33250 }, {
33251 .klen = 16,
33252 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33253 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33254 .rlen = 47,
33255 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33256 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33257 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33258 "\x20\x47\x61\x75\x27\x73\x20\x43"
33259 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33260 "\x70\x6c\x65\x61\x73\x65\x2c",
33261 .ilen = 47,
33262 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33263 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33264 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33265 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33266 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33267 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33268 }, {
33269 .klen = 16,
33270 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33271 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33272 .rlen = 48,
33273 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33274 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33275 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33276 "\x20\x47\x61\x75\x27\x73\x20\x43"
33277 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33278 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33279 .ilen = 48,
33280 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33281 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33282 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33283 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33284 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33285 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33286 }, {
33287 .klen = 16,
33288 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33289 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33290 .rlen = 64,
33291 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33292 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33293 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33294 "\x20\x47\x61\x75\x27\x73\x20\x43"
33295 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33296 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33297 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33298 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33299 .ilen = 64,
33300 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33301 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33302 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33303 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33304 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33305 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33306 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33307 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33312 * Compression stuff.
33314 #define COMP_BUF_SIZE 512
33316 struct comp_testvec {
33317 int inlen, outlen;
33318 char input[COMP_BUF_SIZE];
33319 char output[COMP_BUF_SIZE];
33323 * Deflate test vectors (null-terminated strings).
33324 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33327 static const struct comp_testvec deflate_comp_tv_template[] = {
33329 .inlen = 70,
33330 .outlen = 38,
33331 .input = "Join us now and share the software "
33332 "Join us now and share the software ",
33333 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33334 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33335 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33336 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33337 "\x71\xbc\x08\x2b\x01\x00",
33338 }, {
33339 .inlen = 191,
33340 .outlen = 122,
33341 .input = "This document describes a compression method based on the DEFLATE"
33342 "compression algorithm. This document defines the application of "
33343 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33344 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33345 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33346 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33347 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33348 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33349 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33350 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33351 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33352 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33353 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33354 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33355 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33356 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33357 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33358 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33359 "\xfa\x02",
33363 static const struct comp_testvec deflate_decomp_tv_template[] = {
33365 .inlen = 122,
33366 .outlen = 191,
33367 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33368 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33369 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33370 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33371 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33372 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33373 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33374 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33375 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33376 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33377 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33378 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33379 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33380 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33381 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33382 "\xfa\x02",
33383 .output = "This document describes a compression method based on the DEFLATE"
33384 "compression algorithm. This document defines the application of "
33385 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33386 }, {
33387 .inlen = 38,
33388 .outlen = 70,
33389 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33390 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33391 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33392 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33393 "\x71\xbc\x08\x2b\x01\x00",
33394 .output = "Join us now and share the software "
33395 "Join us now and share the software ",
33399 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
33401 .inlen = 70,
33402 .outlen = 44,
33403 .input = "Join us now and share the software "
33404 "Join us now and share the software ",
33405 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
33406 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33407 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33408 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33409 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33410 "\x7c\x65\x19\x3d",
33411 }, {
33412 .inlen = 191,
33413 .outlen = 129,
33414 .input = "This document describes a compression method based on the DEFLATE"
33415 "compression algorithm. This document defines the application of "
33416 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33417 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
33418 "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
33419 "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
33420 "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
33421 "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
33422 "\xee\x20\x9f\x64\x20\x6a\x78\x17"
33423 "\xae\x86\xc8\x23\x74\x59\x78\x80"
33424 "\x10\xb4\xb4\xce\x63\x88\x56\x14"
33425 "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
33426 "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
33427 "\xae\x51\x7e\x69\x17\x4b\x65\x02"
33428 "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
33429 "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
33430 "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
33431 "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
33432 "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
33433 "\x4e",
33437 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
33439 .inlen = 128,
33440 .outlen = 191,
33441 .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
33442 "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
33443 "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
33444 "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
33445 "\xef\x49\x68\x12\x51\xae\x76\x67"
33446 "\xd6\x27\x19\x88\x1a\xde\x85\xab"
33447 "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
33448 "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
33449 "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
33450 "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
33451 "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
33452 "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
33453 "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
33454 "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
33455 "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
33456 "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
33457 .output = "This document describes a compression method based on the DEFLATE"
33458 "compression algorithm. This document defines the application of "
33459 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33460 }, {
33461 .inlen = 44,
33462 .outlen = 70,
33463 .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
33464 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33465 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33466 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33467 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33468 "\x7c\x65\x19\x3d",
33469 .output = "Join us now and share the software "
33470 "Join us now and share the software ",
33475 * LZO test vectors (null-terminated strings).
33477 static const struct comp_testvec lzo_comp_tv_template[] = {
33479 .inlen = 70,
33480 .outlen = 57,
33481 .input = "Join us now and share the software "
33482 "Join us now and share the software ",
33483 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33484 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33485 "\x64\x20\x73\x68\x61\x72\x65\x20"
33486 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33487 "\x77\x70\x01\x32\x88\x00\x0c\x65"
33488 "\x20\x74\x68\x65\x20\x73\x6f\x66"
33489 "\x74\x77\x61\x72\x65\x20\x11\x00"
33490 "\x00",
33491 }, {
33492 .inlen = 159,
33493 .outlen = 131,
33494 .input = "This document describes a compression method based on the LZO "
33495 "compression algorithm. This document defines the application of "
33496 "the LZO algorithm used in UBIFS.",
33497 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
33498 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33499 "\x64\x65\x73\x63\x72\x69\x62\x65"
33500 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33501 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33502 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33503 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33504 "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33505 "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33506 "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33507 "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33508 "\x73\x20\x74\x06\x05\x61\x70\x70"
33509 "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33510 "\x66\x88\x02\x60\x09\x27\xf0\x00"
33511 "\x0c\x20\x75\x73\x65\x64\x20\x69"
33512 "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33513 "\x11\x00\x00",
33517 static const struct comp_testvec lzo_decomp_tv_template[] = {
33519 .inlen = 133,
33520 .outlen = 159,
33521 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
33522 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33523 "\x64\x65\x73\x63\x72\x69\x62\x65"
33524 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33525 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33526 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33527 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33528 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33529 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33530 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33531 "\x68\x69\x73\x2a\x54\x01\x02\x66"
33532 "\x69\x6e\x65\x73\x94\x06\x05\x61"
33533 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33534 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33535 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33536 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33537 "\x53\x2e\x11\x00\x00",
33538 .output = "This document describes a compression method based on the LZO "
33539 "compression algorithm. This document defines the application of "
33540 "the LZO algorithm used in UBIFS.",
33541 }, {
33542 .inlen = 46,
33543 .outlen = 70,
33544 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33545 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33546 "\x64\x20\x73\x68\x61\x72\x65\x20"
33547 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33548 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33549 "\x3d\x88\x00\x11\x00\x00",
33550 .output = "Join us now and share the software "
33551 "Join us now and share the software ",
33556 * Michael MIC test vectors from IEEE 802.11i
33558 #define MICHAEL_MIC_TEST_VECTORS 6
33560 static const struct hash_testvec michael_mic_tv_template[] = {
33562 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
33563 .ksize = 8,
33564 .plaintext = zeroed_string,
33565 .psize = 0,
33566 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33569 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33570 .ksize = 8,
33571 .plaintext = "M",
33572 .psize = 1,
33573 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33576 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33577 .ksize = 8,
33578 .plaintext = "Mi",
33579 .psize = 2,
33580 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33583 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33584 .ksize = 8,
33585 .plaintext = "Mic",
33586 .psize = 3,
33587 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33590 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33591 .ksize = 8,
33592 .plaintext = "Mich",
33593 .psize = 4,
33594 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33597 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33598 .ksize = 8,
33599 .plaintext = "Michael",
33600 .psize = 7,
33601 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
33606 * CRC32 test vectors
33608 static const struct hash_testvec crc32_tv_template[] = {
33610 .key = "\x87\xa9\xcb\xed",
33611 .ksize = 4,
33612 .psize = 0,
33613 .digest = "\x87\xa9\xcb\xed",
33616 .key = "\xff\xff\xff\xff",
33617 .ksize = 4,
33618 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33619 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33620 "\x11\x12\x13\x14\x15\x16\x17\x18"
33621 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33622 "\x21\x22\x23\x24\x25\x26\x27\x28",
33623 .psize = 40,
33624 .digest = "\x3a\xdf\x4b\xb0",
33627 .key = "\xff\xff\xff\xff",
33628 .ksize = 4,
33629 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33630 "\x31\x32\x33\x34\x35\x36\x37\x38"
33631 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33632 "\x41\x42\x43\x44\x45\x46\x47\x48"
33633 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33634 .psize = 40,
33635 .digest = "\xa9\x7a\x7f\x7b",
33638 .key = "\xff\xff\xff\xff",
33639 .ksize = 4,
33640 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33641 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33642 "\x61\x62\x63\x64\x65\x66\x67\x68"
33643 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33644 "\x71\x72\x73\x74\x75\x76\x77\x78",
33645 .psize = 40,
33646 .digest = "\xba\xd3\xf8\x1c",
33649 .key = "\xff\xff\xff\xff",
33650 .ksize = 4,
33651 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33652 "\x81\x82\x83\x84\x85\x86\x87\x88"
33653 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33654 "\x91\x92\x93\x94\x95\x96\x97\x98"
33655 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33656 .psize = 40,
33657 .digest = "\xa8\xa9\xc2\x02",
33660 .key = "\xff\xff\xff\xff",
33661 .ksize = 4,
33662 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33663 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33664 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33665 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33666 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33667 .psize = 40,
33668 .digest = "\x27\xf0\x57\xe2",
33671 .key = "\xff\xff\xff\xff",
33672 .ksize = 4,
33673 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33674 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33675 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33676 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33677 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33678 .psize = 40,
33679 .digest = "\x49\x78\x10\x08",
33682 .key = "\x80\xea\xd3\xf1",
33683 .ksize = 4,
33684 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33685 "\x31\x32\x33\x34\x35\x36\x37\x38"
33686 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33687 "\x41\x42\x43\x44\x45\x46\x47\x48"
33688 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33689 .psize = 40,
33690 .digest = "\x9a\xb1\xdc\xf0",
33693 .key = "\xf3\x4a\x1d\x5d",
33694 .ksize = 4,
33695 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33696 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33697 "\x61\x62\x63\x64\x65\x66\x67\x68"
33698 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33699 "\x71\x72\x73\x74\x75\x76\x77\x78",
33700 .psize = 40,
33701 .digest = "\xb4\x97\xcc\xd4",
33704 .key = "\x2e\x80\x04\x59",
33705 .ksize = 4,
33706 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33707 "\x81\x82\x83\x84\x85\x86\x87\x88"
33708 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33709 "\x91\x92\x93\x94\x95\x96\x97\x98"
33710 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33711 .psize = 40,
33712 .digest = "\x67\x9b\xfa\x79",
33715 .key = "\xa6\xcc\x19\x85",
33716 .ksize = 4,
33717 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33718 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33719 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33720 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33721 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33722 .psize = 40,
33723 .digest = "\x24\xb5\x16\xef",
33726 .key = "\x41\xfc\xfe\x2d",
33727 .ksize = 4,
33728 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33729 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33730 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33731 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33732 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33733 .psize = 40,
33734 .digest = "\x15\x94\x80\x39",
33737 .key = "\xff\xff\xff\xff",
33738 .ksize = 4,
33739 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33740 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33741 "\x11\x12\x13\x14\x15\x16\x17\x18"
33742 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33743 "\x21\x22\x23\x24\x25\x26\x27\x28"
33744 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33745 "\x31\x32\x33\x34\x35\x36\x37\x38"
33746 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33747 "\x41\x42\x43\x44\x45\x46\x47\x48"
33748 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33749 "\x51\x52\x53\x54\x55\x56\x57\x58"
33750 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33751 "\x61\x62\x63\x64\x65\x66\x67\x68"
33752 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33753 "\x71\x72\x73\x74\x75\x76\x77\x78"
33754 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33755 "\x81\x82\x83\x84\x85\x86\x87\x88"
33756 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33757 "\x91\x92\x93\x94\x95\x96\x97\x98"
33758 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33759 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33760 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33761 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33762 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33763 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33764 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33765 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33766 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33767 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33768 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33769 .psize = 240,
33770 .digest = "\x6c\xc6\x56\xde",
33771 .np = 2,
33772 .tap = { 31, 209 }
33773 }, {
33774 .key = "\xff\xff\xff\xff",
33775 .ksize = 4,
33776 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33777 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33778 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33779 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33780 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33781 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33782 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33783 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33784 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33785 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33786 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33787 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33788 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33789 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33790 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33791 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33792 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33793 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33794 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33795 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
33796 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33797 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
33798 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33799 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33800 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33801 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33802 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33803 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33804 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33805 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
33806 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33807 "\x47\xde\x75\x0c\x80\x17\xae\x22"
33808 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33809 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33810 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33811 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33812 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33813 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33814 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33815 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33816 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33817 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33818 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33819 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33820 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33821 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33822 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33823 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33824 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33825 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33826 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33827 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33828 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33829 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33830 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33831 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33832 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33833 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33834 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33835 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33836 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33837 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33838 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33839 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33840 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33841 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33842 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33843 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33844 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33845 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33846 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33847 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33848 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33849 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33850 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33851 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33852 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33853 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33854 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33855 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33856 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33857 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33858 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33859 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33860 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33861 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33862 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33863 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33864 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33865 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33866 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33867 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33868 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33869 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33870 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33871 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33872 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33873 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33874 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33875 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33876 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33877 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33878 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33879 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33880 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33881 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33882 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33883 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33884 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33885 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33886 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33887 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33888 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33889 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33890 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33891 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33892 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33893 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33894 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33895 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33896 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33897 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33898 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33899 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33900 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33901 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33902 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33903 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33904 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33905 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33906 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33907 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33908 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33909 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33910 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33911 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33912 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33913 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33914 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33915 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33916 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33917 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33918 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33919 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33920 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33921 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33922 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33923 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33924 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33925 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33926 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33927 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33928 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33929 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33930 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33931 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33932 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33933 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33934 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
33935 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33936 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33937 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33938 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33939 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33940 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33941 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33942 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33943 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33944 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
33945 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33946 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33947 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33948 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33949 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33950 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33951 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33952 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33953 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33954 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33955 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33956 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33957 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33958 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
33959 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33960 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
33961 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33962 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33963 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33964 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33965 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33966 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33967 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33968 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
33969 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33970 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
33971 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33972 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33973 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33974 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
33975 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33976 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33977 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33978 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33979 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33980 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33981 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33982 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33983 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33984 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33985 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33986 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33987 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33988 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33989 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33990 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33991 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33992 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33993 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33994 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33995 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33996 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33997 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33998 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33999 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34000 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34001 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34002 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34003 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34004 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34005 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34006 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34007 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34008 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34009 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34010 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
34011 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34012 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
34013 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34014 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34015 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34016 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34017 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34018 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34019 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34020 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34021 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34022 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34023 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34024 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34025 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34026 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34027 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34028 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34029 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34030 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34031 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34032 .psize = 2048,
34033 .digest = "\xfb\x3a\x7a\xda",
34038 * CRC32C test vectors
34040 static const struct hash_testvec crc32c_tv_template[] = {
34042 .psize = 0,
34043 .digest = "\x00\x00\x00\x00",
34046 .key = "\x87\xa9\xcb\xed",
34047 .ksize = 4,
34048 .psize = 0,
34049 .digest = "\x78\x56\x34\x12",
34052 .key = "\xff\xff\xff\xff",
34053 .ksize = 4,
34054 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34055 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34056 "\x11\x12\x13\x14\x15\x16\x17\x18"
34057 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34058 "\x21\x22\x23\x24\x25\x26\x27\x28",
34059 .psize = 40,
34060 .digest = "\x7f\x15\x2c\x0e",
34063 .key = "\xff\xff\xff\xff",
34064 .ksize = 4,
34065 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34066 "\x31\x32\x33\x34\x35\x36\x37\x38"
34067 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34068 "\x41\x42\x43\x44\x45\x46\x47\x48"
34069 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34070 .psize = 40,
34071 .digest = "\xf6\xeb\x80\xe9",
34074 .key = "\xff\xff\xff\xff",
34075 .ksize = 4,
34076 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34077 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34078 "\x61\x62\x63\x64\x65\x66\x67\x68"
34079 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34080 "\x71\x72\x73\x74\x75\x76\x77\x78",
34081 .psize = 40,
34082 .digest = "\xed\xbd\x74\xde",
34085 .key = "\xff\xff\xff\xff",
34086 .ksize = 4,
34087 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34088 "\x81\x82\x83\x84\x85\x86\x87\x88"
34089 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34090 "\x91\x92\x93\x94\x95\x96\x97\x98"
34091 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34092 .psize = 40,
34093 .digest = "\x62\xc8\x79\xd5",
34096 .key = "\xff\xff\xff\xff",
34097 .ksize = 4,
34098 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34099 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34100 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34101 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34102 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34103 .psize = 40,
34104 .digest = "\xd0\x9a\x97\xba",
34107 .key = "\xff\xff\xff\xff",
34108 .ksize = 4,
34109 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34110 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34111 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34112 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34113 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34114 .psize = 40,
34115 .digest = "\x13\xd9\x29\x2b",
34118 .key = "\x80\xea\xd3\xf1",
34119 .ksize = 4,
34120 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34121 "\x31\x32\x33\x34\x35\x36\x37\x38"
34122 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34123 "\x41\x42\x43\x44\x45\x46\x47\x48"
34124 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34125 .psize = 40,
34126 .digest = "\x0c\xb5\xe2\xa2",
34129 .key = "\xf3\x4a\x1d\x5d",
34130 .ksize = 4,
34131 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34132 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34133 "\x61\x62\x63\x64\x65\x66\x67\x68"
34134 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34135 "\x71\x72\x73\x74\x75\x76\x77\x78",
34136 .psize = 40,
34137 .digest = "\xd1\x7f\xfb\xa6",
34140 .key = "\x2e\x80\x04\x59",
34141 .ksize = 4,
34142 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34143 "\x81\x82\x83\x84\x85\x86\x87\x88"
34144 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34145 "\x91\x92\x93\x94\x95\x96\x97\x98"
34146 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34147 .psize = 40,
34148 .digest = "\x59\x33\xe6\x7a",
34151 .key = "\xa6\xcc\x19\x85",
34152 .ksize = 4,
34153 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34154 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34155 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34156 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34157 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34158 .psize = 40,
34159 .digest = "\xbe\x03\x01\xd2",
34162 .key = "\x41\xfc\xfe\x2d",
34163 .ksize = 4,
34164 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34165 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34166 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34167 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34168 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34169 .psize = 40,
34170 .digest = "\x75\xd3\xc5\x24",
34173 .key = "\xff\xff\xff\xff",
34174 .ksize = 4,
34175 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34176 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34177 "\x11\x12\x13\x14\x15\x16\x17\x18"
34178 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34179 "\x21\x22\x23\x24\x25\x26\x27\x28"
34180 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34181 "\x31\x32\x33\x34\x35\x36\x37\x38"
34182 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34183 "\x41\x42\x43\x44\x45\x46\x47\x48"
34184 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34185 "\x51\x52\x53\x54\x55\x56\x57\x58"
34186 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34187 "\x61\x62\x63\x64\x65\x66\x67\x68"
34188 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34189 "\x71\x72\x73\x74\x75\x76\x77\x78"
34190 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34191 "\x81\x82\x83\x84\x85\x86\x87\x88"
34192 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34193 "\x91\x92\x93\x94\x95\x96\x97\x98"
34194 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34195 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34196 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34197 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34198 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34199 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34200 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34201 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34202 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34203 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34204 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34205 .psize = 240,
34206 .digest = "\x75\xd3\xc5\x24",
34207 .np = 2,
34208 .tap = { 31, 209 }
34209 }, {
34210 .key = "\xff\xff\xff\xff",
34211 .ksize = 4,
34212 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34213 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34214 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34215 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34216 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34217 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34218 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34219 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34220 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34221 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34222 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34223 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34224 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34225 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34226 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34227 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34228 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34229 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34230 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34231 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
34232 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34233 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
34234 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34235 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34236 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34237 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34238 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34239 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34240 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34241 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
34242 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34243 "\x47\xde\x75\x0c\x80\x17\xae\x22"
34244 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34245 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34246 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34247 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34248 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34249 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34250 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34251 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34252 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34253 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34254 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34255 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34256 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34257 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34258 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34259 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34260 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34261 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34262 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34263 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34264 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34265 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34266 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34267 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34268 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34269 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34270 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34271 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34272 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34273 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34274 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34275 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34276 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34277 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34278 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34279 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34280 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34281 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34282 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34283 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34284 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34285 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34286 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34287 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34288 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34289 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34290 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34291 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34292 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34293 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34294 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34295 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34296 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34297 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34298 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34299 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34300 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34301 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34302 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34303 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34304 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34305 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34306 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34307 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34308 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34309 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34310 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34311 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34312 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34313 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34314 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34315 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34316 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34317 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34318 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34319 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34320 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34321 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34322 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34323 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34324 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34325 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34326 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34327 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34328 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34329 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34330 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34331 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34332 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34333 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34334 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34335 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34336 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34337 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34338 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34339 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34340 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34341 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34342 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34343 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34344 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34345 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34346 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34347 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34348 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34349 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34350 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34351 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34352 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34353 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34354 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34355 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34356 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34357 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34358 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34359 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34360 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34361 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34362 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34363 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34364 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34365 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34366 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34367 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34368 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34369 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34370 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
34371 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34372 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34373 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34374 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34375 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34376 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34377 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34378 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34379 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34380 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
34381 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34382 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34383 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34384 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34385 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34386 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34387 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34388 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34389 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34390 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34391 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34392 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34393 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34394 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
34395 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34396 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
34397 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34398 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34399 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34400 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34401 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34402 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34403 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34404 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
34405 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34406 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
34407 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34408 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34409 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34410 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
34411 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34412 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34413 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34414 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34415 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34416 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34417 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34418 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34419 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34420 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34421 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34422 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34423 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34424 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34425 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34426 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34427 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34428 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34429 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34430 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34431 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34432 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34433 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34434 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34435 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34436 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34437 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34438 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34439 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34440 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34441 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34442 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34443 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34444 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34445 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34446 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
34447 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34448 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
34449 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34450 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34451 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34452 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34453 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34454 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34455 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34456 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34457 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34458 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34459 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34460 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34461 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34462 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34463 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34464 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34465 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34466 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34467 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34468 .psize = 2048,
34469 .digest = "\xec\x26\x4d\x95",
34474 * Blakcifn CRC test vectors
34476 static const struct hash_testvec bfin_crc_tv_template[] = {
34478 .psize = 0,
34479 .digest = "\x00\x00\x00\x00",
34482 .key = "\x87\xa9\xcb\xed",
34483 .ksize = 4,
34484 .psize = 0,
34485 .digest = "\x87\xa9\xcb\xed",
34488 .key = "\xff\xff\xff\xff",
34489 .ksize = 4,
34490 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34491 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34492 "\x11\x12\x13\x14\x15\x16\x17\x18"
34493 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34494 "\x21\x22\x23\x24\x25\x26\x27\x28",
34495 .psize = 40,
34496 .digest = "\x84\x0c\x8d\xa2",
34499 .key = "\xff\xff\xff\xff",
34500 .ksize = 4,
34501 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34502 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34503 "\x11\x12\x13\x14\x15\x16\x17\x18"
34504 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34505 "\x21\x22\x23\x24\x25\x26",
34506 .psize = 38,
34507 .digest = "\x8c\x58\xec\xb7",
34510 .key = "\xff\xff\xff\xff",
34511 .ksize = 4,
34512 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34513 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34514 "\x11\x12\x13\x14\x15\x16\x17\x18"
34515 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34516 "\x21\x22\x23\x24\x25\x26\x27",
34517 .psize = 39,
34518 .digest = "\xdc\x50\x28\x7b",
34521 .key = "\xff\xff\xff\xff",
34522 .ksize = 4,
34523 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34524 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34525 "\x11\x12\x13\x14\x15\x16\x17\x18"
34526 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34527 "\x21\x22\x23\x24\x25\x26\x27\x28"
34528 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34529 "\x31\x32\x33\x34\x35\x36\x37\x38"
34530 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34531 "\x41\x42\x43\x44\x45\x46\x47\x48"
34532 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34533 "\x51\x52\x53\x54\x55\x56\x57\x58"
34534 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34535 "\x61\x62\x63\x64\x65\x66\x67\x68"
34536 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34537 "\x71\x72\x73\x74\x75\x76\x77\x78"
34538 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34539 "\x81\x82\x83\x84\x85\x86\x87\x88"
34540 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34541 "\x91\x92\x93\x94\x95\x96\x97\x98"
34542 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34543 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34544 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34545 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34546 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34547 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34548 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34549 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34550 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34551 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34552 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34553 .psize = 240,
34554 .digest = "\x10\x19\x4a\x5c",
34555 .np = 2,
34556 .tap = { 31, 209 }
34561 static const struct comp_testvec lz4_comp_tv_template[] = {
34563 .inlen = 255,
34564 .outlen = 218,
34565 .input = "LZ4 is lossless compression algorithm, providing"
34566 " compression speed at 400 MB/s per core, scalable "
34567 "with multi-cores CPU. It features an extremely fast "
34568 "decoder, with speed in multiple GB/s per core, "
34569 "typically reaching RAM speed limits on multi-core "
34570 "systems.",
34571 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34572 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34573 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34574 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34575 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34576 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34577 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34578 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34579 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34580 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34581 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34582 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34583 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34584 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34585 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34586 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34587 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34592 static const struct comp_testvec lz4_decomp_tv_template[] = {
34594 .inlen = 218,
34595 .outlen = 255,
34596 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34597 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34598 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34599 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34600 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34601 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34602 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34603 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34604 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34605 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34606 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34607 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34608 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34609 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34610 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34611 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34612 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34613 .output = "LZ4 is lossless compression algorithm, providing"
34614 " compression speed at 400 MB/s per core, scalable "
34615 "with multi-cores CPU. It features an extremely fast "
34616 "decoder, with speed in multiple GB/s per core, "
34617 "typically reaching RAM speed limits on multi-core "
34618 "systems.",
34622 static const struct comp_testvec lz4hc_comp_tv_template[] = {
34624 .inlen = 255,
34625 .outlen = 216,
34626 .input = "LZ4 is lossless compression algorithm, providing"
34627 " compression speed at 400 MB/s per core, scalable "
34628 "with multi-cores CPU. It features an extremely fast "
34629 "decoder, with speed in multiple GB/s per core, "
34630 "typically reaching RAM speed limits on multi-core "
34631 "systems.",
34632 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34633 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34634 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34635 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34636 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34637 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34638 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34639 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34640 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34641 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34642 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34643 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34644 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34645 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34646 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34647 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34648 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34653 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
34655 .inlen = 216,
34656 .outlen = 255,
34657 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34658 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34659 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34660 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34661 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34662 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34663 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34664 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34665 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34666 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34667 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34668 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34669 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34670 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34671 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34672 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34673 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34674 .output = "LZ4 is lossless compression algorithm, providing"
34675 " compression speed at 400 MB/s per core, scalable "
34676 "with multi-cores CPU. It features an extremely fast "
34677 "decoder, with speed in multiple GB/s per core, "
34678 "typically reaching RAM speed limits on multi-core "
34679 "systems.",
34683 #endif /* _CRYPTO_TESTMGR_H */