projects/linux·blob master · refs

37444 lines · 1.4 MiB

1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Algorithm testing framework and tests.
4 *
5 * Copyright (c) 2002 James Morris <[email protected]>
6 * Copyright (c) 2002 Jean-Francois Dive <[email protected]>
7 * Copyright (c) 2007 Nokia Siemens Networks
8 * Copyright (c) 2008 Herbert Xu <[email protected]>
9 * Copyright (c) 2019 Google LLC
10 *
11 * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
12 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
13 * gcm/gcm-test-vectors.tar.gz
14 * Authors: Aidan O'Mahony ([email protected])
15 * Adrian Hoban <[email protected]>
16 * Gabriele Paoloni <[email protected]>
17 * Tadeusz Struk ([email protected])
18 * Copyright (c) 2010, Intel Corporation.
19 */
20#ifndef _CRYPTO_TESTMGR_H
21#define _CRYPTO_TESTMGR_H
22
23#include <linux/oid_registry.h>
24#include <crypto/internal/ecc.h>
25
26#define MAX_IVLEN 32
27
28/*
29 * hash_testvec: structure to describe a hash (message digest) test
30 * @key: Pointer to key (NULL if none)
31 * @plaintext: Pointer to source data
32 * @digest: Pointer to expected digest
33 * @psize: Length of source data in bytes
34 * @ksize: Length of @key in bytes (0 if no key)
35 * @setkey_error: Expected error from setkey()
36 * @digest_error: Expected error from digest()
37 * @fips_skip: Skip the test vector in FIPS mode
38 */
39struct hash_testvec {
40 const char *key;
41 const char *plaintext;
42 const char *digest;
43 unsigned int psize;
44 unsigned short ksize;
45 int setkey_error;
46 int digest_error;
47 bool fips_skip;
48};
49
50/*
51 * cipher_testvec: structure to describe a symmetric cipher test
52 * @key: Pointer to key
53 * @klen: Length of @key in bytes
54 * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
55 * @iv_out: Pointer to output IV, if applicable for the cipher.
56 * @ptext: Pointer to plaintext
57 * @ctext: Pointer to ciphertext
58 * @len: Length of @ptext and @ctext in bytes
59 * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
60 * ( e.g. test needs to fail due to a weak key )
61 * @fips_skip: Skip the test vector in FIPS mode
62 * @setkey_error: Expected error from setkey()
63 * @crypt_error: Expected error from encrypt() and decrypt()
64 */
65struct cipher_testvec {
66 const char *key;
67 const char *iv;
68 const char *iv_out;
69 const char *ptext;
70 const char *ctext;
71 unsigned char wk; /* weak key flag */
72 unsigned short klen;
73 unsigned int len;
74 bool fips_skip;
75 int setkey_error;
76 int crypt_error;
77};
78
79/*
80 * aead_testvec: structure to describe an AEAD test
81 * @key: Pointer to key
82 * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
83 * @ptext: Pointer to plaintext
84 * @assoc: Pointer to associated data
85 * @ctext: Pointer to the full authenticated ciphertext. For AEADs that
86 * produce a separate "ciphertext" and "authentication tag", these
87 * two parts are concatenated: ciphertext || tag.
88 * @novrfy: If set, this is an inauthentic input test: only decryption is
89 * tested, and it is expected to fail with either -EBADMSG or
90 * @crypt_error if it is nonzero.
91 * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
92 * (e.g. setkey() needs to fail due to a weak key)
93 * @klen: Length of @key in bytes
94 * @plen: Length of @ptext in bytes
95 * @alen: Length of @assoc in bytes
96 * @clen: Length of @ctext in bytes
97 * @setkey_error: Expected error from setkey(). If set, neither encryption nor
98 * decryption is tested.
99 * @setauthsize_error: Expected error from setauthsize(). If set, neither
100 * encryption nor decryption is tested.
101 * @crypt_error: When @novrfy=0, the expected error from encrypt(). When
102 * @novrfy=1, an optional alternate error code that is acceptable
103 * for decrypt() to return besides -EBADMSG.
104 */
105struct aead_testvec {
106 const char *key;
107 const char *iv;
108 const char *ptext;
109 const char *assoc;
110 const char *ctext;
111 unsigned char novrfy;
112 unsigned char wk;
113 unsigned char klen;
114 unsigned int plen;
115 unsigned int clen;
116 unsigned int alen;
117 int setkey_error;
118 int setauthsize_error;
119 int crypt_error;
120};
121
122struct drbg_testvec {
123 /* Instantiate */
124 const unsigned char *entropy;
125 size_t entropylen;
126 const unsigned char *pers;
127 size_t perslen;
128
129 /* Reseed (optional) */
130 const unsigned char *ent_reseed;
131 size_t ent_reseed_len;
132 const unsigned char *addtl_reseed;
133 size_t addtl_reseed_len;
134
135 /* Generate (twice) */
136 const unsigned char *addtla;
137 const unsigned char *addtlb;
138 size_t addtllen;
139
140 /* Expected output from last call to Generate */
141 const unsigned char *expected;
142 size_t expectedlen;
143};
144
145struct akcipher_testvec {
146 const unsigned char *key;
147 const unsigned char *m;
148 const unsigned char *c;
149 unsigned int key_len;
150 unsigned int m_size;
151 unsigned int c_size;
152 bool public_key_vec;
153};
154
155struct sig_testvec {
156 const unsigned char *key;
157 const unsigned char *params;
158 const unsigned char *m;
159 const unsigned char *c;
160 unsigned int key_len;
161 unsigned int param_len;
162 unsigned int m_size;
163 unsigned int c_size;
164 bool public_key_vec;
165 enum OID algo;
166};
167
168struct kpp_testvec {
169 const unsigned char *secret;
170 const unsigned char *b_secret;
171 const unsigned char *b_public;
172 const unsigned char *expected_a_public;
173 const unsigned char *expected_ss;
174 unsigned short secret_size;
175 unsigned short b_secret_size;
176 unsigned short b_public_size;
177 unsigned short expected_a_public_size;
178 unsigned short expected_ss_size;
179 bool genkey;
180};
181
182static const char zeroed_string[48];
183
184/*
185 * RSA test vectors. Borrowed from openSSL.
186 */
187static const struct akcipher_testvec rsa_tv_template[] = {
188 {
189#ifndef CONFIG_CRYPTO_FIPS
190 .key =
191 "\x30\x82\x01\x38" /* sequence of 312 bytes */
192 "\x02\x01\x00" /* version - integer of 1 byte */
193 "\x02\x41" /* modulus - integer of 65 bytes */
194 "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
195 "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
196 "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
197 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
198 "\xF5"
199 "\x02\x01\x11" /* public key - integer of 1 byte */
200 "\x02\x40" /* private key - integer of 64 bytes */
201 "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
202 "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
203 "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
204 "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
205 "\x02\x21" /* prime1 - integer of 33 bytes */
206 "\x00\xD8\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
207 "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x12"
208 "\x0D"
209 "\x02\x21" /* prime2 - integer of 33 bytes */
210 "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
211 "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
212 "\x89"
213 "\x02\x20" /* exponent1 - integer of 32 bytes */
214 "\x59\x0B\x95\x72\xA2\xC2\xA9\xC4\x06\x05\x9D\xC2\xAB\x2F\x1D\xAF"
215 "\xEB\x7E\x8B\x4F\x10\xA7\x54\x9E\x8E\xED\xF5\xB4\xFC\xE0\x9E\x05"
216 "\x02\x21" /* exponent2 - integer of 33 bytes */
217 "\x00\x8E\x3C\x05\x21\xFE\x15\xE0\xEA\x06\xA3\x6F\xF0\xF1\x0C\x99"
218 "\x52\xC3\x5B\x7A\x75\x14\xFD\x32\x38\xB8\x0A\xAD\x52\x98\x62\x8D"
219 "\x51"
220 "\x02\x20" /* coefficient - integer of 32 bytes */
221 "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8"
222 "\xA9\x43\xE1\x1D\x10\xB2\x4D\x24\x9F\x2D\xEA\xFE\xF8\x0C\x18\x26",
223 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
224 .c =
225 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
226 "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
227 "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
228 "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
229 .key_len = 316,
230 .m_size = 8,
231 .c_size = 64,
232 }, {
233 .key =
234 "\x30\x82\x02\x5B" /* sequence of 603 bytes */
235 "\x02\x01\x00" /* version - integer of 1 byte */
236 "\x02\x81\x81" /* modulus - integer of 129 bytes */
237 "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
238 "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
239 "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
240 "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
241 "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
242 "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
243 "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
244 "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
245 "\xCB"
246 "\x02\x01\x11" /* public key - integer of 1 byte */
247 "\x02\x81\x81" /* private key - integer of 129 bytes */
248 "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
249 "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
250 "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
251 "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
252 "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
253 "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
254 "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
255 "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
256 "\xC1"
257 "\x02\x41" /* prime1 - integer of 65 bytes */
258 "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60"
259 "\x01\x99\xEB\x9F\x44\xAE\xF4\xFD\xA4\x93\xB8\x1A\x9E\x3D\x84\xF6"
260 "\x32\x12\x4E\xF0\x23\x6E\x5D\x1E\x3B\x7E\x28\xFA\xE7\xAA\x04\x0A"
261 "\x2D\x5B\x25\x21\x76\x45\x9D\x1F\x39\x75\x41\xBA\x2A\x58\xFB\x65"
262 "\x99"
263 "\x02\x41" /* prime2 - integer of 65 bytes */
264 "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
265 "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
266 "\x86\x98\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
267 "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x15"
268 "\x03"
269 "\x02\x40" /* exponent1 - integer of 64 bytes */
270 "\x54\x49\x4C\xA6\x3E\xBA\x03\x37\xE4\xE2\x40\x23\xFC\xD6\x9A\x5A"
271 "\xEB\x07\xDD\xDC\x01\x83\xA4\xD0\xAC\x9B\x54\xB0\x51\xF2\xB1\x3E"
272 "\xD9\x49\x09\x75\xEA\xB7\x74\x14\xFF\x59\xC1\xF7\x69\x2E\x9A\x2E"
273 "\x20\x2B\x38\xFC\x91\x0A\x47\x41\x74\xAD\xC9\x3C\x1F\x67\xC9\x81"
274 "\x02\x40" /* exponent2 - integer of 64 bytes */
275 "\x47\x1E\x02\x90\xFF\x0A\xF0\x75\x03\x51\xB7\xF8\x78\x86\x4C\xA9"
276 "\x61\xAD\xBD\x3A\x8A\x7E\x99\x1C\x5C\x05\x56\xA9\x4C\x31\x46\xA7"
277 "\xF9\x80\x3F\x8F\x6F\x8A\xE3\x42\xE9\x31\xFD\x8A\xE4\x7A\x22\x0D"
278 "\x1B\x99\xA4\x95\x84\x98\x07\xFE\x39\xF9\x24\x5A\x98\x36\xDA\x3D"
279 "\x02\x41" /* coefficient - integer of 65 bytes */
280 "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23"
281 "\xB3\x80\xF2\x71\xF7\x34\x53\x88\x50\x93\x07\x7F\xCD\x39\xE2\x11"
282 "\x9F\xC9\x86\x32\x15\x4F\x58\x83\xB1\x67\xA9\x67\xBF\x40\x2B\x4E"
283 "\x9E\x2E\x0F\x96\x56\xE6\x98\xEA\x36\x66\xED\xFB\x25\x79\x80\x39"
284 "\xF7",
285 .key_len = 607,
286 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
287 .c =
288 "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
289 "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
290 "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
291 "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
292 "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
293 "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
294 "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
295 "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
296 .m_size = 8,
297 .c_size = 128,
298 }, {
299#endif
300 .key =
301 "\x30\x82\x04\xA3" /* sequence of 1187 bytes */
302 "\x02\x01\x00" /* version - integer of 1 byte */
303 "\x02\x82\x01\x01\x00" /* modulus - integer of 256 bytes */
304 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
305 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
306 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
307 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
308 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
309 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
310 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
311 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
312 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
313 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
314 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
315 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
316 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
317 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
318 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
319 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
320 "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
321 "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
322 "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
323 "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
324 "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
325 "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
326 "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
327 "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
328 "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
329 "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
330 "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
331 "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
332 "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
333 "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
334 "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
335 "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
336 "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
337 "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
338 "\x02\x81\x81" /* prime1 - integer of 129 bytes */
339 "\x00\xFA\xAC\xE1\x37\x5E\x32\x11\x34\xC6\x72\x58\x2D\x91\x06\x3E"
340 "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0"
341 "\xB9\xAC\xB6\xCB\xBB\x41\xD0\x32\x81\x9A\x8F\x7A\x99\x30\x77\x6C"
342 "\x68\x27\xE2\x96\xB5\x72\xC9\xC3\xD4\x42\xAA\xAA\xCA\x95\x8F\xFF"
343 "\xC9\x9B\x52\x34\x30\x1D\xCF\xFE\xCF\x3C\x56\x68\x6E\xEF\xE7\x6C"
344 "\xD7\xFB\x99\xF5\x4A\xA5\x21\x1F\x2B\xEA\x93\xE8\x98\x26\xC4\x6E"
345 "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3"
346 "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77"
347 "\x03"
348 "\x02\x81\x81" /* prime2 - integer of 129 bytes */
349 "\x00\xDF\xB7\x52\xB6\xD7\xC0\xE2\x96\xE7\xC9\xFE\x5D\x71\x5A\xC4"
350 "\x40\x96\x2F\xE5\x87\xEA\xF3\xA5\x77\x11\x67\x3C\x8D\x56\x08\xA7"
351 "\xB5\x67\xFA\x37\xA8\xB8\xCF\x61\xE8\x63\xD8\x38\x06\x21\x2B\x92"
352 "\x09\xA6\x39\x3A\xEA\xA8\xB4\x45\x4B\x36\x10\x4C\xE4\x00\x66\x71"
353 "\x65\xF8\x0B\x94\x59\x4F\x8C\xFD\xD5\x34\xA2\xE7\x62\x84\x0A\xA7"
354 "\xBB\xDB\xD9\x8A\xCD\x05\xE1\xCC\x57\x7B\xF1\xF1\x1F\x11\x9D\xBA"
355 "\x3E\x45\x18\x99\x1B\x41\x64\x43\xEE\x97\x5D\x77\x13\x5B\x74\x69"
356 "\x73\x87\x95\x05\x07\xBE\x45\x07\x17\x7E\x4A\x69\x22\xF3\xDB\x05"
357 "\x39"
358 "\x02\x81\x80" /* exponent1 - integer of 128 bytes */
359 "\x5E\xD8\xDC\xDA\x53\x44\xC4\x67\xE0\x92\x51\x34\xE4\x83\xA5\x4D"
360 "\x3E\xDB\xA7\x9B\x82\xBB\x73\x81\xFC\xE8\x77\x4B\x15\xBE\x17\x73"
361 "\x49\x9B\x5C\x98\xBC\xBD\x26\xEF\x0C\xE9\x2E\xED\x19\x7E\x86\x41"
362 "\x1E\x9E\x48\x81\xDD\x2D\xE4\x6F\xC2\xCD\xCA\x93\x9E\x65\x7E\xD5"
363 "\xEC\x73\xFD\x15\x1B\xA2\xA0\x7A\x0F\x0D\x6E\xB4\x53\x07\x90\x92"
364 "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5"
365 "\x56\xF4\xF3\xF8\x27\x0A\x7B\x42\x0D\x92\x70\x47\xE7\x42\x51\xA9"
366 "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB"
367 "\x02\x81\x80" /* exponent2 - integer of 128 bytes */
368 "\x54\x09\x1F\x0F\x03\xD8\xB6\xC5\x0C\xE8\xB9\x9E\x0C\x38\x96\x43"
369 "\xD4\xA6\xC5\x47\xDB\x20\x0E\xE5\xBD\x29\xD4\x7B\x1A\xF8\x41\x57"
370 "\x49\x69\x9A\x82\xCC\x79\x4A\x43\xEB\x4D\x8B\x2D\xF2\x43\xD5\xA5"
371 "\xBE\x44\xFD\x36\xAC\x8C\x9B\x02\xF7\x9A\x03\xE8\x19\xA6\x61\xAE"
372 "\x76\x10\x93\x77\x41\x04\xAB\x4C\xED\x6A\xCC\x14\x1B\x99\x8D\x0C"
373 "\x6A\x37\x3B\x86\x6C\x51\x37\x5B\x1D\x79\xF2\xA3\x43\x10\xC6\xA7"
374 "\x21\x79\x6D\xF9\xE9\x04\x6A\xE8\x32\xFF\xAE\xFD\x1C\x7B\x8C\x29"
375 "\x13\xA3\x0C\xB2\xAD\xEC\x6C\x0F\x8D\x27\x12\x7B\x48\xB2\xDB\x31"
376 "\x02\x81\x81" /* coefficient - integer of 129 bytes */
377 "\x00\x8D\x1B\x05\xCA\x24\x1F\x0C\x53\x19\x52\x74\x63\x21\xFA\x78"
378 "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70"
379 "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77"
380 "\x5E\x0B\x4E\x5E\x03\x31\x30\xDF\xD6\xAE\x85\xD0\x81\xBB\x61\xC7"
381 "\xB1\x04\x5A\xC4\x6D\x56\x1C\xD9\x64\xE7\x85\x7F\x88\x91\xC9\x60"
382 "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61"
383 "\x1A\xD3\x73\x58\x4B\xD8\xA0\x54\x25\x48\x83\x6F\x82\x6C\xAF\x36"
384 "\x51\x2A\x5D\x14\x2F\x41\x25\x00\xDD\xF8\xF3\x95\xFE\x31\x25\x50"
385 "\x12",
386 .key_len = 1191,
387 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
388 .c =
389 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
390 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
391 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
392 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
393 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
394 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
395 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
396 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
397 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
398 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
399 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
400 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
401 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
402 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
403 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
404 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
405 .m_size = 8,
406 .c_size = 256,
407 }, {
408 .key =
409 "\x30\x82\x01\x09" /* sequence of 265 bytes */
410 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
411 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
412 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
413 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
414 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
415 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
416 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
417 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
418 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
419 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
420 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
421 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
422 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
423 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
424 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
425 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
426 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
427 "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
428 .key_len = 269,
429 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
430 .c =
431 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
432 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
433 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
434 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
435 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
436 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
437 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
438 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
439 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
440 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
441 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
442 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
443 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
444 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
445 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
446 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
447 .m_size = 8,
448 .c_size = 256,
449 .public_key_vec = true,
450#ifndef CONFIG_CRYPTO_FIPS
451 }, {
452 .key =
453 "\x30\x82\x09\x29" /* sequence of 2345 bytes */
454 "\x02\x01\x00" /* version integer of 1 byte */
455 "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
456 "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
457 "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
458 "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
459 "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
460 "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
461 "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
462 "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
463 "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
464 "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
465 "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
466 "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
467 "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
468 "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
469 "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
470 "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
471 "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
472 "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
473 "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
474 "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
475 "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
476 "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
477 "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
478 "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
479 "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
480 "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
481 "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
482 "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
483 "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
484 "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
485 "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
486 "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
487 "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
488 "\x9D"
489 "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
490 "\x02\x82\x02\x00" /* private key integer of 512 bytes */
491 "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
492 "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
493 "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
494 "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
495 "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
496 "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
497 "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
498 "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
499 "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
500 "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
501 "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
502 "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
503 "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
504 "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
505 "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
506 "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
507 "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
508 "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
509 "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
510 "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
511 "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
512 "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
513 "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
514 "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
515 "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
516 "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
517 "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
518 "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
519 "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
520 "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
521 "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
522 "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
523 "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
524 "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
525 "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
526 "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
527 "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
528 "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
529 "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
530 "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
531 "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
532 "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
533 "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
534 "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
535 "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
536 "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
537 "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
538 "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
539 "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
540 "\xAB"
541 "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
542 "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
543 "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
544 "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
545 "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
546 "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
547 "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
548 "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
549 "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
550 "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
551 "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
552 "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
553 "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
554 "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
555 "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
556 "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
557 "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
558 "\xD7"
559 "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
560 "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
561 "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
562 "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
563 "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
564 "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
565 "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
566 "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
567 "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
568 "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
569 "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
570 "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
571 "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
572 "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
573 "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
574 "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
575 "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
576 "\x6F"
577 "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
578 "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
579 "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
580 "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
581 "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
582 "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
583 "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
584 "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
585 "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
586 "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
587 "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
588 "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
589 "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
590 "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
591 "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
592 "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
593 "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
594 "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
595 "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
596 "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
597 "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
598 "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
599 "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
600 "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
601 "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
602 "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
603 "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
604 "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
605 "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
606 "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
607 "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
608 "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
609 "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
610 "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
611 "\x3D",
612 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
613 .c =
614 "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
615 "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
616 "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
617 "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
618 "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
619 "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
620 "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
621 "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
622 "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
623 "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
624 "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
625 "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
626 "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
627 "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
628 "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
629 "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
630 "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
631 "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
632 "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
633 "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
634 "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
635 "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
636 "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
637 "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
638 "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
639 "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
640 "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
641 "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
642 "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
643 "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
644 "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
645 "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
646 .key_len = 2349,
647 .m_size = 8,
648 .c_size = 512,
649#endif
650 }
651};
652
653#ifdef CONFIG_CPU_BIG_ENDIAN
654#define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8) \
655 0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8
656#else
657#define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8) \
658 0x##b8, 0x##b7, 0x##b6, 0x##b5, 0x##b4, 0x##b3, 0x##b2, 0x##b1
659#endif
660
661/*
662 * ECDSA test vectors.
663 */
664static const struct sig_testvec ecdsa_nist_p192_tv_template[] = {
665 {
666 .key = /* secp192r1(sha1) */
667 "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
668 "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
669 "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
670 "\x98",
671 .key_len = 49,
672 .m =
673 "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
674 "\x63\x85\xe7\x82",
675 .m_size = 20,
676 .c = (const unsigned char[]){
677 be64_to_cpua(ad, 59, ad, 88, 27, d6, 92, 6b),
678 be64_to_cpua(a0, 27, 91, c6, f6, 7f, c3, 09),
679 be64_to_cpua(ba, e5, 93, 83, 6e, b6, 3b, 63),
680 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
681 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
682 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
683 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
684 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
685 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
686 be64_to_cpua(86, 80, 6f, a5, 79, 77, da, d0),
687 be64_to_cpua(ef, 95, 52, 7b, a0, 0f, e4, 18),
688 be64_to_cpua(10, 68, 01, 9d, ba, ce, 83, 08),
689 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
690 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
691 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
692 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
693 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
694 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
695 .c_size = ECC_MAX_BYTES * 2,
696 .public_key_vec = true,
697 }, {
698 .key = /* secp192r1(sha224) */
699 "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
700 "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
701 "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
702 "\xa3",
703 .key_len = 49,
704 .m =
705 "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
706 "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
707 .m_size = 28,
708 .c = (const unsigned char[]){
709 be64_to_cpua(83, 7b, 12, e6, b6, 5b, cb, d4),
710 be64_to_cpua(14, f8, 11, 2b, 55, dc, ae, 37),
711 be64_to_cpua(5a, 8b, 82, 69, 7e, 8a, 0a, 09),
712 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
713 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
714 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
715 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
716 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
717 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
718 be64_to_cpua(a3, e3, 5c, 99, db, 92, 5b, 36),
719 be64_to_cpua(eb, c3, 92, 0f, 1e, 72, ee, c4),
720 be64_to_cpua(6a, 14, 4f, 53, 75, c8, 02, 48),
721 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
722 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
723 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
724 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
725 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
726 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
727 .c_size = ECC_MAX_BYTES * 2,
728 .public_key_vec = true,
729 }, {
730 .key = /* secp192r1(sha256) */
731 "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
732 "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
733 "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
734 "\x91",
735 .key_len = 49,
736 .m =
737 "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
738 "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
739 .m_size = 32,
740 .c = (const unsigned char[]){
741 be64_to_cpua(01, 48, fb, 5f, 72, 2a, d4, 8f),
742 be64_to_cpua(6b, 1a, 58, 56, f1, 8f, f7, fd),
743 be64_to_cpua(3f, 72, 3f, 1f, 42, d2, 3f, 1d),
744 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
745 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
746 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
747 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
748 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
749 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
750 be64_to_cpua(7d, 3a, 97, d9, cd, 1a, 6a, 49),
751 be64_to_cpua(32, dd, 41, 74, 6a, 51, c7, d9),
752 be64_to_cpua(b3, 69, 43, fd, 48, 19, 86, cf),
753 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
754 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
755 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
756 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
757 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
758 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
759 .c_size = ECC_MAX_BYTES * 2,
760 .public_key_vec = true,
761 }, {
762 .key = /* secp192r1(sha384) */
763 "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
764 "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
765 "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
766 "\x8b",
767 .key_len = 49,
768 .m =
769 "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
770 "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
771 "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
772 .m_size = 48,
773 .c = (const unsigned char[]){
774 be64_to_cpua(dd, 15, bb, d6, 8c, a7, 03, 78),
775 be64_to_cpua(cf, 7f, 34, b4, b4, e5, c5, 00),
776 be64_to_cpua(f0, a3, 38, ce, 2b, f8, 9d, 1a),
777 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
778 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
779 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
780 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
781 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
782 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
783 be64_to_cpua(93, 12, 3b, 3b, 28, fb, 6d, e1),
784 be64_to_cpua(d1, 01, 77, 44, 5d, 53, a4, 7c),
785 be64_to_cpua(64, bc, 5a, 1f, 82, 96, 61, d7),
786 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
787 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
788 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
789 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
790 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
791 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
792 .c_size = ECC_MAX_BYTES * 2,
793 .public_key_vec = true,
794 }, {
795 .key = /* secp192r1(sha512) */
796 "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
797 "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
798 "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
799 "\x57",
800 .key_len = 49,
801 .m =
802 "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
803 "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
804 "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
805 "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
806 .m_size = 64,
807 .c = (const unsigned char[]){
808 be64_to_cpua(2b, 11, 2d, 1c, b6, 06, c9, 6c),
809 be64_to_cpua(dd, 3f, 07, 87, 12, a0, d4, ac),
810 be64_to_cpua(88, 5b, 8f, 59, 43, bf, cf, c6),
811 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
812 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
813 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
814 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
815 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
816 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
817 be64_to_cpua(28, 6a, df, 97, fd, 82, 76, 24),
818 be64_to_cpua(a9, 14, 2a, 5e, f5, e5, fb, 72),
819 be64_to_cpua(73, b4, 22, 9a, 98, 73, 3c, 83),
820 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
821 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
822 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
823 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
824 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
825 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
826 .c_size = ECC_MAX_BYTES * 2,
827 .public_key_vec = true,
828 },
829};
830
831static const struct sig_testvec ecdsa_nist_p256_tv_template[] = {
832 {
833 .key = /* secp256r1(sha1) */
834 "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
835 "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
836 "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
837 "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
838 "\xaf",
839 .key_len = 65,
840 .m =
841 "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
842 "\x0b\xde\x6a\x42",
843 .m_size = 20,
844 .c = (const unsigned char[]){
845 be64_to_cpua(ee, ca, 6a, 52, 0e, 48, 4d, cc),
846 be64_to_cpua(f7, d4, ad, 8d, 94, 5a, 69, 89),
847 be64_to_cpua(cf, d4, e7, b7, f0, 82, 56, 41),
848 be64_to_cpua(f9, 25, ce, 9f, 3a, a6, 35, 81),
849 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
850 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
851 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
852 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
853 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
854 be64_to_cpua(fb, 9d, 8b, de, d4, 8d, 6f, ad),
855 be64_to_cpua(f1, 03, 03, f3, 3b, e2, 73, f7),
856 be64_to_cpua(8a, fa, 54, 93, 29, a7, 70, 86),
857 be64_to_cpua(d7, e4, ef, 52, 66, d3, 5b, 9d),
858 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
859 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
860 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
861 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
862 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
863 .c_size = ECC_MAX_BYTES * 2,
864 .public_key_vec = true,
865 }, {
866 .key = /* secp256r1(sha224) */
867 "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
868 "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
869 "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
870 "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
871 "\xd4",
872 .key_len = 65,
873 .m =
874 "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
875 "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
876 .m_size = 28,
877 .c = (const unsigned char[]){
878 be64_to_cpua(7d, 25, d8, 25, f5, 81, d2, 1e),
879 be64_to_cpua(34, 62, 79, cb, 6a, 91, 67, 2e),
880 be64_to_cpua(ae, ce, 77, 59, 1a, db, 59, d5),
881 be64_to_cpua(20, 43, fa, c0, 9f, 9d, 7b, e7),
882 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
883 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
884 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
885 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
886 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
887 be64_to_cpua(ce, d5, 2e, 8b, de, 5a, 04, 0e),
888 be64_to_cpua(bf, 50, 05, 58, 39, 0e, 26, 92),
889 be64_to_cpua(76, 20, 4a, 77, 22, ec, c8, 66),
890 be64_to_cpua(5f, f8, 74, f8, 57, d0, 5e, 54),
891 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
892 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
893 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
894 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
895 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
896 .c_size = ECC_MAX_BYTES * 2,
897 .public_key_vec = true,
898 }, {
899 .key = /* secp256r1(sha256) */
900 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
901 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
902 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
903 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
904 "\xb8",
905 .key_len = 65,
906 .m =
907 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
908 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
909 .m_size = 32,
910 .c = (const unsigned char[]){
911 be64_to_cpua(91, dc, 02, 67, dc, 0c, d0, 82),
912 be64_to_cpua(ac, 44, c3, e8, 24, 11, 2d, a4),
913 be64_to_cpua(09, dc, 29, 63, a8, 1a, ad, fc),
914 be64_to_cpua(08, 31, fa, 74, 0d, 1d, 21, 5d),
915 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
916 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
917 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
918 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
919 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
920 be64_to_cpua(4f, 2a, 65, 35, 23, e3, 1d, fa),
921 be64_to_cpua(0a, 6e, 1b, c4, af, e1, 83, c3),
922 be64_to_cpua(f9, a9, 81, ac, 4a, 50, d0, 91),
923 be64_to_cpua(bd, ff, ce, ee, 42, c3, 97, ff),
924 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
925 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
926 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
927 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
928 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
929 .c_size = ECC_MAX_BYTES * 2,
930 .public_key_vec = true,
931 }, {
932 .key = /* secp256r1(sha384) */
933 "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
934 "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
935 "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
936 "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
937 "\x7c",
938 .key_len = 65,
939 .m =
940 "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
941 "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
942 "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
943 .m_size = 48,
944 .c = (const unsigned char[]){
945 be64_to_cpua(f2, e4, 6c, c7, 94, b1, d5, fe),
946 be64_to_cpua(08, b2, 6b, 24, 94, 48, 46, 5e),
947 be64_to_cpua(d0, 2e, 95, 54, d1, 95, 64, 93),
948 be64_to_cpua(8e, f3, 6f, dc, f8, 69, a6, 2e),
949 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
950 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
951 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
952 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
953 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
954 be64_to_cpua(c0, 60, 11, 92, dc, 17, 89, 12),
955 be64_to_cpua(69, f4, 3b, 4f, 47, cf, 9b, 16),
956 be64_to_cpua(19, fb, 5f, 92, f4, c9, 23, 37),
957 be64_to_cpua(eb, a7, 80, 26, dc, f9, 3a, 44),
958 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
959 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
960 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
961 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
962 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
963 .c_size = ECC_MAX_BYTES * 2,
964 .public_key_vec = true,
965 }, {
966 .key = /* secp256r1(sha512) */
967 "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
968 "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
969 "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
970 "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
971 "\xbf",
972 .key_len = 65,
973 .m =
974 "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
975 "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
976 "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
977 "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
978 .m_size = 64,
979 .c = (const unsigned char[]){
980 be64_to_cpua(76, f6, 04, 99, 09, 37, 4d, fa),
981 be64_to_cpua(ed, 8c, 73, 30, 6c, 22, b3, 97),
982 be64_to_cpua(40, ea, 44, 81, 00, 4e, 29, 08),
983 be64_to_cpua(b8, 6d, 87, 81, 43, df, fb, 9f),
984 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
985 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
986 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
987 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
988 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
989 be64_to_cpua(76, 31, 79, 4a, e9, 81, 6a, ee),
990 be64_to_cpua(5c, ad, c3, 78, 1c, c2, c1, 19),
991 be64_to_cpua(f8, 00, dd, ab, d4, c0, 2b, e6),
992 be64_to_cpua(1e, b9, 75, 31, f6, 04, a5, 4d),
993 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
994 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
995 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
996 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
997 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
998 .c_size = ECC_MAX_BYTES * 2,
999 .public_key_vec = true,
1000 },
1001};
1002
1003static const struct sig_testvec ecdsa_nist_p384_tv_template[] = {
1004 {
1005 .key = /* secp384r1(sha1) */
1006 "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
1007 "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1008 "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1009 "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1010 "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1011 "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1012 "\xf1",
1013 .key_len = 97,
1014 .m =
1015 "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1016 "\x3a\x69\xc1\x93",
1017 .m_size = 20,
1018 .c = (const unsigned char[]){
1019 be64_to_cpua(ec, 7c, 7e, d0, 87, d7, d7, 6e),
1020 be64_to_cpua(78, f1, 4c, 26, e6, 5b, 86, cf),
1021 be64_to_cpua(3a, c6, f1, 32, 3c, ce, 70, 2b),
1022 be64_to_cpua(8d, 26, 8e, ae, 63, 3f, bc, 20),
1023 be64_to_cpua(57, 55, 07, 20, 43, 30, de, a0),
1024 be64_to_cpua(f5, 0f, 24, 4c, 07, 93, 6f, 21),
1025 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1026 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1027 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1028 be64_to_cpua(79, 12, 2a, b7, c5, 15, 92, c5),
1029 be64_to_cpua(4a, a1, 59, f1, 1c, a4, 58, 26),
1030 be64_to_cpua(74, a0, 0f, bf, af, c3, 36, 76),
1031 be64_to_cpua(df, 28, 8c, 1b, fa, f9, 95, 88),
1032 be64_to_cpua(5f, 63, b1, be, 5e, 4c, 0e, a1),
1033 be64_to_cpua(cd, bb, 7e, 81, 5d, 8f, 63, c0),
1034 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1035 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1036 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1037 .c_size = ECC_MAX_BYTES * 2,
1038 .public_key_vec = true,
1039 }, {
1040 .key = /* secp384r1(sha224) */
1041 "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1042 "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1043 "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1044 "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1045 "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1046 "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1047 "\xe0",
1048 .key_len = 97,
1049 .m =
1050 "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1051 "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1052 .m_size = 28,
1053 .c = (const unsigned char[]){
1054 be64_to_cpua(3f, dd, 15, 1b, 68, 2b, 9d, 8b),
1055 be64_to_cpua(c9, 9c, 11, b8, 10, 01, c5, 41),
1056 be64_to_cpua(c5, da, b4, e3, 93, 07, e0, 99),
1057 be64_to_cpua(97, f1, c8, 72, 26, cf, 5a, 5e),
1058 be64_to_cpua(ec, cb, e4, 89, 47, b2, f7, bc),
1059 be64_to_cpua(8a, 51, 84, ce, 13, 1e, d2, dc),
1060 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1061 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1062 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1063 be64_to_cpua(88, 2b, 82, 26, 5e, 1c, da, fb),
1064 be64_to_cpua(9f, 19, d0, 42, 8b, 93, c2, 11),
1065 be64_to_cpua(4d, d0, c6, 6e, b0, e9, fc, 14),
1066 be64_to_cpua(df, d8, 68, a2, 64, 42, 65, f3),
1067 be64_to_cpua(4b, 00, 08, 31, 6c, f5, d5, f6),
1068 be64_to_cpua(8b, 03, 2c, fc, 1f, d1, a9, a4),
1069 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1070 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1071 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1072 .c_size = ECC_MAX_BYTES * 2,
1073 .public_key_vec = true,
1074 }, {
1075 .key = /* secp384r1(sha256) */
1076 "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1077 "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1078 "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1079 "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1080 "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1081 "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1082 "\xab",
1083 .key_len = 97,
1084 .m =
1085 "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1086 "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1087 .m_size = 32,
1088 .c = (const unsigned char[]){
1089 be64_to_cpua(c8, 8d, 2c, 79, 3a, 8e, 32, c4),
1090 be64_to_cpua(b6, c6, fc, 70, 2e, 66, 3c, 77),
1091 be64_to_cpua(af, 06, 3f, 84, 04, e2, f9, 67),
1092 be64_to_cpua(cc, 47, 53, 87, bc, bd, 83, 3f),
1093 be64_to_cpua(8e, 3f, 7e, ce, 0a, 9b, aa, 59),
1094 be64_to_cpua(08, 09, 12, 9d, 6e, 96, 64, a6),
1095 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1096 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1097 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1098 be64_to_cpua(10, 0e, f4, 1f, 39, ca, 4d, 43),
1099 be64_to_cpua(4f, 8d, de, 1e, 93, 8d, 95, bb),
1100 be64_to_cpua(15, 68, c0, 75, 3e, 23, 5e, 36),
1101 be64_to_cpua(dd, ce, bc, b2, 97, f4, 9c, f3),
1102 be64_to_cpua(26, a2, b0, 89, 42, 0a, da, d9),
1103 be64_to_cpua(40, 34, b8, 90, a9, 80, ab, 47),
1104 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1105 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1106 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1107 .c_size = ECC_MAX_BYTES * 2,
1108 .public_key_vec = true,
1109 }, {
1110 .key = /* secp384r1(sha384) */
1111 "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1112 "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1113 "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1114 "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1115 "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1116 "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1117 "\x9e",
1118 .key_len = 97,
1119 .m =
1120 "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1121 "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1122 "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1123 .m_size = 48,
1124 .c = (const unsigned char[]){
1125 be64_to_cpua(a2, a4, c8, f2, ea, 9d, 11, 1f),
1126 be64_to_cpua(3b, 1f, 07, 8f, 15, 02, fe, 1d),
1127 be64_to_cpua(29, e6, fb, ca, 8c, d6, b6, b4),
1128 be64_to_cpua(2d, 7a, 91, 5f, 49, 2d, 22, 08),
1129 be64_to_cpua(ee, 2e, 62, 35, 46, fa, 00, d8),
1130 be64_to_cpua(9b, 28, 68, c0, a1, ea, 8c, 50),
1131 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1132 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1133 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1134 be64_to_cpua(ab, 8d, 4e, de, e6, 6d, 9b, 66),
1135 be64_to_cpua(96, 17, 04, c9, 05, 77, f1, 8e),
1136 be64_to_cpua(44, 92, 8c, 86, 99, 65, b3, 97),
1137 be64_to_cpua(71, cd, 8f, 18, 99, f0, 0f, 13),
1138 be64_to_cpua(bf, e3, 75, 24, 49, ac, fb, c8),
1139 be64_to_cpua(fc, 50, f6, 43, bd, 50, 82, 0e),
1140 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1141 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1142 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1143 .c_size = ECC_MAX_BYTES * 2,
1144 .public_key_vec = true,
1145 }, {
1146 .key = /* secp384r1(sha512) */
1147 "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1148 "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1149 "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1150 "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1151 "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1152 "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1153 "\xa3",
1154 .key_len = 97,
1155 .m =
1156 "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1157 "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1158 "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1159 "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1160 .m_size = 64,
1161 .c = (const unsigned char[]){
1162 be64_to_cpua(3e, b3, c7, a8, b3, 17, 77, d1),
1163 be64_to_cpua(dc, 2b, 43, 0e, 6a, b3, 53, 6f),
1164 be64_to_cpua(4c, fc, 6f, 80, e3, af, b3, d9),
1165 be64_to_cpua(9a, 02, de, 93, e8, 83, e4, 84),
1166 be64_to_cpua(4d, c6, ef, da, 02, e7, 0f, 52),
1167 be64_to_cpua(00, 1d, 20, 94, 77, fe, 31, fa),
1168 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1169 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1170 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1171 be64_to_cpua(4e, 45, cf, 3c, 93, ff, 50, 5d),
1172 be64_to_cpua(34, e4, 8b, 80, a5, b6, da, 2c),
1173 be64_to_cpua(c4, 6a, 03, 5f, 8d, 7a, f9, fb),
1174 be64_to_cpua(ec, 63, e3, 0c, ec, 50, dc, cc),
1175 be64_to_cpua(de, 3a, 3d, 16, af, b4, 52, 6a),
1176 be64_to_cpua(63, f6, f0, 3d, 5f, 5f, 99, 3f),
1177 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1178 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1179 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00) },
1180 .c_size = ECC_MAX_BYTES * 2,
1181 .public_key_vec = true,
1182 },
1183};
1184
1185static const struct sig_testvec ecdsa_nist_p521_tv_template[] = {
1186 {
1187 .key = /* secp521r1(sha224) */
1188 "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1189 "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1190 "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1191 "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1192 "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1193 "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1194 "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1195 "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1196 "\x3b\x83\x82\x2f\x14",
1197 .key_len = 133,
1198 .m =
1199 "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1200 "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1201 .m_size = 28,
1202 .c = (const unsigned char[]){
1203 be64_to_cpua(46, 6b, c7, af, 7a, b9, 19, 0a),
1204 be64_to_cpua(6c, a6, 9b, 89, 8b, 1e, fd, 09),
1205 be64_to_cpua(98, 85, 29, 88, ff, 0b, 94, 94),
1206 be64_to_cpua(18, c6, 37, 8a, cb, a7, d8, 7d),
1207 be64_to_cpua(f8, 3f, 59, 0f, 74, f0, 3f, d8),
1208 be64_to_cpua(e2, ef, 07, 92, ee, 60, 94, 06),
1209 be64_to_cpua(35, f6, dc, 6d, 02, 7b, 22, ac),
1210 be64_to_cpua(d6, 43, e7, ff, 42, b2, ba, 74),
1211 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 01),
1212 be64_to_cpua(50, b1, a5, 98, 92, 2a, a5, 52),
1213 be64_to_cpua(1c, ad, 22, da, 82, 00, 35, a3),
1214 be64_to_cpua(0e, 64, cc, c4, e8, 43, d9, 0e),
1215 be64_to_cpua(30, 90, 0f, 1c, 8f, 78, d3, 9f),
1216 be64_to_cpua(26, 0b, 5f, 49, 32, 6b, 91, 99),
1217 be64_to_cpua(0f, f8, 65, 97, 6b, 09, 4d, 22),
1218 be64_to_cpua(5e, f9, 88, f3, d2, 32, 90, 57),
1219 be64_to_cpua(26, 0d, 55, cd, 23, 1e, 7d, a0),
1220 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 3a) },
1221 .c_size = ECC_MAX_BYTES * 2,
1222 .public_key_vec = true,
1223 },
1224 {
1225 .key = /* secp521r1(sha256) */
1226 "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1227 "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1228 "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1229 "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1230 "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1231 "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1232 "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1233 "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1234 "\xe6\x77\x1e\x1f\x8a",
1235 .key_len = 133,
1236 .m =
1237 "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1238 "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1239 .m_size = 32,
1240 .c = (const unsigned char[]){
1241 be64_to_cpua(de, 7e, d7, 59, 10, e9, d9, d5),
1242 be64_to_cpua(38, 1f, 46, 0b, 04, 64, 34, 79),
1243 be64_to_cpua(ae, ce, 54, 76, 9a, c2, 8f, b8),
1244 be64_to_cpua(95, 35, 6f, 02, 0e, af, e1, 4c),
1245 be64_to_cpua(56, 3c, f6, f0, d8, e1, b7, 5d),
1246 be64_to_cpua(50, 9f, 7d, 1f, ca, 8b, a8, 2d),
1247 be64_to_cpua(06, 0f, fd, 83, fc, 0e, d9, ce),
1248 be64_to_cpua(a5, 5f, 57, 52, 27, 78, 3a, b5),
1249 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, cd),
1250 be64_to_cpua(55, 38, b6, f6, 34, 65, c7, bd),
1251 be64_to_cpua(1c, 57, 56, 8f, 12, b7, 1d, 91),
1252 be64_to_cpua(03, 42, 02, 5f, 50, f0, a2, 0d),
1253 be64_to_cpua(fa, 10, dd, 9b, fb, 36, 1a, 31),
1254 be64_to_cpua(e0, 87, 2c, 44, 4b, 5a, ee, af),
1255 be64_to_cpua(a9, 79, 24, b9, 37, 35, dd, a0),
1256 be64_to_cpua(6b, 35, ae, 65, b5, 99, 12, 0a),
1257 be64_to_cpua(50, 85, 38, f9, 15, 83, 18, 04),
1258 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, cf) },
1259 .c_size = ECC_MAX_BYTES * 2,
1260 .public_key_vec = true,
1261 },
1262 {
1263 .key = /* secp521r1(sha384) */
1264 "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1265 "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1266 "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1267 "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1268 "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1269 "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1270 "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1271 "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1272 "\xb3\x3b\x5b\x1b\x94",
1273 .key_len = 133,
1274 .m =
1275 "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1276 "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1277 "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1278 .m_size = 48,
1279 .c = (const unsigned char[]){
1280 be64_to_cpua(b8, 6a, dd, fb, e6, 63, 4e, 28),
1281 be64_to_cpua(84, 59, fd, 1a, c4, 40, dd, 43),
1282 be64_to_cpua(32, 76, 06, d0, f9, c0, e4, e6),
1283 be64_to_cpua(e4, df, 9b, 7d, 9e, 47, ca, 33),
1284 be64_to_cpua(7e, 42, 71, 86, 57, 2d, f1, 7d),
1285 be64_to_cpua(f2, 4b, 64, 98, f7, ec, da, c7),
1286 be64_to_cpua(ec, 51, dc, e8, 35, 5e, ae, 16),
1287 be64_to_cpua(96, 76, 3c, 27, ea, aa, 9c, 26),
1288 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 93),
1289 be64_to_cpua(c6, 4f, ab, 2b, 62, c1, 42, b1),
1290 be64_to_cpua(e5, 5a, 94, 56, cf, 8f, b4, 22),
1291 be64_to_cpua(6a, c3, f3, 7a, d1, fa, e7, a7),
1292 be64_to_cpua(df, c4, c0, db, 54, db, 8a, 0d),
1293 be64_to_cpua(da, a7, cd, 26, 28, 76, 3b, 52),
1294 be64_to_cpua(e4, 3c, bc, 93, 65, 57, 1c, 30),
1295 be64_to_cpua(55, ce, 37, 97, c9, 05, 51, e5),
1296 be64_to_cpua(c3, 6a, 87, 6e, b5, 13, 1f, 20),
1297 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, ff) },
1298 .c_size = ECC_MAX_BYTES * 2,
1299 .public_key_vec = true,
1300 },
1301 {
1302 .key = /* secp521r1(sha512) */
1303 "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1304 "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1305 "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1306 "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1307 "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1308 "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1309 "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1310 "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1311 "\xd0\x17\xdf\x49\x6a",
1312 .key_len = 133,
1313 .m =
1314 "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1315 "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1316 "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1317 "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1318 .m_size = 64,
1319 .c = (const unsigned char[]){
1320 be64_to_cpua(28, b5, 04, b0, b6, 33, 1c, 7e),
1321 be64_to_cpua(80, a6, 13, fc, b6, 90, f7, bb),
1322 be64_to_cpua(27, 93, e8, 6c, 49, 7d, 28, fc),
1323 be64_to_cpua(1f, 12, 3e, b7, 7e, 51, ff, 7f),
1324 be64_to_cpua(fb, 62, 1e, 42, 03, 6c, 74, 8a),
1325 be64_to_cpua(63, 0e, 02, cc, 94, a9, 05, b9),
1326 be64_to_cpua(aa, 86, ec, a8, 05, 03, 52, 56),
1327 be64_to_cpua(71, 86, 96, ac, 21, 33, 7e, 4e),
1328 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 5c),
1329 be64_to_cpua(46, 1e, 77, 44, 78, e0, d1, 04),
1330 be64_to_cpua(72, 74, 13, 63, 39, a6, e5, 25),
1331 be64_to_cpua(00, 55, bb, 6a, b4, 73, 00, d2),
1332 be64_to_cpua(71, d0, e9, ca, a7, c0, cb, aa),
1333 be64_to_cpua(7a, 76, 37, 51, 47, 49, 98, 12),
1334 be64_to_cpua(88, 05, 3e, 43, 39, 01, bd, b7),
1335 be64_to_cpua(95, 35, 89, 4f, 41, 5f, 9e, 19),
1336 be64_to_cpua(43, 52, 1d, e3, c6, bd, 5a, 40),
1337 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 70) },
1338 .c_size = ECC_MAX_BYTES * 2,
1339 .public_key_vec = true,
1340 },
1341};
1342
1343/*
1344 * ECDSA X9.62 test vectors.
1345 *
1346 * Identical to ECDSA test vectors, except signature in "c" is X9.62 encoded.
1347 */
1348static const struct sig_testvec x962_ecdsa_nist_p192_tv_template[] = {
1349 {
1350 .key = /* secp192r1(sha1) */
1351 "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
1352 "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
1353 "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
1354 "\x98",
1355 .key_len = 49,
1356 .m =
1357 "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
1358 "\x63\x85\xe7\x82",
1359 .m_size = 20,
1360 .c =
1361 "\x30\x35\x02\x19\x00\xba\xe5\x93\x83\x6e\xb6\x3b\x63\xa0\x27\x91"
1362 "\xc6\xf6\x7f\xc3\x09\xad\x59\xad\x88\x27\xd6\x92\x6b\x02\x18\x10"
1363 "\x68\x01\x9d\xba\xce\x83\x08\xef\x95\x52\x7b\xa0\x0f\xe4\x18\x86"
1364 "\x80\x6f\xa5\x79\x77\xda\xd0",
1365 .c_size = 55,
1366 .public_key_vec = true,
1367 }, {
1368 .key = /* secp192r1(sha224) */
1369 "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
1370 "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
1371 "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
1372 "\xa3",
1373 .key_len = 49,
1374 .m =
1375 "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
1376 "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
1377 .m_size = 28,
1378 .c =
1379 "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
1380 "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
1381 "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
1382 "\x5c\x99\xdb\x92\x5b\x36",
1383 .c_size = 54,
1384 .public_key_vec = true,
1385 }, {
1386 .key = /* secp192r1(sha256) */
1387 "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
1388 "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
1389 "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
1390 "\x91",
1391 .key_len = 49,
1392 .m =
1393 "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
1394 "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
1395 .m_size = 32,
1396 .c =
1397 "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
1398 "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
1399 "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
1400 "\x3a\x97\xd9\xcd\x1a\x6a\x49",
1401 .c_size = 55,
1402 .public_key_vec = true,
1403 }, {
1404 .key = /* secp192r1(sha384) */
1405 "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
1406 "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
1407 "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
1408 "\x8b",
1409 .key_len = 49,
1410 .m =
1411 "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
1412 "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
1413 "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
1414 .m_size = 48,
1415 .c =
1416 "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
1417 "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
1418 "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
1419 "\x12\x3b\x3b\x28\xfb\x6d\xe1",
1420 .c_size = 55,
1421 .public_key_vec = true,
1422 }, {
1423 .key = /* secp192r1(sha512) */
1424 "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
1425 "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
1426 "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
1427 "\x57",
1428 .key_len = 49,
1429 .m =
1430 "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
1431 "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
1432 "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
1433 "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
1434 .m_size = 64,
1435 .c =
1436 "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
1437 "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
1438 "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
1439 "\x6a\xdf\x97\xfd\x82\x76\x24",
1440 .c_size = 55,
1441 .public_key_vec = true,
1442 },
1443};
1444
1445static const struct sig_testvec x962_ecdsa_nist_p256_tv_template[] = {
1446 {
1447 .key = /* secp256r1(sha1) */
1448 "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
1449 "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
1450 "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
1451 "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
1452 "\xaf",
1453 .key_len = 65,
1454 .m =
1455 "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
1456 "\x0b\xde\x6a\x42",
1457 .m_size = 20,
1458 .c =
1459 "\x30\x46\x02\x21\x00\xf9\x25\xce\x9f\x3a\xa6\x35\x81\xcf\xd4\xe7"
1460 "\xb7\xf0\x82\x56\x41\xf7\xd4\xad\x8d\x94\x5a\x69\x89\xee\xca\x6a"
1461 "\x52\x0e\x48\x4d\xcc\x02\x21\x00\xd7\xe4\xef\x52\x66\xd3\x5b\x9d"
1462 "\x8a\xfa\x54\x93\x29\xa7\x70\x86\xf1\x03\x03\xf3\x3b\xe2\x73\xf7"
1463 "\xfb\x9d\x8b\xde\xd4\x8d\x6f\xad",
1464 .c_size = 72,
1465 .public_key_vec = true,
1466 }, {
1467 .key = /* secp256r1(sha224) */
1468 "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
1469 "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
1470 "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
1471 "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
1472 "\xd4",
1473 .key_len = 65,
1474 .m =
1475 "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
1476 "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
1477 .m_size = 28,
1478 .c =
1479 "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
1480 "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
1481 "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
1482 "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
1483 "\x2e\x8b\xde\x5a\x04\x0e",
1484 .c_size = 70,
1485 .public_key_vec = true,
1486 }, {
1487 .key = /* secp256r1(sha256) */
1488 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1489 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1490 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1491 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1492 "\xb8",
1493 .key_len = 65,
1494 .m =
1495 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1496 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1497 .m_size = 32,
1498 .c =
1499 "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
1500 "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
1501 "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
1502 "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
1503 "\x2a\x65\x35\x23\xe3\x1d\xfa",
1504 .c_size = 71,
1505 .public_key_vec = true,
1506 }, {
1507 .key = /* secp256r1(sha384) */
1508 "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
1509 "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
1510 "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
1511 "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
1512 "\x7c",
1513 .key_len = 65,
1514 .m =
1515 "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
1516 "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
1517 "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
1518 .m_size = 48,
1519 .c =
1520 "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
1521 "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
1522 "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
1523 "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
1524 "\xc0\x60\x11\x92\xdc\x17\x89\x12",
1525 .c_size = 72,
1526 .public_key_vec = true,
1527 }, {
1528 .key = /* secp256r1(sha512) */
1529 "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
1530 "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
1531 "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
1532 "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
1533 "\xbf",
1534 .key_len = 65,
1535 .m =
1536 "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
1537 "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
1538 "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
1539 "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
1540 .m_size = 64,
1541 .c =
1542 "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
1543 "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
1544 "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
1545 "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
1546 "\x31\x79\x4a\xe9\x81\x6a\xee",
1547 .c_size = 71,
1548 .public_key_vec = true,
1549 },
1550};
1551
1552static const struct sig_testvec x962_ecdsa_nist_p384_tv_template[] = {
1553 {
1554 .key = /* secp384r1(sha1) */
1555 "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
1556 "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1557 "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1558 "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1559 "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1560 "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1561 "\xf1",
1562 .key_len = 97,
1563 .m =
1564 "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1565 "\x3a\x69\xc1\x93",
1566 .m_size = 20,
1567 .c =
1568 "\x30\x66\x02\x31\x00\xf5\x0f\x24\x4c\x07\x93\x6f\x21\x57\x55\x07"
1569 "\x20\x43\x30\xde\xa0\x8d\x26\x8e\xae\x63\x3f\xbc\x20\x3a\xc6\xf1"
1570 "\x32\x3c\xce\x70\x2b\x78\xf1\x4c\x26\xe6\x5b\x86\xcf\xec\x7c\x7e"
1571 "\xd0\x87\xd7\xd7\x6e\x02\x31\x00\xcd\xbb\x7e\x81\x5d\x8f\x63\xc0"
1572 "\x5f\x63\xb1\xbe\x5e\x4c\x0e\xa1\xdf\x28\x8c\x1b\xfa\xf9\x95\x88"
1573 "\x74\xa0\x0f\xbf\xaf\xc3\x36\x76\x4a\xa1\x59\xf1\x1c\xa4\x58\x26"
1574 "\x79\x12\x2a\xb7\xc5\x15\x92\xc5",
1575 .c_size = 104,
1576 .public_key_vec = true,
1577 }, {
1578 .key = /* secp384r1(sha224) */
1579 "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1580 "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1581 "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1582 "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1583 "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1584 "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1585 "\xe0",
1586 .key_len = 97,
1587 .m =
1588 "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1589 "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1590 .m_size = 28,
1591 .c =
1592 "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
1593 "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
1594 "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
1595 "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
1596 "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
1597 "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
1598 "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
1599 .c_size = 104,
1600 .public_key_vec = true,
1601 }, {
1602 .key = /* secp384r1(sha256) */
1603 "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1604 "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1605 "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1606 "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1607 "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1608 "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1609 "\xab",
1610 .key_len = 97,
1611 .m =
1612 "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1613 "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1614 .m_size = 32,
1615 .c =
1616 "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
1617 "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
1618 "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
1619 "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
1620 "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
1621 "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
1622 "\xf4\x1f\x39\xca\x4d\x43",
1623 .c_size = 102,
1624 .public_key_vec = true,
1625 }, {
1626 .key = /* secp384r1(sha384) */
1627 "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1628 "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1629 "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1630 "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1631 "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1632 "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1633 "\x9e",
1634 .key_len = 97,
1635 .m =
1636 "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1637 "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1638 "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1639 .m_size = 48,
1640 .c =
1641 "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
1642 "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
1643 "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
1644 "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
1645 "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
1646 "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
1647 "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
1648 .c_size = 104,
1649 .public_key_vec = true,
1650 }, {
1651 .key = /* secp384r1(sha512) */
1652 "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1653 "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1654 "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1655 "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1656 "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1657 "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1658 "\xa3",
1659 .key_len = 97,
1660 .m =
1661 "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1662 "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1663 "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1664 "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1665 .m_size = 64,
1666 .c =
1667 "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
1668 "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
1669 "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
1670 "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
1671 "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
1672 "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
1673 "\x3c\x93\xff\x50\x5d",
1674 .c_size = 101,
1675 .public_key_vec = true,
1676 },
1677};
1678
1679static const struct sig_testvec x962_ecdsa_nist_p521_tv_template[] = {
1680 {
1681 .key = /* secp521r1(sha224) */
1682 "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1683 "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1684 "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1685 "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1686 "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1687 "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1688 "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1689 "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1690 "\x3b\x83\x82\x2f\x14",
1691 .key_len = 133,
1692 .m =
1693 "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1694 "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1695 .m_size = 28,
1696 .c =
1697 "\x30\x81\x86\x02\x41\x01\xd6\x43\xe7\xff\x42\xb2\xba\x74\x35\xf6"
1698 "\xdc\x6d\x02\x7b\x22\xac\xe2\xef\x07\x92\xee\x60\x94\x06\xf8\x3f"
1699 "\x59\x0f\x74\xf0\x3f\xd8\x18\xc6\x37\x8a\xcb\xa7\xd8\x7d\x98\x85"
1700 "\x29\x88\xff\x0b\x94\x94\x6c\xa6\x9b\x89\x8b\x1e\xfd\x09\x46\x6b"
1701 "\xc7\xaf\x7a\xb9\x19\x0a\x02\x41\x3a\x26\x0d\x55\xcd\x23\x1e\x7d"
1702 "\xa0\x5e\xf9\x88\xf3\xd2\x32\x90\x57\x0f\xf8\x65\x97\x6b\x09\x4d"
1703 "\x22\x26\x0b\x5f\x49\x32\x6b\x91\x99\x30\x90\x0f\x1c\x8f\x78\xd3"
1704 "\x9f\x0e\x64\xcc\xc4\xe8\x43\xd9\x0e\x1c\xad\x22\xda\x82\x00\x35"
1705 "\xa3\x50\xb1\xa5\x98\x92\x2a\xa5\x52",
1706 .c_size = 137,
1707 .public_key_vec = true,
1708 },
1709 {
1710 .key = /* secp521r1(sha256) */
1711 "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1712 "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1713 "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1714 "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1715 "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1716 "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1717 "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1718 "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1719 "\xe6\x77\x1e\x1f\x8a",
1720 .key_len = 133,
1721 .m =
1722 "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1723 "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1724 .m_size = 32,
1725 .c =
1726 "\x30\x81\x88\x02\x42\x00\xcd\xa5\x5f\x57\x52\x27\x78\x3a\xb5\x06"
1727 "\x0f\xfd\x83\xfc\x0e\xd9\xce\x50\x9f\x7d\x1f\xca\x8b\xa8\x2d\x56"
1728 "\x3c\xf6\xf0\xd8\xe1\xb7\x5d\x95\x35\x6f\x02\x0e\xaf\xe1\x4c\xae"
1729 "\xce\x54\x76\x9a\xc2\x8f\xb8\x38\x1f\x46\x0b\x04\x64\x34\x79\xde"
1730 "\x7e\xd7\x59\x10\xe9\xd9\xd5\x02\x42\x01\xcf\x50\x85\x38\xf9\x15"
1731 "\x83\x18\x04\x6b\x35\xae\x65\xb5\x99\x12\x0a\xa9\x79\x24\xb9\x37"
1732 "\x35\xdd\xa0\xe0\x87\x2c\x44\x4b\x5a\xee\xaf\xfa\x10\xdd\x9b\xfb"
1733 "\x36\x1a\x31\x03\x42\x02\x5f\x50\xf0\xa2\x0d\x1c\x57\x56\x8f\x12"
1734 "\xb7\x1d\x91\x55\x38\xb6\xf6\x34\x65\xc7\xbd",
1735 .c_size = 139,
1736 .public_key_vec = true,
1737 },
1738 {
1739 .key = /* secp521r1(sha384) */
1740 "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1741 "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1742 "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1743 "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1744 "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1745 "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1746 "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1747 "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1748 "\xb3\x3b\x5b\x1b\x94",
1749 .key_len = 133,
1750 .m =
1751 "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1752 "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1753 "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1754 .m_size = 48,
1755 .c =
1756 "\x30\x81\x88\x02\x42\x00\x93\x96\x76\x3c\x27\xea\xaa\x9c\x26\xec"
1757 "\x51\xdc\xe8\x35\x5e\xae\x16\xf2\x4b\x64\x98\xf7\xec\xda\xc7\x7e"
1758 "\x42\x71\x86\x57\x2d\xf1\x7d\xe4\xdf\x9b\x7d\x9e\x47\xca\x33\x32"
1759 "\x76\x06\xd0\xf9\xc0\xe4\xe6\x84\x59\xfd\x1a\xc4\x40\xdd\x43\xb8"
1760 "\x6a\xdd\xfb\xe6\x63\x4e\x28\x02\x42\x00\xff\xc3\x6a\x87\x6e\xb5"
1761 "\x13\x1f\x20\x55\xce\x37\x97\xc9\x05\x51\xe5\xe4\x3c\xbc\x93\x65"
1762 "\x57\x1c\x30\xda\xa7\xcd\x26\x28\x76\x3b\x52\xdf\xc4\xc0\xdb\x54"
1763 "\xdb\x8a\x0d\x6a\xc3\xf3\x7a\xd1\xfa\xe7\xa7\xe5\x5a\x94\x56\xcf"
1764 "\x8f\xb4\x22\xc6\x4f\xab\x2b\x62\xc1\x42\xb1",
1765 .c_size = 139,
1766 .public_key_vec = true,
1767 },
1768 {
1769 .key = /* secp521r1(sha512) */
1770 "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1771 "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1772 "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1773 "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1774 "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1775 "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1776 "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1777 "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1778 "\xd0\x17\xdf\x49\x6a",
1779 .key_len = 133,
1780 .m =
1781 "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1782 "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1783 "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1784 "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1785 .m_size = 64,
1786 .c =
1787 "\x30\x81\x88\x02\x42\x01\x5c\x71\x86\x96\xac\x21\x33\x7e\x4e\xaa"
1788 "\x86\xec\xa8\x05\x03\x52\x56\x63\x0e\x02\xcc\x94\xa9\x05\xb9\xfb"
1789 "\x62\x1e\x42\x03\x6c\x74\x8a\x1f\x12\x3e\xb7\x7e\x51\xff\x7f\x27"
1790 "\x93\xe8\x6c\x49\x7d\x28\xfc\x80\xa6\x13\xfc\xb6\x90\xf7\xbb\x28"
1791 "\xb5\x04\xb0\xb6\x33\x1c\x7e\x02\x42\x01\x70\x43\x52\x1d\xe3\xc6"
1792 "\xbd\x5a\x40\x95\x35\x89\x4f\x41\x5f\x9e\x19\x88\x05\x3e\x43\x39"
1793 "\x01\xbd\xb7\x7a\x76\x37\x51\x47\x49\x98\x12\x71\xd0\xe9\xca\xa7"
1794 "\xc0\xcb\xaa\x00\x55\xbb\x6a\xb4\x73\x00\xd2\x72\x74\x13\x63\x39"
1795 "\xa6\xe5\x25\x46\x1e\x77\x44\x78\xe0\xd1\x04",
1796 .c_size = 139,
1797 .public_key_vec = true,
1798 },
1799};
1800
1801/*
1802 * ECDSA P1363 test vectors.
1803 *
1804 * Identical to ECDSA test vectors, except signature in "c" is P1363 encoded.
1805 */
1806static const struct sig_testvec p1363_ecdsa_nist_p256_tv_template[] = {
1807 {
1808 .key = /* secp256r1(sha256) */
1809 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1810 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1811 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1812 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1813 "\xb8",
1814 .key_len = 65,
1815 .m =
1816 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1817 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1818 .m_size = 32,
1819 .c =
1820 "\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63\xa8\x1a\xad\xfc"
1821 "\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67\xdc\x0c\xd0\x82"
1822 "\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9\xa9\x81\xac\x4a\x50\xd0\x91"
1823 "\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f\x2a\x65\x35\x23\xe3\x1d\xfa",
1824 .c_size = 64,
1825 .public_key_vec = true,
1826 },
1827};
1828
1829/*
1830 * EC-RDSA test vectors are generated by gost-engine.
1831 */
1832static const struct sig_testvec ecrdsa_tv_template[] = {
1833 {
1834 .key =
1835 "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
1836 "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
1837 "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
1838 "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
1839 "\x27\xfc",
1840 .key_len = 66,
1841 .params = /* OID_gostCPSignA */
1842 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
1843 "\x07\x01\x01\x02\x02",
1844 .param_len = 21,
1845 .c =
1846 "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
1847 "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
1848 "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
1849 "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
1850 .c_size = 64,
1851 .algo = OID_gost2012PKey256,
1852 .m =
1853 "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
1854 "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
1855 .m_size = 32,
1856 .public_key_vec = true,
1857 },
1858 {
1859 .key =
1860 "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
1861 "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
1862 "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
1863 "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
1864 "\xa0\x73",
1865 .key_len = 66,
1866 .params = /* OID_gostCPSignB */
1867 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
1868 "\x07\x01\x01\x02\x02",
1869 .param_len = 21,
1870 .c =
1871 "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
1872 "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
1873 "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
1874 "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
1875 .c_size = 64,
1876 .algo = OID_gost2012PKey256,
1877 .m =
1878 "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
1879 "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
1880 .m_size = 32,
1881 .public_key_vec = true,
1882 },
1883 {
1884 .key =
1885 "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
1886 "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
1887 "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
1888 "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
1889 "\xba\x15",
1890 .key_len = 66,
1891 .params = /* OID_gostCPSignC */
1892 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
1893 "\x07\x01\x01\x02\x02",
1894 .param_len = 21,
1895 .c =
1896 "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
1897 "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
1898 "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
1899 "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
1900 .c_size = 64,
1901 .algo = OID_gost2012PKey256,
1902 .m =
1903 "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
1904 "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
1905 .m_size = 32,
1906 .public_key_vec = true,
1907 },
1908 {
1909 .key =
1910 "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
1911 "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
1912 "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
1913 "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
1914 "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
1915 "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
1916 "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
1917 "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
1918 "\x9d\x86\x1a",
1919 .key_len = 131,
1920 .params = /* OID_gostTC26Sign512A */
1921 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
1922 .param_len = 13,
1923 .c =
1924 "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
1925 "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
1926 "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
1927 "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
1928 "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
1929 "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
1930 "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
1931 "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
1932 .c_size = 128,
1933 .algo = OID_gost2012PKey512,
1934 .m =
1935 "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
1936 "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
1937 "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
1938 "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
1939 .m_size = 64,
1940 .public_key_vec = true,
1941 },
1942 {
1943 .key =
1944 "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
1945 "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
1946 "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
1947 "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
1948 "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
1949 "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
1950 "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
1951 "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
1952 "\x8e\x78\x48",
1953 .key_len = 131,
1954 .params = /* OID_gostTC26Sign512B */
1955 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
1956 .param_len = 13,
1957 .c =
1958 "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
1959 "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
1960 "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
1961 "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
1962 "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
1963 "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
1964 "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
1965 "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
1966 .c_size = 128,
1967 .algo = OID_gost2012PKey512,
1968 .m =
1969 "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
1970 "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
1971 "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
1972 "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
1973 .m_size = 64,
1974 .public_key_vec = true,
1975 },
1976};
1977
1978/*
1979 * PKCS#1 RSA test vectors for hash algorithm "none"
1980 * (i.e. the hash in "m" is not prepended by a Full Hash Prefix)
1981 *
1982 * Obtained from:
1983 * https://vcsjones.dev/sometimes-valid-rsa-dotnet/
1984 * https://gist.github.com/vcsjones/ab4c2327b53ed018eada76b75ef4fd99
1985 */
1986static const struct sig_testvec pkcs1_rsa_none_tv_template[] = {
1987 {
1988 .key =
1989 "\x30\x82\x01\x0a\x02\x82\x01\x01\x00\xa2\x63\x0b\x39\x44\xb8\xbb"
1990 "\x23\xa7\x44\x49\xbb\x0e\xff\xa1\xf0\x61\x0a\x53\x93\xb0\x98\xdb"
1991 "\xad\x2c\x0f\x4a\xc5\x6e\xff\x86\x3c\x53\x55\x0f\x15\xce\x04\x3f"
1992 "\x2b\xfd\xa9\x96\x96\xd9\xbe\x61\x79\x0b\x5b\xc9\x4c\x86\x76\xe5"
1993 "\xe0\x43\x4b\x22\x95\xee\xc2\x2b\x43\xc1\x9f\xd8\x68\xb4\x8e\x40"
1994 "\x4f\xee\x85\x38\xb9\x11\xc5\x23\xf2\x64\x58\xf0\x15\x32\x6f\x4e"
1995 "\x57\xa1\xae\x88\xa4\x02\xd7\x2a\x1e\xcd\x4b\xe1\xdd\x63\xd5\x17"
1996 "\x89\x32\x5b\xb0\x5e\x99\x5a\xa8\x9d\x28\x50\x0e\x17\xee\x96\xdb"
1997 "\x61\x3b\x45\x51\x1d\xcf\x12\x56\x0b\x92\x47\xfc\xab\xae\xf6\x66"
1998 "\x3d\x47\xac\x70\x72\xe7\x92\xe7\x5f\xcd\x10\xb9\xc4\x83\x64\x94"
1999 "\x19\xbd\x25\x80\xe1\xe8\xd2\x22\xa5\xd0\xba\x02\x7a\xa1\x77\x93"
2000 "\x5b\x65\xc3\xee\x17\x74\xbc\x41\x86\x2a\xdc\x08\x4c\x8c\x92\x8c"
2001 "\x91\x2d\x9e\x77\x44\x1f\x68\xd6\xa8\x74\x77\xdb\x0e\x5b\x32\x8b"
2002 "\x56\x8b\x33\xbd\xd9\x63\xc8\x49\x9d\x3a\xc5\xc5\xea\x33\x0b\xd2"
2003 "\xf1\xa3\x1b\xf4\x8b\xbe\xd9\xb3\x57\x8b\x3b\xde\x04\xa7\x7a\x22"
2004 "\xb2\x24\xae\x2e\xc7\x70\xc5\xbe\x4e\x83\x26\x08\xfb\x0b\xbd\xa9"
2005 "\x4f\x99\x08\xe1\x10\x28\x72\xaa\xcd\x02\x03\x01\x00\x01",
2006 .key_len = 270,
2007 .m =
2008 "\x68\xb4\xf9\x26\x34\x31\x25\xdd\x26\x50\x13\x68\xc1\x99\x26\x71"
2009 "\x19\xa2\xde\x81",
2010 .m_size = 20,
2011 .c =
2012 "\x6a\xdb\x39\xe5\x63\xb3\x25\xde\x58\xca\xc3\xf1\x36\x9c\x0b\x36"
2013 "\xb7\xd6\x69\xf9\xba\xa6\x68\x14\x8c\x24\x52\xd3\x25\xa5\xf3\xad"
2014 "\xc9\x47\x44\xde\x06\xd8\x0f\x56\xca\x2d\xfb\x0f\xe9\x99\xe2\x9d"
2015 "\x8a\xe8\x7f\xfb\x9a\x99\x96\xf1\x2c\x4a\xe4\xc0\xae\x4d\x29\x47"
2016 "\x38\x96\x51\x2f\x6d\x8e\xb8\x88\xbd\x1a\x0a\x70\xbc\x23\x38\x67"
2017 "\x62\x22\x01\x23\x71\xe5\xbb\x95\xea\x6b\x8d\x31\x62\xbf\xf0\xc4"
2018 "\xb9\x46\xd6\x67\xfc\x4c\xe6\x1f\xd6\x5d\xf7\xa9\xad\x3a\xf1\xbf"
2019 "\xa2\xf9\x66\xde\xb6\x8e\xec\x8f\x81\x8d\x1e\x3a\x12\x27\x6a\xfc"
2020 "\xae\x92\x9f\xc3\x87\xc3\xba\x8d\x04\xb8\x8f\x0f\x61\x68\x9a\x96"
2021 "\x2c\x80\x2c\x32\x40\xde\x9d\xb9\x9b\xe2\xe4\x45\x2e\x91\x47\x5c"
2022 "\x47\xa4\x9d\x02\x57\x59\xf7\x75\x5d\x5f\x32\x82\x75\x5d\xe5\x78"
2023 "\xc9\x19\x61\x46\x06\x9d\xa5\x1d\xd6\x32\x48\x9a\xdb\x09\x29\x81"
2024 "\x14\x2e\xf0\x27\xe9\x37\x13\x74\xec\xa5\xcd\x67\x6b\x19\xf6\x88"
2025 "\xf0\xc2\x8b\xa8\x7f\x2f\x76\x5a\x3e\x0c\x47\x5d\xe8\x82\x50\x27"
2026 "\x40\xce\x27\x41\x45\xa0\xcf\xaa\x2f\xd3\xad\x3c\xbf\x73\xff\x93"
2027 "\xe3\x78\x49\xd9\xa9\x78\x22\x81\x9a\xe5\xe2\x94\xe9\x40\xab\xf1",
2028 .c_size = 256,
2029 .public_key_vec = true,
2030 },
2031};
2032
2033/*
2034 * PKCS#1 RSA test vectors. Obtained from CAVS testing.
2035 */
2036static const struct sig_testvec pkcs1_rsa_tv_template[] = {
2037 {
2038 .key =
2039 "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
2040 "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
2041 "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
2042 "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
2043 "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
2044 "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
2045 "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
2046 "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
2047 "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
2048 "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
2049 "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
2050 "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
2051 "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
2052 "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
2053 "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
2054 "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
2055 "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
2056 "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
2057 "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
2058 "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
2059 "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
2060 "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
2061 "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
2062 "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
2063 "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
2064 "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
2065 "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
2066 "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
2067 "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
2068 "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
2069 "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
2070 "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
2071 "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
2072 "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
2073 "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
2074 "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
2075 "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
2076 "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
2077 "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
2078 "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
2079 "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
2080 "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
2081 "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
2082 "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
2083 "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
2084 "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
2085 "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
2086 "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
2087 "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
2088 "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
2089 "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
2090 "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
2091 "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
2092 "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
2093 "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
2094 "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
2095 "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
2096 "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
2097 "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
2098 "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
2099 "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
2100 "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
2101 "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
2102 "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
2103 "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
2104 "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
2105 "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
2106 "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
2107 "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
2108 "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
2109 "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
2110 "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
2111 "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
2112 "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
2113 "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
2114 .key_len = 1193,
2115 /*
2116 * m is SHA256 hash of following message:
2117 * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
2118 * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
2119 * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
2120 * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
2121 * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
2122 * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
2123 * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
2124 * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
2125 */
2126 .m =
2127 "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
2128 "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
2129 .m_size = 32,
2130 .c =
2131 "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
2132 "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
2133 "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
2134 "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
2135 "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
2136 "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
2137 "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
2138 "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
2139 "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
2140 "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
2141 "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
2142 "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
2143 "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
2144 "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
2145 "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
2146 "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
2147 .c_size = 256,
2148 }
2149};
2150
2151static const struct kpp_testvec dh_tv_template[] = {
2152 {
2153 .secret =
2154#ifdef __LITTLE_ENDIAN
2155 "\x01\x00" /* type */
2156 "\x11\x02" /* len */
2157 "\x00\x01\x00\x00" /* key_size */
2158 "\x00\x01\x00\x00" /* p_size */
2159 "\x01\x00\x00\x00" /* g_size */
2160#else
2161 "\x00\x01" /* type */
2162 "\x02\x11" /* len */
2163 "\x00\x00\x01\x00" /* key_size */
2164 "\x00\x00\x01\x00" /* p_size */
2165 "\x00\x00\x00\x01" /* g_size */
2166#endif
2167 /* xa */
2168 "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
2169 "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
2170 "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
2171 "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
2172 "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
2173 "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
2174 "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
2175 "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
2176 "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
2177 "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
2178 "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
2179 "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
2180 "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
2181 "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
2182 "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
2183 "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
2184 /* p */
2185 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2186 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2187 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2188 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2189 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2190 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2191 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2192 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2193 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2194 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2195 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2196 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2197 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2198 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2199 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2200 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2201 /* g */
2202 "\x02",
2203 .b_public =
2204 "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
2205 "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
2206 "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
2207 "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
2208 "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
2209 "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
2210 "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
2211 "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
2212 "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
2213 "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
2214 "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
2215 "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
2216 "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
2217 "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
2218 "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
2219 "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
2220 .expected_a_public =
2221 "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
2222 "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
2223 "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
2224 "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
2225 "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
2226 "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
2227 "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
2228 "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
2229 "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
2230 "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
2231 "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
2232 "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
2233 "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
2234 "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
2235 "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
2236 "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
2237 .expected_ss =
2238 "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
2239 "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
2240 "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
2241 "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
2242 "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
2243 "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
2244 "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
2245 "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
2246 "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
2247 "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
2248 "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
2249 "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
2250 "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
2251 "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
2252 "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
2253 "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
2254 .secret_size = 529,
2255 .b_public_size = 256,
2256 .expected_a_public_size = 256,
2257 .expected_ss_size = 256,
2258 },
2259 {
2260 .secret =
2261#ifdef __LITTLE_ENDIAN
2262 "\x01\x00" /* type */
2263 "\x11\x02" /* len */
2264 "\x00\x01\x00\x00" /* key_size */
2265 "\x00\x01\x00\x00" /* p_size */
2266 "\x01\x00\x00\x00" /* g_size */
2267#else
2268 "\x00\x01" /* type */
2269 "\x02\x11" /* len */
2270 "\x00\x00\x01\x00" /* key_size */
2271 "\x00\x00\x01\x00" /* p_size */
2272 "\x00\x00\x00\x01" /* g_size */
2273#endif
2274 /* xa */
2275 "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
2276 "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
2277 "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
2278 "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
2279 "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
2280 "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
2281 "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
2282 "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
2283 "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
2284 "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
2285 "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
2286 "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
2287 "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
2288 "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
2289 "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
2290 "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
2291 /* p */
2292 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2293 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2294 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2295 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2296 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2297 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2298 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2299 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2300 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2301 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2302 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2303 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2304 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2305 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2306 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2307 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2308 /* g */
2309 "\x02",
2310 .b_public =
2311 "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
2312 "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
2313 "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
2314 "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
2315 "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
2316 "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
2317 "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
2318 "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
2319 "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
2320 "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
2321 "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
2322 "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
2323 "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
2324 "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
2325 "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
2326 "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
2327 .expected_a_public =
2328 "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
2329 "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
2330 "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
2331 "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
2332 "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
2333 "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
2334 "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
2335 "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
2336 "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
2337 "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
2338 "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
2339 "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
2340 "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
2341 "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
2342 "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
2343 "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
2344 .expected_ss =
2345 "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
2346 "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
2347 "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
2348 "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
2349 "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
2350 "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
2351 "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
2352 "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
2353 "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
2354 "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
2355 "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
2356 "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
2357 "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
2358 "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
2359 "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
2360 "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
2361 .secret_size = 529,
2362 .b_public_size = 256,
2363 .expected_a_public_size = 256,
2364 .expected_ss_size = 256,
2365 }
2366};
2367
2368static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
2369 {
2370 .secret =
2371#ifdef __LITTLE_ENDIAN
2372 "\x01\x00" /* type */
2373 "\x10\x01" /* len */
2374 "\x00\x01\x00\x00" /* key_size */
2375 "\x00\x00\x00\x00" /* p_size */
2376 "\x00\x00\x00\x00" /* g_size */
2377#else
2378 "\x00\x01" /* type */
2379 "\x01\x10" /* len */
2380 "\x00\x00\x01\x00" /* key_size */
2381 "\x00\x00\x00\x00" /* p_size */
2382 "\x00\x00\x00\x00" /* g_size */
2383#endif
2384 /* xa */
2385 "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2386 "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2387 "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2388 "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2389 "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2390 "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2391 "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2392 "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2393 "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2394 "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2395 "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2396 "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2397 "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2398 "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2399 "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2400 "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2401 .b_public =
2402 "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
2403 "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
2404 "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
2405 "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
2406 "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
2407 "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
2408 "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
2409 "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
2410 "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
2411 "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
2412 "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
2413 "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
2414 "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
2415 "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
2416 "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
2417 "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
2418 .expected_a_public =
2419 "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2420 "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2421 "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2422 "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2423 "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2424 "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2425 "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2426 "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2427 "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2428 "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2429 "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2430 "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2431 "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2432 "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2433 "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2434 "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2435 .expected_ss =
2436 "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
2437 "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
2438 "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
2439 "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
2440 "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
2441 "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
2442 "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
2443 "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
2444 "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
2445 "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
2446 "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
2447 "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
2448 "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
2449 "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
2450 "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
2451 "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
2452 .secret_size = 272,
2453 .b_public_size = 256,
2454 .expected_a_public_size = 256,
2455 .expected_ss_size = 256,
2456 },
2457 {
2458 .secret =
2459#ifdef __LITTLE_ENDIAN
2460 "\x01\x00" /* type */
2461 "\x10\x00" /* len */
2462 "\x00\x00\x00\x00" /* key_size */
2463 "\x00\x00\x00\x00" /* p_size */
2464 "\x00\x00\x00\x00", /* g_size */
2465#else
2466 "\x00\x01" /* type */
2467 "\x00\x10" /* len */
2468 "\x00\x00\x00\x00" /* key_size */
2469 "\x00\x00\x00\x00" /* p_size */
2470 "\x00\x00\x00\x00", /* g_size */
2471#endif
2472 .b_secret =
2473#ifdef __LITTLE_ENDIAN
2474 "\x01\x00" /* type */
2475 "\x10\x01" /* len */
2476 "\x00\x01\x00\x00" /* key_size */
2477 "\x00\x00\x00\x00" /* p_size */
2478 "\x00\x00\x00\x00" /* g_size */
2479#else
2480 "\x00\x01" /* type */
2481 "\x01\x10" /* len */
2482 "\x00\x00\x01\x00" /* key_size */
2483 "\x00\x00\x00\x00" /* p_size */
2484 "\x00\x00\x00\x00" /* g_size */
2485#endif
2486 /* xa */
2487 "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2488 "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2489 "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2490 "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2491 "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2492 "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2493 "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2494 "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2495 "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2496 "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2497 "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2498 "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2499 "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2500 "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2501 "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2502 "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2503 .b_public =
2504 "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2505 "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2506 "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2507 "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2508 "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2509 "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2510 "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2511 "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2512 "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2513 "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2514 "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2515 "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2516 "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2517 "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2518 "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2519 "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2520 .secret_size = 16,
2521 .b_secret_size = 272,
2522 .b_public_size = 256,
2523 .expected_a_public_size = 256,
2524 .expected_ss_size = 256,
2525 .genkey = true,
2526 },
2527};
2528
2529static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
2530 {
2531 .secret =
2532#ifdef __LITTLE_ENDIAN
2533 "\x01\x00" /* type */
2534 "\x90\x01" /* len */
2535 "\x80\x01\x00\x00" /* key_size */
2536 "\x00\x00\x00\x00" /* p_size */
2537 "\x00\x00\x00\x00" /* g_size */
2538#else
2539 "\x00\x01" /* type */
2540 "\x01\x90" /* len */
2541 "\x00\x00\x01\x80" /* key_size */
2542 "\x00\x00\x00\x00" /* p_size */
2543 "\x00\x00\x00\x00" /* g_size */
2544#endif
2545 /* xa */
2546 "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2547 "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2548 "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2549 "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2550 "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2551 "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2552 "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2553 "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2554 "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2555 "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2556 "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2557 "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2558 "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2559 "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2560 "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2561 "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2562 "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2563 "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2564 "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2565 "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2566 "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2567 "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2568 "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2569 "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2570 .b_public =
2571 "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
2572 "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
2573 "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
2574 "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
2575 "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
2576 "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
2577 "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
2578 "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
2579 "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
2580 "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
2581 "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
2582 "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
2583 "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
2584 "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
2585 "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
2586 "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
2587 "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
2588 "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
2589 "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
2590 "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
2591 "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
2592 "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
2593 "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
2594 "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
2595 .expected_a_public =
2596 "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2597 "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2598 "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2599 "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2600 "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2601 "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2602 "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2603 "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2604 "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2605 "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2606 "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2607 "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2608 "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2609 "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2610 "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2611 "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2612 "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2613 "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2614 "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2615 "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2616 "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2617 "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2618 "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2619 "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2620 .expected_ss =
2621 "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
2622 "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
2623 "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
2624 "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
2625 "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
2626 "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
2627 "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
2628 "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
2629 "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
2630 "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
2631 "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
2632 "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
2633 "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
2634 "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
2635 "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
2636 "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
2637 "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
2638 "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
2639 "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
2640 "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
2641 "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
2642 "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
2643 "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
2644 "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
2645 .secret_size = 400,
2646 .b_public_size = 384,
2647 .expected_a_public_size = 384,
2648 .expected_ss_size = 384,
2649 },
2650 {
2651 .secret =
2652#ifdef __LITTLE_ENDIAN
2653 "\x01\x00" /* type */
2654 "\x10\x00" /* len */
2655 "\x00\x00\x00\x00" /* key_size */
2656 "\x00\x00\x00\x00" /* p_size */
2657 "\x00\x00\x00\x00", /* g_size */
2658#else
2659 "\x00\x01" /* type */
2660 "\x00\x10" /* len */
2661 "\x00\x00\x00\x00" /* key_size */
2662 "\x00\x00\x00\x00" /* p_size */
2663 "\x00\x00\x00\x00", /* g_size */
2664#endif
2665 .b_secret =
2666#ifdef __LITTLE_ENDIAN
2667 "\x01\x00" /* type */
2668 "\x90\x01" /* len */
2669 "\x80\x01\x00\x00" /* key_size */
2670 "\x00\x00\x00\x00" /* p_size */
2671 "\x00\x00\x00\x00" /* g_size */
2672#else
2673 "\x00\x01" /* type */
2674 "\x01\x90" /* len */
2675 "\x00\x00\x01\x80" /* key_size */
2676 "\x00\x00\x00\x00" /* p_size */
2677 "\x00\x00\x00\x00" /* g_size */
2678#endif
2679 /* xa */
2680 "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2681 "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2682 "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2683 "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2684 "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2685 "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2686 "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2687 "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2688 "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2689 "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2690 "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2691 "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2692 "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2693 "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2694 "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2695 "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2696 "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2697 "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2698 "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2699 "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2700 "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2701 "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2702 "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2703 "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2704 .b_public =
2705 "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2706 "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2707 "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2708 "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2709 "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2710 "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2711 "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2712 "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2713 "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2714 "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2715 "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2716 "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2717 "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2718 "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2719 "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2720 "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2721 "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2722 "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2723 "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2724 "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2725 "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2726 "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2727 "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2728 "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2729 .secret_size = 16,
2730 .b_secret_size = 400,
2731 .b_public_size = 384,
2732 .expected_a_public_size = 384,
2733 .expected_ss_size = 384,
2734 .genkey = true,
2735 },
2736};
2737
2738static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
2739 {
2740 .secret =
2741#ifdef __LITTLE_ENDIAN
2742 "\x01\x00" /* type */
2743 "\x10\x02" /* len */
2744 "\x00\x02\x00\x00" /* key_size */
2745 "\x00\x00\x00\x00" /* p_size */
2746 "\x00\x00\x00\x00" /* g_size */
2747#else
2748 "\x00\x01" /* type */
2749 "\x02\x10" /* len */
2750 "\x00\x00\x02\x00" /* key_size */
2751 "\x00\x00\x00\x00" /* p_size */
2752 "\x00\x00\x00\x00" /* g_size */
2753#endif
2754 /* xa */
2755 "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2756 "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2757 "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2758 "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2759 "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2760 "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2761 "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2762 "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2763 "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2764 "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2765 "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2766 "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2767 "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2768 "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2769 "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2770 "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2771 "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2772 "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2773 "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2774 "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2775 "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2776 "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2777 "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2778 "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2779 "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2780 "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2781 "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2782 "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2783 "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2784 "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2785 "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2786 "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2787 .b_public =
2788 "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
2789 "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
2790 "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
2791 "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
2792 "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
2793 "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
2794 "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
2795 "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
2796 "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
2797 "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
2798 "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
2799 "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
2800 "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
2801 "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
2802 "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
2803 "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
2804 "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
2805 "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
2806 "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
2807 "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
2808 "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
2809 "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
2810 "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
2811 "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
2812 "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
2813 "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
2814 "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
2815 "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
2816 "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
2817 "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
2818 "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
2819 "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
2820 .expected_a_public =
2821 "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2822 "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2823 "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2824 "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2825 "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2826 "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2827 "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2828 "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2829 "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2830 "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2831 "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2832 "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2833 "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2834 "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2835 "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2836 "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2837 "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2838 "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2839 "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2840 "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2841 "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2842 "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2843 "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2844 "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2845 "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2846 "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2847 "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2848 "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2849 "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2850 "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2851 "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2852 "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2853 .expected_ss =
2854 "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
2855 "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
2856 "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
2857 "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
2858 "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
2859 "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
2860 "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
2861 "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
2862 "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
2863 "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
2864 "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
2865 "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
2866 "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
2867 "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
2868 "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
2869 "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
2870 "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
2871 "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
2872 "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
2873 "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
2874 "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
2875 "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
2876 "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
2877 "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
2878 "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
2879 "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
2880 "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
2881 "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
2882 "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
2883 "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
2884 "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
2885 "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
2886 .secret_size = 528,
2887 .b_public_size = 512,
2888 .expected_a_public_size = 512,
2889 .expected_ss_size = 512,
2890 },
2891 {
2892 .secret =
2893#ifdef __LITTLE_ENDIAN
2894 "\x01\x00" /* type */
2895 "\x10\x00" /* len */
2896 "\x00\x00\x00\x00" /* key_size */
2897 "\x00\x00\x00\x00" /* p_size */
2898 "\x00\x00\x00\x00", /* g_size */
2899#else
2900 "\x00\x01" /* type */
2901 "\x00\x10" /* len */
2902 "\x00\x00\x00\x00" /* key_size */
2903 "\x00\x00\x00\x00" /* p_size */
2904 "\x00\x00\x00\x00", /* g_size */
2905#endif
2906 .b_secret =
2907#ifdef __LITTLE_ENDIAN
2908 "\x01\x00" /* type */
2909 "\x10\x02" /* len */
2910 "\x00\x02\x00\x00" /* key_size */
2911 "\x00\x00\x00\x00" /* p_size */
2912 "\x00\x00\x00\x00" /* g_size */
2913#else
2914 "\x00\x01" /* type */
2915 "\x02\x10" /* len */
2916 "\x00\x00\x02\x00" /* key_size */
2917 "\x00\x00\x00\x00" /* p_size */
2918 "\x00\x00\x00\x00" /* g_size */
2919#endif
2920 /* xa */
2921 "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2922 "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2923 "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2924 "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2925 "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2926 "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2927 "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2928 "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2929 "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2930 "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2931 "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2932 "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2933 "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2934 "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2935 "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2936 "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2937 "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2938 "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2939 "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2940 "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2941 "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2942 "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2943 "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2944 "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2945 "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2946 "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2947 "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2948 "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2949 "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2950 "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2951 "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2952 "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2953 .b_public =
2954 "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2955 "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2956 "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2957 "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2958 "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2959 "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2960 "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2961 "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2962 "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2963 "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2964 "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2965 "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2966 "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2967 "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2968 "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2969 "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2970 "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2971 "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2972 "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2973 "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2974 "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2975 "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2976 "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2977 "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2978 "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2979 "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2980 "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2981 "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2982 "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2983 "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2984 "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2985 "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2986 .secret_size = 16,
2987 .b_secret_size = 528,
2988 .b_public_size = 512,
2989 .expected_a_public_size = 512,
2990 .expected_ss_size = 512,
2991 .genkey = true,
2992 },
2993};
2994
2995static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
2996 {
2997 .secret =
2998#ifdef __LITTLE_ENDIAN
2999 "\x01\x00" /* type */
3000 "\x10\x03" /* len */
3001 "\x00\x03\x00\x00" /* key_size */
3002 "\x00\x00\x00\x00" /* p_size */
3003 "\x00\x00\x00\x00" /* g_size */
3004#else
3005 "\x00\x01" /* type */
3006 "\x03\x10" /* len */
3007 "\x00\x00\x03\x00" /* key_size */
3008 "\x00\x00\x00\x00" /* p_size */
3009 "\x00\x00\x00\x00" /* g_size */
3010#endif
3011 /* xa */
3012 "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3013 "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3014 "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3015 "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3016 "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3017 "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3018 "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3019 "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3020 "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3021 "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3022 "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3023 "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3024 "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3025 "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3026 "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3027 "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3028 "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3029 "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3030 "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3031 "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3032 "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3033 "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3034 "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3035 "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3036 "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3037 "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3038 "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3039 "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3040 "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3041 "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3042 "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3043 "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3044 "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3045 "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3046 "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3047 "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3048 "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3049 "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3050 "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3051 "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3052 "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3053 "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3054 "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3055 "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3056 "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3057 "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3058 "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3059 "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3060 .b_public =
3061 "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
3062 "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
3063 "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
3064 "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
3065 "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
3066 "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
3067 "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
3068 "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
3069 "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
3070 "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
3071 "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
3072 "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
3073 "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
3074 "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
3075 "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
3076 "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
3077 "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
3078 "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
3079 "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
3080 "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
3081 "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
3082 "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
3083 "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
3084 "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
3085 "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
3086 "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
3087 "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
3088 "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
3089 "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
3090 "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
3091 "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
3092 "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
3093 "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
3094 "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
3095 "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
3096 "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
3097 "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
3098 "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
3099 "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
3100 "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
3101 "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
3102 "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
3103 "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
3104 "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
3105 "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
3106 "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
3107 "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
3108 "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
3109 .expected_a_public =
3110 "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3111 "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3112 "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3113 "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3114 "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3115 "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3116 "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3117 "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3118 "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3119 "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3120 "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3121 "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3122 "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3123 "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3124 "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3125 "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3126 "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3127 "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3128 "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3129 "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3130 "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3131 "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3132 "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3133 "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3134 "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3135 "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3136 "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3137 "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3138 "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3139 "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3140 "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3141 "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3142 "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3143 "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3144 "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3145 "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3146 "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3147 "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3148 "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3149 "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3150 "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3151 "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3152 "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3153 "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3154 "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3155 "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3156 "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3157 "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3158 .expected_ss =
3159 "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
3160 "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
3161 "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
3162 "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
3163 "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
3164 "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
3165 "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
3166 "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
3167 "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
3168 "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
3169 "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
3170 "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
3171 "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
3172 "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
3173 "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
3174 "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
3175 "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
3176 "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
3177 "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
3178 "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
3179 "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
3180 "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
3181 "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
3182 "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
3183 "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
3184 "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
3185 "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
3186 "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
3187 "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
3188 "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
3189 "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
3190 "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
3191 "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
3192 "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
3193 "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
3194 "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
3195 "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
3196 "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
3197 "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
3198 "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
3199 "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
3200 "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
3201 "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
3202 "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
3203 "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
3204 "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
3205 "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
3206 "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
3207 .secret_size = 784,
3208 .b_public_size = 768,
3209 .expected_a_public_size = 768,
3210 .expected_ss_size = 768,
3211 },
3212 {
3213 .secret =
3214#ifdef __LITTLE_ENDIAN
3215 "\x01\x00" /* type */
3216 "\x10\x00" /* len */
3217 "\x00\x00\x00\x00" /* key_size */
3218 "\x00\x00\x00\x00" /* p_size */
3219 "\x00\x00\x00\x00", /* g_size */
3220#else
3221 "\x00\x01" /* type */
3222 "\x00\x10" /* len */
3223 "\x00\x00\x00\x00" /* key_size */
3224 "\x00\x00\x00\x00" /* p_size */
3225 "\x00\x00\x00\x00", /* g_size */
3226#endif
3227 .b_secret =
3228#ifdef __LITTLE_ENDIAN
3229 "\x01\x00" /* type */
3230 "\x10\x03" /* len */
3231 "\x00\x03\x00\x00" /* key_size */
3232 "\x00\x00\x00\x00" /* p_size */
3233 "\x00\x00\x00\x00" /* g_size */
3234#else
3235 "\x00\x01" /* type */
3236 "\x03\x10" /* len */
3237 "\x00\x00\x03\x00" /* key_size */
3238 "\x00\x00\x00\x00" /* p_size */
3239 "\x00\x00\x00\x00" /* g_size */
3240#endif
3241 /* xa */
3242 "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3243 "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3244 "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3245 "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3246 "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3247 "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3248 "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3249 "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3250 "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3251 "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3252 "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3253 "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3254 "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3255 "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3256 "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3257 "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3258 "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3259 "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3260 "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3261 "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3262 "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3263 "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3264 "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3265 "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3266 "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3267 "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3268 "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3269 "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3270 "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3271 "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3272 "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3273 "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3274 "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3275 "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3276 "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3277 "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3278 "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3279 "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3280 "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3281 "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3282 "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3283 "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3284 "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3285 "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3286 "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3287 "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3288 "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3289 "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3290 .b_public =
3291 "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3292 "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3293 "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3294 "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3295 "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3296 "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3297 "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3298 "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3299 "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3300 "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3301 "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3302 "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3303 "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3304 "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3305 "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3306 "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3307 "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3308 "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3309 "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3310 "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3311 "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3312 "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3313 "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3314 "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3315 "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3316 "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3317 "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3318 "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3319 "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3320 "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3321 "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3322 "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3323 "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3324 "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3325 "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3326 "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3327 "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3328 "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3329 "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3330 "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3331 "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3332 "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3333 "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3334 "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3335 "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3336 "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3337 "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3338 "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3339 .secret_size = 16,
3340 .b_secret_size = 784,
3341 .b_public_size = 768,
3342 .expected_a_public_size = 768,
3343 .expected_ss_size = 768,
3344 .genkey = true,
3345 },
3346};
3347
3348static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
3349 {
3350 .secret =
3351#ifdef __LITTLE_ENDIAN
3352 "\x01\x00" /* type */
3353 "\x10\x04" /* len */
3354 "\x00\x04\x00\x00" /* key_size */
3355 "\x00\x00\x00\x00" /* p_size */
3356 "\x00\x00\x00\x00" /* g_size */
3357#else
3358 "\x00\x01" /* type */
3359 "\x04\x10" /* len */
3360 "\x00\x00\x04\x00" /* key_size */
3361 "\x00\x00\x00\x00" /* p_size */
3362 "\x00\x00\x00\x00" /* g_size */
3363#endif
3364 /* xa */
3365 "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3366 "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3367 "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3368 "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3369 "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3370 "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3371 "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3372 "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3373 "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3374 "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3375 "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3376 "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3377 "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3378 "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3379 "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3380 "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3381 "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3382 "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3383 "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3384 "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3385 "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3386 "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3387 "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3388 "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3389 "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3390 "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3391 "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3392 "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3393 "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3394 "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3395 "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3396 "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3397 "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3398 "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3399 "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3400 "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3401 "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3402 "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3403 "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3404 "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3405 "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3406 "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3407 "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3408 "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3409 "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3410 "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3411 "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3412 "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3413 "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3414 "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3415 "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3416 "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3417 "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3418 "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3419 "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3420 "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3421 "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3422 "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3423 "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3424 "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3425 "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3426 "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3427 "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3428 "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3429 .b_public =
3430 "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
3431 "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
3432 "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
3433 "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
3434 "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
3435 "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
3436 "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
3437 "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
3438 "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
3439 "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
3440 "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
3441 "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
3442 "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
3443 "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
3444 "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
3445 "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
3446 "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
3447 "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
3448 "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
3449 "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
3450 "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
3451 "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
3452 "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
3453 "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
3454 "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
3455 "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
3456 "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
3457 "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
3458 "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
3459 "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
3460 "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
3461 "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
3462 "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
3463 "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
3464 "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
3465 "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
3466 "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
3467 "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
3468 "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
3469 "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
3470 "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
3471 "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
3472 "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
3473 "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
3474 "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
3475 "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
3476 "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
3477 "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
3478 "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
3479 "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
3480 "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
3481 "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
3482 "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
3483 "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
3484 "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
3485 "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
3486 "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
3487 "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
3488 "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
3489 "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
3490 "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
3491 "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
3492 "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
3493 "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
3494 .expected_a_public =
3495 "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3496 "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3497 "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3498 "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3499 "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3500 "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3501 "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3502 "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3503 "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3504 "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3505 "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3506 "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3507 "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3508 "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3509 "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3510 "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3511 "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3512 "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3513 "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3514 "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3515 "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3516 "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3517 "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3518 "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3519 "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3520 "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3521 "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3522 "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3523 "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3524 "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3525 "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3526 "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3527 "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3528 "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3529 "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3530 "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3531 "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3532 "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3533 "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3534 "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3535 "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3536 "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3537 "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3538 "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3539 "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3540 "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3541 "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3542 "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3543 "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3544 "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3545 "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3546 "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3547 "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3548 "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3549 "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3550 "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3551 "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3552 "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3553 "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3554 "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3555 "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3556 "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3557 "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3558 "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3559 .expected_ss =
3560 "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
3561 "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
3562 "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
3563 "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
3564 "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
3565 "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
3566 "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
3567 "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
3568 "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
3569 "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
3570 "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
3571 "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
3572 "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
3573 "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
3574 "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
3575 "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
3576 "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
3577 "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
3578 "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
3579 "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
3580 "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
3581 "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
3582 "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
3583 "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
3584 "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
3585 "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
3586 "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
3587 "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
3588 "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
3589 "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
3590 "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
3591 "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
3592 "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
3593 "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
3594 "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
3595 "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
3596 "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
3597 "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
3598 "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
3599 "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
3600 "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
3601 "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
3602 "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
3603 "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
3604 "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
3605 "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
3606 "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
3607 "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
3608 "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
3609 "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
3610 "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
3611 "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
3612 "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
3613 "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
3614 "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
3615 "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
3616 "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
3617 "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
3618 "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
3619 "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
3620 "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
3621 "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
3622 "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
3623 "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
3624 .secret_size = 1040,
3625 .b_public_size = 1024,
3626 .expected_a_public_size = 1024,
3627 .expected_ss_size = 1024,
3628 },
3629 {
3630 .secret =
3631#ifdef __LITTLE_ENDIAN
3632 "\x01\x00" /* type */
3633 "\x10\x00" /* len */
3634 "\x00\x00\x00\x00" /* key_size */
3635 "\x00\x00\x00\x00" /* p_size */
3636 "\x00\x00\x00\x00", /* g_size */
3637#else
3638 "\x00\x01" /* type */
3639 "\x00\x10" /* len */
3640 "\x00\x00\x00\x00" /* key_size */
3641 "\x00\x00\x00\x00" /* p_size */
3642 "\x00\x00\x00\x00", /* g_size */
3643#endif
3644 .b_secret =
3645#ifdef __LITTLE_ENDIAN
3646 "\x01\x00" /* type */
3647 "\x10\x04" /* len */
3648 "\x00\x04\x00\x00" /* key_size */
3649 "\x00\x00\x00\x00" /* p_size */
3650 "\x00\x00\x00\x00" /* g_size */
3651#else
3652 "\x00\x01" /* type */
3653 "\x04\x10" /* len */
3654 "\x00\x00\x04\x00" /* key_size */
3655 "\x00\x00\x00\x00" /* p_size */
3656 "\x00\x00\x00\x00" /* g_size */
3657#endif
3658 /* xa */
3659 "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3660 "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3661 "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3662 "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3663 "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3664 "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3665 "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3666 "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3667 "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3668 "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3669 "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3670 "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3671 "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3672 "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3673 "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3674 "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3675 "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3676 "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3677 "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3678 "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3679 "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3680 "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3681 "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3682 "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3683 "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3684 "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3685 "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3686 "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3687 "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3688 "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3689 "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3690 "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3691 "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3692 "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3693 "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3694 "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3695 "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3696 "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3697 "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3698 "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3699 "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3700 "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3701 "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3702 "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3703 "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3704 "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3705 "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3706 "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3707 "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3708 "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3709 "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3710 "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3711 "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3712 "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3713 "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3714 "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3715 "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3716 "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3717 "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3718 "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3719 "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3720 "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3721 "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3722 "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3723 .b_public =
3724 "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3725 "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3726 "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3727 "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3728 "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3729 "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3730 "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3731 "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3732 "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3733 "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3734 "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3735 "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3736 "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3737 "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3738 "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3739 "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3740 "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3741 "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3742 "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3743 "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3744 "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3745 "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3746 "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3747 "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3748 "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3749 "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3750 "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3751 "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3752 "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3753 "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3754 "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3755 "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3756 "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3757 "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3758 "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3759 "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3760 "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3761 "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3762 "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3763 "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3764 "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3765 "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3766 "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3767 "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3768 "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3769 "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3770 "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3771 "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3772 "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3773 "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3774 "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3775 "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3776 "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3777 "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3778 "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3779 "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3780 "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3781 "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3782 "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3783 "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3784 "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3785 "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3786 "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3787 "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3788 .secret_size = 16,
3789 .b_secret_size = 1040,
3790 .b_public_size = 1024,
3791 .expected_a_public_size = 1024,
3792 .expected_ss_size = 1024,
3793 .genkey = true,
3794 },
3795};
3796
3797static const struct kpp_testvec ecdh_p192_tv_template[] = {
3798 {
3799 .secret =
3800#ifdef __LITTLE_ENDIAN
3801 "\x02\x00" /* type */
3802 "\x1e\x00" /* len */
3803 "\x18\x00" /* key_size */
3804#else
3805 "\x00\x02" /* type */
3806 "\x00\x1e" /* len */
3807 "\x00\x18" /* key_size */
3808#endif
3809 "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
3810 "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
3811 "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
3812 .b_public =
3813 "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
3814 "\x7a\x99\x75\x64\x36\x13\x9a\x94"
3815 "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
3816 "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
3817 "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
3818 "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
3819 .expected_a_public =
3820 "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
3821 "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
3822 "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
3823 "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
3824 "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
3825 "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
3826 .expected_ss =
3827 "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
3828 "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
3829 "\x99\x80\x81\x28\xaf\xc5\x51\x74",
3830 .secret_size = 30,
3831 .b_public_size = 48,
3832 .expected_a_public_size = 48,
3833 .expected_ss_size = 24
3834 }
3835};
3836
3837static const struct kpp_testvec ecdh_p256_tv_template[] = {
3838 {
3839 .secret =
3840#ifdef __LITTLE_ENDIAN
3841 "\x02\x00" /* type */
3842 "\x26\x00" /* len */
3843 "\x20\x00" /* key_size */
3844#else
3845 "\x00\x02" /* type */
3846 "\x00\x26" /* len */
3847 "\x00\x20" /* key_size */
3848#endif
3849 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
3850 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
3851 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
3852 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
3853 .expected_a_public =
3854 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
3855 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
3856 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
3857 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
3858 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
3859 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
3860 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
3861 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
3862 .expected_ss =
3863 "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
3864 "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
3865 "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
3866 "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
3867 .b_public =
3868 "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
3869 "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
3870 "\x29\xb2\x47\x03\x19\xab\xdd\x34"
3871 "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
3872 "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
3873 "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
3874 "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
3875 "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
3876 .secret_size = 38,
3877 .b_public_size = 64,
3878 .expected_a_public_size = 64,
3879 .expected_ss_size = 32
3880 }, {
3881 .secret =
3882#ifdef __LITTLE_ENDIAN
3883 "\x02\x00" /* type */
3884 "\x06\x00" /* len */
3885 "\x00\x00", /* key_size */
3886#else
3887 "\x00\x02" /* type */
3888 "\x00\x06" /* len */
3889 "\x00\x00", /* key_size */
3890#endif
3891 .b_secret =
3892#ifdef __LITTLE_ENDIAN
3893 "\x02\x00" /* type */
3894 "\x26\x00" /* len */
3895 "\x20\x00" /* key_size */
3896#else
3897 "\x00\x02" /* type */
3898 "\x00\x26" /* len */
3899 "\x00\x20" /* key_size */
3900#endif
3901 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
3902 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
3903 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
3904 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
3905 .b_public =
3906 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
3907 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
3908 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
3909 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
3910 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
3911 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
3912 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
3913 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
3914 .secret_size = 6,
3915 .b_secret_size = 38,
3916 .b_public_size = 64,
3917 .expected_a_public_size = 64,
3918 .expected_ss_size = 32,
3919 .genkey = true,
3920 }
3921};
3922
3923/*
3924 * NIST P384 test vectors from RFC5903
3925 */
3926static const struct kpp_testvec ecdh_p384_tv_template[] = {
3927 {
3928 .secret =
3929#ifdef __LITTLE_ENDIAN
3930 "\x02\x00" /* type */
3931 "\x36\x00" /* len */
3932 "\x30\x00" /* key_size */
3933#else
3934 "\x00\x02" /* type */
3935 "\x00\x36" /* len */
3936 "\x00\x30" /* key_size */
3937#endif
3938 "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
3939 "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
3940 "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
3941 "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
3942 "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
3943 "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
3944 .b_public =
3945 "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
3946 "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
3947 "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
3948 "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
3949 "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
3950 "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
3951 "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
3952 "\x72\x16\x9E\x83\x84\x30\x36\x7F"
3953 "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
3954 "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
3955 "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
3956 "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
3957 .expected_a_public =
3958 "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
3959 "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
3960 "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
3961 "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
3962 "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
3963 "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
3964 "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
3965 "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
3966 "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
3967 "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
3968 "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
3969 "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
3970 .expected_ss =
3971 "\x11\x18\x73\x31\xC2\x79\x96\x2D"
3972 "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
3973 "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
3974 "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
3975 "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
3976 "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
3977 .secret_size = 54,
3978 .b_public_size = 96,
3979 .expected_a_public_size = 96,
3980 .expected_ss_size = 48
3981 }
3982};
3983
3984/*
3985 * MD4 test vectors from RFC1320
3986 */
3987static const struct hash_testvec md4_tv_template[] = {
3988 {
3989 .plaintext = "",
3990 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
3991 "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
3992 }, {
3993 .plaintext = "a",
3994 .psize = 1,
3995 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
3996 "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
3997 }, {
3998 .plaintext = "abc",
3999 .psize = 3,
4000 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
4001 "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
4002 }, {
4003 .plaintext = "message digest",
4004 .psize = 14,
4005 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
4006 "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
4007 }, {
4008 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4009 .psize = 26,
4010 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
4011 "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
4012 }, {
4013 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4014 .psize = 62,
4015 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
4016 "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
4017 }, {
4018 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
4019 "45678901234567890",
4020 .psize = 80,
4021 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
4022 "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
4023 },
4024};
4025
4026static const struct hash_testvec sha3_224_tv_template[] = {
4027 {
4028 .plaintext = "",
4029 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
4030 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
4031 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
4032 "\x5b\x5a\x6b\xc7",
4033 }, {
4034 .plaintext = "a",
4035 .psize = 1,
4036 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
4037 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
4038 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
4039 "\x48\x2b\x6a\x8b",
4040 }, {
4041 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4042 "jklmklmnlmnomnopnopq",
4043 .psize = 56,
4044 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
4045 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
4046 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
4047 "\xd0\xfc\xce\x33",
4048 }, {
4049 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4050 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4051 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4052 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4053 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4054 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4055 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4056 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4057 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4058 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4059 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4060 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4061 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4062 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4063 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4064 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4065 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4066 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4067 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4068 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4069 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4070 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4071 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4072 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4073 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4074 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4075 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4076 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4077 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4078 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4079 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4080 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4081 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4082 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4083 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4084 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4085 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4086 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4087 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4088 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4089 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4090 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4091 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4092 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4093 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4094 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4095 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4096 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4097 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4098 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4099 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4100 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4101 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4102 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4103 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4104 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4105 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4106 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4107 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4108 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4109 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4110 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4111 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4112 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4113 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4114 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4115 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4116 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4117 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4118 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4119 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4120 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4121 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4122 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4123 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4124 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4125 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4126 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4127 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4128 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4129 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4130 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4131 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4132 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4133 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4134 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4135 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4136 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4137 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4138 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4139 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4140 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4141 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4142 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4143 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4144 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4145 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4146 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4147 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4148 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4149 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4150 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4151 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4152 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4153 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4154 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4155 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4156 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4157 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4158 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4159 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4160 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4161 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4162 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4163 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4164 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4165 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4166 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4167 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4168 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4169 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4170 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4171 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4172 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4173 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4174 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4175 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4176 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4177 .psize = 1023,
4178 .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
4179 "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
4180 "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
4181 "\xb6\x79\x10\x72",
4182 },
4183};
4184
4185static const struct hash_testvec sha3_256_tv_template[] = {
4186 {
4187 .plaintext = "",
4188 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
4189 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
4190 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
4191 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
4192 }, {
4193 .plaintext = "a",
4194 .psize = 1,
4195 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
4196 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
4197 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
4198 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
4199 }, {
4200 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4201 "jklmklmnlmnomnopnopq",
4202 .psize = 56,
4203 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
4204 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
4205 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
4206 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
4207 }, {
4208 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4209 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4210 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4211 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4212 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4213 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4214 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4215 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4216 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4217 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4218 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4219 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4220 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4221 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4222 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4223 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4224 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4225 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4226 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4227 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4228 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4229 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4230 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4231 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4232 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4233 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4234 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4235 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4236 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4237 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4238 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4239 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4240 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4241 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4242 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4243 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4244 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4245 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4246 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4247 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4248 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4249 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4250 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4251 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4252 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4253 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4254 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4255 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4256 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4257 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4258 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4259 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4260 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4261 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4262 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4263 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4264 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4265 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4266 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4267 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4268 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4269 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4270 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4271 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4272 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4273 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4274 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4275 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4276 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4277 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4278 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4279 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4280 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4281 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4282 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4283 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4284 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4285 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4286 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4287 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4288 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4289 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4290 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4291 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4292 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4293 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4294 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4295 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4296 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4297 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4298 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4299 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4300 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4301 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4302 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4303 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4304 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4305 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4306 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4307 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4308 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4309 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4310 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4311 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4312 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4313 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4314 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4315 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4316 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4317 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4318 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4319 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4320 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4321 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4322 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4323 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4324 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4325 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4326 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4327 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4328 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4329 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4330 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4331 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4332 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4333 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4334 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4335 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4336 .psize = 1023,
4337 .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
4338 "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
4339 "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
4340 "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
4341 },
4342};
4343
4344
4345static const struct hash_testvec sha3_384_tv_template[] = {
4346 {
4347 .plaintext = "",
4348 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
4349 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
4350 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
4351 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
4352 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
4353 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
4354 }, {
4355 .plaintext = "a",
4356 .psize = 1,
4357 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
4358 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
4359 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
4360 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
4361 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
4362 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
4363 }, {
4364 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4365 "jklmklmnlmnomnopnopq",
4366 .psize = 56,
4367 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
4368 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
4369 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
4370 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
4371 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
4372 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
4373 }, {
4374 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4375 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4376 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4377 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4378 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4379 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4380 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4381 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4382 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4383 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4384 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4385 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4386 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4387 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4388 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4389 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4390 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4391 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4392 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4393 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4394 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4395 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4396 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4397 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4398 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4399 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4400 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4401 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4402 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4403 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4404 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4405 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4406 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4407 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4408 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4409 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4410 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4411 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4412 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4413 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4414 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4415 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4416 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4417 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4418 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4419 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4420 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4421 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4422 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4423 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4424 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4425 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4426 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4427 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4428 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4429 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4430 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4431 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4432 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4433 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4434 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4435 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4436 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4437 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4438 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4439 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4440 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4441 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4442 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4443 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4444 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4445 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4446 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4447 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4448 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4449 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4450 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4451 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4452 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4453 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4454 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4455 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4456 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4457 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4458 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4459 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4460 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4461 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4462 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4463 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4464 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4465 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4466 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4467 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4468 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4469 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4470 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4471 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4472 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4473 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4474 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4475 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4476 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4477 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4478 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4479 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4480 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4481 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4482 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4483 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4484 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4485 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4486 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4487 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4488 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4489 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4490 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4491 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4492 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4493 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4494 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4495 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4496 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4497 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4498 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4499 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4500 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4501 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4502 .psize = 1023,
4503 .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
4504 "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
4505 "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
4506 "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
4507 "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
4508 "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
4509 },
4510};
4511
4512
4513static const struct hash_testvec sha3_512_tv_template[] = {
4514 {
4515 .plaintext = "",
4516 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
4517 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
4518 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
4519 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
4520 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
4521 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
4522 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
4523 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
4524 }, {
4525 .plaintext = "a",
4526 .psize = 1,
4527 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
4528 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
4529 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
4530 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
4531 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
4532 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
4533 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
4534 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
4535 }, {
4536 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4537 "jklmklmnlmnomnopnopq",
4538 .psize = 56,
4539 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
4540 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
4541 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
4542 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
4543 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
4544 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
4545 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
4546 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
4547 }, {
4548 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4549 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4550 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4551 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4552 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4553 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4554 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4555 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4556 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4557 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4558 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4559 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4560 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4561 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4562 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4563 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4564 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4565 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4566 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4567 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4568 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4569 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4570 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4571 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4572 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4573 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4574 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4575 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4576 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4577 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4578 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4579 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4580 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4581 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4582 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4583 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4584 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4585 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4586 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4587 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4588 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4589 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4590 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4591 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4592 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4593 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4594 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4595 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4596 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4597 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4598 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4599 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4600 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4601 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4602 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4603 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4604 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4605 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4606 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4607 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4608 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4609 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4610 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4611 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4612 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4613 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4614 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4615 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4616 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4617 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4618 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4619 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4620 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4621 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4622 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4623 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4624 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4625 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4626 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4627 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4628 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4629 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4630 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4631 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4632 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4633 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4634 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4635 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4636 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4637 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4638 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4639 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4640 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4641 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4642 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4643 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4644 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4645 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4646 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4647 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4648 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4649 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4650 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4651 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4652 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4653 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4654 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4655 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4656 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4657 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4658 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4659 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4660 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4661 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4662 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4663 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4664 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4665 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4666 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4667 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4668 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4669 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4670 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4671 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4672 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4673 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4674 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4675 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4676 .psize = 1023,
4677 .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
4678 "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
4679 "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
4680 "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
4681 "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
4682 "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
4683 "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
4684 "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
4685 },
4686};
4687
4688
4689/*
4690 * MD5 test vectors from RFC1321
4691 */
4692static const struct hash_testvec md5_tv_template[] = {
4693 {
4694 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
4695 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
4696 }, {
4697 .plaintext = "a",
4698 .psize = 1,
4699 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
4700 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
4701 }, {
4702 .plaintext = "abc",
4703 .psize = 3,
4704 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
4705 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
4706 }, {
4707 .plaintext = "message digest",
4708 .psize = 14,
4709 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
4710 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
4711 }, {
4712 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4713 .psize = 26,
4714 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
4715 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
4716 }, {
4717 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4718 .psize = 62,
4719 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
4720 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
4721 }, {
4722 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
4723 "345678901234567890",
4724 .psize = 80,
4725 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
4726 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
4727 }
4728
4729};
4730
4731/*
4732 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
4733 */
4734static const struct hash_testvec rmd160_tv_template[] = {
4735 {
4736 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
4737 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
4738 }, {
4739 .plaintext = "a",
4740 .psize = 1,
4741 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
4742 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
4743 }, {
4744 .plaintext = "abc",
4745 .psize = 3,
4746 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
4747 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
4748 }, {
4749 .plaintext = "message digest",
4750 .psize = 14,
4751 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
4752 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
4753 }, {
4754 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4755 .psize = 26,
4756 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
4757 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
4758 }, {
4759 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
4760 "fghijklmnopqrstuvwxyz0123456789",
4761 .psize = 62,
4762 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
4763 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
4764 }, {
4765 .plaintext = "1234567890123456789012345678901234567890"
4766 "1234567890123456789012345678901234567890",
4767 .psize = 80,
4768 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
4769 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
4770 }, {
4771 .plaintext = "abcdbcdecdefdefgefghfghighij"
4772 "hijkijkljklmklmnlmnomnopnopq",
4773 .psize = 56,
4774 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
4775 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
4776 }, {
4777 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
4778 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
4779 "lmnopqrsmnopqrstnopqrstu",
4780 .psize = 112,
4781 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
4782 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
4783 }, {
4784 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
4785 .psize = 32,
4786 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
4787 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
4788 }
4789};
4790
4791/*
4792 * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
4793 */
4794static const struct hash_testvec streebog256_tv_template[] = {
4795 { /* M1 */
4796 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
4797 .psize = 63,
4798 .digest =
4799 "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
4800 "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
4801 "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
4802 "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
4803 },
4804 { /* M2 */
4805 .plaintext =
4806 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
4807 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
4808 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
4809 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
4810 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
4811 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
4812 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
4813 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
4814 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
4815 .psize = 72,
4816 .digest =
4817 "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
4818 "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
4819 "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
4820 "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
4821 },
4822};
4823
4824static const struct hash_testvec streebog512_tv_template[] = {
4825 { /* M1 */
4826 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
4827 .psize = 63,
4828 .digest =
4829 "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
4830 "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
4831 "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
4832 "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
4833 "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
4834 "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
4835 "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
4836 "\x41\x79\x78\x91\xc1\x64\x6f\x48",
4837 },
4838 { /* M2 */
4839 .plaintext =
4840 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
4841 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
4842 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
4843 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
4844 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
4845 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
4846 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
4847 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
4848 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
4849 .psize = 72,
4850 .digest =
4851 "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
4852 "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
4853 "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
4854 "\x53\x00\xee\xe4\x6d\x96\x13\x76"
4855 "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
4856 "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
4857 "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
4858 "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
4859 },
4860};
4861
4862/*
4863 * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
4864 */
4865static const struct hash_testvec hmac_streebog256_tv_template[] = {
4866 {
4867 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4868 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4869 "\x10\x11\x12\x13\x14\x15\x16\x17"
4870 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4871 .ksize = 32,
4872 .plaintext =
4873 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
4874 "\x43\x41\x45\x65\x63\x78\x01\x00",
4875 .psize = 16,
4876 .digest =
4877 "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
4878 "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
4879 "\x01\x31\x37\x01\x0a\x83\x75\x4f"
4880 "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
4881 },
4882};
4883
4884static const struct hash_testvec hmac_streebog512_tv_template[] = {
4885 {
4886 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4887 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4888 "\x10\x11\x12\x13\x14\x15\x16\x17"
4889 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4890 .ksize = 32,
4891 .plaintext =
4892 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
4893 "\x43\x41\x45\x65\x63\x78\x01\x00",
4894 .psize = 16,
4895 .digest =
4896 "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
4897 "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
4898 "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
4899 "\x90\x55\x00\xe1\x71\x92\x3a\x77"
4900 "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
4901 "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
4902 "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
4903 "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
4904 },
4905};
4906
4907/* Example vectors below taken from
4908 * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
4909 *
4910 * The rest taken from
4911 * https://github.com/adamws/oscca-sm3
4912 */
4913static const struct hash_testvec sm3_tv_template[] = {
4914 {
4915 .plaintext = "",
4916 .psize = 0,
4917 .digest = (u8 *)(u8 []) {
4918 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
4919 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
4920 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
4921 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
4922 }, {
4923 .plaintext = "a",
4924 .psize = 1,
4925 .digest = (u8 *)(u8 []) {
4926 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
4927 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
4928 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
4929 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
4930 }, {
4931 /* A.1. Example 1 */
4932 .plaintext = "abc",
4933 .psize = 3,
4934 .digest = (u8 *)(u8 []) {
4935 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
4936 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
4937 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
4938 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
4939 }, {
4940 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4941 .psize = 26,
4942 .digest = (u8 *)(u8 []) {
4943 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
4944 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
4945 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
4946 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
4947 }, {
4948 /* A.1. Example 2 */
4949 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
4950 "cdabcdabcdabcdabcd",
4951 .psize = 64,
4952 .digest = (u8 *)(u8 []) {
4953 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
4954 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
4955 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
4956 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
4957 }, {
4958 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4959 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4960 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4961 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4962 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4963 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4964 "abcdabcdabcdabcdabcdabcdabcdabcd",
4965 .psize = 256,
4966 .digest = (u8 *)(u8 []) {
4967 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
4968 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
4969 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
4970 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
4971 }
4972};
4973
4974/* Example vectors below taken from
4975 * GM/T 0042-2015 Appendix D.3
4976 */
4977static const struct hash_testvec hmac_sm3_tv_template[] = {
4978 {
4979 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4980 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4981 "\x11\x12\x13\x14\x15\x16\x17\x18"
4982 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4983 .ksize = 32,
4984 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
4985 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4986 .psize = 112,
4987 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
4988 "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
4989 "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
4990 "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
4991 }, {
4992 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4993 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4994 "\x11\x12\x13\x14\x15\x16\x17\x18"
4995 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
4996 "\x21\x22\x23\x24\x25",
4997 .ksize = 37,
4998 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4999 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5000 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
5001 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
5002 .psize = 50,
5003 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
5004 "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
5005 "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
5006 "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
5007 }, {
5008 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5009 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5010 "\x0b\x0b\x0b\x0b\x0b\x0b",
5011 .ksize = 32,
5012 .plaintext = "Hi There",
5013 .psize = 8,
5014 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
5015 "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
5016 "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
5017 "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
5018 }, {
5019 .key = "Jefe",
5020 .ksize = 4,
5021 .plaintext = "what do ya want for nothing?",
5022 .psize = 28,
5023 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
5024 "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
5025 "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
5026 "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
5027 },
5028};
5029
5030/*
5031 * SHA1 test vectors from FIPS PUB 180-1
5032 * Long vector from CAVS 5.0
5033 */
5034static const struct hash_testvec sha1_tv_template[] = {
5035 {
5036 .plaintext = "",
5037 .psize = 0,
5038 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
5039 "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
5040 }, {
5041 .plaintext = "abc",
5042 .psize = 3,
5043 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
5044 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
5045 }, {
5046 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5047 .psize = 56,
5048 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
5049 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
5050 }, {
5051 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
5052 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
5053 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
5054 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
5055 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
5056 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
5057 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
5058 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
5059 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
5060 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
5061 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
5062 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
5063 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
5064 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
5065 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
5066 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
5067 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
5068 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
5069 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
5070 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
5071 "\x5a\x90\x11",
5072 .psize = 163,
5073 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
5074 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
5075 }, {
5076 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5077 .psize = 64,
5078 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
5079 "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
5080 }, {
5081 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5082 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5083 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5084 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5085 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5086 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5087 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5088 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5089 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5090 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5091 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5092 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5093 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5094 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5095 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5096 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5097 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5098 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5099 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5100 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5101 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5102 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5103 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5104 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5105 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5106 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5107 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5108 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5109 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5110 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5111 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5112 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5113 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5114 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5115 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5116 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5117 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5118 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5119 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5120 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5121 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5122 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5123 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5124 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5125 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5126 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5127 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5128 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5129 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5130 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5131 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5132 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5133 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5134 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5135 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5136 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5137 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5138 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5139 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5140 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5141 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5142 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5143 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5144 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5145 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5146 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5147 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5148 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5149 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5150 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5151 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5152 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5153 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5154 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5155 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5156 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5157 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5158 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5159 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5160 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5161 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5162 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5163 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5164 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5165 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5166 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5167 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5168 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5169 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5170 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5171 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5172 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5173 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5174 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5175 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5176 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5177 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5178 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5179 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5180 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5181 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5182 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5183 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5184 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5185 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5186 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5187 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5188 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5189 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5190 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5191 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5192 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5193 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5194 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5195 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5196 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5197 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5198 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5199 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5200 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5201 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5202 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5203 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5204 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5205 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5206 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5207 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5208 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5209 .psize = 1023,
5210 .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
5211 "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
5212 "\x30\xd6\xc9\x85",
5213 }
5214};
5215
5216
5217/*
5218 * SHA224 test vectors from FIPS PUB 180-2
5219 */
5220static const struct hash_testvec sha224_tv_template[] = {
5221 {
5222 .plaintext = "",
5223 .psize = 0,
5224 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
5225 "\x47\x61\x02\xbb\x28\x82\x34\xc4"
5226 "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
5227 "\xc5\xb3\xe4\x2f",
5228 }, {
5229 .plaintext = "abc",
5230 .psize = 3,
5231 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
5232 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
5233 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
5234 "\xE3\x6C\x9D\xA7",
5235 }, {
5236 .plaintext =
5237 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5238 .psize = 56,
5239 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
5240 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
5241 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
5242 "\x52\x52\x25\x25",
5243 }, {
5244 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5245 .psize = 64,
5246 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
5247 "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
5248 "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
5249 "\xef\x3b\xcb\x0e",
5250 }, {
5251 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5252 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5253 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5254 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5255 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5256 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5257 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5258 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5259 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5260 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5261 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5262 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5263 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5264 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5265 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5266 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5267 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5268 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5269 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5270 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5271 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5272 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5273 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5274 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5275 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5276 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5277 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5278 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5279 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5280 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5281 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5282 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5283 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5284 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5285 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5286 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5287 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5288 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5289 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5290 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5291 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5292 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5293 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5294 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5295 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5296 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5297 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5298 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5299 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5300 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5301 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5302 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5303 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5304 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5305 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5306 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5307 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5308 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5309 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5310 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5311 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5312 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5313 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5314 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5315 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5316 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5317 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5318 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5319 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5320 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5321 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5322 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5323 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5324 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5325 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5326 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5327 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5328 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5329 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5330 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5331 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5332 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5333 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5334 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5335 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5336 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5337 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5338 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5339 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5340 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5341 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5342 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5343 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5344 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5345 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5346 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5347 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5348 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5349 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5350 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5351 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5352 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5353 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5354 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5355 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5356 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5357 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5358 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5359 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5360 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5361 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5362 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5363 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5364 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5365 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5366 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5367 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5368 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5369 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5370 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5371 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5372 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5373 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5374 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5375 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5376 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5377 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5378 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5379 .psize = 1023,
5380 .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
5381 "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
5382 "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
5383 "\xe6\xf9\x4f\xcc",
5384 }
5385};
5386
5387/*
5388 * SHA256 test vectors from NIST
5389 */
5390static const struct hash_testvec sha256_tv_template[] = {
5391 {
5392 .plaintext = "",
5393 .psize = 0,
5394 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
5395 "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
5396 "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
5397 "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
5398 }, {
5399 .plaintext = "abc",
5400 .psize = 3,
5401 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
5402 "\x41\x41\x40\xde\x5d\xae\x22\x23"
5403 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
5404 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
5405 }, {
5406 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5407 .psize = 56,
5408 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
5409 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
5410 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
5411 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
5412 }, {
5413 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5414 .psize = 64,
5415 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
5416 "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
5417 "\xd6\xff\x94\xa3\x72\x91\x85\x66"
5418 "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
5419 }, {
5420 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5421 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5422 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5423 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5424 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5425 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5426 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5427 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5428 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5429 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5430 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5431 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5432 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5433 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5434 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5435 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5436 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5437 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5438 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5439 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5440 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5441 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5442 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5443 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5444 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5445 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5446 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5447 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5448 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5449 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5450 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5451 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5452 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5453 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5454 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5455 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5456 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5457 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5458 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5459 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5460 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5461 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5462 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5463 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5464 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5465 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5466 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5467 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5468 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5469 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5470 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5471 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5472 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5473 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5474 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5475 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5476 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5477 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5478 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5479 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5480 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5481 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5482 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5483 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5484 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5485 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5486 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5487 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5488 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5489 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5490 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5491 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5492 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5493 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5494 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5495 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5496 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5497 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5498 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5499 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5500 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5501 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5502 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5503 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5504 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5505 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5506 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5507 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5508 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5509 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5510 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5511 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5512 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5513 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5514 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5515 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5516 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5517 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5518 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5519 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5520 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5521 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5522 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5523 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5524 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5525 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5526 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5527 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5528 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5529 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5530 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5531 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5532 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5533 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5534 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5535 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5536 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5537 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5538 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5539 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5540 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5541 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5542 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5543 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5544 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5545 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5546 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5547 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5548 .psize = 1023,
5549 .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
5550 "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
5551 "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
5552 "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
5553 }
5554};
5555
5556/*
5557 * SHA384 test vectors from NIST and kerneli
5558 */
5559static const struct hash_testvec sha384_tv_template[] = {
5560 {
5561 .plaintext = "",
5562 .psize = 0,
5563 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
5564 "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
5565 "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
5566 "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
5567 "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
5568 "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
5569 }, {
5570 .plaintext= "abc",
5571 .psize = 3,
5572 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
5573 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
5574 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
5575 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
5576 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
5577 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
5578 }, {
5579 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5580 .psize = 56,
5581 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
5582 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
5583 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
5584 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
5585 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
5586 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
5587 }, {
5588 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
5589 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
5590 .psize = 112,
5591 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
5592 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
5593 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
5594 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
5595 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
5596 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
5597 }, {
5598 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
5599 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
5600 .psize = 104,
5601 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
5602 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
5603 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
5604 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
5605 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
5606 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
5607 }, {
5608 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5609 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5610 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5611 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5612 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5613 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5614 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5615 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5616 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5617 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5618 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5619 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5620 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5621 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5622 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5623 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5624 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5625 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5626 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5627 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5628 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5629 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5630 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5631 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5632 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5633 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5634 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5635 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5636 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5637 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5638 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5639 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5640 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5641 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5642 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5643 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5644 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5645 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5646 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5647 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5648 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5649 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5650 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5651 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5652 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5653 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5654 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5655 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5656 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5657 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5658 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5659 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5660 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5661 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5662 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5663 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5664 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5665 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5666 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5667 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5668 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5669 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5670 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5671 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5672 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5673 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5674 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5675 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5676 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5677 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5678 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5679 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5680 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5681 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5682 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5683 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5684 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5685 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5686 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5687 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5688 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5689 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5690 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5691 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5692 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5693 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5694 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5695 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5696 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5697 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5698 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5699 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5700 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5701 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5702 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5703 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5704 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5705 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5706 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5707 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5708 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5709 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5710 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5711 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5712 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5713 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5714 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5715 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5716 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5717 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5718 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5719 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5720 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5721 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5722 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5723 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5724 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5725 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5726 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5727 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5728 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5729 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5730 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5731 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5732 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5733 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5734 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5735 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5736 .psize = 1023,
5737 .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
5738 "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
5739 "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
5740 "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
5741 "\x75\x29\x62\x83\xae\x3f\x17\xab"
5742 "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
5743 }
5744};
5745
5746/*
5747 * SHA512 test vectors from NIST and kerneli
5748 */
5749static const struct hash_testvec sha512_tv_template[] = {
5750 {
5751 .plaintext = "",
5752 .psize = 0,
5753 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
5754 "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
5755 "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
5756 "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
5757 "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
5758 "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
5759 "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
5760 "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
5761 }, {
5762 .plaintext = "abc",
5763 .psize = 3,
5764 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
5765 "\xcc\x41\x73\x49\xae\x20\x41\x31"
5766 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
5767 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
5768 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
5769 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
5770 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
5771 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
5772 }, {
5773 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5774 .psize = 56,
5775 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
5776 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
5777 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
5778 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
5779 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
5780 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
5781 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
5782 "\x54\xec\x63\x12\x38\xca\x34\x45",
5783 }, {
5784 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
5785 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
5786 .psize = 112,
5787 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
5788 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
5789 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
5790 "\x72\x99\xae\xad\xb6\x88\x90\x18"
5791 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
5792 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
5793 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
5794 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
5795 }, {
5796 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
5797 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
5798 .psize = 104,
5799 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
5800 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
5801 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
5802 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
5803 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
5804 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
5805 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
5806 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
5807 }, {
5808 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5809 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5810 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5811 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5812 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5813 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5814 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5815 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5816 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5817 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5818 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5819 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5820 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5821 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5822 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5823 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5824 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5825 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5826 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5827 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5828 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5829 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5830 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5831 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5832 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5833 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5834 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5835 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5836 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5837 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5838 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5839 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5840 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5841 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5842 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5843 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5844 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5845 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5846 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5847 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5848 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5849 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5850 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5851 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5852 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5853 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5854 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5855 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5856 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5857 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5858 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5859 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5860 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5861 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5862 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5863 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5864 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5865 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5866 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5867 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5868 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5869 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5870 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5871 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5872 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5873 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5874 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5875 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5876 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5877 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5878 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5879 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5880 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5881 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5882 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5883 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5884 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5885 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5886 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5887 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5888 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5889 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5890 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5891 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5892 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5893 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5894 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5895 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5896 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5897 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5898 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5899 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5900 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5901 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5902 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5903 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5904 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5905 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5906 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5907 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5908 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5909 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5910 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5911 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5912 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5913 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5914 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5915 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5916 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5917 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5918 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5919 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5920 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5921 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5922 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5923 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5924 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5925 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5926 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5927 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5928 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5929 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5930 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5931 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5932 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5933 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5934 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5935 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5936 .psize = 1023,
5937 .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
5938 "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
5939 "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
5940 "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
5941 "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
5942 "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
5943 "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
5944 "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
5945 }
5946};
5947
5948
5949/*
5950 * WHIRLPOOL test vectors from Whirlpool package
5951 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
5952 * submission
5953 */
5954static const struct hash_testvec wp512_tv_template[] = {
5955 {
5956 .plaintext = "",
5957 .psize = 0,
5958 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
5959 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
5960 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
5961 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
5962 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
5963 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
5964 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
5965 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
5966
5967
5968 }, {
5969 .plaintext = "a",
5970 .psize = 1,
5971 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
5972 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
5973 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
5974 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
5975 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
5976 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
5977 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
5978 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
5979 }, {
5980 .plaintext = "abc",
5981 .psize = 3,
5982 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
5983 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
5984 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
5985 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
5986 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
5987 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
5988 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
5989 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
5990 }, {
5991 .plaintext = "message digest",
5992 .psize = 14,
5993 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
5994 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
5995 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
5996 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
5997 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
5998 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
5999 "\x92\xED\x92\x00\x52\x83\x8F\x33"
6000 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
6001 }, {
6002 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6003 .psize = 26,
6004 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6005 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6006 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6007 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6008 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6009 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
6010 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
6011 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
6012 }, {
6013 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6014 "abcdefghijklmnopqrstuvwxyz0123456789",
6015 .psize = 62,
6016 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6017 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6018 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6019 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6020 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6021 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
6022 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
6023 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
6024 }, {
6025 .plaintext = "1234567890123456789012345678901234567890"
6026 "1234567890123456789012345678901234567890",
6027 .psize = 80,
6028 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6029 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6030 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6031 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6032 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6033 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
6034 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
6035 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
6036 }, {
6037 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6038 .psize = 32,
6039 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6040 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6041 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6042 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6043 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6044 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
6045 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
6046 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
6047 },
6048};
6049
6050static const struct hash_testvec wp384_tv_template[] = {
6051 {
6052 .plaintext = "",
6053 .psize = 0,
6054 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6055 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6056 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6057 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6058 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6059 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
6060
6061
6062 }, {
6063 .plaintext = "a",
6064 .psize = 1,
6065 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6066 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6067 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6068 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6069 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6070 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
6071 }, {
6072 .plaintext = "abc",
6073 .psize = 3,
6074 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6075 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6076 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6077 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6078 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6079 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
6080 }, {
6081 .plaintext = "message digest",
6082 .psize = 14,
6083 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6084 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6085 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6086 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6087 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6088 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
6089 }, {
6090 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6091 .psize = 26,
6092 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6093 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6094 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6095 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6096 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6097 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
6098 }, {
6099 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6100 "abcdefghijklmnopqrstuvwxyz0123456789",
6101 .psize = 62,
6102 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6103 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6104 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6105 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6106 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6107 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
6108 }, {
6109 .plaintext = "1234567890123456789012345678901234567890"
6110 "1234567890123456789012345678901234567890",
6111 .psize = 80,
6112 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6113 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6114 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6115 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6116 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6117 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
6118 }, {
6119 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6120 .psize = 32,
6121 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6122 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6123 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6124 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6125 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6126 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
6127 },
6128};
6129
6130static const struct hash_testvec wp256_tv_template[] = {
6131 {
6132 .plaintext = "",
6133 .psize = 0,
6134 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6135 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6136 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6137 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
6138
6139
6140 }, {
6141 .plaintext = "a",
6142 .psize = 1,
6143 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6144 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6145 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6146 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
6147 }, {
6148 .plaintext = "abc",
6149 .psize = 3,
6150 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6151 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6152 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6153 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
6154 }, {
6155 .plaintext = "message digest",
6156 .psize = 14,
6157 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6158 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6159 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6160 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
6161 }, {
6162 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6163 .psize = 26,
6164 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6165 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6166 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6167 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
6168 }, {
6169 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6170 "abcdefghijklmnopqrstuvwxyz0123456789",
6171 .psize = 62,
6172 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6173 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6174 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6175 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
6176 }, {
6177 .plaintext = "1234567890123456789012345678901234567890"
6178 "1234567890123456789012345678901234567890",
6179 .psize = 80,
6180 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6181 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6182 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6183 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
6184 }, {
6185 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6186 .psize = 32,
6187 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6188 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6189 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6190 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
6191 },
6192};
6193
6194/*
6195 * HMAC-MD5 test vectors from RFC2202
6196 * (These need to be fixed to not use strlen).
6197 */
6198static const struct hash_testvec hmac_md5_tv_template[] =
6199{
6200 {
6201 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6202 .ksize = 16,
6203 .plaintext = "Hi There",
6204 .psize = 8,
6205 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
6206 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
6207 }, {
6208 .key = "Jefe",
6209 .ksize = 4,
6210 .plaintext = "what do ya want for nothing?",
6211 .psize = 28,
6212 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
6213 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
6214 }, {
6215 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6216 .ksize = 16,
6217 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6218 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6219 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6220 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6221 .psize = 50,
6222 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
6223 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
6224 }, {
6225 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6226 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6227 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6228 .ksize = 25,
6229 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6230 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6231 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6232 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6233 .psize = 50,
6234 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
6235 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
6236 }, {
6237 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6238 .ksize = 16,
6239 .plaintext = "Test With Truncation",
6240 .psize = 20,
6241 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
6242 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
6243 }, {
6244 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6245 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6246 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6247 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6248 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6249 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6250 "\xaa\xaa",
6251 .ksize = 80,
6252 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6253 .psize = 54,
6254 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
6255 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
6256 }, {
6257 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6258 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6259 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6260 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6261 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6262 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6263 "\xaa\xaa",
6264 .ksize = 80,
6265 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6266 "Block-Size Data",
6267 .psize = 73,
6268 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
6269 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
6270 },
6271};
6272
6273/*
6274 * HMAC-RIPEMD160 test vectors from RFC2286
6275 */
6276static const struct hash_testvec hmac_rmd160_tv_template[] = {
6277 {
6278 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6279 .ksize = 20,
6280 .plaintext = "Hi There",
6281 .psize = 8,
6282 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
6283 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
6284 }, {
6285 .key = "Jefe",
6286 .ksize = 4,
6287 .plaintext = "what do ya want for nothing?",
6288 .psize = 28,
6289 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
6290 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
6291 }, {
6292 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6293 .ksize = 20,
6294 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6295 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6296 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6297 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6298 .psize = 50,
6299 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
6300 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
6301 }, {
6302 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6303 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6304 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6305 .ksize = 25,
6306 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6307 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6308 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6309 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6310 .psize = 50,
6311 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
6312 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
6313 }, {
6314 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6315 .ksize = 20,
6316 .plaintext = "Test With Truncation",
6317 .psize = 20,
6318 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
6319 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
6320 }, {
6321 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6322 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6323 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6324 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6325 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6326 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6327 "\xaa\xaa",
6328 .ksize = 80,
6329 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6330 .psize = 54,
6331 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
6332 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
6333 }, {
6334 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6335 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6336 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6337 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6338 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6339 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6340 "\xaa\xaa",
6341 .ksize = 80,
6342 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6343 "Block-Size Data",
6344 .psize = 73,
6345 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
6346 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
6347 },
6348};
6349
6350/*
6351 * HMAC-SHA1 test vectors from RFC2202
6352 */
6353static const struct hash_testvec hmac_sha1_tv_template[] = {
6354 {
6355 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6356 .ksize = 20,
6357 .plaintext = "Hi There",
6358 .psize = 8,
6359 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
6360 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
6361 "\x46\xbe",
6362 }, {
6363 .key = "Jefe",
6364 .ksize = 4,
6365 .plaintext = "what do ya want for nothing?",
6366 .psize = 28,
6367 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
6368 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
6369 .fips_skip = 1,
6370 }, {
6371 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6372 .ksize = 20,
6373 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6374 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6375 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6376 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6377 .psize = 50,
6378 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
6379 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
6380 }, {
6381 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6382 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6383 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6384 .ksize = 25,
6385 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6386 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6387 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6388 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6389 .psize = 50,
6390 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
6391 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
6392 }, {
6393 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6394 .ksize = 20,
6395 .plaintext = "Test With Truncation",
6396 .psize = 20,
6397 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
6398 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
6399 }, {
6400 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6401 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6402 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6403 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6404 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6405 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6406 "\xaa\xaa",
6407 .ksize = 80,
6408 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6409 .psize = 54,
6410 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
6411 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
6412 }, {
6413 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6414 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6415 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6416 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6417 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6418 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6419 "\xaa\xaa",
6420 .ksize = 80,
6421 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6422 "Block-Size Data",
6423 .psize = 73,
6424 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
6425 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
6426 },
6427};
6428
6429
6430/*
6431 * SHA224 HMAC test vectors from RFC4231
6432 */
6433static const struct hash_testvec hmac_sha224_tv_template[] = {
6434 {
6435 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6436 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6437 "\x0b\x0b\x0b\x0b",
6438 .ksize = 20,
6439 /* ("Hi There") */
6440 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
6441 .psize = 8,
6442 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
6443 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
6444 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
6445 "\x53\x68\x4b\x22",
6446 }, {
6447 .key = "Jefe",
6448 .ksize = 4,
6449 /* ("what do ya want for nothing?") */
6450 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
6451 "\x79\x61\x20\x77\x61\x6e\x74\x20"
6452 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
6453 "\x69\x6e\x67\x3f",
6454 .psize = 28,
6455 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
6456 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
6457 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
6458 "\x8f\xd0\x5e\x44",
6459 .fips_skip = 1,
6460 }, {
6461 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6462 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6463 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6464 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6465 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6466 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6467 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6468 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6469 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6470 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6471 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6472 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6473 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6474 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6475 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6476 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6477 "\xaa\xaa\xaa",
6478 .ksize = 131,
6479 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
6480 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
6481 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
6482 "\x72\x20\x54\x68\x61\x6e\x20\x42"
6483 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
6484 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
6485 "\x48\x61\x73\x68\x20\x4b\x65\x79"
6486 "\x20\x46\x69\x72\x73\x74",
6487 .psize = 54,
6488 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
6489 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
6490 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
6491 "\x3f\xa6\x87\x0e",
6492 }, {
6493 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6494 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6495 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6496 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6497 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6498 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6499 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6500 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6501 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6502 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6503 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6504 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6505 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6506 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6507 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6508 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6509 "\xaa\xaa\xaa",
6510 .ksize = 131,
6511 /* ("This is a test using a larger than block-size key and a")
6512 (" larger than block-size data. The key needs to be")
6513 (" hashed before being used by the HMAC algorithm.") */
6514 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
6515 "\x61\x20\x74\x65\x73\x74\x20\x75"
6516 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
6517 "\x61\x72\x67\x65\x72\x20\x74\x68"
6518 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
6519 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
6520 "\x79\x20\x61\x6e\x64\x20\x61\x20"
6521 "\x6c\x61\x72\x67\x65\x72\x20\x74"
6522 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
6523 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
6524 "\x61\x74\x61\x2e\x20\x54\x68\x65"
6525 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
6526 "\x64\x73\x20\x74\x6f\x20\x62\x65"
6527 "\x20\x68\x61\x73\x68\x65\x64\x20"
6528 "\x62\x65\x66\x6f\x72\x65\x20\x62"
6529 "\x65\x69\x6e\x67\x20\x75\x73\x65"
6530 "\x64\x20\x62\x79\x20\x74\x68\x65"
6531 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
6532 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
6533 .psize = 152,
6534 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
6535 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
6536 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
6537 "\xf6\xf5\x65\xd1",
6538 },
6539};
6540
6541/*
6542 * HMAC-SHA256 test vectors from
6543 * draft-ietf-ipsec-ciph-sha-256-01.txt
6544 */
6545static const struct hash_testvec hmac_sha256_tv_template[] = {
6546 {
6547 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6548 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6549 "\x11\x12\x13\x14\x15\x16\x17\x18"
6550 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6551 .ksize = 32,
6552 .plaintext = "abc",
6553 .psize = 3,
6554 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
6555 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
6556 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
6557 "\x92\x75\x90\x21\xcf\xab\x81\x81",
6558 }, {
6559 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6560 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6561 "\x11\x12\x13\x14\x15\x16\x17\x18"
6562 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6563 .ksize = 32,
6564 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6565 .psize = 56,
6566 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
6567 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
6568 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
6569 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
6570 }, {
6571 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6572 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6573 "\x11\x12\x13\x14\x15\x16\x17\x18"
6574 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6575 .ksize = 32,
6576 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
6577 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6578 .psize = 112,
6579 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
6580 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
6581 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
6582 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
6583 }, {
6584 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6585 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6586 "\x0b\x0b\x0b\x0b\x0b\x0b",
6587 .ksize = 32,
6588 .plaintext = "Hi There",
6589 .psize = 8,
6590 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
6591 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
6592 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
6593 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
6594 }, {
6595 .key = "Jefe",
6596 .ksize = 4,
6597 .plaintext = "what do ya want for nothing?",
6598 .psize = 28,
6599 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
6600 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
6601 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
6602 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
6603 .fips_skip = 1,
6604 }, {
6605 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6606 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6607 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6608 .ksize = 32,
6609 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6610 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6611 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6612 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6613 .psize = 50,
6614 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
6615 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
6616 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
6617 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
6618 }, {
6619 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6620 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6621 "\x11\x12\x13\x14\x15\x16\x17\x18"
6622 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
6623 "\x21\x22\x23\x24\x25",
6624 .ksize = 37,
6625 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6626 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6627 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6628 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6629 .psize = 50,
6630 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
6631 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
6632 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
6633 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
6634 }, {
6635 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
6636 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
6637 "\x0c\x0c\x0c\x0c\x0c\x0c",
6638 .ksize = 32,
6639 .plaintext = "Test With Truncation",
6640 .psize = 20,
6641 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
6642 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
6643 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
6644 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
6645 }, {
6646 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6647 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6648 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6649 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6650 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6651 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6652 "\xaa\xaa",
6653 .ksize = 80,
6654 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6655 .psize = 54,
6656 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
6657 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
6658 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
6659 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
6660 }, {
6661 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6662 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6663 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6664 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6665 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6666 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6667 "\xaa\xaa",
6668 .ksize = 80,
6669 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
6670 "One Block-Size Data",
6671 .psize = 73,
6672 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
6673 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
6674 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
6675 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
6676 },
6677};
6678
6679static const struct hash_testvec aes_cmac128_tv_template[] = {
6680 { /* From NIST Special Publication 800-38B, AES-128 */
6681 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6682 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6683 .plaintext = zeroed_string,
6684 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
6685 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
6686 .psize = 0,
6687 .ksize = 16,
6688 }, {
6689 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6690 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6691 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6692 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
6693 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
6694 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
6695 .psize = 16,
6696 .ksize = 16,
6697 }, {
6698 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6699 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6700 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6701 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6702 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6703 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6704 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
6705 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
6706 "\x30\xca\x32\x61\x14\x97\xc8\x27",
6707 .psize = 40,
6708 .ksize = 16,
6709 }, {
6710 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6711 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6712 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6713 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6714 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6715 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6716 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6717 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6718 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6719 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
6720 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
6721 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
6722 .psize = 64,
6723 .ksize = 16,
6724 }, { /* From NIST Special Publication 800-38B, AES-256 */
6725 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6726 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6727 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6728 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6729 .plaintext = zeroed_string,
6730 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
6731 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
6732 .psize = 0,
6733 .ksize = 32,
6734 }, {
6735 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6736 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6737 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6738 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6739 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6740 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6741 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6742 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6743 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6744 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6745 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6746 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
6747 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
6748 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
6749 .psize = 64,
6750 .ksize = 32,
6751 }
6752};
6753
6754static const struct hash_testvec aes_cbcmac_tv_template[] = {
6755 {
6756 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6757 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6758 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6759 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
6760 .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
6761 "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
6762 .psize = 16,
6763 .ksize = 16,
6764 }, {
6765 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6766 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6767 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6768 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6769 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6770 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6771 "\x30",
6772 .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
6773 "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
6774 .psize = 33,
6775 .ksize = 16,
6776 }, {
6777 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6778 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6779 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6780 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6781 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6782 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6783 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6784 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6785 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6786 "\xad\x2b\x41\x7b\xe6\x6c\x37",
6787 .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
6788 "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
6789 .psize = 63,
6790 .ksize = 16,
6791 }, {
6792 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6793 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6794 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6795 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6796 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6797 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6798 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6799 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6800 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6801 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6802 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6803 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
6804 "\x1c",
6805 .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
6806 "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
6807 .psize = 65,
6808 .ksize = 32,
6809 }
6810};
6811
6812static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
6813/*
6814 * From NIST Special Publication 800-38B, Three Key TDEA
6815 * Corrected test vectors from:
6816 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
6817 */
6818 {
6819 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6820 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6821 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6822 .plaintext = zeroed_string,
6823 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
6824 .psize = 0,
6825 .ksize = 24,
6826 }, {
6827 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6828 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6829 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6830 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
6831 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
6832 .psize = 8,
6833 .ksize = 24,
6834 }, {
6835 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6836 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6837 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6838 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6839 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6840 "\xae\x2d\x8a\x57",
6841 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
6842 .psize = 20,
6843 .ksize = 24,
6844 }, {
6845 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6846 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6847 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6848 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6849 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6850 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6851 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
6852 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
6853 .psize = 32,
6854 .ksize = 24,
6855 }
6856};
6857
6858static const struct hash_testvec aes_xcbc128_tv_template[] = {
6859 {
6860 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6861 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6862 .plaintext = zeroed_string,
6863 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
6864 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
6865 .psize = 0,
6866 .ksize = 16,
6867 }, {
6868 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6869 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6870 .plaintext = "\x00\x01\x02",
6871 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
6872 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
6873 .psize = 3,
6874 .ksize = 16,
6875 } , {
6876 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6877 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6878 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6879 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6880 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
6881 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
6882 .psize = 16,
6883 .ksize = 16,
6884 }, {
6885 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6886 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6887 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6888 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6889 "\x10\x11\x12\x13",
6890 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
6891 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
6892 .psize = 20,
6893 .ksize = 16,
6894 }, {
6895 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6896 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6897 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6898 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6899 "\x10\x11\x12\x13\x14\x15\x16\x17"
6900 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
6901 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
6902 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
6903 .psize = 32,
6904 .ksize = 16,
6905 }, {
6906 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6907 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6908 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6909 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6910 "\x10\x11\x12\x13\x14\x15\x16\x17"
6911 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
6912 "\x20\x21",
6913 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
6914 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
6915 .psize = 34,
6916 .ksize = 16,
6917 }
6918};
6919
6920/*
6921 * SHA384 HMAC test vectors from RFC4231
6922 */
6923
6924static const struct hash_testvec hmac_sha384_tv_template[] = {
6925 {
6926 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6927 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6928 "\x0b\x0b\x0b\x0b",
6929 .ksize = 20,
6930 .plaintext = "Hi There",
6931 .psize = 8,
6932 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
6933 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
6934 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
6935 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
6936 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
6937 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
6938 }, {
6939 .key = "Jefe",
6940 .ksize = 4,
6941 .plaintext = "what do ya want for nothing?",
6942 .psize = 28,
6943 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
6944 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
6945 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
6946 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
6947 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
6948 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
6949 .fips_skip = 1,
6950 }, {
6951 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6952 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6953 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6954 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6955 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6956 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6957 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6958 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6959 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6960 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6961 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6962 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6963 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6964 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6965 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6966 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6967 "\xaa\xaa\xaa",
6968 .ksize = 131,
6969 .plaintext = "Test Using Larger Than Block-Siz"
6970 "e Key - Hash Key First",
6971 .psize = 54,
6972 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
6973 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
6974 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
6975 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
6976 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
6977 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
6978 }, {
6979 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6980 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6981 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6982 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6983 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6984 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6985 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6986 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6987 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6988 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6989 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6990 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6991 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6992 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6993 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6994 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6995 "\xaa\xaa\xaa",
6996 .ksize = 131,
6997 .plaintext = "This is a test u"
6998 "sing a larger th"
6999 "an block-size ke"
7000 "y and a larger t"
7001 "han block-size d"
7002 "ata. The key nee"
7003 "ds to be hashed "
7004 "before being use"
7005 "d by the HMAC al"
7006 "gorithm.",
7007 .psize = 152,
7008 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
7009 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
7010 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
7011 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
7012 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
7013 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
7014 },
7015};
7016
7017/*
7018 * SHA512 HMAC test vectors from RFC4231
7019 */
7020
7021static const struct hash_testvec hmac_sha512_tv_template[] = {
7022 {
7023 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7024 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7025 "\x0b\x0b\x0b\x0b",
7026 .ksize = 20,
7027 .plaintext = "Hi There",
7028 .psize = 8,
7029 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
7030 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
7031 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
7032 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
7033 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
7034 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
7035 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
7036 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
7037 }, {
7038 .key = "Jefe",
7039 .ksize = 4,
7040 .plaintext = "what do ya want for nothing?",
7041 .psize = 28,
7042 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
7043 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
7044 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
7045 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
7046 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
7047 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
7048 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
7049 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
7050 .fips_skip = 1,
7051 }, {
7052 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7053 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7054 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7055 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7056 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7057 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7058 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7059 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7060 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7061 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7062 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7063 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7064 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7065 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7066 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7067 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7068 "\xaa\xaa\xaa",
7069 .ksize = 131,
7070 .plaintext = "Test Using Large"
7071 "r Than Block-Siz"
7072 "e Key - Hash Key"
7073 " First",
7074 .psize = 54,
7075 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
7076 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
7077 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
7078 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
7079 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
7080 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
7081 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
7082 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
7083 }, {
7084 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7085 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7086 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7087 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7088 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7089 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7090 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7091 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7092 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7093 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7094 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7095 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7096 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7097 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7098 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7099 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7100 "\xaa\xaa\xaa",
7101 .ksize = 131,
7102 .plaintext =
7103 "This is a test u"
7104 "sing a larger th"
7105 "an block-size ke"
7106 "y and a larger t"
7107 "han block-size d"
7108 "ata. The key nee"
7109 "ds to be hashed "
7110 "before being use"
7111 "d by the HMAC al"
7112 "gorithm.",
7113 .psize = 152,
7114 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
7115 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
7116 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
7117 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
7118 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
7119 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
7120 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
7121 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
7122 },
7123};
7124
7125static const struct hash_testvec hmac_sha3_224_tv_template[] = {
7126 {
7127 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7128 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7129 "\x0b\x0b\x0b\x0b",
7130 .ksize = 20,
7131 .plaintext = "Hi There",
7132 .psize = 8,
7133 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
7134 "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
7135 "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
7136 "\xf3\xc8\x60\xf7",
7137 }, {
7138 .key = "Jefe",
7139 .ksize = 4,
7140 .plaintext = "what do ya want for nothing?",
7141 .psize = 28,
7142 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
7143 "\x1b\x79\x86\x34\xad\x38\x68\x11"
7144 "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
7145 "\xba\xce\x5e\x66",
7146 .fips_skip = 1,
7147 }, {
7148 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7149 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7150 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7151 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7152 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7153 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7154 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7155 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7156 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7157 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7158 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7159 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7160 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7161 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7162 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7163 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7164 "\xaa\xaa\xaa",
7165 .ksize = 131,
7166 .plaintext = "Test Using Large"
7167 "r Than Block-Siz"
7168 "e Key - Hash Key"
7169 " First",
7170 .psize = 54,
7171 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
7172 "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
7173 "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
7174 "\x5f\xb9\x99\x5f",
7175 }, {
7176 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7177 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7178 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7179 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7180 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7181 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7182 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7183 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7184 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7185 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7186 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7187 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7188 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7189 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7190 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7191 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7192 "\xaa\xaa\xaa",
7193 .ksize = 131,
7194 .plaintext =
7195 "This is a test u"
7196 "sing a larger th"
7197 "an block-size ke"
7198 "y and a larger t"
7199 "han block-size d"
7200 "ata. The key nee"
7201 "ds to be hashed "
7202 "before being use"
7203 "d by the HMAC al"
7204 "gorithm.",
7205 .psize = 152,
7206 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
7207 "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
7208 "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
7209 "\x29\xcd\x62\xa0",
7210 },
7211};
7212
7213static const struct hash_testvec hmac_sha3_256_tv_template[] = {
7214 {
7215 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7216 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7217 "\x0b\x0b\x0b\x0b",
7218 .ksize = 20,
7219 .plaintext = "Hi There",
7220 .psize = 8,
7221 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
7222 "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
7223 "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
7224 "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
7225 }, {
7226 .key = "Jefe",
7227 .ksize = 4,
7228 .plaintext = "what do ya want for nothing?",
7229 .psize = 28,
7230 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
7231 "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
7232 "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
7233 "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
7234 .fips_skip = 1,
7235 }, {
7236 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7237 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7238 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7239 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7240 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7241 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7242 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7243 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7244 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7245 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7246 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7247 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7248 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7249 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7250 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7251 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7252 "\xaa\xaa\xaa",
7253 .ksize = 131,
7254 .plaintext = "Test Using Large"
7255 "r Than Block-Siz"
7256 "e Key - Hash Key"
7257 " First",
7258 .psize = 54,
7259 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
7260 "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
7261 "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
7262 "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
7263 }, {
7264 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7265 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7266 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7267 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7268 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7269 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7270 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7271 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7272 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7273 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7274 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7275 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7276 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7277 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7278 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7279 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7280 "\xaa\xaa\xaa",
7281 .ksize = 131,
7282 .plaintext =
7283 "This is a test u"
7284 "sing a larger th"
7285 "an block-size ke"
7286 "y and a larger t"
7287 "han block-size d"
7288 "ata. The key nee"
7289 "ds to be hashed "
7290 "before being use"
7291 "d by the HMAC al"
7292 "gorithm.",
7293 .psize = 152,
7294 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
7295 "\x7a\xef\x87\x63\x26\x1e\x49\xad"
7296 "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
7297 "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
7298 },
7299};
7300
7301static const struct hash_testvec hmac_sha3_384_tv_template[] = {
7302 {
7303 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7304 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7305 "\x0b\x0b\x0b\x0b",
7306 .ksize = 20,
7307 .plaintext = "Hi There",
7308 .psize = 8,
7309 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
7310 "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
7311 "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
7312 "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
7313 "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
7314 "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
7315 }, {
7316 .key = "Jefe",
7317 .ksize = 4,
7318 .plaintext = "what do ya want for nothing?",
7319 .psize = 28,
7320 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
7321 "\x67\x64\xd2\xed\x61\x90\x3f\x21"
7322 "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
7323 "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
7324 "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
7325 "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
7326 .fips_skip = 1,
7327 }, {
7328 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7329 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7330 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7331 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7332 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7333 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7334 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7335 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7336 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7337 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7338 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7339 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7340 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7341 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7342 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7343 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7344 "\xaa\xaa\xaa",
7345 .ksize = 131,
7346 .plaintext = "Test Using Large"
7347 "r Than Block-Siz"
7348 "e Key - Hash Key"
7349 " First",
7350 .psize = 54,
7351 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
7352 "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
7353 "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
7354 "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
7355 "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
7356 "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
7357 }, {
7358 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7359 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7360 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7361 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7362 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7363 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7364 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7365 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7366 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7367 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7368 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7369 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7370 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7371 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7372 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7373 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7374 "\xaa\xaa\xaa",
7375 .ksize = 131,
7376 .plaintext =
7377 "This is a test u"
7378 "sing a larger th"
7379 "an block-size ke"
7380 "y and a larger t"
7381 "han block-size d"
7382 "ata. The key nee"
7383 "ds to be hashed "
7384 "before being use"
7385 "d by the HMAC al"
7386 "gorithm.",
7387 .psize = 152,
7388 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
7389 "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
7390 "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
7391 "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
7392 "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
7393 "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
7394 },
7395};
7396
7397static const struct hash_testvec hmac_sha3_512_tv_template[] = {
7398 {
7399 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7400 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7401 "\x0b\x0b\x0b\x0b",
7402 .ksize = 20,
7403 .plaintext = "Hi There",
7404 .psize = 8,
7405 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
7406 "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
7407 "\xec\x15\x77\x0a\x7c\xab\xac\x53"
7408 "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
7409 "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
7410 "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
7411 "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
7412 "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
7413 }, {
7414 .key = "Jefe",
7415 .ksize = 4,
7416 .plaintext = "what do ya want for nothing?",
7417 .psize = 28,
7418 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
7419 "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
7420 "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
7421 "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
7422 "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
7423 "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
7424 "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
7425 "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
7426 .fips_skip = 1,
7427 }, {
7428 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7429 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7430 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7431 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7432 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7433 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7434 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7435 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7436 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7437 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7438 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7439 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7440 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7441 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7442 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7443 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7444 "\xaa\xaa\xaa",
7445 .ksize = 131,
7446 .plaintext = "Test Using Large"
7447 "r Than Block-Siz"
7448 "e Key - Hash Key"
7449 " First",
7450 .psize = 54,
7451 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
7452 "\x90\xed\x69\x11\xa4\xb6\x55\x24"
7453 "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
7454 "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
7455 "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
7456 "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
7457 "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
7458 "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
7459 }, {
7460 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7461 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7462 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7463 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7464 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7465 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7466 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7467 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7468 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7469 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7470 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7471 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7472 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7473 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7474 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7475 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7476 "\xaa\xaa\xaa",
7477 .ksize = 131,
7478 .plaintext =
7479 "This is a test u"
7480 "sing a larger th"
7481 "an block-size ke"
7482 "y and a larger t"
7483 "han block-size d"
7484 "ata. The key nee"
7485 "ds to be hashed "
7486 "before being use"
7487 "d by the HMAC al"
7488 "gorithm.",
7489 .psize = 152,
7490 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
7491 "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
7492 "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
7493 "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
7494 "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
7495 "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
7496 "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
7497 "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
7498 },
7499};
7500
7501/*
7502 * DES test vectors.
7503 */
7504static const struct cipher_testvec des_tv_template[] = {
7505 { /* From Applied Cryptography */
7506 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7507 .klen = 8,
7508 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7509 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7510 .len = 8,
7511 }, { /* Same key, different plaintext block */
7512 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7513 .klen = 8,
7514 .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
7515 .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
7516 .len = 8,
7517 }, { /* Sbox test from NBS */
7518 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
7519 .klen = 8,
7520 .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
7521 .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
7522 .len = 8,
7523 }, { /* Three blocks */
7524 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7525 .klen = 8,
7526 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
7527 "\x22\x33\x44\x55\x66\x77\x88\x99"
7528 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
7529 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
7530 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
7531 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
7532 .len = 24,
7533 }, { /* Weak key */
7534 .setkey_error = -EINVAL,
7535 .wk = 1,
7536 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
7537 .klen = 8,
7538 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7539 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7540 .len = 8,
7541 }, { /* Weak key */
7542 .setkey_error = -EINVAL,
7543 .wk = 1,
7544 .key = "\xe0\xe0\xe0\xe0\xf1\xf1\xf1\xf1",
7545 .klen = 8,
7546 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7547 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7548 .len = 8,
7549 }, { /* Weak key */
7550 .setkey_error = -EINVAL,
7551 .wk = 1,
7552 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
7553 .klen = 8,
7554 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7555 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7556 .len = 8,
7557 }, { /* Weak key */
7558 .setkey_error = -EINVAL,
7559 .wk = 1,
7560 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
7561 .klen = 8,
7562 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7563 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7564 .len = 8,
7565 }, { /* Semi-weak key pair 1a */
7566 .setkey_error = -EINVAL,
7567 .wk = 1,
7568 .key = "\x01\xfe\x01\xfe\x01\xfe\x01\xfe",
7569 .klen = 8,
7570 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7571 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7572 .len = 8,
7573 }, { /* Semi-weak key pair 1b */
7574 .setkey_error = -EINVAL,
7575 .wk = 1,
7576 .key = "\xfe\x01\xfe\x01\xfe\x01\xfe\x01",
7577 .klen = 8,
7578 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7579 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7580 .len = 8,
7581 }, { /* Semi-weak key pair 2a */
7582 .setkey_error = -EINVAL,
7583 .wk = 1,
7584 .key = "\x1f\xe0\x1f\xe0\x0e\xf1\x0e\xf1",
7585 .klen = 8,
7586 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7587 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7588 .len = 8,
7589 }, { /* Semi-weak key pair 2b */
7590 .setkey_error = -EINVAL,
7591 .wk = 1,
7592 .key = "\xe0\x1f\xe0\x1f\xf1\x0e\xf1\x0e",
7593 .klen = 8,
7594 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7595 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7596 .len = 8,
7597 }, { /* Semi-weak key pair 3a */
7598 .setkey_error = -EINVAL,
7599 .wk = 1,
7600 .key = "\x01\xe0\x01\xe0\x01\xf1\x01\xf1",
7601 .klen = 8,
7602 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7603 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7604 .len = 8,
7605 }, { /* Semi-weak key pair 3b */
7606 .setkey_error = -EINVAL,
7607 .wk = 1,
7608 .key = "\xe0\x01\xe0\x01\xf1\x01\xf1\x01",
7609 .klen = 8,
7610 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7611 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7612 .len = 8,
7613 }, { /* Semi-weak key pair 4a */
7614 .setkey_error = -EINVAL,
7615 .wk = 1,
7616 .key = "\x1f\xfe\x1f\xfe\x0e\xfe\x0e\xfe",
7617 .klen = 8,
7618 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7619 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7620 .len = 8,
7621 }, { /* Semi-weak key pair 4b */
7622 .setkey_error = -EINVAL,
7623 .wk = 1,
7624 .key = "\xfe\x1f\xfe\x1f\xfe\x0e\xfe\x0e",
7625 .klen = 8,
7626 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7627 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7628 .len = 8,
7629 }, { /* Semi-weak key pair 5a */
7630 .setkey_error = -EINVAL,
7631 .wk = 1,
7632 .key = "\x01\x1f\x01\x1f\x01\x0e\x01\x0e",
7633 .klen = 8,
7634 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7635 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7636 .len = 8,
7637 }, { /* Semi-weak key pair 5b */
7638 .setkey_error = -EINVAL,
7639 .wk = 1,
7640 .key = "\x1f\x01\x1f\x01\x0e\x01\x0e\x01",
7641 .klen = 8,
7642 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7643 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7644 .len = 8,
7645 }, { /* Semi-weak key pair 6a */
7646 .setkey_error = -EINVAL,
7647 .wk = 1,
7648 .key = "\xe0\xfe\xe0\xfe\xf1\xfe\xf1\xfe",
7649 .klen = 8,
7650 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7651 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7652 .len = 8,
7653 }, { /* Semi-weak key pair 6b */
7654 .setkey_error = -EINVAL,
7655 .wk = 1,
7656 .key = "\xfe\xe0\xfe\xe0\xfe\xf1\xfe\xf1",
7657 .klen = 8,
7658 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7659 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7660 .len = 8,
7661 }, { /* Two blocks -- for testing encryption across pages */
7662 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7663 .klen = 8,
7664 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
7665 "\x22\x33\x44\x55\x66\x77\x88\x99",
7666 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
7667 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
7668 .len = 16,
7669 }, {
7670 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7671 .klen = 8,
7672 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
7673 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
7674 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
7675 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
7676 .len = 16,
7677 }, { /* Four blocks -- for testing encryption with chunking */
7678 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7679 .klen = 8,
7680 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
7681 "\x22\x33\x44\x55\x66\x77\x88\x99"
7682 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
7683 "\x22\x33\x44\x55\x66\x77\x88\x99",
7684 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
7685 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
7686 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
7687 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
7688 .len = 32,
7689 }, { /* Generated with Crypto++ */
7690 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7691 .klen = 8,
7692 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
7693 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7694 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7695 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7696 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7697 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7698 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7699 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7700 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7701 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7702 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7703 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7704 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7705 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7706 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7707 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7708 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7709 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7710 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7711 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7712 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7713 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7714 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7715 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7716 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7717 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7718 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7719 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7720 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7721 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7722 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
7723 .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
7724 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
7725 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
7726 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
7727 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
7728 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
7729 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
7730 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
7731 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
7732 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
7733 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
7734 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
7735 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
7736 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
7737 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
7738 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
7739 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
7740 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
7741 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
7742 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
7743 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
7744 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
7745 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
7746 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
7747 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
7748 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
7749 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
7750 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
7751 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
7752 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
7753 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
7754 .len = 248,
7755 },
7756};
7757
7758static const struct cipher_testvec des_cbc_tv_template[] = {
7759 { /* From OpenSSL */
7760 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7761 .klen = 8,
7762 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7763 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
7764 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
7765 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7766 "\x68\x65\x20\x74\x69\x6d\x65\x20",
7767 .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
7768 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
7769 "\x46\x8e\x91\x15\x78\x88\xba\x68",
7770 .len = 24,
7771 }, { /* FIPS Pub 81 */
7772 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7773 .klen = 8,
7774 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
7775 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
7776 .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
7777 .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
7778 .len = 8,
7779 }, {
7780 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7781 .klen = 8,
7782 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
7783 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
7784 .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
7785 .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
7786 .len = 8,
7787 }, {
7788 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7789 .klen = 8,
7790 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
7791 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
7792 .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
7793 .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
7794 .len = 8,
7795 }, { /* Generated with Crypto++ */
7796 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7797 .klen = 8,
7798 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
7799 .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
7800 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
7801 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7802 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7803 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7804 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7805 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7806 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7807 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7808 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7809 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7810 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7811 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7812 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7813 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7814 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7815 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7816 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7817 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7818 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7819 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7820 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7821 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7822 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7823 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7824 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7825 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7826 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7827 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7828 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7829 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7830 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
7831 .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
7832 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
7833 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
7834 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
7835 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
7836 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
7837 "\x81\x72\x74\xDE\x30\x19\x69\x49"
7838 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
7839 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
7840 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
7841 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
7842 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
7843 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
7844 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
7845 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
7846 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
7847 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
7848 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
7849 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
7850 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
7851 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
7852 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
7853 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
7854 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
7855 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
7856 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
7857 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
7858 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
7859 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
7860 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
7861 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
7862 .len = 248,
7863 },
7864};
7865
7866static const struct cipher_testvec des_ctr_tv_template[] = {
7867 { /* Generated with Crypto++ */
7868 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7869 .klen = 8,
7870 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7871 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
7872 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
7873 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7874 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7875 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7876 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7877 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7878 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7879 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7880 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7881 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7882 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7883 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7884 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7885 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7886 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7887 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7888 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7889 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7890 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7891 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7892 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7893 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7894 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7895 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7896 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7897 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7898 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7899 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7900 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7901 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7902 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
7903 .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
7904 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
7905 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
7906 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
7907 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
7908 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
7909 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
7910 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
7911 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
7912 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
7913 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
7914 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
7915 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
7916 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
7917 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
7918 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
7919 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
7920 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
7921 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
7922 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
7923 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
7924 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
7925 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
7926 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
7927 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
7928 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
7929 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
7930 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
7931 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
7932 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
7933 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
7934 .len = 248,
7935 }, { /* Generated with Crypto++ */
7936 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7937 .klen = 8,
7938 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
7939 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
7940 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
7941 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7942 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7943 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7944 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7945 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7946 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7947 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7948 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7949 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7950 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7951 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7952 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7953 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7954 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7955 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7956 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7957 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7958 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7959 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7960 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7961 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7962 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7963 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7964 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7965 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7966 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7967 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7968 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7969 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7970 "\xC6\x2F\xBB\x24\x8D\x19\x82",
7971 .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
7972 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
7973 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
7974 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
7975 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
7976 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
7977 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
7978 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
7979 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
7980 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
7981 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
7982 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
7983 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
7984 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
7985 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
7986 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
7987 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
7988 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
7989 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
7990 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
7991 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
7992 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
7993 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
7994 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
7995 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
7996 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
7997 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
7998 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
7999 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
8000 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
8001 "\x91\x45\x05\x3E\x58\xBF\x32",
8002 .len = 247,
8003 },
8004};
8005
8006static const struct cipher_testvec des3_ede_tv_template[] = {
8007 { /* These are from openssl */
8008 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8009 "\x55\x55\x55\x55\x55\x55\x55\x55"
8010 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8011 .klen = 24,
8012 .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
8013 .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
8014 .len = 8,
8015 }, {
8016 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
8017 "\x86\x02\x87\x66\x59\x08\x21\x98"
8018 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
8019 .klen = 24,
8020 .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
8021 .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
8022 .len = 8,
8023 }, {
8024 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
8025 "\x91\x07\xd0\x15\x89\x19\x01\x01"
8026 "\x19\x07\x92\x10\x98\x1a\x01\x01",
8027 .klen = 24,
8028 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
8029 .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
8030 .len = 8,
8031 }, { /* Generated with Crypto++ */
8032 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
8033 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
8034 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
8035 .klen = 24,
8036 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
8037 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8038 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8039 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8040 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8041 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8042 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8043 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8044 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8045 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8046 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8047 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8048 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8049 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8050 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8051 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8052 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8053 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8054 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8055 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8056 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8057 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8058 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8059 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8060 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8061 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8062 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8063 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8064 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8065 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8066 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8067 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8068 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8069 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8070 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8071 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8072 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8073 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8074 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8075 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8076 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8077 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8078 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8079 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8080 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8081 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8082 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8083 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8084 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8085 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8086 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8087 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8088 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8089 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8090 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8091 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8092 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8093 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8094 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8095 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8096 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8097 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
8098 .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
8099 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
8100 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
8101 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
8102 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
8103 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
8104 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
8105 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
8106 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
8107 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
8108 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
8109 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
8110 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
8111 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
8112 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
8113 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
8114 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
8115 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
8116 "\x45\x86\x50\x01\x70\x35\x99\x92"
8117 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
8118 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
8119 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
8120 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
8121 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
8122 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
8123 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
8124 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
8125 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
8126 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
8127 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
8128 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
8129 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
8130 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
8131 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
8132 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
8133 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
8134 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
8135 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
8136 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
8137 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
8138 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
8139 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
8140 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
8141 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
8142 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
8143 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
8144 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
8145 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
8146 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
8147 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
8148 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
8149 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
8150 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
8151 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
8152 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
8153 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
8154 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
8155 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
8156 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
8157 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
8158 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
8159 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
8160 .len = 496,
8161 },
8162};
8163
8164static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
8165 { /* Generated from openssl */
8166 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
8167 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
8168 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
8169 .klen = 24,
8170 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
8171 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
8172 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
8173 "\x53\x20\x63\x65\x65\x72\x73\x74"
8174 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
8175 "\x20\x79\x65\x53\x72\x63\x74\x65"
8176 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
8177 "\x79\x6e\x53\x20\x63\x65\x65\x72"
8178 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
8179 "\x6e\x61\x20\x79\x65\x53\x72\x63"
8180 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
8181 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
8182 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
8183 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
8184 "\x72\x63\x74\x65\x20\x73\x6f\x54"
8185 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
8186 "\x63\x65\x65\x72\x73\x74\x54\x20"
8187 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
8188 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
8189 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
8190 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
8191 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
8192 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
8193 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
8194 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
8195 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
8196 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
8197 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
8198 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
8199 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
8200 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
8201 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
8202 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
8203 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
8204 .len = 128,
8205 }, { /* Generated with Crypto++ */
8206 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
8207 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
8208 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
8209 .klen = 24,
8210 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
8211 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
8212 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
8213 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
8214 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8215 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8216 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8217 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8218 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8219 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8220 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8221 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8222 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8223 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8224 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8225 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8226 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8227 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8228 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8229 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8230 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8231 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8232 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8233 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8234 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8235 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8236 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8237 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8238 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8239 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8240 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8241 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8242 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8243 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8244 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8245 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8246 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8247 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8248 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8249 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8250 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8251 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8252 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8253 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8254 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8255 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8256 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8257 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8258 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8259 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8260 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8261 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8262 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8263 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8264 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8265 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8266 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8267 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8268 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8269 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8270 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8271 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8272 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8273 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8274 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
8275 .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
8276 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
8277 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
8278 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
8279 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
8280 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
8281 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
8282 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
8283 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
8284 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
8285 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
8286 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
8287 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
8288 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
8289 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
8290 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
8291 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
8292 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
8293 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
8294 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
8295 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
8296 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
8297 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
8298 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
8299 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
8300 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
8301 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
8302 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
8303 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
8304 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
8305 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
8306 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
8307 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
8308 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
8309 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
8310 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
8311 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
8312 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
8313 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
8314 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
8315 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
8316 "\x73\x50\x08\x56\x20\x9B\x94\x23"
8317 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
8318 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
8319 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
8320 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
8321 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
8322 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
8323 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
8324 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
8325 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
8326 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
8327 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
8328 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
8329 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
8330 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
8331 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
8332 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
8333 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
8334 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
8335 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
8336 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
8337 .len = 496,
8338 },
8339};
8340
8341static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
8342 { /* Generated with Crypto++ */
8343 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
8344 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
8345 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
8346 .klen = 24,
8347 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
8348 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
8349 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
8350 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8351 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8352 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8353 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8354 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8355 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8356 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8357 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8358 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8359 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8360 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8361 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8362 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8363 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8364 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8365 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8366 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8367 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8368 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8369 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8370 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8371 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8372 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8373 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8374 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8375 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8376 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8377 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8378 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8379 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8380 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8381 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8382 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8383 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8384 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8385 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8386 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8387 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8388 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8389 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8390 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8391 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8392 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8393 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8394 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8395 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8396 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8397 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8398 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8399 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8400 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8401 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8402 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8403 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8404 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8405 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8406 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8407 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8408 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8409 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8410 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
8411 .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
8412 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
8413 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
8414 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
8415 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
8416 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
8417 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
8418 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
8419 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
8420 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
8421 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
8422 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
8423 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
8424 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
8425 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
8426 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
8427 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
8428 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
8429 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
8430 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
8431 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
8432 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
8433 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
8434 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
8435 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
8436 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
8437 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
8438 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
8439 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
8440 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
8441 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
8442 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
8443 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
8444 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
8445 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
8446 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
8447 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
8448 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
8449 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
8450 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
8451 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
8452 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
8453 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
8454 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
8455 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
8456 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
8457 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
8458 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
8459 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
8460 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
8461 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
8462 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
8463 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
8464 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
8465 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
8466 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
8467 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
8468 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
8469 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
8470 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
8471 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
8472 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
8473 .len = 496,
8474 }, { /* Generated with Crypto++ */
8475 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
8476 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
8477 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
8478 .klen = 24,
8479 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
8480 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
8481 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
8482 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8483 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8484 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8485 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8486 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8487 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8488 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8489 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8490 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8491 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8492 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8493 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8494 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8495 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8496 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8497 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8498 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8499 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8500 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8501 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8502 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8503 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8504 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8505 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8506 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8507 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8508 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8509 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8510 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8511 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8512 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8513 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8514 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8515 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8516 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8517 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8518 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8519 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8520 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8521 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8522 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8523 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8524 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8525 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8526 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8527 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8528 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8529 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8530 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8531 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8532 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8533 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8534 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8535 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8536 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8537 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8538 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8539 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8540 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8541 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8542 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
8543 "\x2E\xB1\x18",
8544 .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
8545 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
8546 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
8547 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
8548 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
8549 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
8550 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
8551 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
8552 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
8553 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
8554 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
8555 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
8556 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
8557 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
8558 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
8559 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
8560 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
8561 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
8562 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
8563 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
8564 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
8565 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
8566 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
8567 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
8568 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
8569 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
8570 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
8571 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
8572 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
8573 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
8574 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
8575 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
8576 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
8577 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
8578 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
8579 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
8580 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
8581 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
8582 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
8583 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
8584 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
8585 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
8586 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
8587 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
8588 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
8589 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
8590 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
8591 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
8592 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
8593 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
8594 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
8595 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
8596 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
8597 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
8598 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
8599 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
8600 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
8601 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
8602 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
8603 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
8604 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
8605 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
8606 "\xF2\x79\xD9",
8607 .len = 499,
8608 },
8609};
8610
8611/*
8612 * Blowfish test vectors.
8613 */
8614static const struct cipher_testvec bf_tv_template[] = {
8615 { /* DES test vectors from OpenSSL */
8616 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
8617 .klen = 8,
8618 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
8619 .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
8620 .len = 8,
8621 }, {
8622 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
8623 .klen = 8,
8624 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8625 .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
8626 .len = 8,
8627 }, {
8628 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
8629 .klen = 8,
8630 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8631 .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
8632 .len = 8,
8633 }, { /* Vary the keylength... */
8634 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8635 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
8636 .klen = 16,
8637 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8638 .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
8639 .len = 8,
8640 }, {
8641 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8642 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
8643 "\x00\x11\x22\x33\x44",
8644 .klen = 21,
8645 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8646 .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
8647 .len = 8,
8648 }, { /* Generated with bf488 */
8649 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8650 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
8651 "\x00\x11\x22\x33\x44\x55\x66\x77"
8652 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
8653 "\x58\x40\x23\x64\x1a\xba\x61\x76"
8654 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
8655 "\xff\xff\xff\xff\xff\xff\xff\xff",
8656 .klen = 56,
8657 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8658 .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
8659 .len = 8,
8660 }, { /* Generated with Crypto++ */
8661 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8662 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8663 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8664 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8665 .klen = 32,
8666 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8667 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8668 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8669 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8670 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8671 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8672 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8673 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8674 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8675 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8676 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8677 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8678 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8679 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8680 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8681 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8682 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8683 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8684 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8685 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8686 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8687 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8688 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8689 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8690 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8691 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8692 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8693 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8694 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8695 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8696 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8697 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8698 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8699 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8700 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8701 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8702 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8703 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8704 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8705 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8706 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8707 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8708 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8709 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8710 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8711 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8712 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8713 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8714 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8715 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8716 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8717 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8718 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8719 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8720 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8721 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8722 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8723 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8724 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8725 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8726 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8727 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8728 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8729 .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
8730 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
8731 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
8732 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
8733 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
8734 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
8735 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
8736 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
8737 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
8738 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
8739 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
8740 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
8741 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
8742 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
8743 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
8744 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
8745 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
8746 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
8747 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
8748 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
8749 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
8750 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
8751 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
8752 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
8753 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
8754 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
8755 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
8756 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
8757 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
8758 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
8759 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
8760 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
8761 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
8762 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
8763 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
8764 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
8765 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
8766 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
8767 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
8768 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
8769 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
8770 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
8771 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
8772 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
8773 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
8774 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
8775 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
8776 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
8777 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
8778 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
8779 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
8780 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
8781 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
8782 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
8783 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
8784 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
8785 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
8786 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
8787 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
8788 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
8789 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
8790 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
8791 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
8792 .len = 504,
8793 },
8794};
8795
8796static const struct cipher_testvec bf_cbc_tv_template[] = {
8797 { /* From OpenSSL */
8798 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8799 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
8800 .klen = 16,
8801 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8802 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
8803 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
8804 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
8805 "\x68\x65\x20\x74\x69\x6d\x65\x20"
8806 "\x66\x6f\x72\x20\x00\x00\x00\x00",
8807 .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
8808 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
8809 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
8810 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
8811 .len = 32,
8812 }, { /* Generated with Crypto++ */
8813 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8814 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8815 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8816 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8817 .klen = 32,
8818 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8819 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
8820 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8821 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8822 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8823 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8824 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8825 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8826 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8827 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8828 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8829 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8830 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8831 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8832 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8833 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8834 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8835 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8836 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8837 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8838 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8839 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8840 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8841 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8842 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8843 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8844 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8845 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8846 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8847 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8848 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8849 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8850 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8851 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8852 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8853 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8854 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8855 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8856 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8857 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8858 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8859 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8860 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8861 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8862 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8863 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8864 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8865 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8866 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8867 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8868 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8869 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8870 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8871 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8872 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8873 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8874 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8875 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8876 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8877 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8878 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8879 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8880 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8881 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8882 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8883 .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
8884 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
8885 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
8886 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
8887 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
8888 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
8889 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
8890 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
8891 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
8892 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
8893 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
8894 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
8895 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
8896 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
8897 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
8898 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
8899 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
8900 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
8901 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
8902 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
8903 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
8904 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
8905 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
8906 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
8907 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
8908 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
8909 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
8910 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
8911 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
8912 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
8913 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
8914 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
8915 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
8916 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
8917 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
8918 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
8919 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
8920 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
8921 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
8922 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
8923 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
8924 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
8925 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
8926 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
8927 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
8928 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
8929 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
8930 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
8931 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
8932 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
8933 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
8934 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
8935 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
8936 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
8937 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
8938 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
8939 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
8940 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
8941 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
8942 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
8943 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
8944 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
8945 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
8946 .len = 504,
8947 },
8948};
8949
8950static const struct cipher_testvec bf_ctr_tv_template[] = {
8951 { /* Generated with Crypto++ */
8952 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8953 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8954 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8955 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8956 .klen = 32,
8957 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
8958 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
8959 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8960 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8961 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8962 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8963 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8964 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8965 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8966 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8967 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8968 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8969 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8970 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8971 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8972 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8973 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8974 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8975 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8976 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8977 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8978 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8979 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8980 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8981 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8982 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8983 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8984 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8985 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8986 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8987 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8988 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8989 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8990 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8991 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8992 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8993 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8994 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8995 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8996 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8997 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8998 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8999 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9000 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9001 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9002 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9003 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9004 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9005 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9006 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9007 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9008 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9009 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9010 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9011 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9012 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9013 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9014 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9015 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9016 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9017 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9018 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9019 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9020 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9021 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
9022 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
9023 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
9024 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
9025 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
9026 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
9027 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
9028 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
9029 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
9030 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
9031 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
9032 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
9033 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
9034 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
9035 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
9036 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
9037 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
9038 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
9039 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
9040 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
9041 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
9042 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
9043 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
9044 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
9045 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
9046 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
9047 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
9048 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
9049 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
9050 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
9051 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
9052 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
9053 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
9054 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
9055 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
9056 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
9057 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
9058 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
9059 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
9060 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
9061 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
9062 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
9063 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
9064 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
9065 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
9066 "\x82\x63\x11\xB3\x54\x49\x00\x08"
9067 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
9068 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
9069 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
9070 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
9071 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
9072 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
9073 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
9074 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
9075 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
9076 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
9077 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
9078 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
9079 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
9080 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
9081 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
9082 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
9083 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
9084 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
9085 .len = 504,
9086 }, { /* Generated with Crypto++ */
9087 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9088 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9089 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9090 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9091 .klen = 32,
9092 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
9093 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
9094 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9095 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9096 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9097 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9098 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9099 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9100 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9101 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9102 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9103 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9104 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9105 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9106 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9107 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9108 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9109 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9110 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9111 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9112 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9113 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9114 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9115 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9116 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9117 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9118 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9119 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9120 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9121 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9122 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9123 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9124 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9125 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9126 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9127 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9128 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9129 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9130 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9131 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9132 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9133 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9134 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9135 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9136 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9137 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9138 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9139 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9140 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9141 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9142 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9143 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9144 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9145 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9146 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9147 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9148 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9149 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9150 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9151 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9152 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9153 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9154 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9155 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9156 "\x2B\xC2\x59\xF0\x64\xFB\x92",
9157 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
9158 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
9159 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
9160 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
9161 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
9162 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
9163 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
9164 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
9165 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
9166 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
9167 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
9168 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
9169 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
9170 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
9171 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
9172 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
9173 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
9174 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
9175 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
9176 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
9177 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
9178 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
9179 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
9180 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
9181 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
9182 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
9183 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
9184 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
9185 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
9186 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
9187 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
9188 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
9189 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
9190 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
9191 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
9192 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
9193 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
9194 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
9195 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
9196 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
9197 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
9198 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
9199 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
9200 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
9201 "\x82\x63\x11\xB3\x54\x49\x00\x08"
9202 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
9203 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
9204 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
9205 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
9206 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
9207 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
9208 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
9209 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
9210 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
9211 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
9212 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
9213 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
9214 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
9215 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
9216 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
9217 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
9218 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
9219 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
9220 .len = 503,
9221 }, { /* Generated with Crypto++ */
9222 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9223 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9224 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9225 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9226 .klen = 32,
9227 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9228 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
9229 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9230 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9231 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9232 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9233 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9234 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9235 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9236 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9237 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9238 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9239 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9240 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9241 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9242 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9243 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9244 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9245 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9246 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9247 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9248 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9249 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9250 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9251 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9252 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9253 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9254 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9255 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9256 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9257 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9258 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9259 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9260 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9261 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9262 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9263 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9264 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9265 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9266 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9267 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9268 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9269 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9270 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9271 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9272 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9273 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9274 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9275 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9276 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9277 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9278 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9279 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9280 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9281 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9282 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9283 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9284 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9285 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9286 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9287 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9288 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9289 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9290 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9291 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
9292 .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
9293 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
9294 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
9295 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
9296 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
9297 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
9298 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
9299 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
9300 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
9301 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
9302 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
9303 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
9304 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
9305 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
9306 "\x0B\x82\x59\x14\x26\x67\x08\x09"
9307 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
9308 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
9309 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
9310 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
9311 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
9312 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
9313 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
9314 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
9315 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
9316 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
9317 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
9318 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
9319 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
9320 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
9321 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
9322 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
9323 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
9324 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
9325 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
9326 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
9327 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
9328 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
9329 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
9330 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
9331 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
9332 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
9333 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
9334 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
9335 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
9336 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
9337 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
9338 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
9339 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
9340 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
9341 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
9342 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
9343 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
9344 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
9345 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
9346 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
9347 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
9348 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
9349 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
9350 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
9351 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
9352 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
9353 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
9354 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
9355 .len = 504,
9356 },
9357};
9358
9359/*
9360 * Twofish test vectors.
9361 */
9362static const struct cipher_testvec tf_tv_template[] = {
9363 {
9364 .key = zeroed_string,
9365 .klen = 16,
9366 .ptext = zeroed_string,
9367 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9368 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9369 .len = 16,
9370 }, {
9371 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
9372 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
9373 "\x00\x11\x22\x33\x44\x55\x66\x77",
9374 .klen = 24,
9375 .ptext = zeroed_string,
9376 .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
9377 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
9378 .len = 16,
9379 }, {
9380 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
9381 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
9382 "\x00\x11\x22\x33\x44\x55\x66\x77"
9383 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
9384 .klen = 32,
9385 .ptext = zeroed_string,
9386 .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
9387 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
9388 .len = 16,
9389 }, { /* Generated with Crypto++ */
9390 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
9391 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
9392 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
9393 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
9394 .klen = 32,
9395 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9396 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9397 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9398 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9399 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9400 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9401 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9402 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9403 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9404 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9405 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9406 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9407 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9408 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9409 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9410 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9411 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9412 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9413 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9414 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9415 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9416 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9417 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9418 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9419 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9420 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9421 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9422 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9423 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9424 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9425 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9426 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9427 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9428 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9429 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9430 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9431 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9432 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9433 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9434 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9435 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9436 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9437 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9438 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9439 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9440 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9441 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9442 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9443 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9444 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9445 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9446 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9447 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9448 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9449 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9450 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9451 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9452 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9453 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9454 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9455 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9456 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9457 .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
9458 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
9459 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
9460 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
9461 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
9462 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
9463 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
9464 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
9465 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
9466 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
9467 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
9468 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
9469 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
9470 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
9471 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
9472 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
9473 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
9474 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
9475 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
9476 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
9477 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
9478 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
9479 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
9480 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
9481 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
9482 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
9483 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
9484 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
9485 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
9486 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
9487 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
9488 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
9489 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
9490 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
9491 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
9492 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
9493 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
9494 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
9495 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
9496 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
9497 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
9498 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
9499 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
9500 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
9501 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
9502 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
9503 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
9504 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
9505 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
9506 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
9507 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
9508 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
9509 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
9510 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
9511 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
9512 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
9513 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
9514 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
9515 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
9516 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
9517 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
9518 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
9519 .len = 496,
9520 },
9521};
9522
9523static const struct cipher_testvec tf_cbc_tv_template[] = {
9524 { /* Generated with Nettle */
9525 .key = zeroed_string,
9526 .klen = 16,
9527 .iv = zeroed_string,
9528 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9529 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9530 .ptext = zeroed_string,
9531 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9532 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9533 .len = 16,
9534 }, {
9535 .key = zeroed_string,
9536 .klen = 16,
9537 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9538 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9539 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9540 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9541 .ptext = zeroed_string,
9542 .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9543 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9544 .len = 16,
9545 }, {
9546 .key = zeroed_string,
9547 .klen = 16,
9548 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9549 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9550 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9551 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9552 .ptext = zeroed_string,
9553 .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9554 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9555 .len = 16,
9556 }, {
9557 .key = zeroed_string,
9558 .klen = 16,
9559 .iv = zeroed_string,
9560 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9561 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9562 .ptext = zeroed_string,
9563 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9564 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
9565 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9566 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
9567 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9568 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9569 .len = 48,
9570 }, { /* Generated with Crypto++ */
9571 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9572 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9573 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9574 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9575 .klen = 32,
9576 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9577 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9578 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9579 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
9580 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9581 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9582 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9583 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9584 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9585 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9586 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9587 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9588 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9589 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9590 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9591 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9592 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9593 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9594 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9595 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9596 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9597 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9598 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9599 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9600 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9601 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9602 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9603 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9604 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9605 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9606 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9607 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9608 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9609 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9610 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9611 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9612 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9613 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9614 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9615 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9616 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9617 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9618 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9619 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9620 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9621 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9622 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9623 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9624 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9625 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9626 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9627 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9628 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9629 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9630 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9631 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9632 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9633 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9634 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9635 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9636 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9637 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9638 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9639 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9640 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9641 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9642 .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
9643 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
9644 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
9645 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
9646 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
9647 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
9648 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
9649 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
9650 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
9651 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
9652 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
9653 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
9654 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
9655 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
9656 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
9657 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
9658 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
9659 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
9660 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
9661 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
9662 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
9663 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
9664 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
9665 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
9666 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
9667 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
9668 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
9669 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
9670 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
9671 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
9672 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
9673 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
9674 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
9675 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
9676 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
9677 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
9678 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
9679 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
9680 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
9681 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
9682 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
9683 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
9684 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
9685 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
9686 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
9687 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
9688 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
9689 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
9690 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
9691 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
9692 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
9693 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
9694 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
9695 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
9696 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
9697 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
9698 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
9699 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
9700 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
9701 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
9702 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9703 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
9704 .len = 496,
9705 },
9706};
9707
9708static const struct cipher_testvec tf_ctr_tv_template[] = {
9709 { /* Generated with Crypto++ */
9710 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9711 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9712 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9713 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9714 .klen = 32,
9715 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9716 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9717 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9718 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
9719 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9720 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9721 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9722 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9723 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9724 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9725 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9726 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9727 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9728 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9729 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9730 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9731 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9732 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9733 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9734 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9735 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9736 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9737 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9738 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9739 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9740 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9741 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9742 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9743 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9744 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9745 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9746 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9747 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9748 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9749 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9750 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9751 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9752 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9753 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9754 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9755 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9756 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9757 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9758 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9759 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9760 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9761 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9762 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9763 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9764 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9765 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9766 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9767 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9768 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9769 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9770 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9771 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9772 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9773 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9774 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9775 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9776 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9777 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9778 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9779 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9780 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9781 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9782 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9783 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9784 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9785 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9786 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9787 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9788 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9789 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9790 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9791 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9792 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9793 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9794 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9795 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9796 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9797 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9798 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9799 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9800 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9801 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9802 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9803 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9804 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9805 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9806 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9807 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9808 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9809 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9810 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9811 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9812 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9813 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9814 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9815 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9816 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9817 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9818 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9819 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9820 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9821 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9822 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9823 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9824 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9825 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9826 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9827 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9828 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9829 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9830 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9831 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9832 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9833 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9834 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9835 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9836 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9837 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9838 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9839 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9840 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9841 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9842 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9843 .len = 496,
9844 }, { /* Generated with Crypto++ */
9845 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9846 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9847 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9848 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9849 .klen = 32,
9850 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9851 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9852 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
9853 "\x00\x00\x00\x00\x00\x00\x00\x1C",
9854 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9855 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9856 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9857 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9858 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9859 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9860 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9861 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9862 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9863 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9864 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9865 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9866 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9867 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9868 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9869 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9870 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9871 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9872 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9873 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9874 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9875 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9876 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9877 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9878 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9879 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9880 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9881 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9882 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9883 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9884 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9885 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9886 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9887 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9888 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9889 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9890 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9891 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9892 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9893 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9894 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9895 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9896 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9897 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9898 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9899 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9900 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9901 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9902 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9903 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9904 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9905 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9906 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9907 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9908 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9909 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9910 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9911 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9912 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9913 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9914 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9915 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9916 .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9917 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9918 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9919 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9920 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9921 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9922 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9923 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9924 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9925 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9926 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9927 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9928 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9929 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9930 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9931 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9932 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9933 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9934 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9935 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9936 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9937 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9938 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9939 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9940 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9941 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9942 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9943 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9944 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9945 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9946 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9947 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9948 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9949 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9950 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9951 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9952 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9953 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9954 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9955 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9956 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9957 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9958 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9959 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9960 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9961 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9962 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9963 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9964 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9965 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9966 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9967 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9968 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9969 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9970 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9971 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9972 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9973 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9974 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9975 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9976 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9977 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9978 .len = 496,
9979 }, { /* Generated with Crypto++ */
9980 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9981 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9982 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9983 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9984 .klen = 32,
9985 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9986 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9987 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9988 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
9989 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9990 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9991 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9992 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9993 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9994 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9995 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9996 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9997 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9998 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9999 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10000 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10001 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10002 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10003 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10004 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10005 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10006 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10007 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10008 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10009 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10010 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10011 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10012 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10013 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10014 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10015 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10016 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10017 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10018 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10019 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10020 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10021 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10022 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10023 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10024 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10025 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10026 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10027 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10028 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10029 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10030 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10031 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10032 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10033 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10034 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10035 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10036 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10037 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10038 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10039 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10040 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10041 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10042 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10043 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10044 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10045 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10046 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10047 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10048 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10049 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10050 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10051 "\x2B\xC2\x59",
10052 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
10053 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
10054 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
10055 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
10056 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
10057 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
10058 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
10059 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
10060 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
10061 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
10062 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
10063 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
10064 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
10065 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
10066 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
10067 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
10068 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
10069 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
10070 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
10071 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
10072 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
10073 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
10074 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
10075 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
10076 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
10077 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
10078 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
10079 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
10080 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
10081 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
10082 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
10083 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
10084 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
10085 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
10086 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
10087 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
10088 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
10089 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
10090 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
10091 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
10092 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
10093 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
10094 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
10095 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
10096 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
10097 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
10098 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
10099 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
10100 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
10101 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
10102 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
10103 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
10104 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
10105 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
10106 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
10107 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
10108 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
10109 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
10110 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
10111 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
10112 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
10113 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
10114 "\x6C\x82\x9D",
10115 .len = 499,
10116 },
10117};
10118
10119static const struct cipher_testvec tf_lrw_tv_template[] = {
10120 /* Generated from AES-LRW test vectors */
10121 {
10122 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10123 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10124 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10125 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10126 .klen = 32,
10127 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10128 "\x00\x00\x00\x00\x00\x00\x00\x01",
10129 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10130 "\x38\x39\x41\x42\x43\x44\x45\x46",
10131 .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
10132 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
10133 .len = 16,
10134 }, {
10135 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10136 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10137 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10138 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10139 .klen = 32,
10140 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10141 "\x00\x00\x00\x00\x00\x00\x00\x02",
10142 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10143 "\x38\x39\x41\x42\x43\x44\x45\x46",
10144 .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
10145 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
10146 .len = 16,
10147 }, {
10148 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10149 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10150 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10151 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10152 .klen = 32,
10153 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10154 "\x00\x00\x00\x02\x00\x00\x00\x00",
10155 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10156 "\x38\x39\x41\x42\x43\x44\x45\x46",
10157 .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
10158 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
10159 .len = 16,
10160 }, {
10161 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10162 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10163 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10164 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10165 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10166 .klen = 40,
10167 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10168 "\x00\x00\x00\x00\x00\x00\x00\x01",
10169 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10170 "\x38\x39\x41\x42\x43\x44\x45\x46",
10171 .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
10172 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
10173 .len = 16,
10174 }, {
10175 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10176 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10177 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10178 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10179 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10180 .klen = 40,
10181 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10182 "\x00\x00\x00\x02\x00\x00\x00\x00",
10183 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10184 "\x38\x39\x41\x42\x43\x44\x45\x46",
10185 .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
10186 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
10187 .len = 16,
10188 }, {
10189 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10190 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10191 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10192 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10193 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10194 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10195 .klen = 48,
10196 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10197 "\x00\x00\x00\x00\x00\x00\x00\x01",
10198 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10199 "\x38\x39\x41\x42\x43\x44\x45\x46",
10200 .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10201 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10202 .len = 16,
10203 }, {
10204 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10205 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10206 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10207 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10208 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10209 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10210 .klen = 48,
10211 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10212 "\x00\x00\x00\x02\x00\x00\x00\x00",
10213 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
10214 "\x38\x39\x41\x42\x43\x44\x45\x46",
10215 .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10216 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10217 .len = 16,
10218 }, {
10219 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10220 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10221 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10222 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10223 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10224 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10225 .klen = 48,
10226 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10227 "\x00\x00\x00\x00\x00\x00\x00\x01",
10228 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10229 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10230 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10231 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10232 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10233 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10234 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10235 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10236 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10237 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10238 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10239 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10240 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10241 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10242 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10243 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10244 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10245 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10246 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10247 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10248 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10249 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10250 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10251 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10252 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10253 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10254 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10255 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10256 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10257 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10258 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10259 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10260 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10261 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10262 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10263 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10264 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10265 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10266 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10267 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10268 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10269 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10270 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10271 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10272 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10273 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10274 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10275 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10276 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10277 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10278 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10279 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10280 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10281 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10282 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10283 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10284 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10285 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10286 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10287 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10288 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10289 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10290 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10291 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10292 .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10293 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10294 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10295 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10296 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10297 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10298 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10299 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10300 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10301 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10302 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10303 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10304 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10305 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10306 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10307 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10308 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10309 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10310 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10311 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10312 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10313 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10314 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10315 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10316 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10317 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10318 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10319 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10320 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10321 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10322 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10323 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10324 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10325 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10326 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10327 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10328 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10329 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10330 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10331 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10332 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10333 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10334 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10335 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10336 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10337 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10338 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10339 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10340 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10341 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10342 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10343 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10344 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10345 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10346 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10347 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10348 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10349 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10350 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10351 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10352 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10353 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10354 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10355 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10356 .len = 512,
10357 },
10358};
10359
10360static const struct cipher_testvec tf_xts_tv_template[] = {
10361 /* Generated from AES-XTS test vectors */
10362{
10363 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
10364 "\x00\x00\x00\x00\x00\x00\x00\x00"
10365 "\x00\x00\x00\x00\x00\x00\x00\x00"
10366 "\x00\x00\x00\x00\x00\x00\x00\x00",
10367 .klen = 32,
10368 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10369 "\x00\x00\x00\x00\x00\x00\x00\x00",
10370 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
10371 "\x00\x00\x00\x00\x00\x00\x00\x00"
10372 "\x00\x00\x00\x00\x00\x00\x00\x00"
10373 "\x00\x00\x00\x00\x00\x00\x00\x00",
10374 .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10375 "\x30\x74\xe4\x44\x52\x77\x97\x43"
10376 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10377 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10378 .len = 32,
10379 }, {
10380 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
10381 "\x11\x11\x11\x11\x11\x11\x11\x11"
10382 "\x22\x22\x22\x22\x22\x22\x22\x22"
10383 "\x22\x22\x22\x22\x22\x22\x22\x22",
10384 .klen = 32,
10385 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10386 "\x00\x00\x00\x00\x00\x00\x00\x00",
10387 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
10388 "\x44\x44\x44\x44\x44\x44\x44\x44"
10389 "\x44\x44\x44\x44\x44\x44\x44\x44"
10390 "\x44\x44\x44\x44\x44\x44\x44\x44",
10391 .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10392 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10393 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10394 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10395 .len = 32,
10396 }, {
10397 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10398 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10399 "\x22\x22\x22\x22\x22\x22\x22\x22"
10400 "\x22\x22\x22\x22\x22\x22\x22\x22",
10401 .klen = 32,
10402 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10403 "\x00\x00\x00\x00\x00\x00\x00\x00",
10404 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
10405 "\x44\x44\x44\x44\x44\x44\x44\x44"
10406 "\x44\x44\x44\x44\x44\x44\x44\x44"
10407 "\x44\x44\x44\x44\x44\x44\x44\x44",
10408 .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10409 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10410 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10411 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10412 .len = 32,
10413 }, {
10414 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10415 "\x23\x53\x60\x28\x74\x71\x35\x26"
10416 "\x31\x41\x59\x26\x53\x58\x97\x93"
10417 "\x23\x84\x62\x64\x33\x83\x27\x95",
10418 .klen = 32,
10419 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10420 "\x00\x00\x00\x00\x00\x00\x00\x00",
10421 .ptext = "\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 "\x00\x01\x02\x03\x04\x05\x06\x07"
10454 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10455 "\x10\x11\x12\x13\x14\x15\x16\x17"
10456 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10457 "\x20\x21\x22\x23\x24\x25\x26\x27"
10458 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10459 "\x30\x31\x32\x33\x34\x35\x36\x37"
10460 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10461 "\x40\x41\x42\x43\x44\x45\x46\x47"
10462 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10463 "\x50\x51\x52\x53\x54\x55\x56\x57"
10464 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10465 "\x60\x61\x62\x63\x64\x65\x66\x67"
10466 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10467 "\x70\x71\x72\x73\x74\x75\x76\x77"
10468 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10469 "\x80\x81\x82\x83\x84\x85\x86\x87"
10470 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10471 "\x90\x91\x92\x93\x94\x95\x96\x97"
10472 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10473 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10474 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10475 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10476 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10477 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10478 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10479 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10480 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10481 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10482 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10483 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10484 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10485 .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10486 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10487 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10488 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10489 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10490 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10491 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10492 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10493 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10494 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10495 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10496 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10497 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10498 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10499 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10500 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10501 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10502 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10503 "\x39\x80\x39\x09\x97\x65\xf2\x83"
10504 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10505 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10506 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10507 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10508 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10509 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10510 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10511 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10512 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10513 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10514 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10515 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10516 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10517 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10518 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10519 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10520 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10521 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10522 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10523 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10524 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10525 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10526 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10527 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10528 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10529 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10530 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10531 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10532 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10533 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10534 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10535 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10536 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10537 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10538 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10539 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10540 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10541 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10542 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10543 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10544 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10545 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10546 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10547 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10548 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10549 .len = 512,
10550 }, {
10551 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10552 "\x23\x53\x60\x28\x74\x71\x35\x26"
10553 "\x62\x49\x77\x57\x24\x70\x93\x69"
10554 "\x99\x59\x57\x49\x66\x96\x76\x27"
10555 "\x31\x41\x59\x26\x53\x58\x97\x93"
10556 "\x23\x84\x62\x64\x33\x83\x27\x95"
10557 "\x02\x88\x41\x97\x16\x93\x99\x37"
10558 "\x51\x05\x82\x09\x74\x94\x45\x92",
10559 .klen = 64,
10560 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10561 "\x00\x00\x00\x00\x00\x00\x00\x00",
10562 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10563 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10564 "\x10\x11\x12\x13\x14\x15\x16\x17"
10565 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10566 "\x20\x21\x22\x23\x24\x25\x26\x27"
10567 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10568 "\x30\x31\x32\x33\x34\x35\x36\x37"
10569 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10570 "\x40\x41\x42\x43\x44\x45\x46\x47"
10571 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10572 "\x50\x51\x52\x53\x54\x55\x56\x57"
10573 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10574 "\x60\x61\x62\x63\x64\x65\x66\x67"
10575 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10576 "\x70\x71\x72\x73\x74\x75\x76\x77"
10577 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10578 "\x80\x81\x82\x83\x84\x85\x86\x87"
10579 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10580 "\x90\x91\x92\x93\x94\x95\x96\x97"
10581 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10582 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10583 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10584 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10585 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10586 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10587 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10588 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10589 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10590 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10591 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10592 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10593 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10594 "\x00\x01\x02\x03\x04\x05\x06\x07"
10595 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10596 "\x10\x11\x12\x13\x14\x15\x16\x17"
10597 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10598 "\x20\x21\x22\x23\x24\x25\x26\x27"
10599 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10600 "\x30\x31\x32\x33\x34\x35\x36\x37"
10601 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10602 "\x40\x41\x42\x43\x44\x45\x46\x47"
10603 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10604 "\x50\x51\x52\x53\x54\x55\x56\x57"
10605 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10606 "\x60\x61\x62\x63\x64\x65\x66\x67"
10607 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10608 "\x70\x71\x72\x73\x74\x75\x76\x77"
10609 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10610 "\x80\x81\x82\x83\x84\x85\x86\x87"
10611 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10612 "\x90\x91\x92\x93\x94\x95\x96\x97"
10613 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10614 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10615 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10616 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10617 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10618 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10619 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10620 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10621 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10622 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10623 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10624 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10625 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10626 .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10627 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10628 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10629 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10630 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10631 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10632 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10633 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10634 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10635 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10636 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10637 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10638 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10639 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10640 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10641 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10642 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10643 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10644 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10645 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10646 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10647 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10648 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10649 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10650 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10651 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10652 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10653 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10654 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10655 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10656 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10657 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10658 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10659 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10660 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10661 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10662 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10663 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10664 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10665 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10666 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10667 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10668 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10669 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10670 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10671 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10672 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10673 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10674 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10675 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10676 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10677 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10678 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10679 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10680 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10681 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10682 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10683 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10684 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10685 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10686 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10687 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10688 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10689 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10690 .len = 512,
10691 },
10692};
10693
10694/*
10695 * Serpent test vectors. These are backwards because Serpent writes
10696 * octet sequences in right-to-left mode.
10697 */
10698static const struct cipher_testvec serpent_tv_template[] = {
10699 {
10700 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10701 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10702 .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
10703 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
10704 .len = 16,
10705 }, {
10706 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10707 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10708 .klen = 16,
10709 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10710 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10711 .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
10712 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
10713 .len = 16,
10714 }, {
10715 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10716 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10717 "\x10\x11\x12\x13\x14\x15\x16\x17"
10718 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10719 .klen = 32,
10720 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10721 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10722 .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
10723 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
10724 .len = 16,
10725 }, {
10726 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
10727 .klen = 16,
10728 .ptext = zeroed_string,
10729 .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
10730 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
10731 .len = 16,
10732 }, { /* Generated with Crypto++ */
10733 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10734 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10735 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10736 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10737 .klen = 32,
10738 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10739 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10740 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10741 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10742 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10743 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10744 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10745 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10746 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10747 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10748 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10749 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10750 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10751 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10752 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10753 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10754 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10755 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10756 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10757 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10758 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10759 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10760 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10761 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10762 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10763 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10764 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10765 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10766 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10767 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10768 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10769 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10770 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10771 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10772 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10773 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10774 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10775 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10776 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10777 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10778 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10779 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10780 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10781 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10782 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10783 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10784 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10785 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10786 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10787 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10788 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10789 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10790 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10791 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10792 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10793 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10794 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10795 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10796 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10797 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10798 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10799 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10800 .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
10801 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
10802 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
10803 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
10804 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
10805 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
10806 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
10807 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
10808 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
10809 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
10810 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
10811 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
10812 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
10813 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
10814 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
10815 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
10816 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
10817 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
10818 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
10819 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
10820 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
10821 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
10822 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
10823 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
10824 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
10825 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
10826 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
10827 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
10828 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
10829 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
10830 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
10831 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
10832 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
10833 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
10834 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
10835 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
10836 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
10837 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
10838 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
10839 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
10840 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
10841 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
10842 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
10843 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
10844 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
10845 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
10846 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
10847 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
10848 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
10849 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
10850 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
10851 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
10852 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
10853 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
10854 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
10855 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
10856 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
10857 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
10858 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
10859 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
10860 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
10861 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
10862 .len = 496,
10863 },
10864};
10865
10866static const struct cipher_testvec serpent_cbc_tv_template[] = {
10867 { /* Generated with Crypto++ */
10868 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10869 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10870 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10871 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10872 .klen = 32,
10873 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10874 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10875 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
10876 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
10877 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10878 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10879 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10880 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10881 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10882 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10883 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10884 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10885 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10886 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10887 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10888 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10889 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10890 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10891 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10892 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10893 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10894 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10895 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10896 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10897 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10898 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10899 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10900 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10901 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10902 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10903 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10904 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10905 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10906 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10907 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10908 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10909 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10910 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10911 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10912 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10913 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10914 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10915 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10916 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10917 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10918 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10919 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10920 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10921 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10922 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10923 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10924 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10925 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10926 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10927 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10928 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10929 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10930 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10931 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10932 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10933 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10934 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10935 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10936 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10937 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10938 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10939 .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
10940 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
10941 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
10942 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
10943 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
10944 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
10945 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
10946 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
10947 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
10948 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
10949 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
10950 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
10951 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
10952 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
10953 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
10954 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
10955 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
10956 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
10957 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
10958 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
10959 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
10960 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
10961 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
10962 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
10963 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
10964 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
10965 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
10966 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
10967 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
10968 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
10969 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
10970 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
10971 "\x81\x92\x66\x67\x15\x1E\x39\x98"
10972 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
10973 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
10974 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
10975 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
10976 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
10977 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
10978 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
10979 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
10980 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
10981 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
10982 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
10983 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
10984 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
10985 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
10986 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
10987 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
10988 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
10989 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
10990 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
10991 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
10992 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
10993 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
10994 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
10995 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
10996 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
10997 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
10998 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
10999 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11000 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11001 .len = 496,
11002 },
11003};
11004
11005static const struct cipher_testvec serpent_ctr_tv_template[] = {
11006 { /* Generated with Crypto++ */
11007 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11008 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11009 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11010 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11011 .klen = 32,
11012 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11013 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11014 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11015 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
11016 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11017 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11018 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11019 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11020 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11021 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11022 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11023 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11024 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11025 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11026 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11027 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11028 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11029 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11030 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11031 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11032 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11033 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11034 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11035 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11036 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11037 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11038 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11039 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11040 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11041 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11042 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11043 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11044 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11045 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11046 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11047 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11048 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11049 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11050 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11051 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11052 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11053 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11054 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11055 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11056 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11057 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11058 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11059 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11060 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11061 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11062 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11063 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11064 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11065 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11066 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11067 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11068 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11069 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11070 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11071 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11072 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11073 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11074 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11075 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11076 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11077 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11078 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11079 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11080 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11081 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11082 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11083 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11084 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11085 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11086 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11087 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11088 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11089 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11090 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11091 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11092 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11093 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11094 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11095 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11096 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11097 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11098 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11099 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11100 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11101 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11102 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11103 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11104 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11105 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11106 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11107 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11108 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11109 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11110 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11111 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11112 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11113 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11114 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11115 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11116 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11117 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11118 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11119 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11120 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11121 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11122 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11123 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11124 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11125 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11126 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11127 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11128 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11129 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11130 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11131 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11132 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11133 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11134 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11135 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11136 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11137 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11138 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11139 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
11140 .len = 496,
11141 }, { /* Generated with Crypto++ */
11142 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11143 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11144 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11145 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11146 .klen = 32,
11147 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11148 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11149 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11150 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
11151 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11152 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11153 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11154 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11155 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11156 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11157 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11158 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11159 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11160 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11161 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11162 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11163 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11164 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11165 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11166 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11167 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11168 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11169 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11170 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11171 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11172 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11173 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11174 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11175 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11176 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11177 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11178 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11179 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11180 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11181 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11182 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11183 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11184 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11185 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11186 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11187 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11188 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11189 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11190 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11191 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11192 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11193 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11194 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11195 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11196 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11197 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11198 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11199 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11200 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11201 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11202 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11203 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11204 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11205 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11206 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11207 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11208 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11209 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11210 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11211 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11212 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11213 "\x2B\xC2\x59",
11214 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11215 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11216 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11217 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11218 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11219 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11220 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11221 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11222 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11223 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11224 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11225 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11226 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11227 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11228 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11229 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11230 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11231 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11232 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11233 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11234 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11235 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11236 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11237 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11238 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11239 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11240 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11241 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11242 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11243 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11244 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11245 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11246 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11247 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11248 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11249 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11250 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11251 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11252 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11253 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11254 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11255 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11256 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11257 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11258 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11259 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11260 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11261 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11262 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11263 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11264 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11265 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11266 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11267 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11268 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11269 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11270 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11271 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11272 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11273 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11274 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11275 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
11276 "\x38\xE2\xE5",
11277 .len = 499,
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 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
11285 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11286 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
11287 "\x00\x00\x00\x00\x00\x00\x00\x1C",
11288 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11289 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11290 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11291 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11292 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11293 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11294 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11295 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11296 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11297 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11298 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11299 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11300 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11301 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11302 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11303 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11304 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11305 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11306 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11307 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11308 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11309 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11310 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11311 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11312 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11313 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11314 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11315 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11316 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11317 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11318 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11319 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11320 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11321 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11322 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11323 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11324 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11325 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11326 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11327 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11328 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11329 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11330 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11331 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11332 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11333 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11334 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11335 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11336 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11337 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11338 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11339 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11340 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11341 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11342 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11343 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11344 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11345 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11346 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11347 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11348 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11349 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11350 .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
11351 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
11352 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
11353 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
11354 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
11355 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
11356 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
11357 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
11358 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
11359 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
11360 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
11361 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
11362 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
11363 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
11364 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
11365 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
11366 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
11367 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
11368 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
11369 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
11370 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
11371 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
11372 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
11373 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
11374 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
11375 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
11376 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
11377 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
11378 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
11379 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
11380 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
11381 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
11382 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
11383 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
11384 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
11385 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
11386 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
11387 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
11388 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
11389 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
11390 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
11391 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
11392 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
11393 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
11394 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
11395 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
11396 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
11397 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
11398 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
11399 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
11400 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
11401 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
11402 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
11403 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
11404 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
11405 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
11406 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
11407 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
11408 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
11409 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
11410 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
11411 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
11412 .len = 496,
11413 },
11414};
11415
11416static const struct cipher_testvec serpent_lrw_tv_template[] = {
11417 /* Generated from AES-LRW test vectors */
11418 {
11419 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
11420 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
11421 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
11422 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
11423 .klen = 32,
11424 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11425 "\x00\x00\x00\x00\x00\x00\x00\x01",
11426 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11427 "\x38\x39\x41\x42\x43\x44\x45\x46",
11428 .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
11429 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
11430 .len = 16,
11431 }, {
11432 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
11433 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
11434 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
11435 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
11436 .klen = 32,
11437 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11438 "\x00\x00\x00\x00\x00\x00\x00\x02",
11439 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11440 "\x38\x39\x41\x42\x43\x44\x45\x46",
11441 .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
11442 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
11443 .len = 16,
11444 }, {
11445 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
11446 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
11447 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
11448 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
11449 .klen = 32,
11450 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11451 "\x00\x00\x00\x02\x00\x00\x00\x00",
11452 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11453 "\x38\x39\x41\x42\x43\x44\x45\x46",
11454 .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
11455 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
11456 .len = 16,
11457 }, {
11458 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
11459 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
11460 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
11461 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
11462 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
11463 .klen = 40,
11464 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11465 "\x00\x00\x00\x00\x00\x00\x00\x01",
11466 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11467 "\x38\x39\x41\x42\x43\x44\x45\x46",
11468 .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
11469 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
11470 .len = 16,
11471 }, {
11472 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
11473 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
11474 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
11475 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
11476 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
11477 .klen = 40,
11478 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11479 "\x00\x00\x00\x02\x00\x00\x00\x00",
11480 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11481 "\x38\x39\x41\x42\x43\x44\x45\x46",
11482 .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
11483 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
11484 .len = 16,
11485 }, {
11486 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11487 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11488 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11489 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11490 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11491 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11492 .klen = 48,
11493 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11494 "\x00\x00\x00\x00\x00\x00\x00\x01",
11495 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11496 "\x38\x39\x41\x42\x43\x44\x45\x46",
11497 .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
11498 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
11499 .len = 16,
11500 }, {
11501 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
11502 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
11503 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
11504 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
11505 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
11506 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
11507 .klen = 48,
11508 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11509 "\x00\x00\x00\x02\x00\x00\x00\x00",
11510 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11511 "\x38\x39\x41\x42\x43\x44\x45\x46",
11512 .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
11513 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
11514 .len = 16,
11515 }, {
11516 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11517 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11518 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11519 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11520 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11521 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11522 .klen = 48,
11523 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11524 "\x00\x00\x00\x00\x00\x00\x00\x01",
11525 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
11526 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
11527 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
11528 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
11529 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
11530 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
11531 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
11532 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
11533 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
11534 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
11535 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
11536 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
11537 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
11538 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
11539 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
11540 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
11541 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
11542 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
11543 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
11544 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
11545 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
11546 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
11547 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
11548 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
11549 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
11550 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
11551 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
11552 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
11553 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
11554 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
11555 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
11556 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
11557 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
11558 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
11559 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
11560 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
11561 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
11562 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
11563 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
11564 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
11565 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
11566 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
11567 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
11568 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
11569 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
11570 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
11571 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
11572 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
11573 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
11574 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
11575 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
11576 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
11577 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
11578 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
11579 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
11580 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
11581 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
11582 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
11583 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
11584 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
11585 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
11586 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
11587 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
11588 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
11589 .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
11590 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
11591 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
11592 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
11593 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
11594 "\xce\xab\xda\x33\x30\x20\x12\xfa"
11595 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
11596 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
11597 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
11598 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
11599 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
11600 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
11601 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
11602 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
11603 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
11604 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
11605 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
11606 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
11607 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
11608 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
11609 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
11610 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
11611 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
11612 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
11613 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
11614 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
11615 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
11616 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
11617 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
11618 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
11619 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
11620 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
11621 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
11622 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
11623 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
11624 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
11625 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
11626 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
11627 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
11628 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
11629 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
11630 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
11631 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
11632 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
11633 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
11634 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
11635 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
11636 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
11637 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
11638 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
11639 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
11640 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
11641 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
11642 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
11643 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
11644 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
11645 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
11646 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
11647 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
11648 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
11649 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
11650 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
11651 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
11652 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
11653 .len = 512,
11654 },
11655};
11656
11657static const struct cipher_testvec serpent_xts_tv_template[] = {
11658 /* Generated from AES-XTS test vectors */
11659 {
11660 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
11661 "\x00\x00\x00\x00\x00\x00\x00\x00"
11662 "\x00\x00\x00\x00\x00\x00\x00\x00"
11663 "\x00\x00\x00\x00\x00\x00\x00\x00",
11664 .klen = 32,
11665 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11666 "\x00\x00\x00\x00\x00\x00\x00\x00",
11667 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
11668 "\x00\x00\x00\x00\x00\x00\x00\x00"
11669 "\x00\x00\x00\x00\x00\x00\x00\x00"
11670 "\x00\x00\x00\x00\x00\x00\x00\x00",
11671 .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
11672 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
11673 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
11674 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
11675 .len = 32,
11676 }, {
11677 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
11678 "\x11\x11\x11\x11\x11\x11\x11\x11"
11679 "\x22\x22\x22\x22\x22\x22\x22\x22"
11680 "\x22\x22\x22\x22\x22\x22\x22\x22",
11681 .klen = 32,
11682 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11683 "\x00\x00\x00\x00\x00\x00\x00\x00",
11684 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
11685 "\x44\x44\x44\x44\x44\x44\x44\x44"
11686 "\x44\x44\x44\x44\x44\x44\x44\x44"
11687 "\x44\x44\x44\x44\x44\x44\x44\x44",
11688 .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
11689 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
11690 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
11691 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
11692 .len = 32,
11693 }, {
11694 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
11695 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
11696 "\x22\x22\x22\x22\x22\x22\x22\x22"
11697 "\x22\x22\x22\x22\x22\x22\x22\x22",
11698 .klen = 32,
11699 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11700 "\x00\x00\x00\x00\x00\x00\x00\x00",
11701 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
11702 "\x44\x44\x44\x44\x44\x44\x44\x44"
11703 "\x44\x44\x44\x44\x44\x44\x44\x44"
11704 "\x44\x44\x44\x44\x44\x44\x44\x44",
11705 .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
11706 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
11707 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
11708 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
11709 .len = 32,
11710 }, {
11711 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11712 "\x23\x53\x60\x28\x74\x71\x35\x26"
11713 "\x31\x41\x59\x26\x53\x58\x97\x93"
11714 "\x23\x84\x62\x64\x33\x83\x27\x95",
11715 .klen = 32,
11716 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11717 "\x00\x00\x00\x00\x00\x00\x00\x00",
11718 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
11719 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11720 "\x10\x11\x12\x13\x14\x15\x16\x17"
11721 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11722 "\x20\x21\x22\x23\x24\x25\x26\x27"
11723 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11724 "\x30\x31\x32\x33\x34\x35\x36\x37"
11725 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11726 "\x40\x41\x42\x43\x44\x45\x46\x47"
11727 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11728 "\x50\x51\x52\x53\x54\x55\x56\x57"
11729 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11730 "\x60\x61\x62\x63\x64\x65\x66\x67"
11731 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11732 "\x70\x71\x72\x73\x74\x75\x76\x77"
11733 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11734 "\x80\x81\x82\x83\x84\x85\x86\x87"
11735 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11736 "\x90\x91\x92\x93\x94\x95\x96\x97"
11737 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11738 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11739 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11740 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11741 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11742 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11743 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11744 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11745 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11746 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11747 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11748 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11749 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11750 "\x00\x01\x02\x03\x04\x05\x06\x07"
11751 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11752 "\x10\x11\x12\x13\x14\x15\x16\x17"
11753 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11754 "\x20\x21\x22\x23\x24\x25\x26\x27"
11755 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11756 "\x30\x31\x32\x33\x34\x35\x36\x37"
11757 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11758 "\x40\x41\x42\x43\x44\x45\x46\x47"
11759 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11760 "\x50\x51\x52\x53\x54\x55\x56\x57"
11761 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11762 "\x60\x61\x62\x63\x64\x65\x66\x67"
11763 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11764 "\x70\x71\x72\x73\x74\x75\x76\x77"
11765 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11766 "\x80\x81\x82\x83\x84\x85\x86\x87"
11767 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11768 "\x90\x91\x92\x93\x94\x95\x96\x97"
11769 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11770 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11771 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11772 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11773 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11774 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11775 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11776 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11777 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11778 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11779 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11780 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11781 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11782 .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
11783 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
11784 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
11785 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
11786 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
11787 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
11788 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
11789 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
11790 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
11791 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
11792 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
11793 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
11794 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
11795 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
11796 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
11797 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
11798 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
11799 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
11800 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
11801 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
11802 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
11803 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
11804 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
11805 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
11806 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
11807 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
11808 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
11809 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
11810 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
11811 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
11812 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
11813 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
11814 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
11815 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
11816 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
11817 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
11818 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
11819 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
11820 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
11821 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
11822 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
11823 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
11824 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
11825 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
11826 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
11827 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
11828 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
11829 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
11830 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
11831 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
11832 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
11833 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
11834 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
11835 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
11836 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
11837 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
11838 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
11839 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
11840 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
11841 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
11842 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
11843 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
11844 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
11845 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
11846 .len = 512,
11847 }, {
11848 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11849 "\x23\x53\x60\x28\x74\x71\x35\x26"
11850 "\x62\x49\x77\x57\x24\x70\x93\x69"
11851 "\x99\x59\x57\x49\x66\x96\x76\x27"
11852 "\x31\x41\x59\x26\x53\x58\x97\x93"
11853 "\x23\x84\x62\x64\x33\x83\x27\x95"
11854 "\x02\x88\x41\x97\x16\x93\x99\x37"
11855 "\x51\x05\x82\x09\x74\x94\x45\x92",
11856 .klen = 64,
11857 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
11858 "\x00\x00\x00\x00\x00\x00\x00\x00",
11859 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
11860 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11861 "\x10\x11\x12\x13\x14\x15\x16\x17"
11862 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11863 "\x20\x21\x22\x23\x24\x25\x26\x27"
11864 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11865 "\x30\x31\x32\x33\x34\x35\x36\x37"
11866 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11867 "\x40\x41\x42\x43\x44\x45\x46\x47"
11868 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11869 "\x50\x51\x52\x53\x54\x55\x56\x57"
11870 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11871 "\x60\x61\x62\x63\x64\x65\x66\x67"
11872 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11873 "\x70\x71\x72\x73\x74\x75\x76\x77"
11874 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11875 "\x80\x81\x82\x83\x84\x85\x86\x87"
11876 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11877 "\x90\x91\x92\x93\x94\x95\x96\x97"
11878 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11879 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11880 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11881 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11882 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11883 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11884 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11885 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11886 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11887 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11888 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11889 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11890 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11891 "\x00\x01\x02\x03\x04\x05\x06\x07"
11892 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11893 "\x10\x11\x12\x13\x14\x15\x16\x17"
11894 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11895 "\x20\x21\x22\x23\x24\x25\x26\x27"
11896 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11897 "\x30\x31\x32\x33\x34\x35\x36\x37"
11898 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11899 "\x40\x41\x42\x43\x44\x45\x46\x47"
11900 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11901 "\x50\x51\x52\x53\x54\x55\x56\x57"
11902 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11903 "\x60\x61\x62\x63\x64\x65\x66\x67"
11904 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11905 "\x70\x71\x72\x73\x74\x75\x76\x77"
11906 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11907 "\x80\x81\x82\x83\x84\x85\x86\x87"
11908 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11909 "\x90\x91\x92\x93\x94\x95\x96\x97"
11910 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11911 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11912 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11913 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11914 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11915 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11916 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11917 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11918 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11919 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11920 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11921 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11922 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11923 .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
11924 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
11925 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
11926 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
11927 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
11928 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
11929 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
11930 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
11931 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
11932 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
11933 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
11934 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
11935 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
11936 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
11937 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
11938 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
11939 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
11940 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
11941 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
11942 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
11943 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
11944 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
11945 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
11946 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
11947 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
11948 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
11949 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
11950 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
11951 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
11952 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
11953 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
11954 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
11955 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
11956 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
11957 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
11958 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
11959 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
11960 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
11961 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
11962 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
11963 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
11964 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
11965 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
11966 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
11967 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
11968 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
11969 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
11970 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
11971 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
11972 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
11973 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
11974 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
11975 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
11976 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
11977 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
11978 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
11979 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
11980 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
11981 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
11982 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
11983 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
11984 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
11985 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
11986 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
11987 .len = 512,
11988 },
11989};
11990
11991/*
11992 * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
11993 * Modes Of Operations" draft RFC
11994 * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
11995 */
11996
11997static const struct cipher_testvec sm4_tv_template[] = {
11998 { /* GB/T 32907-2016 Example 1. */
11999 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12000 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12001 .klen = 16,
12002 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12003 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12004 .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
12005 "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
12006 .len = 16,
12007 }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
12008 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12009 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12010 .klen = 16,
12011 .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
12012 "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
12013 "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
12014 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
12015 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
12016 "\xad\x57\x15\xab\x31\x5d\xc\xef"
12017 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
12018 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
12019 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
12020 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
12021 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
12022 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
12023 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
12024 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
12025 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
12026 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
12027 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
12028 "\xed\xce\x0\x19\xe\x16\x2\x6e"
12029 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
12030 "\x31\x51\xec\x47\xc3\x51\x83\xc1",
12031 .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
12032 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
12033 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
12034 "\xad\x57\x15\xab\x31\x5d\xc\xef"
12035 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
12036 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
12037 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
12038 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
12039 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
12040 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
12041 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
12042 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
12043 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
12044 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
12045 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
12046 "\xed\xce\x0\x19\xe\x16\x2\x6e"
12047 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
12048 "\x31\x51\xec\x47\xc3\x51\x83\xc1"
12049 "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
12050 "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
12051 .len = 160
12052 }, { /* A.2.1.1 SM4-ECB Example 1 */
12053 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12054 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12055 .klen = 16,
12056 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
12057 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
12058 "\xee\xee\xee\xee\xff\xff\xff\xff"
12059 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
12060 .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
12061 "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
12062 "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
12063 "\x85\xf8\x1c\x84\x82\x19\x23\x04",
12064 .len = 32,
12065 }, { /* A.2.1.2 SM4-ECB Example 2 */
12066 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
12067 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
12068 .klen = 16,
12069 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
12070 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
12071 "\xee\xee\xee\xee\xff\xff\xff\xff"
12072 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
12073 .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
12074 "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
12075 "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
12076 "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
12077 .len = 32,
12078 }
12079};
12080
12081static const struct cipher_testvec sm4_cbc_tv_template[] = {
12082 { /* A.2.2.1 SM4-CBC Example 1 */
12083 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12084 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12085 .klen = 16,
12086 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
12087 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
12088 "\xee\xee\xee\xee\xff\xff\xff\xff"
12089 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
12090 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12091 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
12092 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
12093 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
12094 .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
12095 "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
12096 "\x4C\xB7\x01\x69\x51\x90\x92\x26"
12097 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
12098 .len = 32,
12099 }, { /* A.2.2.2 SM4-CBC Example 2 */
12100 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
12101 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
12102 .klen = 16,
12103 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
12104 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
12105 "\xee\xee\xee\xee\xff\xff\xff\xff"
12106 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
12107 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12108 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
12109 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
12110 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
12111 .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
12112 "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
12113 "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
12114 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
12115 .len = 32,
12116 }
12117};
12118
12119static const struct cipher_testvec sm4_ctr_tv_template[] = {
12120 { /* A.2.5.1 SM4-CTR Example 1 */
12121 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12122 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12123 .klen = 16,
12124 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
12125 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
12126 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
12127 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
12128 "\xee\xee\xee\xee\xee\xee\xee\xee"
12129 "\xff\xff\xff\xff\xff\xff\xff\xff"
12130 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
12131 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
12132 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12133 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
12134 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
12135 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
12136 .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
12137 "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
12138 "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
12139 "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
12140 "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
12141 "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
12142 "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
12143 "\x8b\x29\x33\x85\x1d\x82\x45\x14",
12144 .len = 64,
12145 }, { /* A.2.5.2 SM4-CTR Example 2 */
12146 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
12147 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
12148 .klen = 16,
12149 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
12150 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
12151 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
12152 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
12153 "\xee\xee\xee\xee\xee\xee\xee\xee"
12154 "\xff\xff\xff\xff\xff\xff\xff\xff"
12155 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
12156 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
12157 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12158 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
12159 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
12160 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
12161 .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
12162 "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
12163 "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
12164 "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
12165 "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
12166 "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
12167 "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
12168 "\x28\x4b\xde\x9e\x16\xea\x29\x06",
12169 .len = 64,
12170 }
12171};
12172
12173static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
12174 {
12175 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
12176 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
12177 "\x00\x00\x00\x30",
12178 .klen = 20,
12179 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
12180 .ptext = "Single block msg",
12181 .ctext = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
12182 "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
12183 .len = 16,
12184 }, {
12185 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
12186 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
12187 "\x00\x6c\xb6\xdb",
12188 .klen = 20,
12189 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
12190 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12191 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12192 "\x10\x11\x12\x13\x14\x15\x16\x17"
12193 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12194 .ctext = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
12195 "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
12196 "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
12197 "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
12198 .len = 32,
12199 }
12200};
12201
12202static const struct cipher_testvec sm4_cts_tv_template[] = {
12203 /* Generated from AES-CTS test vectors */
12204 {
12205 .klen = 16,
12206 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12207 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12208 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12209 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12210 "\x20",
12211 .len = 17,
12212 .ctext = "\x05\xfe\x23\xee\x17\xa2\x89\x98"
12213 "\xbc\x97\x0a\x0b\x54\x67\xca\xd7"
12214 "\xd6",
12215 }, {
12216 .klen = 16,
12217 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12218 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12219 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12220 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12221 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
12222 "\x20\x47\x61\x75\x27\x73\x20",
12223 .len = 31,
12224 .ctext = "\x15\x46\xe4\x95\xa4\xec\xf0\xb8"
12225 "\x49\xd6\x6a\x9d\x89\xc7\xfd\x70"
12226 "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
12227 "\x93\xf7\x70\xbb\xa8\x3f\xa3",
12228 }, {
12229 .klen = 16,
12230 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12231 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12232 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12233 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12234 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
12235 "\x20\x47\x61\x75\x27\x73\x20\x43",
12236 .len = 32,
12237 .ctext = "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
12238 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
12239 "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
12240 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf",
12241 }, {
12242 .klen = 16,
12243 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12244 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12245 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12246 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12247 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
12248 "\x20\x47\x61\x75\x27\x73\x20\x43"
12249 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
12250 "\x70\x6c\x65\x61\x73\x65\x2c",
12251 .len = 47,
12252 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
12253 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
12254 "\xd3\xe1\xdc\xeb\xfa\x04\x11\x99"
12255 "\xde\xcf\x6f\x4d\x7b\x09\x92\x7f"
12256 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
12257 "\x01\x6a\xbf\xd4\x3f\x79\x02",
12258 }, {
12259 .klen = 16,
12260 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12261 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12262 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12263 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12264 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
12265 "\x20\x47\x61\x75\x27\x73\x20\x43"
12266 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
12267 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
12268 .len = 48,
12269 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
12270 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
12271 "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
12272 "\xbd\x99\x21\x0c\x5e\x4d\xed\x20"
12273 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
12274 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3",
12275 }, {
12276 .klen = 16,
12277 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
12278 "\x74\x65\x72\x69\x79\x61\x6b\x69",
12279 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
12280 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
12281 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
12282 "\x20\x47\x61\x75\x27\x73\x20\x43"
12283 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
12284 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
12285 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
12286 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
12287 .len = 64,
12288 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
12289 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
12290 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
12291 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
12292 "\x58\x19\xa4\x8f\xa9\x68\x5e\x6b"
12293 "\x2c\x0f\x81\x60\x15\x98\x27\x4f"
12294 "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
12295 "\xbd\x99\x21\x0c\x5e\x4d\xed\x20",
12296 }
12297};
12298
12299static const struct cipher_testvec sm4_xts_tv_template[] = {
12300 /* Generated from AES-XTS test vectors */
12301 {
12302 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
12303 "\x00\x00\x00\x00\x00\x00\x00\x00"
12304 "\x00\x00\x00\x00\x00\x00\x00\x00"
12305 "\x00\x00\x00\x00\x00\x00\x00\x00",
12306 .klen = 32,
12307 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12308 "\x00\x00\x00\x00\x00\x00\x00\x00",
12309 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
12310 "\x00\x00\x00\x00\x00\x00\x00\x00"
12311 "\x00\x00\x00\x00\x00\x00\x00\x00"
12312 "\x00\x00\x00\x00\x00\x00\x00\x00",
12313 .ctext = "\xd9\xb4\x21\xf7\x31\xc8\x94\xfd"
12314 "\xc3\x5b\x77\x29\x1f\xe4\xe3\xb0"
12315 "\x2a\x1f\xb7\x66\x98\xd5\x9f\x0e"
12316 "\x51\x37\x6c\x4a\xda\x5b\xc7\x5d",
12317 .len = 32,
12318 }, {
12319 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
12320 "\x11\x11\x11\x11\x11\x11\x11\x11"
12321 "\x22\x22\x22\x22\x22\x22\x22\x22"
12322 "\x22\x22\x22\x22\x22\x22\x22\x22",
12323 .klen = 32,
12324 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
12325 "\x00\x00\x00\x00\x00\x00\x00\x00",
12326 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
12327 "\x44\x44\x44\x44\x44\x44\x44\x44"
12328 "\x44\x44\x44\x44\x44\x44\x44\x44"
12329 "\x44\x44\x44\x44\x44\x44\x44\x44",
12330 .ctext = "\xa7\x4d\x72\x6c\x11\x19\x6a\x32"
12331 "\xbe\x04\xe0\x01\xff\x29\xd0\xc7"
12332 "\x93\x2f\x9f\x3e\xc2\x9b\xfc\xb6"
12333 "\x4d\xd1\x7f\x63\xcb\xd3\xea\x31",
12334 .len = 32,
12335 }, {
12336 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12337 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12338 "\x22\x22\x22\x22\x22\x22\x22\x22"
12339 "\x22\x22\x22\x22\x22\x22\x22\x22",
12340 .klen = 32,
12341 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
12342 "\x00\x00\x00\x00\x00\x00\x00\x00",
12343 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
12344 "\x44\x44\x44\x44\x44\x44\x44\x44"
12345 "\x44\x44\x44\x44\x44\x44\x44\x44"
12346 "\x44\x44\x44\x44\x44\x44\x44\x44",
12347 .ctext = "\x7f\x76\x08\x8e\xff\xad\xf7\x0c"
12348 "\x02\xea\x9f\x95\xda\x06\x28\xd3"
12349 "\x51\xbf\xcb\x9e\xac\x05\x63\xbc"
12350 "\xf1\x7b\x71\x0d\xab\x0a\x98\x26",
12351 .len = 32,
12352 }, {
12353 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
12354 "\x23\x53\x60\x28\x74\x71\x35\x26"
12355 "\x31\x41\x59\x26\x53\x58\x97\x93"
12356 "\x23\x84\x62\x64\x33\x83\x27\x95",
12357 .klen = 32,
12358 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12359 "\x00\x00\x00\x00\x00\x00\x00\x00",
12360 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12361 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12362 "\x10\x11\x12\x13\x14\x15\x16\x17"
12363 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12364 "\x20\x21\x22\x23\x24\x25\x26\x27"
12365 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12366 "\x30\x31\x32\x33\x34\x35\x36\x37"
12367 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12368 "\x40\x41\x42\x43\x44\x45\x46\x47"
12369 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12370 "\x50\x51\x52\x53\x54\x55\x56\x57"
12371 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12372 "\x60\x61\x62\x63\x64\x65\x66\x67"
12373 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12374 "\x70\x71\x72\x73\x74\x75\x76\x77"
12375 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12376 "\x80\x81\x82\x83\x84\x85\x86\x87"
12377 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12378 "\x90\x91\x92\x93\x94\x95\x96\x97"
12379 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12380 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12381 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12382 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12383 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12384 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12385 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12386 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12387 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12388 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12389 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12390 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12391 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12392 "\x00\x01\x02\x03\x04\x05\x06\x07"
12393 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12394 "\x10\x11\x12\x13\x14\x15\x16\x17"
12395 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12396 "\x20\x21\x22\x23\x24\x25\x26\x27"
12397 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12398 "\x30\x31\x32\x33\x34\x35\x36\x37"
12399 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12400 "\x40\x41\x42\x43\x44\x45\x46\x47"
12401 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12402 "\x50\x51\x52\x53\x54\x55\x56\x57"
12403 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12404 "\x60\x61\x62\x63\x64\x65\x66\x67"
12405 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12406 "\x70\x71\x72\x73\x74\x75\x76\x77"
12407 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12408 "\x80\x81\x82\x83\x84\x85\x86\x87"
12409 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12410 "\x90\x91\x92\x93\x94\x95\x96\x97"
12411 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12412 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12413 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12414 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12415 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12416 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12417 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12418 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12419 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12420 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12421 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12422 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12423 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12424 .ctext = "\x54\xdd\x65\xb6\x32\x6f\xae\xa8"
12425 "\xfa\xd1\xa8\x3c\x63\x61\x4a\xf3"
12426 "\x9f\x72\x1d\x8d\xfe\x17\x7a\x30"
12427 "\xb6\x6a\xbf\x6a\x44\x99\x80\xe1"
12428 "\xcd\xbe\x06\xaf\xb7\x33\x36\xf3"
12429 "\x7a\x4d\x39\xde\x96\x4a\x30\xd7"
12430 "\xd0\x4a\x37\x99\x16\x9c\x60\x25"
12431 "\x8f\x6b\x74\x8a\x61\x86\x1a\xa5"
12432 "\xec\x92\xa2\xc1\x5b\x2b\x7c\x61"
12433 "\x5a\x42\xab\xa4\x99\xbb\xd6\xb7"
12434 "\x1d\xb9\xc7\x89\xb2\x18\x20\x89"
12435 "\xa2\x5d\xd3\xdf\x80\x0e\xd1\x86"
12436 "\x4d\x19\xf7\xed\x45\xfd\x17\xa9"
12437 "\x48\x0b\x0f\xb8\x2d\x9b\x7f\xc3"
12438 "\xed\x57\xe9\xa1\x14\x0e\xaa\x77"
12439 "\x8d\xd2\xdd\x67\x9e\x3e\xdc\x3d"
12440 "\xc4\xd5\x5c\x95\x0e\xbc\x53\x1d"
12441 "\x95\x92\xf7\xc4\x63\x82\x56\xd5"
12442 "\x65\x18\x29\x2a\x20\xaf\x98\xfd"
12443 "\xd3\xa6\x36\x00\x35\x0a\x70\xab"
12444 "\x5a\x40\xf4\xc2\x85\x03\x7c\xa0"
12445 "\x1f\x25\x1f\x19\xec\xae\x03\x29"
12446 "\xff\x77\xad\x88\xcd\x5a\x4c\xde"
12447 "\xa2\xae\xab\xc2\x21\x48\xff\xbd"
12448 "\x23\x9b\xd1\x05\x15\xbd\xe1\x13"
12449 "\x1d\xec\x84\x04\xe4\x43\xdc\x76"
12450 "\x31\x40\xd5\xf2\x2b\xf3\x3e\x0c"
12451 "\x68\x72\xd6\xb8\x1d\x63\x0f\x6f"
12452 "\x00\xcd\xd0\x58\xfe\x80\xf9\xcb"
12453 "\xfb\x77\x70\x7f\x93\xce\xe2\xca"
12454 "\x92\xb9\x15\xb8\x30\x40\x27\xc1"
12455 "\x90\xa8\x4e\x2d\x65\xe0\x18\xcc"
12456 "\x6a\x38\x7d\x37\x66\xac\xdb\x28"
12457 "\x25\x32\x84\xe8\xdb\x9a\xcf\x8f"
12458 "\x52\x28\x0d\xdc\x6d\x00\x33\xd2"
12459 "\xcc\xaa\xa4\xf9\xae\xff\x12\x36"
12460 "\x69\xbc\x02\x4f\xd6\x76\x8e\xdf"
12461 "\x8b\xc1\xf8\xd6\x22\xc1\x9c\x60"
12462 "\x9e\xf9\x7f\x60\x91\x90\xcd\x11"
12463 "\x02\x41\xe7\xfb\x08\x4e\xd8\x94"
12464 "\x2d\xa1\xf9\xb9\xcf\x1b\x51\x4b"
12465 "\x61\xa3\x88\xb3\x0e\xa6\x1a\x4a"
12466 "\x74\x5b\x38\x1e\xe7\xad\x6c\x4d"
12467 "\xb1\x27\x54\x53\xb8\x41\x3f\x98"
12468 "\xdf\x6e\x4a\x40\x98\x6e\xe4\xb5"
12469 "\x9a\xf5\xdf\xae\xcd\x30\x12\x65"
12470 "\x17\x90\x67\xa0\x0d\x7c\xa3\x5a"
12471 "\xb9\x5a\xbd\x61\x7a\xde\xa2\x8e"
12472 "\xc1\xc2\x6a\x97\xde\x28\xb8\xbf"
12473 "\xe3\x01\x20\xd6\xae\xfb\xd2\x58"
12474 "\xc5\x9e\x42\xd1\x61\xe8\x06\x5a"
12475 "\x78\x10\x6b\xdc\xa5\xcd\x90\xfb"
12476 "\x3a\xac\x4e\x93\x86\x6c\x8a\x7f"
12477 "\x96\x76\x86\x0a\x79\x14\x5b\xd9"
12478 "\x2e\x02\xe8\x19\xa9\x0b\xe0\xb9"
12479 "\x7c\xc5\x22\xb3\x21\x06\x85\x6f"
12480 "\xdf\x0e\x54\xd8\x8e\x46\x24\x15"
12481 "\x5a\x2f\x1c\x14\xea\xea\xa1\x63"
12482 "\xf8\x58\xe9\x9a\x80\x6e\x79\x1a"
12483 "\xcd\x82\xf1\xb0\xe2\x9f\x00\x28"
12484 "\xa4\xc3\x8e\x97\x6f\x57\x1a\x93"
12485 "\xf4\xfd\x57\xd7\x87\xc2\x4d\xb0"
12486 "\xe0\x1c\xa3\x04\xe5\xa5\xc4\xdd"
12487 "\x50\xcf\x8b\xdb\xf4\x91\xe5\x7c",
12488 .len = 512,
12489 }, {
12490 .key = "\x62\x49\x77\x57\x24\x70\x93\x69"
12491 "\x99\x59\x57\x49\x66\x96\x76\x27"
12492 "\x02\x88\x41\x97\x16\x93\x99\x37"
12493 "\x51\x05\x82\x09\x74\x94\x45\x92",
12494 .klen = 32,
12495 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
12496 "\x00\x00\x00\x00\x00\x00\x00\x00",
12497 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12498 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12499 "\x10\x11\x12\x13\x14\x15\x16\x17"
12500 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12501 "\x20\x21\x22\x23\x24\x25\x26\x27"
12502 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12503 "\x30\x31\x32\x33\x34\x35\x36\x37"
12504 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12505 "\x40\x41\x42\x43\x44\x45\x46\x47"
12506 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12507 "\x50\x51\x52\x53\x54\x55\x56\x57"
12508 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12509 "\x60\x61\x62\x63\x64\x65\x66\x67"
12510 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12511 "\x70\x71\x72\x73\x74\x75\x76\x77"
12512 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12513 "\x80\x81\x82\x83\x84\x85\x86\x87"
12514 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12515 "\x90\x91\x92\x93\x94\x95\x96\x97"
12516 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12517 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12518 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12519 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12520 "\xf8\xf9\xfa\xfb\xfc",
12521 .ctext = "\xa2\x9f\x9e\x4e\x71\xdb\x28\x3c"
12522 "\x80\x0e\xf6\xb7\x8e\x57\x1c\xba"
12523 "\x90\xda\x3b\x6c\x22\x00\x68\x30"
12524 "\x1d\x63\x0d\x9e\x6a\xad\x37\x55"
12525 "\xbc\x77\x1e\xc9\xad\x83\x30\xd5"
12526 "\x27\xb2\x66\x77\x18\x3c\xa6\x39"
12527 "\x9c\x0a\xaa\x1f\x02\xe1\xd5\x65"
12528 "\x9b\x8d\xc5\x97\x3d\xc5\x04\x53"
12529 "\x78\x00\xe3\xb0\x1a\x43\x4e\xb7"
12530 "\xc4\x9f\x38\xc5\x7b\xa4\x70\x64"
12531 "\x78\xe6\x32\xd9\x65\x44\xc5\x64"
12532 "\xb8\x42\x35\x99\xff\x66\x75\xb0"
12533 "\x22\xd3\x9b\x6e\x8d\xcf\x6a\x24"
12534 "\xfd\x92\xb7\x1b\x04\x28\x2a\x61"
12535 "\xdc\x96\x2a\x20\x7a\x2c\xf1\xf9"
12536 "\x12\x15\xf0\x4d\xcf\x2b\xde\x33"
12537 "\x41\xbc\xe7\x85\x87\x22\xb7\x16"
12538 "\x02\x1c\xd8\xa2\x0f\x1f\xa3\xe9"
12539 "\xd8\x45\x48\xe7\xbe\x08\x4e\x4e"
12540 "\x23\x79\x84\xdb\x40\x76\xf5\x13"
12541 "\x78\x92\x4a\x2f\xf9\x1b\xf2\x80"
12542 "\x25\x74\x51\x45\x9a\x77\x78\x97"
12543 "\xd3\xe0\xc7\xc4\x35\x67\x2a\xe6"
12544 "\xb3\x0d\x62\x9f\x8b",
12545 .len = 189,
12546 },
12547};
12548
12549static const struct aead_testvec sm4_gcm_tv_template[] = {
12550 { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
12551 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12552 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12553 .klen = 16,
12554 .iv = "\x00\x00\x12\x34\x56\x78\x00\x00"
12555 "\x00\x00\xAB\xCD",
12556 .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
12557 "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
12558 "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
12559 "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
12560 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
12561 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12562 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
12563 "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
12564 .plen = 64,
12565 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
12566 "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
12567 "\xAB\xAD\xDA\xD2",
12568 .alen = 20,
12569 .ctext = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
12570 "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
12571 "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
12572 "\x91\x57\xB2\x82\xBB\x20\x07\x35"
12573 "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
12574 "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
12575 "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
12576 "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
12577 "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
12578 "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
12579 .clen = 80,
12580 }, { /* Generated from AES-GCM test vectors */
12581 .key = zeroed_string,
12582 .klen = 16,
12583 .ctext = "\x23\x2f\x0c\xfe\x30\x8b\x49\xea"
12584 "\x6f\xc8\x82\x29\xb5\xdc\x85\x8d",
12585 .clen = 16,
12586 }, {
12587 .key = zeroed_string,
12588 .klen = 16,
12589 .ptext = zeroed_string,
12590 .plen = 16,
12591 .ctext = "\x7d\xe2\xaa\x7f\x11\x10\x18\x82"
12592 "\x18\x06\x3b\xe1\xbf\xeb\x6d\x89"
12593 "\xb8\x51\xb5\xf3\x94\x93\x75\x2b"
12594 "\xe5\x08\xf1\xbb\x44\x82\xc5\x57",
12595 .clen = 32,
12596 }, {
12597 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
12598 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
12599 .klen = 16,
12600 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
12601 "\xde\xca\xf8\x88",
12602 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
12603 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
12604 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
12605 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
12606 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
12607 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
12608 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
12609 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
12610 .plen = 64,
12611 .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
12612 "\x76\x21\x6a\x33\x83\x10\x41\xeb"
12613 "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
12614 "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
12615 "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
12616 "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
12617 "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
12618 "\xe3\x63\x36\x83\x23\xf7\x5b\x80"
12619 "\x7d\xfe\x77\xef\x71\xb1\x5e\xc9"
12620 "\x52\x6b\x09\xab\x84\x28\x4b\x8a",
12621 .clen = 80,
12622 }, {
12623 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
12624 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
12625 .klen = 16,
12626 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
12627 "\xde\xca\xf8\x88",
12628 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
12629 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
12630 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
12631 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
12632 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
12633 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
12634 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
12635 "\xba\x63\x7b\x39",
12636 .plen = 60,
12637 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
12638 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
12639 "\xab\xad\xda\xd2",
12640 .alen = 20,
12641 .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
12642 "\x76\x21\x6a\x33\x83\x10\x41\xeb"
12643 "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
12644 "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
12645 "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
12646 "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
12647 "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
12648 "\xe3\x63\x36\x83"
12649 "\x89\xf6\xba\x35\xb8\x18\xd3\xcc"
12650 "\x38\x6c\x05\xb3\x8a\xcb\xc9\xde",
12651 .clen = 76,
12652 }, {
12653 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
12654 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
12655 .klen = 16,
12656 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
12657 "\xde\xca\xf8\x88",
12658 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
12659 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
12660 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
12661 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
12662 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
12663 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
12664 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
12665 "\xba\x63\x7b\x39",
12666 .plen = 60,
12667 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
12668 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
12669 "\xab\xad\xda\xd2",
12670 .alen = 20,
12671 .ctext = "\xc1\x11\x44\x51\xd9\x25\x87\x5b"
12672 "\x0f\xd9\x06\xf3\x33\x44\xbb\x87"
12673 "\x8b\xa3\x77\xd2\x0c\x60\xfa\xcc"
12674 "\x85\x50\x6f\x96\x0c\x54\x54\xc1"
12675 "\x58\x04\x88\x6e\xf4\x26\x35\x7e"
12676 "\x94\x80\x48\x6c\xf2\xf4\x88\x1f"
12677 "\x19\x63\xea\xae\xba\x81\x1a\x5d"
12678 "\x0e\x6f\x59\x08"
12679 "\x33\xac\x5b\xa8\x19\x60\xdb\x1d"
12680 "\xdd\x2e\x22\x2e\xe0\x87\x51\x5d",
12681 .clen = 76,
12682 }, {
12683 .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
12684 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
12685 .klen = 16,
12686 .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
12687 "\xff\xff\x00\xff",
12688 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
12689 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
12690 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
12691 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
12692 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
12693 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
12694 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
12695 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
12696 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
12697 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
12698 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
12699 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
12700 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
12701 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
12702 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
12703 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
12704 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
12705 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
12706 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
12707 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
12708 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
12709 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
12710 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
12711 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
12712 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
12713 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
12714 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
12715 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
12716 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
12717 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
12718 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
12719 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
12720 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
12721 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
12722 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
12723 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
12724 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
12725 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
12726 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
12727 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
12728 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
12729 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
12730 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
12731 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
12732 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
12733 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
12734 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
12735 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
12736 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
12737 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
12738 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
12739 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
12740 "\x87\x79\x60\x38\x46\xb4\x25\x57"
12741 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
12742 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
12743 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
12744 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
12745 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
12746 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
12747 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
12748 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
12749 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
12750 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
12751 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
12752 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
12753 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
12754 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
12755 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
12756 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
12757 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
12758 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
12759 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
12760 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
12761 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
12762 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
12763 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
12764 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
12765 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
12766 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
12767 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
12768 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
12769 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
12770 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
12771 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
12772 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
12773 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
12774 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
12775 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
12776 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
12777 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
12778 .plen = 719,
12779 .ctext = "\xdc\xb1\x0f\x2a\xe8\x2d\x1c\x57"
12780 "\xc4\x82\xfa\xd6\x87\xe6\x2f\x50"
12781 "\xbd\x9e\x0a\x42\x31\xf2\xc7\xbb"
12782 "\x21\x63\xa7\x05\x43\x33\xef\x33"
12783 "\x5c\xd3\x47\x55\xce\x5c\xe4\xd4"
12784 "\xe5\x07\x62\x22\xac\x01\xa8\x35"
12785 "\x9c\x59\x34\x30\x8e\xff\x9f\xb4"
12786 "\xd2\x4e\x74\x90\x64\xf2\x78\x5e"
12787 "\x63\xb7\xc5\x08\x1b\x37\xa5\x9e"
12788 "\xc0\xde\xff\xa9\x7f\x0b\xd3\x02"
12789 "\x83\x6e\x33\xfa\x43\x11\xd3\xda"
12790 "\x02\xcf\xcd\x4a\xc0\x78\x1f\x39"
12791 "\x62\xcb\xa3\x95\x7e\x13\x92\x28"
12792 "\xb2\xc4\x7a\xba\xd1\xc6\xf6\x1f"
12793 "\xda\x0b\xf1\xd1\x99\x54\xd8\x3b"
12794 "\x16\xf8\xe6\x97\x1e\xa7\xcf\x49"
12795 "\x69\x84\x01\x4c\xdc\x7a\x34\xff"
12796 "\x01\x08\xa3\x0b\x39\xac\x21\x37"
12797 "\xd8\xb4\x04\x19\x8b\x7a\x7d\x17"
12798 "\x44\xd1\x18\xaf\x1f\xa9\x29\xfe"
12799 "\xfa\x77\xe0\x40\x42\x0c\x79\xb7"
12800 "\xc3\x15\x1b\xd9\x0c\x82\xfc\x16"
12801 "\x70\xd6\x2a\xe9\x94\x72\xc5\xa5"
12802 "\x8a\x58\xbc\xfa\xe0\x88\x39\x4a"
12803 "\x80\xe8\xec\xaf\x60\xac\xe7\xf8"
12804 "\x9c\xf0\xfc\x61\x39\x07\x98\x6b"
12805 "\x88\xe3\x98\x22\x28\x18\x4a\x2d"
12806 "\x25\xef\x10\xe3\x83\x66\x3f\xfd"
12807 "\xc7\x0b\xa3\xfd\x97\xa9\xf4\xbd"
12808 "\xd8\x2a\xee\x4a\x50\xad\xcc\xb5"
12809 "\xc7\xab\xb8\x79\x9c\xd1\xf1\x27"
12810 "\x08\xf5\xf5\xe8\x1b\x66\xce\x41"
12811 "\x56\x60\x94\x86\xf0\x78\xc2\xfa"
12812 "\x5b\x63\x40\xb1\xd1\x1a\x38\x69"
12813 "\x0b\x8c\xb2\xf5\xa2\xbe\x90\x9d"
12814 "\x46\x23\x79\x8b\x3b\x4a\xf4\xbb"
12815 "\x55\xf7\x58\x9d\xaf\x59\xff\x74"
12816 "\xf3\xb9\xc4\x26\xb1\xf8\xe1\x28"
12817 "\x8b\x5e\x8f\x6d\x64\xe7\xe8\x63"
12818 "\xd2\x9e\xcb\xee\xae\x19\x04\x1d"
12819 "\x05\xf0\x9d\x99\x7b\x33\x33\xae"
12820 "\x6e\xe5\x09\xdd\x67\x51\xc4\xc8"
12821 "\x6a\xc7\x36\x35\xc9\x93\x76\xa1"
12822 "\xa8\x1c\xfa\x75\x92\x34\x0e\x7d"
12823 "\x3d\x1d\xef\x00\xfd\xa5\x25\x12"
12824 "\x7c\x91\x21\x41\xcc\x50\x47\xa9"
12825 "\x22\x50\x24\x96\x34\x79\x3d\xe8"
12826 "\x3f\xa0\x56\xaf\x98\x53\x55\xc3"
12827 "\x46\x1b\x17\x54\xb8\xb0\xb7\xe0"
12828 "\xe0\xab\x47\x6f\x06\xda\xcc\x75"
12829 "\xa7\x96\xb7\x92\xf3\xa0\x5f\xe6"
12830 "\xba\x97\xe3\x2f\x97\x05\xb2\x99"
12831 "\xa0\x09\x10\x98\x9c\xd3\x2e\xd1"
12832 "\x7e\x2a\x30\x54\x3c\xb9\x33\xe3"
12833 "\xf2\xaf\xd3\xa5\xee\xd0\x0b\x8a"
12834 "\x19\x54\x0f\x02\x51\x1f\x91\xdf"
12835 "\x71\x9c\xad\x77\x35\x28\x55\x6d"
12836 "\xcd\x7a\xd9\xa3\x41\x98\x6b\x37"
12837 "\x19\x0f\xbe\xae\x69\xb2\x25\x01"
12838 "\xee\x0e\x51\x4b\x53\xea\x0f\x5f"
12839 "\x85\x74\x79\x36\x32\x0a\x2a\x40"
12840 "\xad\x6b\x78\x41\x54\x99\xe9\xc1"
12841 "\x2b\x6c\x9b\x42\x21\xef\xe2\x50"
12842 "\x56\x8d\x78\xdf\x58\xbe\x0a\x0f"
12843 "\xfc\xfc\x0d\x2e\xd0\xcb\xa6\x0a"
12844 "\xa8\xd9\x1e\xa9\xd4\x7c\x99\x88"
12845 "\xcf\x11\xad\x1c\xd3\x04\x63\x55"
12846 "\xef\x85\x0b\x69\xa1\x40\xf1\x75"
12847 "\x24\xf4\xe5\x2c\xd4\x7a\x24\x50"
12848 "\x8f\xa2\x71\xc9\x92\x20\xcd\xcf"
12849 "\xda\x40\xbe\xf6\xfe\x1a\xca\xc7"
12850 "\x4a\x80\x45\x55\xcb\xdd\xb7\x01"
12851 "\xb0\x8d\xcb\xd2\xae\xbd\xa4\xd0"
12852 "\x5c\x10\x05\x66\x7b\xd4\xff\xd9"
12853 "\xc4\x23\x9d\x8d\x6b\x24\xf8\x3f"
12854 "\x73\x4d\x5c\x2b\x33\x4c\x5e\x63"
12855 "\x74\x6d\x03\xa1\x7a\x35\x65\x17"
12856 "\x38\x7f\x3b\xc1\x69\xcf\x61\x34"
12857 "\x30\x21\xaf\x97\x47\x12\x3f\xa1"
12858 "\xa7\x50\xc5\x87\xfb\x3f\x70\x32"
12859 "\x86\x17\x5f\x25\xe4\x74\xc6\xd0"
12860 "\x9b\x39\xe6\xe1\x5a\xec\x8f\x40"
12861 "\xce\xcc\x37\x3b\xd8\x72\x1c\x31"
12862 "\x75\xa4\xa6\x89\x8c\xdd\xd6\xd2"
12863 "\x32\x3d\xe8\xc3\x54\xab\x1f\x35"
12864 "\x52\xb4\x94\x81\xb0\x37\x3a\x03"
12865 "\xbb\xb1\x99\x30\xa5\xf8\x21\xcd"
12866 "\x93\x5d\xa7\x13\xed\xc7\x49\x09"
12867 "\x70\xda\x08\x39\xaa\x15\x9e\x45"
12868 "\x35\x2b\x0f\x5c\x8c\x8b\xc9"
12869 "\xa8\xb8\x9f\xfd\x37\x36\x31\x7e"
12870 "\x34\x4f\xc1\xc0\xca\x8a\x22\xfd",
12871 .clen = 735,
12872 }
12873};
12874
12875static const struct aead_testvec sm4_ccm_tv_template[] = {
12876 { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
12877 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
12878 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
12879 .klen = 16,
12880 .iv = "\x02\x00\x00\x12\x34\x56\x78\x00"
12881 "\x00\x00\x00\xAB\xCD\x00\x00\x00",
12882 .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
12883 "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
12884 "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
12885 "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
12886 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
12887 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12888 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
12889 "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
12890 .plen = 64,
12891 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
12892 "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
12893 "\xAB\xAD\xDA\xD2",
12894 .alen = 20,
12895 .ctext = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
12896 "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
12897 "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
12898 "\x98\x66\x15\x72\xE7\x48\x30\x94"
12899 "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
12900 "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
12901 "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
12902 "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
12903 "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
12904 "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
12905 .clen = 80,
12906 }, { /* Generated from AES-CCM test vectors */
12907 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12908 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
12909 .klen = 16,
12910 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
12911 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
12912 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
12913 .alen = 8,
12914 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12915 "\x10\x11\x12\x13\x14\x15\x16\x17"
12916 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
12917 .plen = 23,
12918 .ctext = "\x7b\xff\x4a\x15\xf5\x73\xce\x82"
12919 "\x6e\xc2\x31\x1d\xe2\x53\x02\xac"
12920 "\xa4\x48\xf9\xe4\xf5\x1f\x81\x70"
12921 "\x18\xbc\xb6\x84\x01\xb8\xae",
12922 .clen = 31,
12923 }, {
12924 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
12925 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
12926 .klen = 16,
12927 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
12928 "\x50\x20\xda\xe2\x00\x00\x00\x00",
12929 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
12930 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
12931 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
12932 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
12933 .alen = 32,
12934 .ctext = "\x23\x58\xce\xdc\x40\xb1\xcd\x92"
12935 "\x47\x96\x59\xfc\x8a\x26\x4f\xcf",
12936 .clen = 16,
12937 }, {
12938 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
12939 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
12940 .klen = 16,
12941 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
12942 "\x7f\x88\x94\x68\x00\x00\x00\x00",
12943 .alen = 0,
12944 .ptext = "\x00",
12945 .plen = 0,
12946 .ctext = "\x72\x7e\xf5\xd6\x39\x7a\x2b\x43",
12947 .clen = 8,
12948 }, {
12949 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
12950 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
12951 .klen = 16,
12952 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
12953 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
12954 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
12955 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
12956 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
12957 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
12958 .alen = 32,
12959 .ptext = "\x00",
12960 .plen = 0,
12961 .ctext = "\xb0\x9d\xc6\xfb\x7d\xb5\xa1\x0e",
12962 .clen = 8,
12963 }, {
12964 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
12965 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
12966 .klen = 16,
12967 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
12968 "\x44\x89\x40\x7b\x00\x00\x00\x00",
12969 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
12970 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
12971 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
12972 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
12973 .alen = 32,
12974 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
12975 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
12976 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
12977 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
12978 .plen = 32,
12979 .ctext = "\xc9\xae\xef\x1d\xf3\x2c\xd3\x38"
12980 "\xc9\x7f\x7e\x28\xe8\xaa\xb3\x60"
12981 "\x49\xdc\x66\xca\x7b\x3d\xe0\x3c"
12982 "\xcb\x45\x9c\x1b\xb2\xbe\x07\x90"
12983 "\x87\xa6\x6b\x89\x0d\x0f\x90\xaa"
12984 "\x7d\xf6\x5a\x9a\x68\x2b\x81\x92",
12985 .clen = 48,
12986 }, {
12987 .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
12988 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
12989 .klen = 16,
12990 .iv = "\x02\xff\xff\xff\xff\x00\x00\xff"
12991 "\xff\xff\x00\xff\xff\x00\x00\x00",
12992 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
12993 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
12994 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
12995 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe"
12996 "\xc8\xf3\x5c\x52\x10\x63",
12997 .alen = 38,
12998 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
12999 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
13000 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
13001 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
13002 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
13003 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
13004 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
13005 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
13006 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
13007 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
13008 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
13009 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
13010 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
13011 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
13012 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
13013 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
13014 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
13015 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
13016 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
13017 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
13018 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
13019 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
13020 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
13021 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
13022 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
13023 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
13024 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
13025 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
13026 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
13027 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
13028 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
13029 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
13030 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
13031 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
13032 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
13033 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
13034 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
13035 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
13036 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
13037 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
13038 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
13039 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
13040 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
13041 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
13042 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
13043 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
13044 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
13045 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
13046 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
13047 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
13048 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
13049 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
13050 "\x87\x79\x60\x38\x46\xb4\x25\x57"
13051 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
13052 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
13053 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
13054 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
13055 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
13056 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
13057 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
13058 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
13059 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
13060 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
13061 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
13062 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
13063 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
13064 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
13065 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
13066 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
13067 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
13068 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
13069 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
13070 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
13071 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
13072 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
13073 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
13074 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
13075 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
13076 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
13077 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
13078 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
13079 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
13080 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
13081 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
13082 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
13083 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
13084 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
13085 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
13086 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
13087 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
13088 .plen = 719,
13089 .ctext = "\xc5\x50\x85\x02\x72\xa8\xb3\x62"
13090 "\xf9\xcd\x77\x7b\x43\xa5\x04\x70"
13091 "\x68\x40\x57\x21\x1c\xfe\xef\x05"
13092 "\x4d\xb8\x44\xba\x59\xea\x62\x32"
13093 "\xcb\x6b\x6a\x39\x9b\xf3\xe5\xa4"
13094 "\x36\x38\xde\x7d\xcf\xb6\xcd\xe3"
13095 "\x89\xbf\x37\xc9\x96\x3c\x70\x10"
13096 "\x92\x47\xcc\xac\x6f\xf8\x55\x9a"
13097 "\x26\x43\x34\xb4\x92\x7d\x68\xfc"
13098 "\x60\x37\x74\x2a\x55\xba\xc7\xd7"
13099 "\x98\x69\xb7\xcf\x42\xfd\xb2\x10"
13100 "\xa0\x59\xe1\x2c\x73\x66\x12\x97"
13101 "\x85\x8b\x28\xcc\x29\x02\x15\x89"
13102 "\x23\xd3\x32\x92\x87\x57\x09\x13"
13103 "\x04\x7e\x8b\x6c\x3a\xc1\x4e\x6c"
13104 "\xe1\x9f\xc8\xcc\x47\x9c\xd8\x10"
13105 "\xf4\xb7\x5c\x30\x7a\x8b\x0f\x01"
13106 "\x52\x38\x02\x92\x99\xac\x03\x90"
13107 "\x18\x32\x2d\x21\x6a\x0a\x2a\xe7"
13108 "\xc2\xcc\x15\x84\x4e\x2b\x0b\x3a"
13109 "\x4c\xdc\xb0\x6b\x10\xd1\x27\x10"
13110 "\xf0\x4a\x5c\x43\xa0\x34\x34\x59"
13111 "\x47\x43\x48\xcb\x69\xa7\xff\x52"
13112 "\xb8\xca\x23\x09\x07\xd7\xc5\xe4"
13113 "\x2a\x4f\x99\xd5\x83\x36\x2a\x2d"
13114 "\x59\xd0\xca\xb0\xfa\x40\x8c\xab"
13115 "\xdf\x69\x08\xd9\x79\x1d\xde\xa8"
13116 "\x0b\x34\x74\x4d\xf5\xa0\x4c\x81"
13117 "\x7f\x93\x06\x40\x24\xfe\x7d\xcd"
13118 "\xe4\xfe\xf8\xf8\x30\xce\xd0\x5d"
13119 "\x70\xfd\x0d\x5a\x78\x85\x74\x2d"
13120 "\xe4\xb5\x40\x18\x99\x11\xe4\x6a"
13121 "\xdf\xfa\x4f\x25\x2c\xde\x15\xb7"
13122 "\x12\xd8\xc6\x90\x0d\x0f\xc9\xfb"
13123 "\x21\xf1\xed\xfe\x98\xe1\x03\xe2"
13124 "\x5c\xef\xb6\xc7\x87\x77\x0e\xcd"
13125 "\xff\x78\x94\xc9\xbe\xd3\x47\xf7"
13126 "\x8d\x37\x48\x01\x42\xe2\x17\x96"
13127 "\xfc\xc0\xcb\x7b\x7b\x57\xaf\x3b"
13128 "\xc9\xd0\x94\xce\x5e\x1b\xa9\x47"
13129 "\x02\x4d\x74\xcc\x45\x1d\xd3\x2d"
13130 "\x5f\x4f\x7f\xf2\x4b\xf9\x59\xee"
13131 "\x9e\x9e\xb9\x95\x29\x19\xd1\x5f"
13132 "\x72\xab\x8d\xf1\x28\xd1\x1c\xae"
13133 "\xc2\xba\xf7\x22\x84\x2c\x83\x51"
13134 "\x03\xad\xa3\xef\x81\xa7\xdc\xf1"
13135 "\x44\x51\x50\x96\x70\xd1\xe5\x47"
13136 "\x57\xf9\x30\x90\xe4\xbf\xfc\x75"
13137 "\x14\xaa\x4d\xb7\xb1\xe7\x79\x33"
13138 "\x43\xc2\x5c\xc1\xbc\x09\x92\x0f"
13139 "\xa7\xaf\x68\x51\x51\xec\x0b\xc3"
13140 "\x3d\x2b\x94\x30\x45\x29\x1b\x9e"
13141 "\x70\x56\xf8\xd6\x67\x2d\x39\x3b"
13142 "\x3c\xd2\xd0\xd3\xdc\x7d\x84\xe9"
13143 "\x06\x31\x98\xa6\x5c\xbf\x10\x58"
13144 "\xce\xbb\xa7\xe1\x65\x7e\x51\x87"
13145 "\x70\x46\xb4\x7f\xf9\xec\x92\x1c"
13146 "\x9b\x24\x49\xc1\x04\xbe\x1c\x5f"
13147 "\xcc\xb3\x33\x8c\xad\xe7\xdc\x32"
13148 "\x54\xa2\x0d\x83\x0f\x3c\x12\x5d"
13149 "\x71\xe3\x9c\xae\x71\xa3\x2a\x10"
13150 "\xc5\x91\xb4\x73\x96\x60\xdb\x5d"
13151 "\x1f\xd5\x9a\xd2\x69\xc3\xd7\x4b"
13152 "\xa2\x66\x81\x96\x4a\xaa\x02\xd6"
13153 "\xd5\x44\x9b\x42\x3a\x15\x5f\xe7"
13154 "\x4d\x7c\xf6\x71\x4a\xea\xe8\x43"
13155 "\xd7\x68\xe4\xbc\x05\x87\x49\x05"
13156 "\x3b\x47\xb2\x6d\x5f\xd1\x11\xa6"
13157 "\x58\xd4\xa2\x45\xec\xb5\x54\x55"
13158 "\xd3\xd6\xd2\x6a\x8b\x21\x9e\x2c"
13159 "\xf1\x27\x4b\x5b\xe3\xff\xe0\xfd"
13160 "\x4b\xf1\xe7\xe2\x84\xf2\x17\x37"
13161 "\x11\x68\xc4\x92\x4b\x6b\xef\x8e"
13162 "\x75\xf5\xc2\x7d\x5c\xe9\x7c\xfc"
13163 "\x2b\x00\x33\x0e\x7d\x69\xd8\xd4"
13164 "\x9b\xa8\x38\x54\x7e\x6d\x23\x51"
13165 "\x2c\xd6\xc4\x58\x23\x1c\x22\x2a"
13166 "\x59\xc5\x9b\xec\x9d\xbf\x03\x0f"
13167 "\xb3\xdd\xba\x02\x22\xa0\x34\x37"
13168 "\x19\x56\xc2\x5b\x32\x1d\x1e\x66"
13169 "\x68\xf4\x47\x05\x04\x18\xa7\x28"
13170 "\x80\xf2\xc7\x99\xed\x1e\x72\x48"
13171 "\x8f\x97\x5d\xb3\x74\x42\xfd\x0c"
13172 "\x0f\x5f\x29\x0c\xf1\x35\x22\x90"
13173 "\xd6\x7c\xb8\xa3\x2a\x89\x38\x71"
13174 "\xe9\x7a\x55\x3c\x3b\xf2\x6e\x1a"
13175 "\x22\x8f\x07\x81\xc1\xe1\xf1\x76"
13176 "\x2a\x75\xab\x86\xc4\xcc\x52\x59"
13177 "\x83\x19\x5e\xb3\x53\xe2\x81\xdf"
13178 "\xe6\x15\xb3\xba\x0c\x0e\xba"
13179 "\xa9\x2c\xed\x51\xd5\x06\xc8\xc6"
13180 "\x4b\x9f\x5d\x1b\x61\x31\xad\xf4",
13181 .clen = 735,
13182 }
13183};
13184
13185static const struct hash_testvec sm4_cbcmac_tv_template[] = {
13186 {
13187 .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
13188 "\x77\x66\x55\x44\x33\x22\x11\x00",
13189 .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13190 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13191 .digest = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
13192 "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
13193 .psize = 16,
13194 .ksize = 16,
13195 }, {
13196 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13197 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
13198 .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13199 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13200 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13201 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13202 "\xee",
13203 .digest = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
13204 "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
13205 .psize = 33,
13206 .ksize = 16,
13207 }, {
13208 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13209 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
13210 .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
13211 "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
13212 "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
13213 "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
13214 "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
13215 "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
13216 "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
13217 "\xfd\xdb\xb1\x9b\x76\x5c\x37",
13218 .digest = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
13219 "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
13220 .psize = 63,
13221 .ksize = 16,
13222 }
13223};
13224
13225static const struct hash_testvec sm4_cmac128_tv_template[] = {
13226 {
13227 .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
13228 "\x77\x66\x55\x44\x33\x22\x11\x00",
13229 .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13230 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
13231 .digest = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
13232 "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
13233 .psize = 16,
13234 .ksize = 16,
13235 }, {
13236 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13237 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
13238 .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13239 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13240 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13241 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13242 "\xee",
13243 .digest = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
13244 "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
13245 .psize = 33,
13246 .ksize = 16,
13247 }, {
13248 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
13249 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
13250 .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
13251 "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
13252 "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
13253 "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
13254 "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
13255 "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
13256 "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
13257 "\xfd\xdb\xb1\x9b\x76\x5c\x37",
13258 .digest = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
13259 "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
13260 .psize = 63,
13261 .ksize = 16,
13262 }
13263};
13264
13265static const struct hash_testvec sm4_xcbc128_tv_template[] = {
13266 { /* Generated from AES-XCBC128 test vectors */
13267 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13268 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13269 .plaintext = zeroed_string,
13270 .digest = "\xa9\x9a\x5c\x44\xe2\x34\xee\x2c"
13271 "\x9b\xe4\x9d\xca\x64\xb0\xa5\xc4",
13272 .psize = 0,
13273 .ksize = 16,
13274 }, {
13275 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13276 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13277 .plaintext = "\x00\x01\x02",
13278 .digest = "\x17\x27\x62\xf3\x8b\x88\x1d\xc0"
13279 "\x97\x35\x9c\x3e\x9f\x27\xb7\x83",
13280 .psize = 3,
13281 .ksize = 16,
13282 } , {
13283 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13284 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13285 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13286 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13287 .digest = "\xda\x45\xd1\xac\xec\x4d\xab\x46"
13288 "\xdd\x59\xe0\x44\xff\x59\xd5\xfc",
13289 .psize = 16,
13290 .ksize = 16,
13291 }, {
13292 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13293 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13294 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13295 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13296 "\x10\x11\x12\x13",
13297 .digest = "\xbe\x24\x5d\x81\x8c\x8a\x10\xa4"
13298 "\x8e\xc2\x16\xfa\xa4\x83\xc9\x2a",
13299 .psize = 20,
13300 .ksize = 16,
13301 }, {
13302 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13303 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13304 .plaintext = "\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 .digest = "\x91\x82\x31\x56\xd5\x77\xa4\xc5"
13309 "\x88\x2d\xce\x3a\x87\x5e\xbd\xba",
13310 .psize = 32,
13311 .ksize = 16,
13312 }, {
13313 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13314 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13315 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13316 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13317 "\x10\x11\x12\x13\x14\x15\x16\x17"
13318 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13319 "\x20\x21",
13320 .digest = "\x2a\xae\xa5\x24\x0c\x12\x9f\x5f"
13321 "\x55\xfb\xae\x35\x13\x0d\x22\x2d",
13322 .psize = 34,
13323 .ksize = 16,
13324 }
13325};
13326
13327/* Cast6 test vectors from RFC 2612 */
13328static const struct cipher_testvec cast6_tv_template[] = {
13329 {
13330 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13331 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13332 .klen = 16,
13333 .ptext = zeroed_string,
13334 .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13335 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13336 .len = 16,
13337 }, {
13338 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13339 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13340 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13341 .klen = 24,
13342 .ptext = zeroed_string,
13343 .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13344 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13345 .len = 16,
13346 }, {
13347 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13348 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13349 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13350 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13351 .klen = 32,
13352 .ptext = zeroed_string,
13353 .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13354 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13355 .len = 16,
13356 }, { /* Generated from TF test vectors */
13357 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13358 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13359 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13360 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13361 .klen = 32,
13362 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13363 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13364 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13365 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13366 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13367 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13368 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13369 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13370 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13371 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13372 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13373 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13374 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13375 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13376 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13377 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13378 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13379 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13380 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13381 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13382 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13383 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13384 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13385 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13386 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13387 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13388 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13389 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13390 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13391 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13392 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13393 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13394 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13395 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13396 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13397 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13398 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13399 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13400 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13401 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13402 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13403 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13404 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13405 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13406 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13407 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13408 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13409 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13410 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13411 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13412 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13413 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13414 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13415 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13416 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13417 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13418 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13419 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13420 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13421 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13422 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13423 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13424 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13425 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13426 .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13427 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13428 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13429 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13430 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13431 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13432 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13433 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13434 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13435 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13436 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13437 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13438 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13439 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13440 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13441 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13442 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13443 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13444 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13445 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13446 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13447 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13448 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13449 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13450 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13451 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13452 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13453 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13454 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13455 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13456 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13457 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13458 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13459 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13460 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13461 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13462 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13463 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13464 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13465 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13466 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13467 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13468 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13469 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13470 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13471 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13472 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13473 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13474 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13475 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13476 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13477 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13478 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13479 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13480 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13481 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13482 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13483 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13484 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13485 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13486 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13487 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13488 .len = 496,
13489 },
13490};
13491
13492static const struct cipher_testvec cast6_cbc_tv_template[] = {
13493 { /* Generated from TF test vectors */
13494 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13495 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13496 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13497 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13498 .klen = 32,
13499 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13500 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13501 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
13502 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
13503 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13504 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13505 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13506 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13507 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13508 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13509 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13510 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13511 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13512 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13513 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13514 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13515 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13516 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13517 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13518 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13519 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13520 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13521 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13522 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13523 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13524 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13525 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13526 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13527 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13528 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13529 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13530 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13531 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13532 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13533 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13534 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13535 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13536 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13537 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13538 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13539 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13540 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13541 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13542 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13543 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13544 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13545 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13546 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13547 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13548 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13549 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13550 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13551 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13552 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13553 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13554 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13555 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13556 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13557 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13558 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13559 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13560 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13561 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13562 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13563 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13564 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13565 .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
13566 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
13567 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
13568 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
13569 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
13570 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
13571 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
13572 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
13573 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
13574 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
13575 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
13576 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
13577 "\x23\x16\x47\x72\x81\x13\x3A\x72"
13578 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
13579 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
13580 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
13581 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
13582 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
13583 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
13584 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
13585 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
13586 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
13587 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
13588 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
13589 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
13590 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
13591 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
13592 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
13593 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
13594 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
13595 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
13596 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
13597 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
13598 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
13599 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
13600 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
13601 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
13602 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
13603 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
13604 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
13605 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
13606 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
13607 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
13608 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
13609 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
13610 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
13611 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
13612 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
13613 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
13614 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
13615 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
13616 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
13617 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
13618 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
13619 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
13620 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
13621 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
13622 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
13623 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
13624 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
13625 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
13626 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
13627 .len = 496,
13628 },
13629};
13630
13631static const struct cipher_testvec cast6_ctr_tv_template[] = {
13632 { /* Generated from TF test vectors */
13633 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13634 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13635 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13636 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13637 .klen = 32,
13638 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13639 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13640 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13641 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
13642 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13643 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13644 "\x3A",
13645 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
13646 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
13647 "\x57",
13648 .len = 17,
13649 }, { /* Generated from TF test vectors */
13650 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13651 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13652 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13653 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13654 .klen = 32,
13655 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13656 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13657 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13658 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
13659 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13660 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13661 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13662 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13663 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13664 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13665 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13666 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13667 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13668 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13669 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13670 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13671 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13672 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13673 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13674 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13675 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13676 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13677 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13678 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13679 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13680 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13681 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13682 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13683 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13684 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13685 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13686 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13687 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13688 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13689 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13690 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13691 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13692 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13693 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13694 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13695 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13696 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13697 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13698 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13699 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13700 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13701 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13702 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13703 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13704 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13705 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13706 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13707 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13708 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13709 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13710 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13711 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13712 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13713 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13714 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13715 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13716 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13717 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13718 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13719 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13720 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13721 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
13722 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
13723 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
13724 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
13725 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
13726 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
13727 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
13728 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
13729 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
13730 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
13731 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
13732 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
13733 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
13734 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
13735 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
13736 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
13737 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
13738 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
13739 "\x49\x61\x22\x52\x64\x8C\x46\x41"
13740 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
13741 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
13742 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
13743 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
13744 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
13745 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
13746 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
13747 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
13748 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
13749 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
13750 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
13751 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
13752 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
13753 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
13754 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
13755 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
13756 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
13757 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
13758 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
13759 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
13760 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
13761 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
13762 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
13763 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
13764 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
13765 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
13766 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
13767 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
13768 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
13769 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
13770 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
13771 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
13772 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
13773 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
13774 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
13775 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
13776 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
13777 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
13778 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
13779 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
13780 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
13781 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
13782 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
13783 .len = 496,
13784 },
13785};
13786
13787static const struct cipher_testvec cast6_lrw_tv_template[] = {
13788 { /* Generated from TF test vectors */
13789 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13790 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13791 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13792 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13793 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13794 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13795 .klen = 48,
13796 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13797 "\x00\x00\x00\x00\x00\x00\x00\x01",
13798 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13799 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13800 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13801 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13802 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13803 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13804 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13805 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13806 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13807 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13808 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13809 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13810 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13811 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13812 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13813 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13814 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13815 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13816 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13817 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13818 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13819 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13820 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13821 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13822 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13823 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13824 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13825 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13826 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13827 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13828 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13829 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13830 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13831 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13832 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13833 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13834 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13835 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13836 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13837 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13838 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13839 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13840 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13841 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13842 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13843 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13844 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13845 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13846 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13847 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13848 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13849 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13850 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13851 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13852 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13853 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13854 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13855 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13856 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13857 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13858 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13859 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13860 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13861 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13862 .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
13863 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
13864 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
13865 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
13866 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
13867 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
13868 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
13869 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
13870 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
13871 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
13872 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
13873 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
13874 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
13875 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
13876 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
13877 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
13878 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
13879 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
13880 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
13881 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
13882 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
13883 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
13884 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
13885 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
13886 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
13887 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
13888 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
13889 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
13890 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
13891 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
13892 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
13893 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
13894 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
13895 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
13896 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
13897 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
13898 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
13899 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
13900 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
13901 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
13902 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
13903 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
13904 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
13905 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
13906 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
13907 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
13908 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
13909 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
13910 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
13911 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
13912 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
13913 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
13914 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
13915 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
13916 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
13917 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
13918 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
13919 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
13920 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
13921 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
13922 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
13923 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
13924 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
13925 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
13926 .len = 512,
13927 },
13928};
13929
13930static const struct cipher_testvec cast6_xts_tv_template[] = {
13931 { /* Generated from TF test vectors */
13932 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13933 "\x23\x53\x60\x28\x74\x71\x35\x26"
13934 "\x62\x49\x77\x57\x24\x70\x93\x69"
13935 "\x99\x59\x57\x49\x66\x96\x76\x27"
13936 "\x31\x41\x59\x26\x53\x58\x97\x93"
13937 "\x23\x84\x62\x64\x33\x83\x27\x95"
13938 "\x02\x88\x41\x97\x16\x93\x99\x37"
13939 "\x51\x05\x82\x09\x74\x94\x45\x92",
13940 .klen = 64,
13941 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13942 "\x00\x00\x00\x00\x00\x00\x00\x00",
13943 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13944 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13945 "\x10\x11\x12\x13\x14\x15\x16\x17"
13946 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13947 "\x20\x21\x22\x23\x24\x25\x26\x27"
13948 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13949 "\x30\x31\x32\x33\x34\x35\x36\x37"
13950 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13951 "\x40\x41\x42\x43\x44\x45\x46\x47"
13952 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13953 "\x50\x51\x52\x53\x54\x55\x56\x57"
13954 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13955 "\x60\x61\x62\x63\x64\x65\x66\x67"
13956 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13957 "\x70\x71\x72\x73\x74\x75\x76\x77"
13958 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13959 "\x80\x81\x82\x83\x84\x85\x86\x87"
13960 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13961 "\x90\x91\x92\x93\x94\x95\x96\x97"
13962 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13963 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13964 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13965 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13966 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13967 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13968 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13969 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13970 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13971 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13972 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13973 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13974 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13975 "\x00\x01\x02\x03\x04\x05\x06\x07"
13976 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13977 "\x10\x11\x12\x13\x14\x15\x16\x17"
13978 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13979 "\x20\x21\x22\x23\x24\x25\x26\x27"
13980 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13981 "\x30\x31\x32\x33\x34\x35\x36\x37"
13982 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13983 "\x40\x41\x42\x43\x44\x45\x46\x47"
13984 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13985 "\x50\x51\x52\x53\x54\x55\x56\x57"
13986 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13987 "\x60\x61\x62\x63\x64\x65\x66\x67"
13988 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13989 "\x70\x71\x72\x73\x74\x75\x76\x77"
13990 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13991 "\x80\x81\x82\x83\x84\x85\x86\x87"
13992 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13993 "\x90\x91\x92\x93\x94\x95\x96\x97"
13994 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13995 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13996 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13997 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13998 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13999 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14000 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14001 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14002 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14003 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14004 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14005 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14006 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14007 .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
14008 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
14009 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
14010 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
14011 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
14012 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
14013 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
14014 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
14015 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
14016 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
14017 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
14018 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
14019 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
14020 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
14021 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
14022 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
14023 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
14024 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
14025 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
14026 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
14027 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
14028 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
14029 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
14030 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
14031 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
14032 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
14033 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
14034 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
14035 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
14036 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
14037 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
14038 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
14039 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
14040 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
14041 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
14042 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
14043 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
14044 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
14045 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
14046 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
14047 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
14048 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
14049 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
14050 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
14051 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
14052 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
14053 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
14054 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
14055 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
14056 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
14057 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
14058 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
14059 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
14060 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
14061 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
14062 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
14063 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
14064 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
14065 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
14066 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
14067 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
14068 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
14069 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
14070 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
14071 .len = 512,
14072 },
14073};
14074
14075/*
14076 * AES test vectors.
14077 */
14078static const struct cipher_testvec aes_tv_template[] = {
14079 { /* From FIPS-197 */
14080 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14081 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14082 .klen = 16,
14083 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
14084 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14085 .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
14086 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
14087 .len = 16,
14088 }, {
14089 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14090 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14091 "\x10\x11\x12\x13\x14\x15\x16\x17",
14092 .klen = 24,
14093 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
14094 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14095 .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
14096 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
14097 .len = 16,
14098 }, {
14099 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14100 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14101 "\x10\x11\x12\x13\x14\x15\x16\x17"
14102 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14103 .klen = 32,
14104 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
14105 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
14106 .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
14107 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
14108 .len = 16,
14109 }, { /* Generated with Crypto++ */
14110 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
14111 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
14112 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
14113 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
14114 .klen = 32,
14115 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
14116 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
14117 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
14118 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
14119 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
14120 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
14121 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
14122 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
14123 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
14124 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
14125 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
14126 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
14127 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
14128 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
14129 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
14130 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
14131 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
14132 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
14133 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
14134 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
14135 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
14136 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
14137 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
14138 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
14139 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
14140 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
14141 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
14142 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
14143 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
14144 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
14145 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
14146 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
14147 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
14148 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
14149 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
14150 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
14151 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
14152 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
14153 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
14154 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
14155 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
14156 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
14157 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
14158 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
14159 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
14160 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
14161 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
14162 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
14163 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
14164 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
14165 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
14166 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
14167 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
14168 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
14169 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
14170 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
14171 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
14172 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
14173 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
14174 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
14175 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
14176 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
14177 .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
14178 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
14179 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
14180 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
14181 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
14182 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
14183 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
14184 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
14185 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
14186 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
14187 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
14188 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
14189 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
14190 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
14191 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
14192 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
14193 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
14194 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
14195 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
14196 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
14197 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
14198 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
14199 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
14200 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
14201 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
14202 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
14203 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
14204 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
14205 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
14206 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
14207 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
14208 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
14209 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
14210 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
14211 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
14212 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
14213 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
14214 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
14215 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
14216 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
14217 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
14218 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
14219 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
14220 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
14221 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
14222 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
14223 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
14224 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
14225 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
14226 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
14227 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
14228 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
14229 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
14230 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
14231 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
14232 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
14233 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
14234 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
14235 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
14236 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
14237 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
14238 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
14239 .len = 496,
14240 },
14241};
14242
14243static const struct cipher_testvec aes_cbc_tv_template[] = {
14244 { /* From RFC 3602 */
14245 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14246 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14247 .klen = 16,
14248 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14249 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14250 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14251 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
14252 .ptext = "Single block msg",
14253 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14254 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
14255 .len = 16,
14256 }, {
14257 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14258 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14259 .klen = 16,
14260 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14261 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14262 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14263 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
14264 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14265 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14266 "\x10\x11\x12\x13\x14\x15\x16\x17"
14267 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14268 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14269 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14270 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14271 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
14272 .len = 32,
14273 }, { /* From NIST SP800-38A */
14274 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14275 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14276 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14277 .klen = 24,
14278 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14279 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14280 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14281 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
14282 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14283 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14284 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14285 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14286 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14287 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14288 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14289 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14290 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14291 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14292 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14293 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14294 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14295 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14296 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14297 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
14298 .len = 64,
14299 }, {
14300 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14301 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14302 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14303 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14304 .klen = 32,
14305 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14306 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14307 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14308 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
14309 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14310 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14311 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14312 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14313 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14314 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14315 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14316 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14317 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14318 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14319 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14320 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14321 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14322 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14323 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14324 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
14325 .len = 64,
14326 }, { /* Generated with Crypto++ */
14327 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
14328 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
14329 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
14330 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
14331 .klen = 32,
14332 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
14333 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
14334 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
14335 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
14336 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
14337 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
14338 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
14339 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
14340 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
14341 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
14342 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
14343 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
14344 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
14345 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
14346 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
14347 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
14348 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
14349 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
14350 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
14351 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
14352 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
14353 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
14354 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
14355 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
14356 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
14357 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
14358 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
14359 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
14360 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
14361 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
14362 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
14363 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
14364 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
14365 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
14366 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
14367 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
14368 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
14369 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
14370 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
14371 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
14372 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
14373 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
14374 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
14375 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
14376 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
14377 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
14378 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
14379 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
14380 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
14381 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
14382 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
14383 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
14384 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
14385 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
14386 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
14387 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
14388 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
14389 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
14390 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
14391 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
14392 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
14393 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
14394 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
14395 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
14396 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
14397 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
14398 .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
14399 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
14400 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
14401 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
14402 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
14403 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
14404 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
14405 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
14406 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
14407 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
14408 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
14409 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
14410 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
14411 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
14412 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
14413 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
14414 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
14415 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
14416 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
14417 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
14418 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
14419 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
14420 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
14421 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
14422 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
14423 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
14424 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
14425 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
14426 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
14427 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
14428 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
14429 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
14430 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
14431 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
14432 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
14433 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
14434 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
14435 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
14436 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
14437 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
14438 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
14439 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
14440 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
14441 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
14442 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
14443 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
14444 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
14445 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
14446 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
14447 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
14448 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
14449 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
14450 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
14451 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
14452 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
14453 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
14454 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
14455 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
14456 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
14457 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
14458 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
14459 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
14460 .len = 496,
14461 },
14462};
14463
14464static const struct aead_testvec hmac_md5_aes_cbc_tv_temp[] = {
14465 { /* RFC 3602 Case 1 */
14466#ifdef __LITTLE_ENDIAN
14467 .key = "\x08\x00" /* rta length */
14468 "\x01\x00" /* rta type */
14469#else
14470 .key = "\x00\x08" /* rta length */
14471 "\x00\x01" /* rta type */
14472#endif
14473 "\x00\x00\x00\x10" /* enc key length */
14474 "\x00\x00\x00\x00\x00\x00\x00\x00"
14475 "\x00\x00\x00\x00\x00\x00\x00\x00"
14476 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14477 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14478 .klen = 8 + 16 + 16,
14479 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14480 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14481 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14482 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14483 .alen = 16,
14484 .ptext = "Single block msg",
14485 .plen = 16,
14486 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14487 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
14488 "\x22\x10\xf2\x25\x7f\xe9\x0d\x92"
14489 "\xfc\x00\x55\xb1\xd0\xb5\x3a\x74",
14490 .clen = 16 + 16,
14491 }, { /* RFC 3602 Case 2 */
14492#ifdef __LITTLE_ENDIAN
14493 .key = "\x08\x00" /* rta length */
14494 "\x01\x00" /* rta type */
14495#else
14496 .key = "\x00\x08" /* rta length */
14497 "\x00\x01" /* rta type */
14498#endif
14499 "\x00\x00\x00\x10" /* enc key length */
14500 "\x20\x21\x22\x23\x24\x25\x26\x27"
14501 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14502 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14503 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14504 .klen = 8 + 16 + 16,
14505 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14506 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14507 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14508 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14509 .alen = 16,
14510 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14511 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14512 "\x10\x11\x12\x13\x14\x15\x16\x17"
14513 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14514 .plen = 32,
14515 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14516 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14517 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14518 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
14519 "\x31\xef\xd1\x5e\x2d\x83\xde\x59"
14520 "\x5c\x63\x6c\xd6\x6e\x96\x8c\x5b",
14521 .clen = 32 + 16,
14522 }, { /* RFC 3602 Case 3 */
14523#ifdef __LITTLE_ENDIAN
14524 .key = "\x08\x00" /* rta length */
14525 "\x01\x00" /* rta type */
14526#else
14527 .key = "\x00\x08" /* rta length */
14528 "\x00\x01" /* rta type */
14529#endif
14530 "\x00\x00\x00\x10" /* enc key length */
14531 "\x11\x22\x33\x44\x55\x66\x77\x88"
14532 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14533 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
14534 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
14535 .klen = 8 + 16 + 16,
14536 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14537 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14538 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14539 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14540 .alen = 16,
14541 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
14542 .plen = 48,
14543 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
14544 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
14545 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
14546 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
14547 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
14548 "\x85\x79\x69\x5d\x83\xba\x26\x84"
14549 "\xa1\x9e\xc5\x65\x43\xc5\x51\x70"
14550 "\xb5\xc8\x38\xce\xbb\x3b\xc6\x0f",
14551 .clen = 48 + 16,
14552 }, { /* RFC 3602 Case 4 */
14553#ifdef __LITTLE_ENDIAN
14554 .key = "\x08\x00" /* rta length */
14555 "\x01\x00" /* rta type */
14556#else
14557 .key = "\x00\x08" /* rta length */
14558 "\x00\x01" /* rta type */
14559#endif
14560 "\x00\x00\x00\x10" /* enc key length */
14561 "\x11\x22\x33\x44\x55\x66\x77\x88"
14562 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14563 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
14564 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
14565 .klen = 8 + 16 + 16,
14566 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14567 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14568 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14569 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14570 .alen = 16,
14571 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14572 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14573 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14574 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14575 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14576 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14577 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14578 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
14579 .plen = 64,
14580 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
14581 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
14582 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
14583 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
14584 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
14585 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
14586 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
14587 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
14588 "\x19\x90\xcc\x2c\x6d\x76\x0f\xd6"
14589 "\x6c\x54\x09\xb1\x3e\x98\x0c\x11",
14590 .clen = 64 + 16,
14591 }, { /* RFC 3602 Case 5 */
14592#ifdef __LITTLE_ENDIAN
14593 .key = "\x08\x00" /* rta length */
14594 "\x01\x00" /* rta type */
14595#else
14596 .key = "\x00\x08" /* rta length */
14597 "\x00\x01" /* rta type */
14598#endif
14599 "\x00\x00\x00\x10" /* enc key length */
14600 "\x11\x22\x33\x44\x55\x66\x77\x88"
14601 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14602 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
14603 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
14604 .klen = 8 + 16 + 16,
14605 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14606 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14607 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14608 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14609 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14610 .alen = 24,
14611 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
14612 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
14613 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14614 "\x10\x11\x12\x13\x14\x15\x16\x17"
14615 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14616 "\x20\x21\x22\x23\x24\x25\x26\x27"
14617 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14618 "\x30\x31\x32\x33\x34\x35\x36\x37"
14619 "\x01\x02\x03\x04\x05\x06\x07\x08"
14620 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
14621 .plen = 80,
14622 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
14623 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
14624 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
14625 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
14626 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
14627 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
14628 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
14629 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
14630 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
14631 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
14632 "\x9f\x6f\xa4\x85\x28\xf1\xc9\xea"
14633 "\xe1\xd0\x7d\x30\x4a\xd0\x81\x12",
14634 .clen = 80 + 16,
14635 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
14636#ifdef __LITTLE_ENDIAN
14637 .key = "\x08\x00" /* rta length */
14638 "\x01\x00" /* rta type */
14639#else
14640 .key = "\x00\x08" /* rta length */
14641 "\x00\x01" /* rta type */
14642#endif
14643 "\x00\x00\x00\x18" /* enc key length */
14644 "\x11\x22\x33\x44\x55\x66\x77\x88"
14645 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14646 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14647 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14648 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14649 .klen = 8 + 16 + 24,
14650 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14651 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14652 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
14653 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14654 .alen = 16,
14655 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14656 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14657 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14658 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14659 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14660 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14661 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14662 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14663 .plen = 64,
14664 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14665 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14666 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14667 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14668 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14669 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14670 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14671 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
14672 "\xc3\x46\xe5\x2c\x07\x27\x50\xca"
14673 "\x50\x4a\x83\x5f\x72\xd9\x76\x8d",
14674 .clen = 64 + 16,
14675 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
14676#ifdef __LITTLE_ENDIAN
14677 .key = "\x08\x00" /* rta length */
14678 "\x01\x00" /* rta type */
14679#else
14680 .key = "\x00\x08" /* rta length */
14681 "\x00\x01" /* rta type */
14682#endif
14683 "\x00\x00\x00\x20" /* enc key length */
14684 "\x11\x22\x33\x44\x55\x66\x77\x88"
14685 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14686 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14687 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14688 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14689 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14690 .klen = 8 + 16 + 32,
14691 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14692 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14693 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
14694 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14695 .alen = 16,
14696 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14697 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14698 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14699 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14700 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14701 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14702 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14703 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14704 .plen = 64,
14705 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14706 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14707 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14708 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14709 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14710 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14711 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14712 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
14713 "\x59\x62\x06\x71\x57\xdf\x18\x15"
14714 "\x32\x02\xfa\xce\x2c\xd2\x1a\x8d",
14715 .clen = 64 + 16,
14716 },
14717};
14718
14719static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
14720 { /* Input data from RFC 2410 Case 1 */
14721#ifdef __LITTLE_ENDIAN
14722 .key = "\x08\x00" /* rta length */
14723 "\x01\x00" /* rta type */
14724#else
14725 .key = "\x00\x08" /* rta length */
14726 "\x00\x01" /* rta type */
14727#endif
14728 "\x00\x00\x00\x00" /* enc key length */
14729 "\x00\x00\x00\x00\x00\x00\x00\x00"
14730 "\x00\x00\x00\x00\x00\x00\x00\x00",
14731 .klen = 8 + 16 + 0,
14732 .iv = "",
14733 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
14734 .plen = 8,
14735 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14736 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
14737 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
14738 .clen = 8 + 16,
14739 }, { /* Input data from RFC 2410 Case 2 */
14740#ifdef __LITTLE_ENDIAN
14741 .key = "\x08\x00" /* rta length */
14742 "\x01\x00" /* rta type */
14743#else
14744 .key = "\x00\x08" /* rta length */
14745 "\x00\x01" /* rta type */
14746#endif
14747 "\x00\x00\x00\x00" /* enc key length */
14748 "\x00\x00\x00\x00\x00\x00\x00\x00"
14749 "\x00\x00\x00\x00\x00\x00\x00\x00",
14750 .klen = 8 + 16 + 0,
14751 .iv = "",
14752 .ptext = "Network Security People Have A Strange Sense Of Humor",
14753 .plen = 53,
14754 .ctext = "Network Security People Have A Strange Sense Of Humor"
14755 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
14756 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
14757 .clen = 53 + 16,
14758 },
14759};
14760
14761static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
14762 { /* RFC 3602 Case 1 */
14763#ifdef __LITTLE_ENDIAN
14764 .key = "\x08\x00" /* rta length */
14765 "\x01\x00" /* rta type */
14766#else
14767 .key = "\x00\x08" /* rta length */
14768 "\x00\x01" /* rta type */
14769#endif
14770 "\x00\x00\x00\x10" /* enc key length */
14771 "\x00\x00\x00\x00\x00\x00\x00\x00"
14772 "\x00\x00\x00\x00\x00\x00\x00\x00"
14773 "\x00\x00\x00\x00"
14774 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14775 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14776 .klen = 8 + 20 + 16,
14777 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14778 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14779 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14780 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14781 .alen = 16,
14782 .ptext = "Single block msg",
14783 .plen = 16,
14784 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14785 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
14786 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
14787 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
14788 "\x03\x71\xa2\x06",
14789 .clen = 16 + 20,
14790 }, { /* RFC 3602 Case 2 */
14791#ifdef __LITTLE_ENDIAN
14792 .key = "\x08\x00" /* rta length */
14793 "\x01\x00" /* rta type */
14794#else
14795 .key = "\x00\x08" /* rta length */
14796 "\x00\x01" /* rta type */
14797#endif
14798 "\x00\x00\x00\x10" /* enc key length */
14799 "\x20\x21\x22\x23\x24\x25\x26\x27"
14800 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14801 "\x30\x31\x32\x33"
14802 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14803 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14804 .klen = 8 + 20 + 16,
14805 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14806 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14807 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14808 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14809 .alen = 16,
14810 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14811 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14812 "\x10\x11\x12\x13\x14\x15\x16\x17"
14813 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14814 .plen = 32,
14815 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14816 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14817 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14818 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
14819 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
14820 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
14821 "\x65\x39\xf8\xde",
14822 .clen = 32 + 20,
14823 }, { /* RFC 3602 Case 3 */
14824#ifdef __LITTLE_ENDIAN
14825 .key = "\x08\x00" /* rta length */
14826 "\x01\x00" /* rta type */
14827#else
14828 .key = "\x00\x08" /* rta length */
14829 "\x00\x01" /* rta type */
14830#endif
14831 "\x00\x00\x00\x10" /* enc key length */
14832 "\x11\x22\x33\x44\x55\x66\x77\x88"
14833 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14834 "\x22\x33\x44\x55"
14835 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
14836 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
14837 .klen = 8 + 20 + 16,
14838 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14839 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14840 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14841 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14842 .alen = 16,
14843 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
14844 .plen = 48,
14845 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
14846 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
14847 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
14848 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
14849 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
14850 "\x85\x79\x69\x5d\x83\xba\x26\x84"
14851 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
14852 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
14853 "\x8d\x62\xf2\x1e",
14854 .clen = 48 + 20,
14855 }, { /* RFC 3602 Case 4 */
14856#ifdef __LITTLE_ENDIAN
14857 .key = "\x08\x00" /* rta length */
14858 "\x01\x00" /* rta type */
14859#else
14860 .key = "\x00\x08" /* rta length */
14861 "\x00\x01" /* rta type */
14862#endif
14863 "\x00\x00\x00\x10" /* enc key length */
14864 "\x11\x22\x33\x44\x55\x66\x77\x88"
14865 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14866 "\x22\x33\x44\x55"
14867 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
14868 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
14869 .klen = 8 + 20 + 16,
14870 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14871 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14872 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14873 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14874 .alen = 16,
14875 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14876 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14877 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14878 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14879 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14880 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14881 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14882 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
14883 .plen = 64,
14884 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
14885 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
14886 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
14887 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
14888 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
14889 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
14890 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
14891 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
14892 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
14893 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
14894 "\x1d\xbe\xc6\xe9",
14895 .clen = 64 + 20,
14896 }, { /* RFC 3602 Case 5 */
14897#ifdef __LITTLE_ENDIAN
14898 .key = "\x08\x00" /* rta length */
14899 "\x01\x00" /* rta type */
14900#else
14901 .key = "\x00\x08" /* rta length */
14902 "\x00\x01" /* rta type */
14903#endif
14904 "\x00\x00\x00\x10" /* enc key length */
14905 "\x11\x22\x33\x44\x55\x66\x77\x88"
14906 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14907 "\x22\x33\x44\x55"
14908 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
14909 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
14910 .klen = 8 + 20 + 16,
14911 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14912 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14913 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14914 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14915 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14916 .alen = 24,
14917 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
14918 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
14919 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14920 "\x10\x11\x12\x13\x14\x15\x16\x17"
14921 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14922 "\x20\x21\x22\x23\x24\x25\x26\x27"
14923 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14924 "\x30\x31\x32\x33\x34\x35\x36\x37"
14925 "\x01\x02\x03\x04\x05\x06\x07\x08"
14926 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
14927 .plen = 80,
14928 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
14929 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
14930 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
14931 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
14932 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
14933 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
14934 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
14935 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
14936 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
14937 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
14938 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
14939 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
14940 "\x85\xe1\x59\xf7",
14941 .clen = 80 + 20,
14942 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
14943#ifdef __LITTLE_ENDIAN
14944 .key = "\x08\x00" /* rta length */
14945 "\x01\x00" /* rta type */
14946#else
14947 .key = "\x00\x08" /* rta length */
14948 "\x00\x01" /* rta type */
14949#endif
14950 "\x00\x00\x00\x18" /* enc key length */
14951 "\x11\x22\x33\x44\x55\x66\x77\x88"
14952 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14953 "\x22\x33\x44\x55"
14954 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14955 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14956 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14957 .klen = 8 + 20 + 24,
14958 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14959 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14960 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
14961 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14962 .alen = 16,
14963 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14964 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14965 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14966 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14967 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14968 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14969 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14970 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14971 .plen = 64,
14972 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14973 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14974 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14975 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14976 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14977 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14978 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14979 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
14980 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
14981 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
14982 "\x47\x4c\xfc\x36",
14983 .clen = 64 + 20,
14984 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
14985#ifdef __LITTLE_ENDIAN
14986 .key = "\x08\x00" /* rta length */
14987 "\x01\x00" /* rta type */
14988#else
14989 .key = "\x00\x08" /* rta length */
14990 "\x00\x01" /* rta type */
14991#endif
14992 "\x00\x00\x00\x20" /* enc key length */
14993 "\x11\x22\x33\x44\x55\x66\x77\x88"
14994 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14995 "\x22\x33\x44\x55"
14996 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14997 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14998 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14999 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15000 .klen = 8 + 20 + 32,
15001 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15002 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15003 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
15004 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15005 .alen = 16,
15006 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15007 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15008 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15009 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15010 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15011 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15012 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15013 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15014 .plen = 64,
15015 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15016 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15017 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15018 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15019 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15020 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15021 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15022 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
15023 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
15024 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
15025 "\x51\xee\xd6\x4e",
15026 .clen = 64 + 20,
15027 },
15028};
15029
15030static const struct aead_testvec hmac_sha1_aes_ctr_rfc3686_tv_temp[] = {
15031 { /* RFC 3686 Case 1 */
15032#ifdef __LITTLE_ENDIAN
15033 .key = "\x08\x00" /* rta length */
15034 "\x01\x00" /* rta type */
15035#else
15036 .key = "\x00\x08" /* rta length */
15037 "\x00\x01" /* rta type */
15038#endif
15039 "\x00\x00\x00\x14" /* enc key length */
15040 "\x00\x00\x00\x00\x00\x00\x00\x00"
15041 "\x00\x00\x00\x00\x00\x00\x00\x00"
15042 "\x00\x00\x00\x00"
15043 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
15044 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
15045 "\x00\x00\x00\x30",
15046 .klen = 8 + 20 + 20,
15047 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
15048 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
15049 .alen = 8,
15050 .ptext = "Single block msg",
15051 .plen = 16,
15052 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
15053 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
15054 "\x70\xdc\x6b\x62\x43\xa1\x2f\x08"
15055 "\xf1\xec\x93\x7d\x69\xb2\x8e\x1f"
15056 "\x0a\x97\x39\x86",
15057 .clen = 16 + 20,
15058 }, { /* RFC 3686 Case 2 */
15059#ifdef __LITTLE_ENDIAN
15060 .key = "\x08\x00" /* rta length */
15061 "\x01\x00" /* rta type */
15062#else
15063 .key = "\x00\x08" /* rta length */
15064 "\x00\x01" /* rta type */
15065#endif
15066 "\x00\x00\x00\x14" /* enc key length */
15067 "\x20\x21\x22\x23\x24\x25\x26\x27"
15068 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15069 "\x30\x31\x32\x33"
15070 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
15071 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
15072 "\x00\x6c\xb6\xdb",
15073 .klen = 8 + 20 + 20,
15074 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15075 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15076 .alen = 8,
15077 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15078 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15079 "\x10\x11\x12\x13\x14\x15\x16\x17"
15080 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15081 .plen = 32,
15082 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
15083 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
15084 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
15085 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
15086 "\x6b\x7b\x4d\x39\x36\x1c\x12\x5f"
15087 "\x72\xd2\x88\xb2\x26\xa6\xa6\xb5"
15088 "\x1d\x3a\x49\xa6",
15089 .clen = 32 + 20,
15090 }, { /* RFC 3686 Case 3 */
15091#ifdef __LITTLE_ENDIAN
15092 .key = "\x08\x00" /* rta length */
15093 "\x01\x00" /* rta type */
15094#else
15095 .key = "\x00\x08" /* rta length */
15096 "\x00\x01" /* rta type */
15097#endif
15098 "\x00\x00\x00\x14" /* enc key length */
15099 "\x11\x22\x33\x44\x55\x66\x77\x88"
15100 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15101 "\x22\x33\x44\x55"
15102 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
15103 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
15104 "\x00\xe0\x01\x7b",
15105 .klen = 8 + 20 + 20,
15106 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
15107 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
15108 .alen = 8,
15109 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15110 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15111 "\x10\x11\x12\x13\x14\x15\x16\x17"
15112 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15113 "\x20\x21\x22\x23",
15114 .plen = 36,
15115 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
15116 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
15117 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
15118 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
15119 "\x25\xb2\x07\x2f"
15120 "\x2c\x86\xa0\x90\x8e\xc1\x02\x1d"
15121 "\x51\xdc\xd6\x21\xc7\x30\xcc\x32"
15122 "\x38\x55\x47\x64",
15123 .clen = 36 + 20,
15124 }, { /* RFC 3686 Case 4 */
15125#ifdef __LITTLE_ENDIAN
15126 .key = "\x08\x00" /* rta length */
15127 "\x01\x00" /* rta type */
15128#else
15129 .key = "\x00\x08" /* rta length */
15130 "\x00\x01" /* rta type */
15131#endif
15132 "\x00\x00\x00\x1c" /* enc key length */
15133 "\x00\x00\x00\x00\x00\x00\x00\x00"
15134 "\x00\x00\x00\x00\x00\x00\x00\x00"
15135 "\x00\x00\x00\x00"
15136 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
15137 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
15138 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
15139 "\x00\x00\x00\x48",
15140 .klen = 8 + 20 + 28,
15141 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
15142 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
15143 .alen = 8,
15144 .ptext = "Single block msg",
15145 .plen = 16,
15146 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
15147 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
15148 "\xe9\x4e\x49\xf0\x6b\x8d\x58\x2b"
15149 "\x26\x7f\xf3\xab\xeb\x2f\x74\x2f"
15150 "\x45\x43\x64\xc1",
15151 .clen = 16 + 20,
15152 }, { /* RFC 3686 Case 5 */
15153#ifdef __LITTLE_ENDIAN
15154 .key = "\x08\x00" /* rta length */
15155 "\x01\x00" /* rta type */
15156#else
15157 .key = "\x00\x08" /* rta length */
15158 "\x00\x01" /* rta type */
15159#endif
15160 "\x00\x00\x00\x1c" /* enc key length */
15161 "\x20\x21\x22\x23\x24\x25\x26\x27"
15162 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15163 "\x30\x31\x32\x33"
15164 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
15165 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
15166 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
15167 "\x00\x96\xb0\x3b",
15168 .klen = 8 + 20 + 28,
15169 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
15170 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
15171 .alen = 8,
15172 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15173 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15174 "\x10\x11\x12\x13\x14\x15\x16\x17"
15175 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15176 .plen = 32,
15177 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
15178 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
15179 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
15180 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
15181 "\xab\xc4\xfa\x6d\x20\xe1\xce\x72"
15182 "\x0e\x92\x4e\x97\xaa\x4d\x30\x84"
15183 "\xb6\xd8\x4d\x3b",
15184 .clen = 32 + 20,
15185 }, { /* RFC 3686 Case 7 */
15186#ifdef __LITTLE_ENDIAN
15187 .key = "\x08\x00" /* rta length */
15188 "\x01\x00" /* rta type */
15189#else
15190 .key = "\x00\x08" /* rta length */
15191 "\x00\x01" /* rta type */
15192#endif
15193 "\x00\x00\x00\x24" /* enc key length */
15194 "\x00\x00\x00\x00\x00\x00\x00\x00"
15195 "\x00\x00\x00\x00\x00\x00\x00\x00"
15196 "\x00\x00\x00\x00"
15197 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
15198 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
15199 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
15200 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
15201 "\x00\x00\x00\x60",
15202 .klen = 8 + 20 + 36,
15203 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
15204 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
15205 .alen = 8,
15206 .ptext = "Single block msg",
15207 .plen = 16,
15208 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
15209 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
15210 "\x3d\x6c\x23\x27\xda\x0e\x7f\x29"
15211 "\xfd\x8d\x3c\x1b\xf7\x7a\x63\xd9"
15212 "\x7e\x0f\xe9\xf6",
15213 .clen = 16 + 20,
15214 }, { /* RFC 3686 Case 8 */
15215#ifdef __LITTLE_ENDIAN
15216 .key = "\x08\x00" /* rta length */
15217 "\x01\x00" /* rta type */
15218#else
15219 .key = "\x00\x08" /* rta length */
15220 "\x00\x01" /* rta type */
15221#endif
15222 "\x00\x00\x00\x24" /* enc key length */
15223 "\x20\x21\x22\x23\x24\x25\x26\x27"
15224 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15225 "\x30\x31\x32\x33"
15226 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
15227 "\x07\x96\x36\x58\x79\xef\xf8\x86"
15228 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
15229 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
15230 "\x00\xfa\xac\x24",
15231 .klen = 8 + 20 + 36,
15232 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
15233 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
15234 .alen = 8,
15235 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15236 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15237 "\x10\x11\x12\x13\x14\x15\x16\x17"
15238 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15239 .plen = 32,
15240 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
15241 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
15242 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
15243 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
15244 "\xe7\xee\x22\xa4\xdd\xbf\x5d\x44"
15245 "\x3b\x43\x1c\x69\x55\x11\xd5\xad"
15246 "\x14\x5f\x44\xa6",
15247 .clen = 32 + 20,
15248 },
15249};
15250
15251static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
15252 { /* Input data from RFC 2410 Case 1 */
15253#ifdef __LITTLE_ENDIAN
15254 .key = "\x08\x00" /* rta length */
15255 "\x01\x00" /* rta type */
15256#else
15257 .key = "\x00\x08" /* rta length */
15258 "\x00\x01" /* rta type */
15259#endif
15260 "\x00\x00\x00\x00" /* enc key length */
15261 "\x00\x00\x00\x00\x00\x00\x00\x00"
15262 "\x00\x00\x00\x00\x00\x00\x00\x00"
15263 "\x00\x00\x00\x00",
15264 .klen = 8 + 20 + 0,
15265 .iv = "",
15266 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
15267 .plen = 8,
15268 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15269 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
15270 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
15271 "\x8c\x5e\xe4\x08",
15272 .clen = 8 + 20,
15273 }, { /* Input data from RFC 2410 Case 2 */
15274#ifdef __LITTLE_ENDIAN
15275 .key = "\x08\x00" /* rta length */
15276 "\x01\x00" /* rta type */
15277#else
15278 .key = "\x00\x08" /* rta length */
15279 "\x00\x01" /* rta type */
15280#endif
15281 "\x00\x00\x00\x00" /* enc key length */
15282 "\x00\x00\x00\x00\x00\x00\x00\x00"
15283 "\x00\x00\x00\x00\x00\x00\x00\x00"
15284 "\x00\x00\x00\x00",
15285 .klen = 8 + 20 + 0,
15286 .iv = "",
15287 .ptext = "Network Security People Have A Strange Sense Of Humor",
15288 .plen = 53,
15289 .ctext = "Network Security People Have A Strange Sense Of Humor"
15290 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
15291 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
15292 "\x91\x56\xe4\xd6",
15293 .clen = 53 + 20,
15294 },
15295};
15296
15297static const struct aead_testvec hmac_sha224_aes_cbc_tv_temp[] = {
15298 { /* RFC 3602 Case 1 */
15299#ifdef __LITTLE_ENDIAN
15300 .key = "\x08\x00" /* rta length */
15301 "\x01\x00" /* rta type */
15302#else
15303 .key = "\x00\x08" /* rta length */
15304 "\x00\x01" /* rta type */
15305#endif
15306 "\x00\x00\x00\x10" /* enc key length */
15307 "\x00\x00\x00\x00\x00\x00\x00\x00"
15308 "\x00\x00\x00\x00\x00\x00\x00\x00"
15309 "\x00\x00\x00\x00\x00\x00\x00\x00"
15310 "\x00\x00\x00\x00"
15311 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15312 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15313 .klen = 8 + 28 + 16,
15314 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15315 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15316 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15317 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15318 .alen = 16,
15319 .ptext = "Single block msg",
15320 .plen = 16,
15321 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15322 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
15323 "\x17\xe8\x00\x76\x70\x71\xd1\x72"
15324 "\xf8\xd0\x91\x51\x67\xf9\xdf\xd6"
15325 "\x0d\x56\x1a\xb3\x52\x19\x85\xae"
15326 "\x46\x74\xb6\x98",
15327 .clen = 16 + 28,
15328 }, { /* RFC 3602 Case 2 */
15329#ifdef __LITTLE_ENDIAN
15330 .key = "\x08\x00" /* rta length */
15331 "\x01\x00" /* rta type */
15332#else
15333 .key = "\x00\x08" /* rta length */
15334 "\x00\x01" /* rta type */
15335#endif
15336 "\x00\x00\x00\x10" /* enc key length */
15337 "\x20\x21\x22\x23\x24\x25\x26\x27"
15338 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15339 "\x30\x31\x32\x33\x34\x35\x36\x37"
15340 "\x38\x39\x3a\x3b"
15341 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15342 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15343 .klen = 8 + 28 + 16,
15344 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15345 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15346 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15347 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15348 .alen = 16,
15349 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15350 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15351 "\x10\x11\x12\x13\x14\x15\x16\x17"
15352 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15353 .plen = 32,
15354 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15355 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15356 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15357 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
15358 "\xa1\x11\xfa\xbb\x1e\x04\x7e\xe7"
15359 "\x4c\x5f\x65\xbf\x68\x8d\x33\x9d"
15360 "\xbc\x74\x9b\xf3\x15\xf3\x8f\x8d"
15361 "\xe8\xaf\x33\xe0",
15362
15363 .clen = 32 + 28,
15364 }, { /* RFC 3602 Case 3 */
15365#ifdef __LITTLE_ENDIAN
15366 .key = "\x08\x00" /* rta length */
15367 "\x01\x00" /* rta type */
15368#else
15369 .key = "\x00\x08" /* rta length */
15370 "\x00\x01" /* rta type */
15371#endif
15372 "\x00\x00\x00\x10" /* enc key length */
15373 "\x11\x22\x33\x44\x55\x66\x77\x88"
15374 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15375 "\x22\x33\x44\x55\x66\x77\x88\x99"
15376 "\xaa\xbb\xcc\xdd"
15377 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
15378 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
15379 .klen = 8 + 28 + 16,
15380 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15381 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15382 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15383 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15384 .alen = 16,
15385 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
15386 .plen = 48,
15387 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
15388 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
15389 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
15390 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
15391 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
15392 "\x85\x79\x69\x5d\x83\xba\x26\x84"
15393 "\x60\xb3\xca\x0e\xc1\xfe\xf2\x27"
15394 "\x5a\x41\xe4\x99\xa8\x19\x56\xf1"
15395 "\x44\x98\x27\x9f\x99\xb0\x4a\xad"
15396 "\x4d\xc1\x1e\x88",
15397 .clen = 48 + 28,
15398 }, { /* RFC 3602 Case 4 */
15399#ifdef __LITTLE_ENDIAN
15400 .key = "\x08\x00" /* rta length */
15401 "\x01\x00" /* rta type */
15402#else
15403 .key = "\x00\x08" /* rta length */
15404 "\x00\x01" /* rta type */
15405#endif
15406 "\x00\x00\x00\x10" /* enc key length */
15407 "\x11\x22\x33\x44\x55\x66\x77\x88"
15408 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15409 "\x22\x33\x44\x55\x66\x77\x88\x99"
15410 "\xaa\xbb\xcc\xdd"
15411 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
15412 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
15413 .klen = 8 + 28 + 16,
15414 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15415 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15416 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15417 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15418 .alen = 16,
15419 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15420 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15421 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15422 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15423 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15424 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15425 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15426 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
15427 .plen = 64,
15428 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
15429 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
15430 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
15431 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
15432 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
15433 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
15434 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
15435 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
15436 "\xbb\xe9\x38\xf8\xb9\xbf\xcb\x7b"
15437 "\xa8\x22\x91\xea\x1e\xaf\x13\xba"
15438 "\x24\x18\x64\x9c\xcb\xb4\xa9\x16"
15439 "\x4b\x83\x9c\xec",
15440 .clen = 64 + 28,
15441 }, { /* RFC 3602 Case 5 */
15442#ifdef __LITTLE_ENDIAN
15443 .key = "\x08\x00" /* rta length */
15444 "\x01\x00" /* rta type */
15445#else
15446 .key = "\x00\x08" /* rta length */
15447 "\x00\x01" /* rta type */
15448#endif
15449 "\x00\x00\x00\x10" /* enc key length */
15450 "\x11\x22\x33\x44\x55\x66\x77\x88"
15451 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15452 "\x22\x33\x44\x55\x66\x77\x88\x99"
15453 "\xaa\xbb\xcc\xdd"
15454 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
15455 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
15456 .klen = 8 + 28 + 16,
15457 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15458 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15459 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
15460 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15461 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15462 .alen = 24,
15463 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
15464 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
15465 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15466 "\x10\x11\x12\x13\x14\x15\x16\x17"
15467 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15468 "\x20\x21\x22\x23\x24\x25\x26\x27"
15469 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15470 "\x30\x31\x32\x33\x34\x35\x36\x37"
15471 "\x01\x02\x03\x04\x05\x06\x07\x08"
15472 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
15473 .plen = 80,
15474 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
15475 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
15476 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
15477 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
15478 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
15479 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
15480 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
15481 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
15482 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
15483 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
15484 "\x04\x5e\x83\x45\xc5\x6a\x5b\xe2"
15485 "\x5e\xd8\x59\x06\xbd\xc7\xd2\x9b"
15486 "\x0b\x65\x1f\x31\xc7\xe6\x9c\x39"
15487 "\xa3\x66\xdb\xb8",
15488 .clen = 80 + 28,
15489 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
15490#ifdef __LITTLE_ENDIAN
15491 .key = "\x08\x00" /* rta length */
15492 "\x01\x00" /* rta type */
15493#else
15494 .key = "\x00\x08" /* rta length */
15495 "\x00\x01" /* rta type */
15496#endif
15497 "\x00\x00\x00\x18" /* enc key length */
15498 "\x11\x22\x33\x44\x55\x66\x77\x88"
15499 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15500 "\x22\x33\x44\x55\x66\x77\x88\x99"
15501 "\xaa\xbb\xcc\xdd"
15502 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15503 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15504 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15505 .klen = 8 + 28 + 24,
15506 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15507 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15508 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
15509 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15510 .alen = 16,
15511 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15512 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15513 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15514 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15515 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15516 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15517 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15518 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15519 .plen = 64,
15520 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15521 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15522 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15523 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15524 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15525 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15526 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15527 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
15528 "\x67\x35\xcd\x86\x94\x51\x3b\x3a"
15529 "\xaa\x07\xb1\xed\x18\x55\x62\x01"
15530 "\x95\xb2\x53\xb5\x20\x78\x16\xd7"
15531 "\xb8\x49\x7f\x96",
15532
15533 .clen = 64 + 28,
15534 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
15535#ifdef __LITTLE_ENDIAN
15536 .key = "\x08\x00" /* rta length */
15537 "\x01\x00" /* rta type */
15538#else
15539 .key = "\x00\x08" /* rta length */
15540 "\x00\x01" /* rta type */
15541#endif
15542 "\x00\x00\x00\x20" /* enc key length */
15543 "\x11\x22\x33\x44\x55\x66\x77\x88"
15544 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15545 "\x22\x33\x44\x55\x66\x77\x88\x99"
15546 "\xaa\xbb\xcc\xdd"
15547 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15548 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15549 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15550 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15551 .klen = 8 + 28 + 32,
15552 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15553 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15554 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
15555 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15556 .alen = 16,
15557 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15558 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15559 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15560 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15561 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15562 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15563 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15564 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15565 .plen = 64,
15566 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15567 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15568 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15569 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15570 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15571 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15572 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15573 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
15574 "\xe0\xe2\x3d\x3f\x55\x24\x2c\x4d"
15575 "\xb9\x13\x2a\xc0\x07\xbb\x3b\xda"
15576 "\xfd\xa4\x51\x32\x3f\x44\xb1\x13"
15577 "\x98\xf9\xbc\xb9",
15578 .clen = 64 + 28,
15579 },
15580};
15581
15582static const struct aead_testvec hmac_sha224_aes_ctr_rfc3686_tv_temp[] = {
15583 { /* RFC 3686 Case 1 */
15584#ifdef __LITTLE_ENDIAN
15585 .key = "\x08\x00" /* rta length */
15586 "\x01\x00" /* rta type */
15587#else
15588 .key = "\x00\x08" /* rta length */
15589 "\x00\x01" /* rta type */
15590#endif
15591 "\x00\x00\x00\x14" /* enc key length */
15592 "\x00\x00\x00\x00\x00\x00\x00\x00"
15593 "\x00\x00\x00\x00\x00\x00\x00\x00"
15594 "\x00\x00\x00\x00\x00\x00\x00\x00"
15595 "\x00\x00\x00\x00"
15596 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
15597 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
15598 "\x00\x00\x00\x30",
15599 .klen = 8 + 28 + 20,
15600 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
15601 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
15602 .alen = 8,
15603 .ptext = "Single block msg",
15604 .plen = 16,
15605 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
15606 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
15607 "\x36\xb4\x3b\x9c\x62\xed\xcf\x77"
15608 "\xdc\x19\x27\x3f\x92\x80\x52\xce"
15609 "\x8f\xad\x01\x0b\x79\xda\x04\x83"
15610 "\xcb\x45\x1a\x52",
15611 .clen = 16 + 28,
15612 }, { /* RFC 3686 Case 2 */
15613#ifdef __LITTLE_ENDIAN
15614 .key = "\x08\x00" /* rta length */
15615 "\x01\x00" /* rta type */
15616#else
15617 .key = "\x00\x08" /* rta length */
15618 "\x00\x01" /* rta type */
15619#endif
15620 "\x00\x00\x00\x14" /* enc key length */
15621 "\x20\x21\x22\x23\x24\x25\x26\x27"
15622 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15623 "\x30\x31\x32\x33\x34\x35\x36\x37"
15624 "\x38\x39\x3a\x3b"
15625 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
15626 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
15627 "\x00\x6c\xb6\xdb",
15628 .klen = 8 + 28 + 20,
15629 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15630 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15631 .alen = 8,
15632 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15633 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15634 "\x10\x11\x12\x13\x14\x15\x16\x17"
15635 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15636 .plen = 32,
15637 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
15638 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
15639 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
15640 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
15641 "\x7f\xe4\x8f\xa7\x06\x71\xe9\xe5"
15642 "\x16\x79\xef\xf9\x7e\x5c\x93\x4d"
15643 "\xa0\xf8\x3b\x3a\xaa\x1c\xc0\xd9"
15644 "\x6b\x48\x49\x01",
15645 .clen = 32 + 28,
15646 }, { /* RFC 3686 Case 3 */
15647#ifdef __LITTLE_ENDIAN
15648 .key = "\x08\x00" /* rta length */
15649 "\x01\x00" /* rta type */
15650#else
15651 .key = "\x00\x08" /* rta length */
15652 "\x00\x01" /* rta type */
15653#endif
15654 "\x00\x00\x00\x14" /* enc key length */
15655 "\x11\x22\x33\x44\x55\x66\x77\x88"
15656 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15657 "\x22\x33\x44\x55\x66\x77\x88\x99"
15658 "\xaa\xbb\xcc\xdd"
15659 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
15660 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
15661 "\x00\xe0\x01\x7b",
15662 .klen = 8 + 28 + 20,
15663 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
15664 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
15665 .alen = 8,
15666 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15667 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15668 "\x10\x11\x12\x13\x14\x15\x16\x17"
15669 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15670 "\x20\x21\x22\x23",
15671 .plen = 36,
15672 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
15673 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
15674 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
15675 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
15676 "\x25\xb2\x07\x2f"
15677 "\xb0\x19\x45\xee\xa7\x31\xd9\xd0"
15678 "\x74\x6b\xb8\xb1\x67\x61\x2f\x8c"
15679 "\x68\xde\xe3\xc9\x3b\x0c\x72\xda"
15680 "\x48\xba\x1b\x51",
15681 .clen = 36 + 28,
15682 }, { /* RFC 3686 Case 4 */
15683#ifdef __LITTLE_ENDIAN
15684 .key = "\x08\x00" /* rta length */
15685 "\x01\x00" /* rta type */
15686#else
15687 .key = "\x00\x08" /* rta length */
15688 "\x00\x01" /* rta type */
15689#endif
15690 "\x00\x00\x00\x1c" /* enc key length */
15691 "\x00\x00\x00\x00\x00\x00\x00\x00"
15692 "\x00\x00\x00\x00\x00\x00\x00\x00"
15693 "\x00\x00\x00\x00\x00\x00\x00\x00"
15694 "\x00\x00\x00\x00"
15695 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
15696 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
15697 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
15698 "\x00\x00\x00\x48",
15699 .klen = 8 + 28 + 28,
15700 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
15701 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
15702 .alen = 8,
15703 .ptext = "Single block msg",
15704 .plen = 16,
15705 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
15706 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
15707 "\xfd\xf5\x35\x26\x50\x3d\xdf\x80"
15708 "\x6e\xbe\xba\x8d\x56\xf3\x03\xb7"
15709 "\x27\xb8\x13\xe8\x72\x8f\xc9\x52"
15710 "\x4a\xb7\xc3\x3a",
15711 .clen = 16 + 28,
15712 }, { /* RFC 3686 Case 5 */
15713#ifdef __LITTLE_ENDIAN
15714 .key = "\x08\x00" /* rta length */
15715 "\x01\x00" /* rta type */
15716#else
15717 .key = "\x00\x08" /* rta length */
15718 "\x00\x01" /* rta type */
15719#endif
15720 "\x00\x00\x00\x1c" /* enc key length */
15721 "\x20\x21\x22\x23\x24\x25\x26\x27"
15722 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15723 "\x30\x31\x32\x33\x34\x35\x36\x37"
15724 "\x38\x39\x3a\x3b"
15725 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
15726 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
15727 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
15728 "\x00\x96\xb0\x3b",
15729 .klen = 8 + 28 + 28,
15730 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
15731 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
15732 .alen = 8,
15733 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15734 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15735 "\x10\x11\x12\x13\x14\x15\x16\x17"
15736 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15737 .plen = 32,
15738 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
15739 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
15740 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
15741 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
15742 "\x72\x89\xa8\x04\xa5\xac\x8f\x29"
15743 "\xe6\xb8\x58\xe8\xcf\x6a\x91\x89"
15744 "\xd3\x66\x3b\xdc\xce\x43\x23\xb7"
15745 "\x6a\xdd\x9d\xbd",
15746 .clen = 32 + 28,
15747 }, { /* RFC 3686 Case 7 */
15748#ifdef __LITTLE_ENDIAN
15749 .key = "\x08\x00" /* rta length */
15750 "\x01\x00" /* rta type */
15751#else
15752 .key = "\x00\x08" /* rta length */
15753 "\x00\x01" /* rta type */
15754#endif
15755 "\x00\x00\x00\x24" /* enc key length */
15756 "\x00\x00\x00\x00\x00\x00\x00\x00"
15757 "\x00\x00\x00\x00\x00\x00\x00\x00"
15758 "\x00\x00\x00\x00\x00\x00\x00\x00"
15759 "\x00\x00\x00\x00"
15760 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
15761 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
15762 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
15763 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
15764 "\x00\x00\x00\x60",
15765 .klen = 8 + 28 + 36,
15766 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
15767 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
15768 .alen = 8,
15769 .ptext = "Single block msg",
15770 .plen = 16,
15771 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
15772 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
15773 "\xfe\xdf\x6f\x62\x8a\x79\xb5\x34"
15774 "\xd0\x6f\x32\xaf\x31\x50\x5b\x1f"
15775 "\xe0\x6d\x0b\xbc\x02\x25\xee\x74"
15776 "\x7a\xdf\x97\x3c",
15777 .clen = 16 + 28,
15778 }, { /* RFC 3686 Case 8 */
15779#ifdef __LITTLE_ENDIAN
15780 .key = "\x08\x00" /* rta length */
15781 "\x01\x00" /* rta type */
15782#else
15783 .key = "\x00\x08" /* rta length */
15784 "\x00\x01" /* rta type */
15785#endif
15786 "\x00\x00\x00\x24" /* enc key length */
15787 "\x20\x21\x22\x23\x24\x25\x26\x27"
15788 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15789 "\x30\x31\x32\x33\x34\x35\x36\x37"
15790 "\x38\x39\x3a\x3b"
15791 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
15792 "\x07\x96\x36\x58\x79\xef\xf8\x86"
15793 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
15794 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
15795 "\x00\xfa\xac\x24",
15796 .klen = 8 + 28 + 36,
15797 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
15798 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
15799 .alen = 8,
15800 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15801 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15802 "\x10\x11\x12\x13\x14\x15\x16\x17"
15803 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15804 .plen = 32,
15805 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
15806 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
15807 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
15808 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
15809 "\x19\x1e\x9c\x2c\x6d\x4e\x21\xda"
15810 "\x6c\x4d\x88\x90\xf8\x5f\xa5\x9d"
15811 "\xb4\xd4\x40\xad\xfa\x67\x3f\x0e"
15812 "\x11\x12\xd6\x10",
15813 .clen = 32 + 28,
15814 },
15815};
15816
15817static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
15818 { /* RFC 3602 Case 1 */
15819#ifdef __LITTLE_ENDIAN
15820 .key = "\x08\x00" /* rta length */
15821 "\x01\x00" /* rta type */
15822#else
15823 .key = "\x00\x08" /* rta length */
15824 "\x00\x01" /* rta type */
15825#endif
15826 "\x00\x00\x00\x10" /* enc key length */
15827 "\x00\x00\x00\x00\x00\x00\x00\x00"
15828 "\x00\x00\x00\x00\x00\x00\x00\x00"
15829 "\x00\x00\x00\x00\x00\x00\x00\x00"
15830 "\x00\x00\x00\x00\x00\x00\x00\x00"
15831 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15832 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15833 .klen = 8 + 32 + 16,
15834 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15835 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15836 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15837 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15838 .alen = 16,
15839 .ptext = "Single block msg",
15840 .plen = 16,
15841 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15842 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
15843 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
15844 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
15845 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
15846 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
15847 .clen = 16 + 32,
15848 }, { /* RFC 3602 Case 2 */
15849#ifdef __LITTLE_ENDIAN
15850 .key = "\x08\x00" /* rta length */
15851 "\x01\x00" /* rta type */
15852#else
15853 .key = "\x00\x08" /* rta length */
15854 "\x00\x01" /* rta type */
15855#endif
15856 "\x00\x00\x00\x10" /* enc key length */
15857 "\x20\x21\x22\x23\x24\x25\x26\x27"
15858 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15859 "\x30\x31\x32\x33\x34\x35\x36\x37"
15860 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15861 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15862 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15863 .klen = 8 + 32 + 16,
15864 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15865 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15866 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15867 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15868 .alen = 16,
15869 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15870 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15871 "\x10\x11\x12\x13\x14\x15\x16\x17"
15872 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15873 .plen = 32,
15874 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15875 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15876 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15877 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
15878 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
15879 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
15880 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
15881 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
15882 .clen = 32 + 32,
15883 }, { /* RFC 3602 Case 3 */
15884#ifdef __LITTLE_ENDIAN
15885 .key = "\x08\x00" /* rta length */
15886 "\x01\x00" /* rta type */
15887#else
15888 .key = "\x00\x08" /* rta length */
15889 "\x00\x01" /* rta type */
15890#endif
15891 "\x00\x00\x00\x10" /* enc key length */
15892 "\x11\x22\x33\x44\x55\x66\x77\x88"
15893 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15894 "\x22\x33\x44\x55\x66\x77\x88\x99"
15895 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15896 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
15897 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
15898 .klen = 8 + 32 + 16,
15899 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15900 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15901 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
15902 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
15903 .alen = 16,
15904 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
15905 .plen = 48,
15906 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
15907 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
15908 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
15909 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
15910 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
15911 "\x85\x79\x69\x5d\x83\xba\x26\x84"
15912 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
15913 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
15914 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
15915 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
15916 .clen = 48 + 32,
15917 }, { /* RFC 3602 Case 4 */
15918#ifdef __LITTLE_ENDIAN
15919 .key = "\x08\x00" /* rta length */
15920 "\x01\x00" /* rta type */
15921#else
15922 .key = "\x00\x08" /* rta length */
15923 "\x00\x01" /* rta type */
15924#endif
15925 "\x00\x00\x00\x10" /* enc key length */
15926 "\x11\x22\x33\x44\x55\x66\x77\x88"
15927 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15928 "\x22\x33\x44\x55\x66\x77\x88\x99"
15929 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15930 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
15931 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
15932 .klen = 8 + 32 + 16,
15933 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15934 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15935 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
15936 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
15937 .alen = 16,
15938 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15939 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15940 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15941 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15942 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15943 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15944 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15945 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
15946 .plen = 64,
15947 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
15948 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
15949 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
15950 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
15951 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
15952 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
15953 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
15954 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
15955 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
15956 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
15957 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
15958 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
15959 .clen = 64 + 32,
15960 }, { /* RFC 3602 Case 5 */
15961#ifdef __LITTLE_ENDIAN
15962 .key = "\x08\x00" /* rta length */
15963 "\x01\x00" /* rta type */
15964#else
15965 .key = "\x00\x08" /* rta length */
15966 "\x00\x01" /* rta type */
15967#endif
15968 "\x00\x00\x00\x10" /* enc key length */
15969 "\x11\x22\x33\x44\x55\x66\x77\x88"
15970 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
15971 "\x22\x33\x44\x55\x66\x77\x88\x99"
15972 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
15973 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
15974 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
15975 .klen = 8 + 32 + 16,
15976 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15977 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15978 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
15979 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
15980 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
15981 .alen = 24,
15982 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
15983 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
15984 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15985 "\x10\x11\x12\x13\x14\x15\x16\x17"
15986 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15987 "\x20\x21\x22\x23\x24\x25\x26\x27"
15988 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15989 "\x30\x31\x32\x33\x34\x35\x36\x37"
15990 "\x01\x02\x03\x04\x05\x06\x07\x08"
15991 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
15992 .plen = 80,
15993 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
15994 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
15995 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
15996 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
15997 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
15998 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
15999 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16000 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16001 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16002 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16003 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16004 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16005 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16006 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16007 .clen = 80 + 32,
16008 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16009#ifdef __LITTLE_ENDIAN
16010 .key = "\x08\x00" /* rta length */
16011 "\x01\x00" /* rta type */
16012#else
16013 .key = "\x00\x08" /* rta length */
16014 "\x00\x01" /* rta type */
16015#endif
16016 "\x00\x00\x00\x18" /* enc key length */
16017 "\x11\x22\x33\x44\x55\x66\x77\x88"
16018 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16019 "\x22\x33\x44\x55\x66\x77\x88\x99"
16020 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16021 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16022 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16023 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16024 .klen = 8 + 32 + 24,
16025 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16026 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16027 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16028 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16029 .alen = 16,
16030 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16031 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16032 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16033 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16034 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16035 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16036 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16037 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16038 .plen = 64,
16039 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16040 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16041 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16042 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16043 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16044 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16045 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16046 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16047 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16048 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16049 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16050 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16051 .clen = 64 + 32,
16052 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16053#ifdef __LITTLE_ENDIAN
16054 .key = "\x08\x00" /* rta length */
16055 "\x01\x00" /* rta type */
16056#else
16057 .key = "\x00\x08" /* rta length */
16058 "\x00\x01" /* rta type */
16059#endif
16060 "\x00\x00\x00\x20" /* enc key length */
16061 "\x11\x22\x33\x44\x55\x66\x77\x88"
16062 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16063 "\x22\x33\x44\x55\x66\x77\x88\x99"
16064 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16065 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16066 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16067 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16068 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16069 .klen = 8 + 32 + 32,
16070 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16071 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16072 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16073 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16074 .alen = 16,
16075 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16076 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16077 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16078 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16079 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16080 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16081 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16082 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16083 .plen = 64,
16084 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16085 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16086 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16087 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16088 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16089 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16090 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16091 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16092 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16093 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16094 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16095 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16096 .clen = 64 + 32,
16097 },
16098};
16099
16100static const struct aead_testvec hmac_sha256_aes_ctr_rfc3686_tv_temp[] = {
16101 { /* RFC 3686 Case 1 */
16102#ifdef __LITTLE_ENDIAN
16103 .key = "\x08\x00" /* rta length */
16104 "\x01\x00" /* rta type */
16105#else
16106 .key = "\x00\x08" /* rta length */
16107 "\x00\x01" /* rta type */
16108#endif
16109 "\x00\x00\x00\x14" /* enc key length */
16110 "\x00\x00\x00\x00\x00\x00\x00\x00"
16111 "\x00\x00\x00\x00\x00\x00\x00\x00"
16112 "\x00\x00\x00\x00\x00\x00\x00\x00"
16113 "\x00\x00\x00\x00\x00\x00\x00\x00"
16114 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
16115 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
16116 "\x00\x00\x00\x30",
16117 .klen = 8 + 32 + 20,
16118 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
16119 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
16120 .alen = 8,
16121 .ptext = "Single block msg",
16122 .plen = 16,
16123 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
16124 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
16125 "\x9b\xa2\x34\x62\xe5\xb3\xe8\x2d"
16126 "\x6d\xdb\x93\x64\xa5\x08\x2e\x77"
16127 "\x72\x1f\x21\x94\xc7\xbe\x14\xa6"
16128 "\xcd\xea\x96\xa1\x29\x8f\x30\xc3",
16129 .clen = 16 + 32,
16130 }, { /* RFC 3686 Case 2 */
16131#ifdef __LITTLE_ENDIAN
16132 .key = "\x08\x00" /* rta length */
16133 "\x01\x00" /* rta type */
16134#else
16135 .key = "\x00\x08" /* rta length */
16136 "\x00\x01" /* rta type */
16137#endif
16138 "\x00\x00\x00\x14" /* enc key length */
16139 "\x20\x21\x22\x23\x24\x25\x26\x27"
16140 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16141 "\x30\x31\x32\x33\x34\x35\x36\x37"
16142 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16143 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
16144 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
16145 "\x00\x6c\xb6\xdb",
16146 .klen = 8 + 32 + 20,
16147 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
16148 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
16149 .alen = 8,
16150 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16151 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16152 "\x10\x11\x12\x13\x14\x15\x16\x17"
16153 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16154 .plen = 32,
16155 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
16156 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
16157 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
16158 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
16159 "\x22\xf7\x95\xa8\xbb\xcd\x19\xf4"
16160 "\x58\x16\x54\x28\x2b\xf4\x52\xe7"
16161 "\x5c\x6c\xe1\x44\x0b\xd5\x10\x6e"
16162 "\xe1\xf7\x04\xc4\x2c\xab\x93\xdd",
16163 .clen = 32 + 32,
16164 }, { /* RFC 3686 Case 3 */
16165#ifdef __LITTLE_ENDIAN
16166 .key = "\x08\x00" /* rta length */
16167 "\x01\x00" /* rta type */
16168#else
16169 .key = "\x00\x08" /* rta length */
16170 "\x00\x01" /* rta type */
16171#endif
16172 "\x00\x00\x00\x14" /* enc key length */
16173 "\x11\x22\x33\x44\x55\x66\x77\x88"
16174 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16175 "\x22\x33\x44\x55\x66\x77\x88\x99"
16176 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16177 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
16178 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
16179 "\x00\xe0\x01\x7b",
16180 .klen = 8 + 32 + 20,
16181 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
16182 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
16183 .alen = 8,
16184 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16185 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16186 "\x10\x11\x12\x13\x14\x15\x16\x17"
16187 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16188 "\x20\x21\x22\x23",
16189 .plen = 36,
16190 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
16191 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
16192 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
16193 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
16194 "\x25\xb2\x07\x2f"
16195 "\x1d\x05\x5f\x77\x3b\x4f\x5c\x21"
16196 "\x29\xea\xf1\xa8\x71\x49\x7b\x0b"
16197 "\x66\x0d\xff\x18\x81\x63\xfc\xc3"
16198 "\x91\xb6\x38\xc8\xcd\x2d\x39\x83",
16199 .clen = 36 + 32,
16200 }, { /* RFC 3686 Case 4 */
16201#ifdef __LITTLE_ENDIAN
16202 .key = "\x08\x00" /* rta length */
16203 "\x01\x00" /* rta type */
16204#else
16205 .key = "\x00\x08" /* rta length */
16206 "\x00\x01" /* rta type */
16207#endif
16208 "\x00\x00\x00\x1c" /* enc key length */
16209 "\x00\x00\x00\x00\x00\x00\x00\x00"
16210 "\x00\x00\x00\x00\x00\x00\x00\x00"
16211 "\x00\x00\x00\x00\x00\x00\x00\x00"
16212 "\x00\x00\x00\x00\x00\x00\x00\x00"
16213 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
16214 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
16215 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
16216 "\x00\x00\x00\x48",
16217 .klen = 8 + 32 + 28,
16218 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
16219 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
16220 .alen = 8,
16221 .ptext = "Single block msg",
16222 .plen = 16,
16223 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
16224 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
16225 "\x8d\x03\x77\xb2\x1c\xc9\xe0\xac"
16226 "\xde\x69\xbe\x8a\xef\x5b\x13\x74"
16227 "\x1d\x39\xbc\xdc\x95\xa4\xbf\xc3"
16228 "\xd5\xc6\xd1\xda\xda\x3b\xca\x78",
16229 .clen = 16 + 32,
16230 }, { /* RFC 3686 Case 5 */
16231#ifdef __LITTLE_ENDIAN
16232 .key = "\x08\x00" /* rta length */
16233 "\x01\x00" /* rta type */
16234#else
16235 .key = "\x00\x08" /* rta length */
16236 "\x00\x01" /* rta type */
16237#endif
16238 "\x00\x00\x00\x1c" /* enc key length */
16239 "\x20\x21\x22\x23\x24\x25\x26\x27"
16240 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16241 "\x30\x31\x32\x33\x34\x35\x36\x37"
16242 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16243 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
16244 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
16245 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
16246 "\x00\x96\xb0\x3b",
16247 .klen = 8 + 32 + 28,
16248 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
16249 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
16250 .alen = 8,
16251 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16252 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16253 "\x10\x11\x12\x13\x14\x15\x16\x17"
16254 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16255 .plen = 32,
16256 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
16257 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
16258 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
16259 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
16260 "\x34\x06\x2b\x3d\xf1\xa8\x3d\xf1"
16261 "\xa6\x5e\x5c\x1a\xdb\x0c\xb5\x1e"
16262 "\x8f\xdb\xf4\xca\x7d\x09\x5e\x81"
16263 "\xdb\x32\x07\x4a\x1d\x1c\x6d\x83",
16264 .clen = 32 + 32,
16265 }, { /* RFC 3686 Case 7 */
16266#ifdef __LITTLE_ENDIAN
16267 .key = "\x08\x00" /* rta length */
16268 "\x01\x00" /* rta type */
16269#else
16270 .key = "\x00\x08" /* rta length */
16271 "\x00\x01" /* rta type */
16272#endif
16273 "\x00\x00\x00\x24" /* enc key length */
16274 "\x00\x00\x00\x00\x00\x00\x00\x00"
16275 "\x00\x00\x00\x00\x00\x00\x00\x00"
16276 "\x00\x00\x00\x00\x00\x00\x00\x00"
16277 "\x00\x00\x00\x00\x00\x00\x00\x00"
16278 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
16279 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
16280 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
16281 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
16282 "\x00\x00\x00\x60",
16283 .klen = 8 + 32 + 36,
16284 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
16285 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
16286 .alen = 8,
16287 .ptext = "Single block msg",
16288 .plen = 16,
16289 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
16290 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
16291 "\xc3\xb4\x5f\xb0\xbf\xf5\x1b\xff"
16292 "\x7c\xf1\x79\x00\x63\x50\xdd\x77"
16293 "\xc0\x4a\xba\xcd\xdc\x47\x05\x2a"
16294 "\x5d\x85\x2d\x83\x44\xca\x79\x2c",
16295 .clen = 16 + 32,
16296 }, { /* RFC 3686 Case 8 */
16297#ifdef __LITTLE_ENDIAN
16298 .key = "\x08\x00" /* rta length */
16299 "\x01\x00" /* rta type */
16300#else
16301 .key = "\x00\x08" /* rta length */
16302 "\x00\x01" /* rta type */
16303#endif
16304 "\x00\x00\x00\x24" /* enc key length */
16305 "\x20\x21\x22\x23\x24\x25\x26\x27"
16306 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16307 "\x30\x31\x32\x33\x34\x35\x36\x37"
16308 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16309 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
16310 "\x07\x96\x36\x58\x79\xef\xf8\x86"
16311 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
16312 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
16313 "\x00\xfa\xac\x24",
16314 .klen = 8 + 32 + 36,
16315 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
16316 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
16317 .alen = 8,
16318 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16319 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16320 "\x10\x11\x12\x13\x14\x15\x16\x17"
16321 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16322 .plen = 32,
16323 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
16324 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
16325 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
16326 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
16327 "\xc8\x59\x5d\xe1\xba\xac\x13\x82"
16328 "\xfd\x21\x7c\x8c\x23\x31\x04\x02"
16329 "\x9e\x69\x5b\x57\xa8\x13\xe7\x21"
16330 "\x60\x0c\x24\xc2\x80\x4a\x93\x6e",
16331 .clen = 32 + 32,
16332 },
16333};
16334
16335static const struct aead_testvec hmac_sha384_aes_cbc_tv_temp[] = {
16336 { /* RFC 3602 Case 1 */
16337#ifdef __LITTLE_ENDIAN
16338 .key = "\x08\x00" /* rta length */
16339 "\x01\x00" /* rta type */
16340#else
16341 .key = "\x00\x08" /* rta length */
16342 "\x00\x01" /* rta type */
16343#endif
16344 "\x00\x00\x00\x10" /* enc key length */
16345 "\x00\x00\x00\x00\x00\x00\x00\x00"
16346 "\x00\x00\x00\x00\x00\x00\x00\x00"
16347 "\x00\x00\x00\x00\x00\x00\x00\x00"
16348 "\x00\x00\x00\x00\x00\x00\x00\x00"
16349 "\x00\x00\x00\x00\x00\x00\x00\x00"
16350 "\x00\x00\x00\x00\x00\x00\x00\x00"
16351 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16352 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16353 .klen = 8 + 48 + 16,
16354 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16355 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16356 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16357 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16358 .alen = 16,
16359 .ptext = "Single block msg",
16360 .plen = 16,
16361 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16362 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16363 "\x79\x1c\xf1\x22\x95\x80\xe0\x60"
16364 "\x7f\xf9\x92\x60\x83\xbd\x60\x9c"
16365 "\xf6\x62\x8b\xa9\x7d\x56\xe2\xaf"
16366 "\x80\x43\xbc\x41\x4a\x63\x0b\xa0"
16367 "\x16\x25\xe2\xfe\x0a\x96\xf6\xa5"
16368 "\x6c\x0b\xc2\x53\xb4\x27\xd9\x42",
16369 .clen = 16 + 48,
16370 }, { /* RFC 3602 Case 2 */
16371#ifdef __LITTLE_ENDIAN
16372 .key = "\x08\x00" /* rta length */
16373 "\x01\x00" /* rta type */
16374#else
16375 .key = "\x00\x08" /* rta length */
16376 "\x00\x01" /* rta type */
16377#endif
16378 "\x00\x00\x00\x10" /* enc key length */
16379 "\x20\x21\x22\x23\x24\x25\x26\x27"
16380 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16381 "\x30\x31\x32\x33\x34\x35\x36\x37"
16382 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16383 "\x40\x41\x42\x43\x44\x45\x46\x47"
16384 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16385 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16386 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16387 .klen = 8 + 48 + 16,
16388 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16389 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16390 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16391 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16392 .alen = 16,
16393 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16394 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16395 "\x10\x11\x12\x13\x14\x15\x16\x17"
16396 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16397 .plen = 32,
16398 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16399 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16400 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16401 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16402 "\x4e\x5b\xa8\x65\x51\xc6\x58\xaf"
16403 "\x31\x57\x50\x3d\x01\xa1\xa4\x3f"
16404 "\x42\xd1\xd7\x31\x76\x8d\xf8\xc8"
16405 "\xe4\xd2\x7e\xc5\x23\xe7\xc6\x2e"
16406 "\x2d\xfd\x9d\xc1\xac\x50\x1e\xcf"
16407 "\xa0\x10\xeb\x1a\x9c\xb7\xe1\xca",
16408 .clen = 32 + 48,
16409 }, { /* RFC 3602 Case 3 */
16410#ifdef __LITTLE_ENDIAN
16411 .key = "\x08\x00" /* rta length */
16412 "\x01\x00" /* rta type */
16413#else
16414 .key = "\x00\x08" /* rta length */
16415 "\x00\x01" /* rta type */
16416#endif
16417 "\x00\x00\x00\x10" /* enc key length */
16418 "\x11\x22\x33\x44\x55\x66\x77\x88"
16419 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16420 "\x22\x33\x44\x55\x66\x77\x88\x99"
16421 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16422 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16423 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16424 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16425 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16426 .klen = 8 + 48 + 16,
16427 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16428 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16429 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16430 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16431 .alen = 16,
16432 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
16433 .plen = 48,
16434 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16435 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16436 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16437 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16438 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16439 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16440 "\xa1\x52\xe7\xda\xf7\x05\xb6\xca"
16441 "\xad\x0f\x51\xed\x5a\xd3\x0f\xdf"
16442 "\xde\xeb\x3f\x31\xed\x3a\x43\x93"
16443 "\x3b\xb7\xca\xc8\x1b\xe7\x3b\x61"
16444 "\x6a\x05\xfd\x2d\x6a\x5c\xb1\x0d"
16445 "\x6e\x7a\xeb\x1c\x84\xec\xdb\xde",
16446 .clen = 48 + 48,
16447 }, { /* RFC 3602 Case 4 */
16448#ifdef __LITTLE_ENDIAN
16449 .key = "\x08\x00" /* rta length */
16450 "\x01\x00" /* rta type */
16451#else
16452 .key = "\x00\x08" /* rta length */
16453 "\x00\x01" /* rta type */
16454#endif
16455 "\x00\x00\x00\x10" /* enc key length */
16456 "\x11\x22\x33\x44\x55\x66\x77\x88"
16457 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16458 "\x22\x33\x44\x55\x66\x77\x88\x99"
16459 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16460 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16461 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16462 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16463 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16464 .klen = 8 + 48 + 16,
16465 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16466 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16467 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16468 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16469 .alen = 16,
16470 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16471 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16472 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16473 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16474 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16475 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16476 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16477 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16478 .plen = 64,
16479 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16480 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16481 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16482 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16483 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16484 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16485 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16486 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16487 "\x85\x7b\x91\xe0\x29\xeb\xd3\x59"
16488 "\x7c\xe3\x67\x14\xbe\x71\x2a\xd2"
16489 "\x8a\x1a\xd2\x35\x78\x6b\x69\xba"
16490 "\x64\xa5\x04\x00\x19\xc3\x4c\xae"
16491 "\x71\xff\x76\x9f\xbb\xc3\x29\x22"
16492 "\xc2\xc6\x51\xf1\xe6\x29\x5e\xa5",
16493 .clen = 64 + 48,
16494 }, { /* RFC 3602 Case 5 */
16495#ifdef __LITTLE_ENDIAN
16496 .key = "\x08\x00" /* rta length */
16497 "\x01\x00" /* rta type */
16498#else
16499 .key = "\x00\x08" /* rta length */
16500 "\x00\x01" /* rta type */
16501#endif
16502 "\x00\x00\x00\x10" /* enc key length */
16503 "\x11\x22\x33\x44\x55\x66\x77\x88"
16504 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16505 "\x22\x33\x44\x55\x66\x77\x88\x99"
16506 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16507 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16508 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16509 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16510 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16511 .klen = 8 + 48 + 16,
16512 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16513 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16514 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16515 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16516 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16517 .alen = 24,
16518 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16519 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16520 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16521 "\x10\x11\x12\x13\x14\x15\x16\x17"
16522 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16523 "\x20\x21\x22\x23\x24\x25\x26\x27"
16524 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16525 "\x30\x31\x32\x33\x34\x35\x36\x37"
16526 "\x01\x02\x03\x04\x05\x06\x07\x08"
16527 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16528 .plen = 80,
16529 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16530 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16531 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16532 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16533 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16534 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16535 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16536 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16537 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16538 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16539 "\x57\x5f\xb4\xd7\x74\x6f\x18\x97"
16540 "\xb7\xde\xfc\xf3\x4e\x0d\x29\x4d"
16541 "\xa0\xff\x39\x9e\x2d\xbf\x27\xac"
16542 "\x54\xb9\x8a\x3e\xab\x3b\xac\xd3"
16543 "\x36\x43\x74\xfc\xc2\x64\x81\x8a"
16544 "\x2c\x15\x72\xdf\x3f\x9d\x5b\xa4",
16545 .clen = 80 + 48,
16546 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16547#ifdef __LITTLE_ENDIAN
16548 .key = "\x08\x00" /* rta length */
16549 "\x01\x00" /* rta type */
16550#else
16551 .key = "\x00\x08" /* rta length */
16552 "\x00\x01" /* rta type */
16553#endif
16554 "\x00\x00\x00\x18" /* enc key length */
16555 "\x11\x22\x33\x44\x55\x66\x77\x88"
16556 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16557 "\x22\x33\x44\x55\x66\x77\x88\x99"
16558 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16559 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16560 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16561 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16562 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16563 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16564 .klen = 8 + 48 + 24,
16565 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16566 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16567 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16568 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16569 .alen = 16,
16570 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16571 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16572 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16573 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16574 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16575 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16576 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16577 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16578 .plen = 64,
16579 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16580 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16581 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16582 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16583 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16584 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16585 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16586 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16587 "\x29\x9b\x42\x47\x0b\xbf\xf3\x54"
16588 "\x54\x95\xb0\x89\xd5\xa0\xc3\x78"
16589 "\x60\x6c\x18\x39\x6d\xc9\xfb\x2a"
16590 "\x34\x1c\xed\x95\x10\x1e\x43\x0a"
16591 "\x72\xce\x26\xbc\x74\xd9\x6f\xa2"
16592 "\xf1\xd9\xd0\xb1\xdf\x3d\x93\x14",
16593 .clen = 64 + 48,
16594 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16595#ifdef __LITTLE_ENDIAN
16596 .key = "\x08\x00" /* rta length */
16597 "\x01\x00" /* rta type */
16598#else
16599 .key = "\x00\x08" /* rta length */
16600 "\x00\x01" /* rta type */
16601#endif
16602 "\x00\x00\x00\x20" /* enc key length */
16603 "\x11\x22\x33\x44\x55\x66\x77\x88"
16604 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16605 "\x22\x33\x44\x55\x66\x77\x88\x99"
16606 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16607 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16608 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16609 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16610 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16611 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16612 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16613 .klen = 8 + 48 + 32,
16614 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16615 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16616 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16617 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16618 .alen = 16,
16619 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16620 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16621 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16622 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16623 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16624 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16625 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16626 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16627 .plen = 64,
16628 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16629 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16630 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16631 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16632 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16633 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16634 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16635 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16636 "\x9f\x50\xce\x64\xd9\xa3\xc9\x7a"
16637 "\x15\x3a\x3d\x46\x9a\x90\xf3\x06"
16638 "\x22\xad\xc5\x24\x77\x50\xb8\xfe"
16639 "\xbe\x37\x16\x86\x34\x5f\xaf\x97"
16640 "\x00\x9d\x86\xc8\x32\x4f\x72\x2f"
16641 "\x48\x97\xad\xb6\xb9\x77\x33\xbc",
16642 .clen = 64 + 48,
16643 },
16644};
16645
16646static const struct aead_testvec hmac_sha384_aes_ctr_rfc3686_tv_temp[] = {
16647 { /* RFC 3686 Case 1 */
16648#ifdef __LITTLE_ENDIAN
16649 .key = "\x08\x00" /* rta length */
16650 "\x01\x00" /* rta type */
16651#else
16652 .key = "\x00\x08" /* rta length */
16653 "\x00\x01" /* rta type */
16654#endif
16655 "\x00\x00\x00\x14" /* enc key length */
16656 "\x00\x00\x00\x00\x00\x00\x00\x00"
16657 "\x00\x00\x00\x00\x00\x00\x00\x00"
16658 "\x00\x00\x00\x00\x00\x00\x00\x00"
16659 "\x00\x00\x00\x00\x00\x00\x00\x00"
16660 "\x00\x00\x00\x00\x00\x00\x00\x00"
16661 "\x00\x00\x00\x00\x00\x00\x00\x00"
16662 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
16663 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
16664 "\x00\x00\x00\x30",
16665 .klen = 8 + 48 + 20,
16666 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
16667 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
16668 .alen = 8,
16669 .ptext = "Single block msg",
16670 .plen = 16,
16671 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
16672 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
16673 "\x45\x51\x59\x72\x16\xd3\xc6\x15"
16674 "\x25\x1e\xe8\x92\x2e\x47\x52\xcc"
16675 "\x91\x9c\x24\xef\x11\xb2\x53\x00"
16676 "\x10\x20\x43\x06\xe2\x35\x88\x9e"
16677 "\x18\x32\x5a\x79\x7d\x73\x7e\x89"
16678 "\xfe\xa1\xda\xa4\x86\xc4\x2a\x04",
16679 .clen = 16 + 48,
16680 }, { /* RFC 3686 Case 2 */
16681#ifdef __LITTLE_ENDIAN
16682 .key = "\x08\x00" /* rta length */
16683 "\x01\x00" /* rta type */
16684#else
16685 .key = "\x00\x08" /* rta length */
16686 "\x00\x01" /* rta type */
16687#endif
16688 "\x00\x00\x00\x14" /* enc key length */
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 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16693 "\x40\x41\x42\x43\x44\x45\x46\x47"
16694 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16695 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
16696 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
16697 "\x00\x6c\xb6\xdb",
16698 .klen = 8 + 48 + 20,
16699 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
16700 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
16701 .alen = 8,
16702 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16703 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16704 "\x10\x11\x12\x13\x14\x15\x16\x17"
16705 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16706 .plen = 32,
16707 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
16708 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
16709 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
16710 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
16711 "\x83\x65\x32\x1e\x6b\x60\xe6\x4a"
16712 "\xe2\xab\x52\x2b\xa6\x70\x3a\xfa"
16713 "\xd2\xec\x83\xe4\x31\x0c\x28\x40"
16714 "\x9b\x5e\x18\xa4\xdc\x48\xb8\x56"
16715 "\x33\xab\x7f\x2b\xaf\xe4\x3a\xe3"
16716 "\x8a\x61\xf6\x22\xb4\x6b\xfe\x7d",
16717 .clen = 32 + 48,
16718 }, { /* RFC 3686 Case 3 */
16719#ifdef __LITTLE_ENDIAN
16720 .key = "\x08\x00" /* rta length */
16721 "\x01\x00" /* rta type */
16722#else
16723 .key = "\x00\x08" /* rta length */
16724 "\x00\x01" /* rta type */
16725#endif
16726 "\x00\x00\x00\x14" /* enc key length */
16727 "\x11\x22\x33\x44\x55\x66\x77\x88"
16728 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16729 "\x22\x33\x44\x55\x66\x77\x88\x99"
16730 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16731 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16732 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16733 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
16734 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
16735 "\x00\xe0\x01\x7b",
16736 .klen = 8 + 48 + 20,
16737 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
16738 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
16739 .alen = 8,
16740 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16741 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16742 "\x10\x11\x12\x13\x14\x15\x16\x17"
16743 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16744 "\x20\x21\x22\x23",
16745 .plen = 36,
16746 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
16747 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
16748 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
16749 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
16750 "\x25\xb2\x07\x2f"
16751 "\x4a\xaa\xad\x3b\x3b\xb6\x9a\xba"
16752 "\xa1\x7b\xc6\xce\x96\xc3\xff\x67"
16753 "\xf3\x0c\x33\x57\xf0\x51\x24\x08"
16754 "\xed\x4f\x6a\x9c\x22\x42\xbd\x18"
16755 "\x97\x74\x68\x36\x00\xf1\x69\x3a"
16756 "\x18\x77\x40\xf0\x56\xba\xba\xe0",
16757 .clen = 36 + 48,
16758 }, { /* RFC 3686 Case 4 */
16759#ifdef __LITTLE_ENDIAN
16760 .key = "\x08\x00" /* rta length */
16761 "\x01\x00" /* rta type */
16762#else
16763 .key = "\x00\x08" /* rta length */
16764 "\x00\x01" /* rta type */
16765#endif
16766 "\x00\x00\x00\x1c" /* enc key length */
16767 "\x00\x00\x00\x00\x00\x00\x00\x00"
16768 "\x00\x00\x00\x00\x00\x00\x00\x00"
16769 "\x00\x00\x00\x00\x00\x00\x00\x00"
16770 "\x00\x00\x00\x00\x00\x00\x00\x00"
16771 "\x00\x00\x00\x00\x00\x00\x00\x00"
16772 "\x00\x00\x00\x00\x00\x00\x00\x00"
16773 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
16774 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
16775 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
16776 "\x00\x00\x00\x48",
16777 .klen = 8 + 48 + 28,
16778 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
16779 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
16780 .alen = 8,
16781 .ptext = "Single block msg",
16782 .plen = 16,
16783 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
16784 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
16785 "\x36\xd6\xc7\x55\xac\xb6\x0b\x14"
16786 "\x95\x71\xf9\x86\x30\xe3\x96\xc3"
16787 "\x76\x85\x6d\xa5\x06\xed\x6f\x34"
16788 "\xcc\x1f\xcc\x2d\x88\x06\xb0\x1d"
16789 "\xbe\xd9\xa2\xd3\x64\xf1\x33\x03"
16790 "\x13\x50\x8f\xae\x61\x2d\x82\xb8",
16791 .clen = 16 + 48,
16792 }, { /* RFC 3686 Case 5 */
16793#ifdef __LITTLE_ENDIAN
16794 .key = "\x08\x00" /* rta length */
16795 "\x01\x00" /* rta type */
16796#else
16797 .key = "\x00\x08" /* rta length */
16798 "\x00\x01" /* rta type */
16799#endif
16800 "\x00\x00\x00\x1c" /* enc key length */
16801 "\x20\x21\x22\x23\x24\x25\x26\x27"
16802 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16803 "\x30\x31\x32\x33\x34\x35\x36\x37"
16804 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16805 "\x40\x41\x42\x43\x44\x45\x46\x47"
16806 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16807 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
16808 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
16809 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
16810 "\x00\x96\xb0\x3b",
16811 .klen = 8 + 48 + 28,
16812 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
16813 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
16814 .alen = 8,
16815 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16816 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16817 "\x10\x11\x12\x13\x14\x15\x16\x17"
16818 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16819 .plen = 32,
16820 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
16821 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
16822 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
16823 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
16824 "\x80\x12\x67\x22\xf2\x4d\x9b\xbf"
16825 "\xdc\x38\xd3\xaa\x12\xc0\x58\x1a"
16826 "\x9a\x62\x6e\x42\x3d\x44\x63\xdd"
16827 "\xee\x7e\xe3\xa3\xdf\x2a\x65\x05"
16828 "\xd0\xc1\xd2\x54\x55\x35\x5c\xc7"
16829 "\xb0\xb5\xb1\x36\xe0\x0b\xaf\x72",
16830 .clen = 32 + 48,
16831 }, { /* RFC 3686 Case 7 */
16832#ifdef __LITTLE_ENDIAN
16833 .key = "\x08\x00" /* rta length */
16834 "\x01\x00" /* rta type */
16835#else
16836 .key = "\x00\x08" /* rta length */
16837 "\x00\x01" /* rta type */
16838#endif
16839 "\x00\x00\x00\x24" /* enc key length */
16840 "\x00\x00\x00\x00\x00\x00\x00\x00"
16841 "\x00\x00\x00\x00\x00\x00\x00\x00"
16842 "\x00\x00\x00\x00\x00\x00\x00\x00"
16843 "\x00\x00\x00\x00\x00\x00\x00\x00"
16844 "\x00\x00\x00\x00\x00\x00\x00\x00"
16845 "\x00\x00\x00\x00\x00\x00\x00\x00"
16846 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
16847 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
16848 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
16849 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
16850 "\x00\x00\x00\x60",
16851 .klen = 8 + 48 + 36,
16852 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
16853 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
16854 .alen = 8,
16855 .ptext = "Single block msg",
16856 .plen = 16,
16857 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
16858 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
16859 "\xb1\x7b\xb1\xec\xca\x94\x55\xc4"
16860 "\x3f\x2b\xb1\x70\x04\x91\xf5\x9d"
16861 "\x1a\xc0\xe1\x2a\x93\x5f\x96\x2a"
16862 "\x12\x85\x38\x36\xe1\xb2\xe9\xf0"
16863 "\xf2\x6e\x5d\x81\xcc\x49\x07\x9c"
16864 "\x5b\x88\xc8\xcc\xc4\x21\x4f\x32",
16865 .clen = 16 + 48,
16866 }, { /* RFC 3686 Case 8 */
16867#ifdef __LITTLE_ENDIAN
16868 .key = "\x08\x00" /* rta length */
16869 "\x01\x00" /* rta type */
16870#else
16871 .key = "\x00\x08" /* rta length */
16872 "\x00\x01" /* rta type */
16873#endif
16874 "\x00\x00\x00\x24" /* enc key length */
16875 "\x20\x21\x22\x23\x24\x25\x26\x27"
16876 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16877 "\x30\x31\x32\x33\x34\x35\x36\x37"
16878 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16879 "\x40\x41\x42\x43\x44\x45\x46\x47"
16880 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16881 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
16882 "\x07\x96\x36\x58\x79\xef\xf8\x86"
16883 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
16884 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
16885 "\x00\xfa\xac\x24",
16886 .klen = 8 + 48 + 36,
16887 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
16888 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
16889 .alen = 8,
16890 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16891 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16892 "\x10\x11\x12\x13\x14\x15\x16\x17"
16893 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16894 .plen = 32,
16895 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
16896 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
16897 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
16898 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
16899 "\xd6\x96\xbb\x12\x39\xc4\x4d\xe2"
16900 "\x4c\x02\xe7\x1f\xdc\xb2\xb1\x57"
16901 "\x38\x0d\xdd\x13\xb3\x89\x57\x9e"
16902 "\x1f\xb5\x48\x32\xc4\xd3\x9d\x1f"
16903 "\x68\xab\x8d\xc6\xa8\x05\x3a\xc2"
16904 "\x87\xaf\x23\xb3\xe4\x1b\xde\xb3",
16905 .clen = 32 + 48,
16906 },
16907};
16908
16909static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
16910 { /* RFC 3602 Case 1 */
16911#ifdef __LITTLE_ENDIAN
16912 .key = "\x08\x00" /* rta length */
16913 "\x01\x00" /* rta type */
16914#else
16915 .key = "\x00\x08" /* rta length */
16916 "\x00\x01" /* rta type */
16917#endif
16918 "\x00\x00\x00\x10" /* enc key length */
16919 "\x00\x00\x00\x00\x00\x00\x00\x00"
16920 "\x00\x00\x00\x00\x00\x00\x00\x00"
16921 "\x00\x00\x00\x00\x00\x00\x00\x00"
16922 "\x00\x00\x00\x00\x00\x00\x00\x00"
16923 "\x00\x00\x00\x00\x00\x00\x00\x00"
16924 "\x00\x00\x00\x00\x00\x00\x00\x00"
16925 "\x00\x00\x00\x00\x00\x00\x00\x00"
16926 "\x00\x00\x00\x00\x00\x00\x00\x00"
16927 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16928 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16929 .klen = 8 + 64 + 16,
16930 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16931 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16932 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16933 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16934 .alen = 16,
16935 .ptext = "Single block msg",
16936 .plen = 16,
16937 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16938 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16939 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16940 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16941 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16942 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16943 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16944 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16945 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16946 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16947 .clen = 16 + 64,
16948 }, { /* RFC 3602 Case 2 */
16949#ifdef __LITTLE_ENDIAN
16950 .key = "\x08\x00" /* rta length */
16951 "\x01\x00" /* rta type */
16952#else
16953 .key = "\x00\x08" /* rta length */
16954 "\x00\x01" /* rta type */
16955#endif
16956 "\x00\x00\x00\x10" /* enc key length */
16957 "\x20\x21\x22\x23\x24\x25\x26\x27"
16958 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16959 "\x30\x31\x32\x33\x34\x35\x36\x37"
16960 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16961 "\x40\x41\x42\x43\x44\x45\x46\x47"
16962 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16963 "\x50\x51\x52\x53\x54\x55\x56\x57"
16964 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16965 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16966 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16967 .klen = 8 + 64 + 16,
16968 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16969 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16970 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16971 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16972 .alen = 16,
16973 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16974 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16975 "\x10\x11\x12\x13\x14\x15\x16\x17"
16976 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16977 .plen = 32,
16978 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16979 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16980 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16981 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16982 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16983 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16984 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16985 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16986 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16987 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16988 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16989 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16990 .clen = 32 + 64,
16991 }, { /* RFC 3602 Case 3 */
16992#ifdef __LITTLE_ENDIAN
16993 .key = "\x08\x00" /* rta length */
16994 "\x01\x00" /* rta type */
16995#else
16996 .key = "\x00\x08" /* rta length */
16997 "\x00\x01" /* rta type */
16998#endif
16999 "\x00\x00\x00\x10" /* enc key length */
17000 "\x11\x22\x33\x44\x55\x66\x77\x88"
17001 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17002 "\x22\x33\x44\x55\x66\x77\x88\x99"
17003 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17004 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17005 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17006 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17007 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17008 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
17009 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
17010 .klen = 8 + 64 + 16,
17011 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17012 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17013 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
17014 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
17015 .alen = 16,
17016 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
17017 .plen = 48,
17018 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
17019 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
17020 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
17021 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
17022 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
17023 "\x85\x79\x69\x5d\x83\xba\x26\x84"
17024 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
17025 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
17026 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
17027 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
17028 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
17029 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
17030 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
17031 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
17032 .clen = 48 + 64,
17033 }, { /* RFC 3602 Case 4 */
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\x10" /* 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 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
17051 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
17052 .klen = 8 + 64 + 16,
17053 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17054 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17055 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
17056 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
17057 .alen = 16,
17058 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17059 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17060 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17061 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17062 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17063 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17064 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17065 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
17066 .plen = 64,
17067 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
17068 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
17069 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
17070 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
17071 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
17072 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
17073 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
17074 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
17075 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
17076 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
17077 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
17078 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
17079 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
17080 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
17081 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
17082 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
17083 .clen = 64 + 64,
17084 }, { /* RFC 3602 Case 5 */
17085#ifdef __LITTLE_ENDIAN
17086 .key = "\x08\x00" /* rta length */
17087 "\x01\x00" /* rta type */
17088#else
17089 .key = "\x00\x08" /* rta length */
17090 "\x00\x01" /* rta type */
17091#endif
17092 "\x00\x00\x00\x10" /* enc key length */
17093 "\x11\x22\x33\x44\x55\x66\x77\x88"
17094 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17095 "\x22\x33\x44\x55\x66\x77\x88\x99"
17096 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17097 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17098 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17099 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17100 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17101 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
17102 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
17103 .klen = 8 + 64 + 16,
17104 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17105 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17106 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17107 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
17108 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
17109 .alen = 24,
17110 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
17111 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
17112 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17113 "\x10\x11\x12\x13\x14\x15\x16\x17"
17114 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17115 "\x20\x21\x22\x23\x24\x25\x26\x27"
17116 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17117 "\x30\x31\x32\x33\x34\x35\x36\x37"
17118 "\x01\x02\x03\x04\x05\x06\x07\x08"
17119 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
17120 .plen = 80,
17121 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
17122 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
17123 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
17124 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
17125 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
17126 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
17127 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
17128 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
17129 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
17130 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
17131 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
17132 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
17133 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
17134 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
17135 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
17136 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
17137 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
17138 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
17139 .clen = 80 + 64,
17140 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
17141#ifdef __LITTLE_ENDIAN
17142 .key = "\x08\x00" /* rta length */
17143 "\x01\x00" /* rta type */
17144#else
17145 .key = "\x00\x08" /* rta length */
17146 "\x00\x01" /* rta type */
17147#endif
17148 "\x00\x00\x00\x18" /* enc key length */
17149 "\x11\x22\x33\x44\x55\x66\x77\x88"
17150 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17151 "\x22\x33\x44\x55\x66\x77\x88\x99"
17152 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17153 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17154 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17155 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17156 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17157 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17158 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17159 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17160 .klen = 8 + 64 + 24,
17161 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
17162 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17163 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17164 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17165 .alen = 16,
17166 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17167 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17168 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17169 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17170 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17171 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17172 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17173 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17174 .plen = 64,
17175 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17176 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17177 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17178 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17179 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17180 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17181 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17182 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17183 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17184 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17185 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17186 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17187 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17188 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17189 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17190 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17191 .clen = 64 + 64,
17192 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17193#ifdef __LITTLE_ENDIAN
17194 .key = "\x08\x00" /* rta length */
17195 "\x01\x00" /* rta type */
17196#else
17197 .key = "\x00\x08" /* rta length */
17198 "\x00\x01" /* rta type */
17199#endif
17200 "\x00\x00\x00\x20" /* enc key length */
17201 "\x11\x22\x33\x44\x55\x66\x77\x88"
17202 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17203 "\x22\x33\x44\x55\x66\x77\x88\x99"
17204 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17205 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17206 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17207 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17208 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17209 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17210 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17211 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17212 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17213 .klen = 8 + 64 + 32,
17214 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
17215 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17216 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17217 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17218 .alen = 16,
17219 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17220 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17221 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17222 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17223 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17224 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17225 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17226 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17227 .plen = 64,
17228 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17229 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17230 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17231 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17232 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17233 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17234 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17235 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17236 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17237 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17238 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17239 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17240 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17241 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17242 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17243 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17244 .clen = 64 + 64,
17245 },
17246};
17247
17248static const struct aead_testvec hmac_md5_des_cbc_tv_temp[] = {
17249 { /*Generated with cryptopp*/
17250#ifdef __LITTLE_ENDIAN
17251 .key = "\x08\x00" /* rta length */
17252 "\x01\x00" /* rta type */
17253#else
17254 .key = "\x00\x08" /* rta length */
17255 "\x00\x01" /* rta type */
17256#endif
17257 "\x00\x00\x00\x08" /* enc key length */
17258 "\x11\x22\x33\x44\x55\x66\x77\x88"
17259 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17260 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17261 .klen = 8 + 16 + 8,
17262 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17263 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17264 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17265 .alen = 16,
17266 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17267 "\x53\x20\x63\x65\x65\x72\x73\x74"
17268 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17269 "\x20\x79\x65\x53\x72\x63\x74\x65"
17270 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17271 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17272 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17273 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17274 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17275 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17276 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17277 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17278 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17279 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17280 "\x63\x65\x65\x72\x73\x74\x54\x20"
17281 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17282 .plen = 128,
17283 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17284 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17285 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17286 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17287 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17288 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17289 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17290 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17291 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17292 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17293 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17294 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17295 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17296 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17297 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17298 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17299 "\x95\x9e\x7d\x37\x1e\x60\xaf\x7c"
17300 "\x53\x12\x61\x68\xef\xb4\x47\xa6",
17301 .clen = 128 + 16,
17302 },
17303};
17304
17305static const struct aead_testvec hmac_sha512_aes_ctr_rfc3686_tv_temp[] = {
17306 { /* RFC 3686 Case 1 */
17307#ifdef __LITTLE_ENDIAN
17308 .key = "\x08\x00" /* rta length */
17309 "\x01\x00" /* rta type */
17310#else
17311 .key = "\x00\x08" /* rta length */
17312 "\x00\x01" /* rta type */
17313#endif
17314 "\x00\x00\x00\x14" /* enc key length */
17315 "\x00\x00\x00\x00\x00\x00\x00\x00"
17316 "\x00\x00\x00\x00\x00\x00\x00\x00"
17317 "\x00\x00\x00\x00\x00\x00\x00\x00"
17318 "\x00\x00\x00\x00\x00\x00\x00\x00"
17319 "\x00\x00\x00\x00\x00\x00\x00\x00"
17320 "\x00\x00\x00\x00\x00\x00\x00\x00"
17321 "\x00\x00\x00\x00\x00\x00\x00\x00"
17322 "\x00\x00\x00\x00\x00\x00\x00\x00"
17323 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
17324 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
17325 "\x00\x00\x00\x30",
17326 .klen = 8 + 64 + 20,
17327 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17328 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
17329 .alen = 8,
17330 .ptext = "Single block msg",
17331 .plen = 16,
17332 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
17333 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
17334 "\xa4\x45\x3a\x44\x9c\xe5\x1c\xd9"
17335 "\x10\x43\x51\x2e\x76\x5e\xf8\x9d"
17336 "\x03\x12\x1a\x31\x00\x33\x10\xb4"
17337 "\x94\x4b\x70\x84\x6c\xda\xb1\x46"
17338 "\x24\xb6\x3b\x2a\xec\xd5\x67\xb8"
17339 "\x65\xa2\xbd\xac\x18\xe2\xf8\x55"
17340 "\xc6\x91\xb0\x92\x84\x2d\x74\x44"
17341 "\xa7\xee\xc3\x44\xa0\x07\x0e\x62",
17342 .clen = 16 + 64,
17343 }, { /* RFC 3686 Case 2 */
17344#ifdef __LITTLE_ENDIAN
17345 .key = "\x08\x00" /* rta length */
17346 "\x01\x00" /* rta type */
17347#else
17348 .key = "\x00\x08" /* rta length */
17349 "\x00\x01" /* rta type */
17350#endif
17351 "\x00\x00\x00\x14" /* enc key length */
17352 "\x20\x21\x22\x23\x24\x25\x26\x27"
17353 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17354 "\x30\x31\x32\x33\x34\x35\x36\x37"
17355 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17356 "\x40\x41\x42\x43\x44\x45\x46\x47"
17357 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17358 "\x50\x51\x52\x53\x54\x55\x56\x57"
17359 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17360 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
17361 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
17362 "\x00\x6c\xb6\xdb",
17363 .klen = 8 + 64 + 20,
17364 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17365 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17366 .alen = 8,
17367 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17368 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17369 "\x10\x11\x12\x13\x14\x15\x16\x17"
17370 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17371 .plen = 32,
17372 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
17373 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
17374 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
17375 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
17376 "\xec\x67\x0d\xb3\xbd\x98\x13\x01"
17377 "\x2b\x04\x9b\xe6\x06\x67\x3c\x76"
17378 "\xcd\x41\xb7\xcc\x70\x6c\x7f\xc8"
17379 "\x67\xbd\x22\x39\xb2\xaa\xe8\x88"
17380 "\xe0\x4f\x81\x52\xdf\xc9\xc3\xd6"
17381 "\x44\xf4\x66\x33\x87\x64\x61\x02"
17382 "\x02\xa2\x64\x15\x2b\xe9\x0b\x3d"
17383 "\x4c\xea\xa1\xa5\xa7\xc9\xd3\x1b",
17384 .clen = 32 + 64,
17385 }, { /* RFC 3686 Case 3 */
17386#ifdef __LITTLE_ENDIAN
17387 .key = "\x08\x00" /* rta length */
17388 "\x01\x00" /* rta type */
17389#else
17390 .key = "\x00\x08" /* rta length */
17391 "\x00\x01" /* rta type */
17392#endif
17393 "\x00\x00\x00\x14" /* enc key length */
17394 "\x11\x22\x33\x44\x55\x66\x77\x88"
17395 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17396 "\x22\x33\x44\x55\x66\x77\x88\x99"
17397 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17398 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17399 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17400 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17401 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17402 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
17403 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
17404 "\x00\xe0\x01\x7b",
17405 .klen = 8 + 64 + 20,
17406 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
17407 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
17408 .alen = 8,
17409 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17410 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17411 "\x10\x11\x12\x13\x14\x15\x16\x17"
17412 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17413 "\x20\x21\x22\x23",
17414 .plen = 36,
17415 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
17416 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
17417 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
17418 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
17419 "\x25\xb2\x07\x2f"
17420 "\x6f\x90\xb6\xa3\x35\x43\x59\xff"
17421 "\x1e\x32\xd6\xfe\xfa\x33\xf9\xf0"
17422 "\x31\x2f\x03\x2d\x88\x1d\xab\xbf"
17423 "\x0e\x19\x16\xd9\xf3\x98\x3e\xdd"
17424 "\x0c\xec\xfe\xe8\x89\x13\x91\x15"
17425 "\xf6\x61\x65\x5c\x1b\x7d\xde\xc0"
17426 "\xe4\xba\x6d\x27\xe2\x89\x23\x24"
17427 "\x15\x82\x37\x3d\x48\xd3\xc9\x32",
17428 .clen = 36 + 64,
17429 }, { /* RFC 3686 Case 4 */
17430#ifdef __LITTLE_ENDIAN
17431 .key = "\x08\x00" /* rta length */
17432 "\x01\x00" /* rta type */
17433#else
17434 .key = "\x00\x08" /* rta length */
17435 "\x00\x01" /* rta type */
17436#endif
17437 "\x00\x00\x00\x1c" /* enc key length */
17438 "\x00\x00\x00\x00\x00\x00\x00\x00"
17439 "\x00\x00\x00\x00\x00\x00\x00\x00"
17440 "\x00\x00\x00\x00\x00\x00\x00\x00"
17441 "\x00\x00\x00\x00\x00\x00\x00\x00"
17442 "\x00\x00\x00\x00\x00\x00\x00\x00"
17443 "\x00\x00\x00\x00\x00\x00\x00\x00"
17444 "\x00\x00\x00\x00\x00\x00\x00\x00"
17445 "\x00\x00\x00\x00\x00\x00\x00\x00"
17446 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
17447 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
17448 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
17449 "\x00\x00\x00\x48",
17450 .klen = 8 + 64 + 28,
17451 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
17452 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
17453 .alen = 8,
17454 .ptext = "Single block msg",
17455 .plen = 16,
17456 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
17457 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
17458 "\x25\xea\xdc\xad\x52\xb8\x0f\x70"
17459 "\xe7\x39\x83\x80\x10\x3f\x18\xc4"
17460 "\xf8\x59\x14\x25\x5f\xba\x20\x87"
17461 "\x0b\x04\x5e\xf7\xde\x41\x39\xff"
17462 "\xa2\xee\x84\x3f\x9d\x38\xfd\x17"
17463 "\xc0\x66\x5e\x74\x39\xe3\xd3\xd7"
17464 "\x3d\xbc\xe3\x99\x2f\xe7\xef\x37"
17465 "\x61\x03\xf3\x9e\x01\xaf\xba\x9d",
17466 .clen = 16 + 64,
17467 }, { /* RFC 3686 Case 5 */
17468#ifdef __LITTLE_ENDIAN
17469 .key = "\x08\x00" /* rta length */
17470 "\x01\x00" /* rta type */
17471#else
17472 .key = "\x00\x08" /* rta length */
17473 "\x00\x01" /* rta type */
17474#endif
17475 "\x00\x00\x00\x1c" /* enc key length */
17476 "\x20\x21\x22\x23\x24\x25\x26\x27"
17477 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17478 "\x30\x31\x32\x33\x34\x35\x36\x37"
17479 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17480 "\x40\x41\x42\x43\x44\x45\x46\x47"
17481 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17482 "\x50\x51\x52\x53\x54\x55\x56\x57"
17483 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17484 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
17485 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
17486 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
17487 "\x00\x96\xb0\x3b",
17488 .klen = 8 + 64 + 28,
17489 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
17490 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
17491 .alen = 8,
17492 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17493 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17494 "\x10\x11\x12\x13\x14\x15\x16\x17"
17495 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17496 .plen = 32,
17497 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
17498 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
17499 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
17500 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
17501 "\x51\xa3\xe6\x1d\x23\x7d\xd1\x18"
17502 "\x55\x9c\x1c\x92\x2b\xc2\xcd\xfe"
17503 "\x8a\xa8\xa5\x96\x65\x2e\x9d\xdb"
17504 "\x06\xd2\x1c\x57\x2b\x76\xb5\x9c"
17505 "\xd4\x3e\x8b\x61\x54\x2d\x08\xe5"
17506 "\xb2\xf8\x88\x20\x0c\xad\xe8\x85"
17507 "\x61\x8e\x5c\xa4\x96\x2c\xe2\x7d"
17508 "\x4f\xb6\x1d\xb2\x8c\xd7\xe3\x38",
17509 .clen = 32 + 64,
17510 }, { /* RFC 3686 Case 7 */
17511#ifdef __LITTLE_ENDIAN
17512 .key = "\x08\x00" /* rta length */
17513 "\x01\x00" /* rta type */
17514#else
17515 .key = "\x00\x08" /* rta length */
17516 "\x00\x01" /* rta type */
17517#endif
17518 "\x00\x00\x00\x24" /* enc key length */
17519 "\x00\x00\x00\x00\x00\x00\x00\x00"
17520 "\x00\x00\x00\x00\x00\x00\x00\x00"
17521 "\x00\x00\x00\x00\x00\x00\x00\x00"
17522 "\x00\x00\x00\x00\x00\x00\x00\x00"
17523 "\x00\x00\x00\x00\x00\x00\x00\x00"
17524 "\x00\x00\x00\x00\x00\x00\x00\x00"
17525 "\x00\x00\x00\x00\x00\x00\x00\x00"
17526 "\x00\x00\x00\x00\x00\x00\x00\x00"
17527 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
17528 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
17529 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
17530 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
17531 "\x00\x00\x00\x60",
17532 .klen = 8 + 64 + 36,
17533 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
17534 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
17535 .alen = 8,
17536 .ptext = "Single block msg",
17537 .plen = 16,
17538 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
17539 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
17540 "\x6b\x68\x0b\x99\x9a\x4d\xc8\xb9"
17541 "\x35\xea\xcd\x56\x3f\x40\xa2\xb6"
17542 "\x68\xda\x59\xd8\xa0\x89\xcd\x52"
17543 "\xb1\x6e\xed\xc1\x42\x10\xa5\x0f"
17544 "\x88\x0b\x80\xce\xc4\x67\xf0\x45"
17545 "\x5d\xb2\x9e\xde\x1c\x79\x52\x0d"
17546 "\xff\x75\x36\xd5\x0f\x52\x8e\xe5"
17547 "\x31\x85\xcf\x1d\x31\xf8\x62\x67",
17548 .clen = 16 + 64,
17549 }, { /* RFC 3686 Case 8 */
17550#ifdef __LITTLE_ENDIAN
17551 .key = "\x08\x00" /* rta length */
17552 "\x01\x00" /* rta type */
17553#else
17554 .key = "\x00\x08" /* rta length */
17555 "\x00\x01" /* rta type */
17556#endif
17557 "\x00\x00\x00\x24" /* enc key length */
17558 "\x20\x21\x22\x23\x24\x25\x26\x27"
17559 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17560 "\x30\x31\x32\x33\x34\x35\x36\x37"
17561 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17562 "\x40\x41\x42\x43\x44\x45\x46\x47"
17563 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17564 "\x50\x51\x52\x53\x54\x55\x56\x57"
17565 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17566 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
17567 "\x07\x96\x36\x58\x79\xef\xf8\x86"
17568 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
17569 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
17570 "\x00\xfa\xac\x24",
17571 .klen = 8 + 64 + 36,
17572 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
17573 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
17574 .alen = 8,
17575 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17576 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17577 "\x10\x11\x12\x13\x14\x15\x16\x17"
17578 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17579 .plen = 32,
17580 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
17581 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
17582 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
17583 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
17584 "\x9a\xac\x38\xbd\xf3\xcf\xd5\xd0"
17585 "\x09\x07\xa6\xe1\x7f\xd6\x79\x98"
17586 "\x4e\x90\x0e\xc0\x3d\xa0\xf2\x12"
17587 "\x52\x79\x9c\x17\xff\xb9\xb8\xe3"
17588 "\x2f\x31\xcb\xbd\x63\x70\x72\x7b"
17589 "\x4e\x1e\xd1\xde\xb5\x6b\x7d\x54"
17590 "\x68\x56\xdd\xe5\x53\xee\x29\xd2"
17591 "\x85\xa1\x73\x61\x00\xa9\x26\x8f",
17592 .clen = 32 + 64,
17593 },
17594};
17595
17596static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
17597 { /*Generated with cryptopp*/
17598#ifdef __LITTLE_ENDIAN
17599 .key = "\x08\x00" /* rta length */
17600 "\x01\x00" /* rta type */
17601#else
17602 .key = "\x00\x08" /* rta length */
17603 "\x00\x01" /* rta type */
17604#endif
17605 "\x00\x00\x00\x08" /* enc key length */
17606 "\x11\x22\x33\x44\x55\x66\x77\x88"
17607 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17608 "\x22\x33\x44\x55"
17609 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17610 .klen = 8 + 20 + 8,
17611 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17612 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17613 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17614 .alen = 16,
17615 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17616 "\x53\x20\x63\x65\x65\x72\x73\x74"
17617 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17618 "\x20\x79\x65\x53\x72\x63\x74\x65"
17619 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17620 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17621 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17622 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17623 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17624 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17625 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17626 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17627 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17628 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17629 "\x63\x65\x65\x72\x73\x74\x54\x20"
17630 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17631 .plen = 128,
17632 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17633 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17634 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17635 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17636 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17637 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17638 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17639 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17640 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17641 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17642 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17643 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17644 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17645 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17646 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17647 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17648 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17649 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17650 "\x5c\x44\xa9\x37",
17651 .clen = 128 + 20,
17652 },
17653};
17654
17655static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
17656 { /*Generated with cryptopp*/
17657#ifdef __LITTLE_ENDIAN
17658 .key = "\x08\x00" /* rta length */
17659 "\x01\x00" /* rta type */
17660#else
17661 .key = "\x00\x08" /* rta length */
17662 "\x00\x01" /* rta type */
17663#endif
17664 "\x00\x00\x00\x08" /* enc key length */
17665 "\x11\x22\x33\x44\x55\x66\x77\x88"
17666 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17667 "\x22\x33\x44\x55\x66\x77\x88\x99"
17668 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17669 .klen = 8 + 24 + 8,
17670 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17671 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17672 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17673 .alen = 16,
17674 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17675 "\x53\x20\x63\x65\x65\x72\x73\x74"
17676 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17677 "\x20\x79\x65\x53\x72\x63\x74\x65"
17678 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17679 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17680 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17681 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17682 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17683 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17684 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17685 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17686 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17687 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17688 "\x63\x65\x65\x72\x73\x74\x54\x20"
17689 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17690 .plen = 128,
17691 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17692 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17693 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17694 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17695 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17696 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17697 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17698 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17699 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17700 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17701 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17702 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17703 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17704 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17705 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17706 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17707 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17708 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17709 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17710 .clen = 128 + 24,
17711 },
17712};
17713
17714static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
17715 { /*Generated with cryptopp*/
17716#ifdef __LITTLE_ENDIAN
17717 .key = "\x08\x00" /* rta length */
17718 "\x01\x00" /* rta type */
17719#else
17720 .key = "\x00\x08" /* rta length */
17721 "\x00\x01" /* rta type */
17722#endif
17723 "\x00\x00\x00\x08" /* enc key length */
17724 "\x11\x22\x33\x44\x55\x66\x77\x88"
17725 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17726 "\x22\x33\x44\x55\x66\x77\x88\x99"
17727 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17728 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17729 .klen = 8 + 32 + 8,
17730 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17731 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17732 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17733 .alen = 16,
17734 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17735 "\x53\x20\x63\x65\x65\x72\x73\x74"
17736 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17737 "\x20\x79\x65\x53\x72\x63\x74\x65"
17738 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17739 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17740 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17741 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17742 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17743 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17744 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17745 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17746 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17747 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17748 "\x63\x65\x65\x72\x73\x74\x54\x20"
17749 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17750 .plen = 128,
17751 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17752 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17753 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17754 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17755 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17756 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17757 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17758 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17759 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17760 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17761 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17762 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17763 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17764 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17765 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17766 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17767 "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17768 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17769 "\xde\x63\xde\x76\x52\xde\x9f\xba"
17770 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17771 .clen = 128 + 32,
17772 },
17773};
17774
17775static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
17776 { /*Generated with cryptopp*/
17777#ifdef __LITTLE_ENDIAN
17778 .key = "\x08\x00" /* rta length */
17779 "\x01\x00" /* rta type */
17780#else
17781 .key = "\x00\x08" /* rta length */
17782 "\x00\x01" /* rta type */
17783#endif
17784 "\x00\x00\x00\x08" /* enc key length */
17785 "\x11\x22\x33\x44\x55\x66\x77\x88"
17786 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17787 "\x22\x33\x44\x55\x66\x77\x88\x99"
17788 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17789 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17790 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17791 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17792 .klen = 8 + 48 + 8,
17793 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17794 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17795 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17796 .alen = 16,
17797 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17798 "\x53\x20\x63\x65\x65\x72\x73\x74"
17799 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17800 "\x20\x79\x65\x53\x72\x63\x74\x65"
17801 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17802 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17803 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17804 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17805 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17806 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17807 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17808 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17809 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17810 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17811 "\x63\x65\x65\x72\x73\x74\x54\x20"
17812 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17813 .plen = 128,
17814 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17815 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17816 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17817 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17818 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17819 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17820 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17821 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17822 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17823 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17824 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17825 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17826 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17827 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17828 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17829 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17830 "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17831 "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17832 "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17833 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17834 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17835 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17836 .clen = 128 + 48,
17837 },
17838};
17839
17840static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
17841 { /*Generated with cryptopp*/
17842#ifdef __LITTLE_ENDIAN
17843 .key = "\x08\x00" /* rta length */
17844 "\x01\x00" /* rta type */
17845#else
17846 .key = "\x00\x08" /* rta length */
17847 "\x00\x01" /* rta type */
17848#endif
17849 "\x00\x00\x00\x08" /* enc key length */
17850 "\x11\x22\x33\x44\x55\x66\x77\x88"
17851 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17852 "\x22\x33\x44\x55\x66\x77\x88\x99"
17853 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17854 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17855 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17856 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17857 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17858 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17859 .klen = 8 + 64 + 8,
17860 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17861 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17862 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17863 .alen = 16,
17864 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17865 "\x53\x20\x63\x65\x65\x72\x73\x74"
17866 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17867 "\x20\x79\x65\x53\x72\x63\x74\x65"
17868 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17869 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17870 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17871 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17872 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17873 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17874 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17875 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17876 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17877 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17878 "\x63\x65\x65\x72\x73\x74\x54\x20"
17879 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17880 .plen = 128,
17881 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17882 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17883 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17884 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17885 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17886 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17887 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17888 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17889 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17890 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17891 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17892 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17893 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17894 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17895 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17896 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17897 "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17898 "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17899 "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17900 "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17901 "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17902 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17903 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17904 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17905 .clen = 128 + 64,
17906 },
17907};
17908
17909static const struct aead_testvec hmac_md5_aes_ctr_rfc3686_tv_temp[] = {
17910 { /* RFC 3686 Case 1 */
17911#ifdef __LITTLE_ENDIAN
17912 .key = "\x08\x00" /* rta length */
17913 "\x01\x00" /* rta type */
17914#else
17915 .key = "\x00\x08" /* rta length */
17916 "\x00\x01" /* rta type */
17917#endif
17918 "\x00\x00\x00\x14" /* enc key length */
17919 "\x00\x00\x00\x00\x00\x00\x00\x00"
17920 "\x00\x00\x00\x00\x00\x00\x00\x00"
17921 "\xae\x68\x52\xf8\x12\x10\x67\xcc"
17922 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
17923 "\x00\x00\x00\x30",
17924 .klen = 8 + 16 + 20,
17925 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17926 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00",
17927 .alen = 8,
17928 .ptext = "Single block msg",
17929 .plen = 16,
17930 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
17931 "\x2d\x61\x75\xa3\x26\x13\x11\xb8"
17932 "\xdd\x5f\xea\x13\x2a\xf2\xb0\xf1"
17933 "\x91\x79\x46\x40\x62\x6c\x87\x5b",
17934 .clen = 16 + 16,
17935 }, { /* RFC 3686 Case 2 */
17936#ifdef __LITTLE_ENDIAN
17937 .key = "\x08\x00" /* rta length */
17938 "\x01\x00" /* rta type */
17939#else
17940 .key = "\x00\x08" /* rta length */
17941 "\x00\x01" /* rta type */
17942#endif
17943 "\x00\x00\x00\x14" /* enc key length */
17944 "\x20\x21\x22\x23\x24\x25\x26\x27"
17945 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17946 "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
17947 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
17948 "\x00\x6c\xb6\xdb",
17949 .klen = 8 + 16 + 20,
17950 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17951 .assoc = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17952 .alen = 8,
17953 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17954 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17955 "\x10\x11\x12\x13\x14\x15\x16\x17"
17956 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17957 .plen = 32,
17958 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
17959 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
17960 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
17961 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28"
17962 "\x03\x39\x23\xcd\x22\x5f\x1b\x8b"
17963 "\x93\x70\xbc\x45\xf3\xba\xde\x2e",
17964 .clen = 32 + 16,
17965 }, { /* RFC 3686 Case 3 */
17966#ifdef __LITTLE_ENDIAN
17967 .key = "\x08\x00" /* rta length */
17968 "\x01\x00" /* rta type */
17969#else
17970 .key = "\x00\x08" /* rta length */
17971 "\x00\x01" /* rta type */
17972#endif
17973 "\x00\x00\x00\x14" /* enc key length */
17974 "\x11\x22\x33\x44\x55\x66\x77\x88"
17975 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17976 "\x76\x91\xbe\x03\x5e\x50\x20\xa8"
17977 "\xac\x6e\x61\x85\x29\xf9\xa0\xdc"
17978 "\x00\xe0\x01\x7b",
17979 .klen = 8 + 16 + 20,
17980 .iv = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
17981 .assoc = "\x27\x77\x7f\x3f\x4a\x17\x86\xf0",
17982 .alen = 8,
17983 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17984 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17985 "\x10\x11\x12\x13\x14\x15\x16\x17"
17986 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17987 "\x20\x21\x22\x23",
17988 .plen = 36,
17989 .ctext = "\xc1\xcf\x48\xa8\x9f\x2f\xfd\xd9"
17990 "\xcf\x46\x52\xe9\xef\xdb\x72\xd7"
17991 "\x45\x40\xa4\x2b\xde\x6d\x78\x36"
17992 "\xd5\x9a\x5c\xea\xae\xf3\x10\x53"
17993 "\x25\xb2\x07\x2f"
17994 "\xb4\x40\x0c\x7b\x4c\x55\x8a\x4b"
17995 "\x04\xf7\x48\x9e\x0f\x9a\xae\x73",
17996 .clen = 36 + 16,
17997 }, { /* RFC 3686 Case 4 */
17998#ifdef __LITTLE_ENDIAN
17999 .key = "\x08\x00" /* rta length */
18000 "\x01\x00" /* rta type */
18001#else
18002 .key = "\x00\x08" /* rta length */
18003 "\x00\x01" /* rta type */
18004#endif
18005 "\x00\x00\x00\x1c" /* enc key length */
18006 "\x00\x00\x00\x00\x00\x00\x00\x00"
18007 "\x00\x00\x00\x00\x00\x00\x00\x00"
18008 "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
18009 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
18010 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
18011 "\x00\x00\x00\x48",
18012 .klen = 8 + 16 + 28,
18013 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
18014 .assoc = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
18015 .alen = 8,
18016 .ptext = "Single block msg",
18017 .plen = 16,
18018 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
18019 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28"
18020 "\xc4\x5d\xa1\x16\x6c\x2d\xa5\x43"
18021 "\x60\x7b\x58\x98\x11\x9b\x50\x06",
18022 .clen = 16 + 16,
18023 }, { /* RFC 3686 Case 5 */
18024#ifdef __LITTLE_ENDIAN
18025 .key = "\x08\x00" /* rta length */
18026 "\x01\x00" /* rta type */
18027#else
18028 .key = "\x00\x08" /* rta length */
18029 "\x00\x01" /* rta type */
18030#endif
18031 "\x00\x00\x00\x1c" /* enc key length */
18032 "\x20\x21\x22\x23\x24\x25\x26\x27"
18033 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18034 "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
18035 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
18036 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
18037 "\x00\x96\xb0\x3b",
18038 .klen = 8 + 16 + 28,
18039 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
18040 .assoc = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
18041 .alen = 8,
18042 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18043 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18044 "\x10\x11\x12\x13\x14\x15\x16\x17"
18045 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18046 .plen = 32,
18047 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
18048 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
18049 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
18050 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00"
18051 "\xc5\xec\x47\x33\xae\x05\x28\x49"
18052 "\xd5\x2b\x08\xad\x10\x98\x24\x01",
18053 .clen = 32 + 16,
18054 }, { /* RFC 3686 Case 7 */
18055#ifdef __LITTLE_ENDIAN
18056 .key = "\x08\x00" /* rta length */
18057 "\x01\x00" /* rta type */
18058#else
18059 .key = "\x00\x08" /* rta length */
18060 "\x00\x01" /* rta type */
18061#endif
18062 "\x00\x00\x00\x24" /* enc key length */
18063 "\x00\x00\x00\x00\x00\x00\x00\x00"
18064 "\x00\x00\x00\x00\x00\x00\x00\x00"
18065 "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
18066 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
18067 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
18068 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
18069 "\x00\x00\x00\x60",
18070 .klen = 8 + 16 + 36,
18071 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
18072 .assoc = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
18073 .alen = 8,
18074 .ptext = "Single block msg",
18075 .plen = 16,
18076 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
18077 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0"
18078 "\xc6\x26\xb2\x27\x0d\x21\xd4\x40"
18079 "\x6c\x4f\x53\xea\x19\x75\xda\x8e",
18080 .clen = 16 + 16,
18081 }, { /* RFC 3686 Case 8 */
18082#ifdef __LITTLE_ENDIAN
18083 .key = "\x08\x00" /* rta length */
18084 "\x01\x00" /* rta type */
18085#else
18086 .key = "\x00\x08" /* rta length */
18087 "\x00\x01" /* rta type */
18088#endif
18089 "\x00\x00\x00\x24" /* enc key length */
18090 "\x20\x21\x22\x23\x24\x25\x26\x27"
18091 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18092 "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
18093 "\x07\x96\x36\x58\x79\xef\xf8\x86"
18094 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
18095 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
18096 "\x00\xfa\xac\x24",
18097 .klen = 8 + 16 + 36,
18098 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
18099 .assoc = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
18100 .alen = 8,
18101 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18102 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18103 "\x10\x11\x12\x13\x14\x15\x16\x17"
18104 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18105 .plen = 32,
18106 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
18107 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
18108 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
18109 "\x55\x30\x83\x1d\x93\x44\xaf\x1c"
18110 "\x8c\x4d\x2a\x8d\x23\x47\x59\x6f"
18111 "\x1e\x74\x62\x39\xed\x14\x50\x6c",
18112 .clen = 32 + 16,
18113 },
18114};
18115
18116static const struct aead_testvec hmac_md5_des3_ede_cbc_tv_temp[] = {
18117 { /*Generated with cryptopp*/
18118#ifdef __LITTLE_ENDIAN
18119 .key = "\x08\x00" /* rta length */
18120 "\x01\x00" /* rta type */
18121#else
18122 .key = "\x00\x08" /* rta length */
18123 "\x00\x01" /* rta type */
18124#endif
18125 "\x00\x00\x00\x18" /* enc key length */
18126 "\x11\x22\x33\x44\x55\x66\x77\x88"
18127 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18128 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18129 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18130 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18131 .klen = 8 + 16 + 24,
18132 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18133 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18134 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18135 .alen = 16,
18136 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18137 "\x53\x20\x63\x65\x65\x72\x73\x74"
18138 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18139 "\x20\x79\x65\x53\x72\x63\x74\x65"
18140 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18141 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18142 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18143 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18144 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18145 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18146 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18147 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18148 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18149 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18150 "\x63\x65\x65\x72\x73\x74\x54\x20"
18151 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18152 .plen = 128,
18153 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18154 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18155 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18156 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18157 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18158 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18159 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18160 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18161 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18162 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18163 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18164 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18165 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18166 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18167 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18168 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18169 "\x99\x09\xfb\x05\x35\xc8\xcc\x38"
18170 "\xc3\x1e\x5e\xe1\xe6\x96\x84\xc8",
18171 .clen = 128 + 16,
18172 },
18173};
18174
18175static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
18176 { /*Generated with cryptopp*/
18177#ifdef __LITTLE_ENDIAN
18178 .key = "\x08\x00" /* rta length */
18179 "\x01\x00" /* rta type */
18180#else
18181 .key = "\x00\x08" /* rta length */
18182 "\x00\x01" /* rta type */
18183#endif
18184 "\x00\x00\x00\x18" /* enc key length */
18185 "\x11\x22\x33\x44\x55\x66\x77\x88"
18186 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18187 "\x22\x33\x44\x55"
18188 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18189 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18190 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18191 .klen = 8 + 20 + 24,
18192 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18193 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18194 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18195 .alen = 16,
18196 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18197 "\x53\x20\x63\x65\x65\x72\x73\x74"
18198 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18199 "\x20\x79\x65\x53\x72\x63\x74\x65"
18200 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18201 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18202 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18203 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18204 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18205 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18206 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18207 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18208 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18209 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18210 "\x63\x65\x65\x72\x73\x74\x54\x20"
18211 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18212 .plen = 128,
18213 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18214 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18215 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18216 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18217 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18218 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18219 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18220 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18221 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18222 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18223 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18224 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18225 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18226 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18227 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18228 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18229 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
18230 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
18231 "\xd1\x60\x91\xb3",
18232 .clen = 128 + 20,
18233 },
18234};
18235
18236static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
18237 { /*Generated with cryptopp*/
18238#ifdef __LITTLE_ENDIAN
18239 .key = "\x08\x00" /* rta length */
18240 "\x01\x00" /* rta type */
18241#else
18242 .key = "\x00\x08" /* rta length */
18243 "\x00\x01" /* rta type */
18244#endif
18245 "\x00\x00\x00\x18" /* enc key length */
18246 "\x11\x22\x33\x44\x55\x66\x77\x88"
18247 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18248 "\x22\x33\x44\x55\x66\x77\x88\x99"
18249 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18250 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18251 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18252 .klen = 8 + 24 + 24,
18253 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18254 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18255 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18256 .alen = 16,
18257 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18258 "\x53\x20\x63\x65\x65\x72\x73\x74"
18259 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18260 "\x20\x79\x65\x53\x72\x63\x74\x65"
18261 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18262 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18263 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18264 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18265 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18266 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18267 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18268 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18269 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18270 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18271 "\x63\x65\x65\x72\x73\x74\x54\x20"
18272 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18273 .plen = 128,
18274 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18275 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18276 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18277 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18278 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18279 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18280 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18281 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18282 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18283 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18284 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18285 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18286 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18287 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18288 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18289 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18290 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
18291 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
18292 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
18293 .clen = 128 + 24,
18294 },
18295};
18296
18297static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
18298 { /*Generated with cryptopp*/
18299#ifdef __LITTLE_ENDIAN
18300 .key = "\x08\x00" /* rta length */
18301 "\x01\x00" /* rta type */
18302#else
18303 .key = "\x00\x08" /* rta length */
18304 "\x00\x01" /* rta type */
18305#endif
18306 "\x00\x00\x00\x18" /* enc key length */
18307 "\x11\x22\x33\x44\x55\x66\x77\x88"
18308 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18309 "\x22\x33\x44\x55\x66\x77\x88\x99"
18310 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18311 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18312 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18313 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18314 .klen = 8 + 32 + 24,
18315 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18316 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18317 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18318 .alen = 16,
18319 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18320 "\x53\x20\x63\x65\x65\x72\x73\x74"
18321 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18322 "\x20\x79\x65\x53\x72\x63\x74\x65"
18323 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18324 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18325 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18326 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18327 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18328 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18329 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18330 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18331 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18332 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18333 "\x63\x65\x65\x72\x73\x74\x54\x20"
18334 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18335 .plen = 128,
18336 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18337 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18338 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18339 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18340 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18341 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18342 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18343 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18344 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18345 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18346 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18347 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18348 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18349 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18350 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18351 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18352 "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
18353 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
18354 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
18355 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
18356 .clen = 128 + 32,
18357 },
18358};
18359
18360static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
18361 { /*Generated with cryptopp*/
18362#ifdef __LITTLE_ENDIAN
18363 .key = "\x08\x00" /* rta length */
18364 "\x01\x00" /* rta type */
18365#else
18366 .key = "\x00\x08" /* rta length */
18367 "\x00\x01" /* rta type */
18368#endif
18369 "\x00\x00\x00\x18" /* enc key length */
18370 "\x11\x22\x33\x44\x55\x66\x77\x88"
18371 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18372 "\x22\x33\x44\x55\x66\x77\x88\x99"
18373 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18374 "\x33\x44\x55\x66\x77\x88\x99\xaa"
18375 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18376 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18377 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18378 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18379 .klen = 8 + 48 + 24,
18380 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18381 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18382 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18383 .alen = 16,
18384 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18385 "\x53\x20\x63\x65\x65\x72\x73\x74"
18386 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18387 "\x20\x79\x65\x53\x72\x63\x74\x65"
18388 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18389 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18390 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18391 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18392 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18393 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18394 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18395 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18396 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18397 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18398 "\x63\x65\x65\x72\x73\x74\x54\x20"
18399 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18400 .plen = 128,
18401 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18402 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18403 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18404 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18405 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18406 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18407 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18408 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18409 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18410 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18411 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18412 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18413 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18414 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18415 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18416 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18417 "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
18418 "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
18419 "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
18420 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
18421 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
18422 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
18423 .clen = 128 + 48,
18424 },
18425};
18426
18427static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
18428 { /*Generated with cryptopp*/
18429#ifdef __LITTLE_ENDIAN
18430 .key = "\x08\x00" /* rta length */
18431 "\x01\x00" /* rta type */
18432#else
18433 .key = "\x00\x08" /* rta length */
18434 "\x00\x01" /* rta type */
18435#endif
18436 "\x00\x00\x00\x18" /* enc key length */
18437 "\x11\x22\x33\x44\x55\x66\x77\x88"
18438 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
18439 "\x22\x33\x44\x55\x66\x77\x88\x99"
18440 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
18441 "\x33\x44\x55\x66\x77\x88\x99\xaa"
18442 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
18443 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
18444 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
18445 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
18446 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
18447 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
18448 .klen = 8 + 64 + 24,
18449 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18450 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
18451 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
18452 .alen = 16,
18453 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
18454 "\x53\x20\x63\x65\x65\x72\x73\x74"
18455 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
18456 "\x20\x79\x65\x53\x72\x63\x74\x65"
18457 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
18458 "\x79\x6e\x53\x20\x63\x65\x65\x72"
18459 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
18460 "\x6e\x61\x20\x79\x65\x53\x72\x63"
18461 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
18462 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
18463 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
18464 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
18465 "\x72\x63\x74\x65\x20\x73\x6f\x54"
18466 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
18467 "\x63\x65\x65\x72\x73\x74\x54\x20"
18468 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
18469 .plen = 128,
18470 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
18471 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
18472 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
18473 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
18474 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
18475 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
18476 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
18477 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
18478 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
18479 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
18480 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
18481 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
18482 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
18483 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
18484 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
18485 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
18486 "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
18487 "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
18488 "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
18489 "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
18490 "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
18491 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
18492 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
18493 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
18494 .clen = 128 + 64,
18495 },
18496};
18497
18498static const struct cipher_testvec aes_lrw_tv_template[] = {
18499 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
18500 { /* LRW-32-AES 1 */
18501 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18502 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18503 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18504 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18505 .klen = 32,
18506 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18507 "\x00\x00\x00\x00\x00\x00\x00\x01",
18508 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18509 "\x38\x39\x41\x42\x43\x44\x45\x46",
18510 .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18511 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18512 .len = 16,
18513 }, { /* LRW-32-AES 2 */
18514 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18515 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18516 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18517 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18518 .klen = 32,
18519 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18520 "\x00\x00\x00\x00\x00\x00\x00\x02",
18521 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18522 "\x38\x39\x41\x42\x43\x44\x45\x46",
18523 .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18524 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18525 .len = 16,
18526 }, { /* LRW-32-AES 3 */
18527 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18528 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18529 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18530 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18531 .klen = 32,
18532 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18533 "\x00\x00\x00\x02\x00\x00\x00\x00",
18534 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18535 "\x38\x39\x41\x42\x43\x44\x45\x46",
18536 .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18537 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18538 .len = 16,
18539 }, { /* LRW-32-AES 4 */
18540 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18541 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18542 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18543 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18544 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18545 .klen = 40,
18546 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18547 "\x00\x00\x00\x00\x00\x00\x00\x01",
18548 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18549 "\x38\x39\x41\x42\x43\x44\x45\x46",
18550 .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18551 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18552 .len = 16,
18553 }, { /* LRW-32-AES 5 */
18554 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18555 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18556 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18557 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18558 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18559 .klen = 40,
18560 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18561 "\x00\x00\x00\x02\x00\x00\x00\x00",
18562 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18563 "\x38\x39\x41\x42\x43\x44\x45\x46",
18564 .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18565 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18566 .len = 16,
18567 }, { /* LRW-32-AES 6 */
18568 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18569 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18570 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18571 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18572 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18573 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18574 .klen = 48,
18575 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18576 "\x00\x00\x00\x00\x00\x00\x00\x01",
18577 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18578 "\x38\x39\x41\x42\x43\x44\x45\x46",
18579 .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18580 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18581 .len = 16,
18582 }, { /* LRW-32-AES 7 */
18583 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18584 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18585 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18586 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18587 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18588 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18589 .klen = 48,
18590 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18591 "\x00\x00\x00\x02\x00\x00\x00\x00",
18592 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18593 "\x38\x39\x41\x42\x43\x44\x45\x46",
18594 .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18595 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18596 .len = 16,
18597 }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
18598 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
18599 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
18600 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
18601 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
18602 .klen = 32,
18603 .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
18604 "\xff\xff\xff\xff\xff\xff\xff\xff",
18605 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
18606 "\x38\x39\x41\x42\x43\x44\x45\x46"
18607 "\x30\x31\x32\x33\x34\x35\x36\x37"
18608 "\x38\x39\x41\x42\x43\x44\x45\x46"
18609 "\x30\x31\x32\x33\x34\x35\x36\x37"
18610 "\x38\x39\x41\x42\x43\x44\x45\x46",
18611 .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
18612 "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
18613 "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
18614 "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
18615 "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18616 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18617 .len = 48,
18618 }, {
18619/* http://www.mail-archive.com/[email protected]/msg00173.html */
18620 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18621 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18622 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18623 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18624 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18625 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18626 .klen = 48,
18627 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18628 "\x00\x00\x00\x00\x00\x00\x00\x01",
18629 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18630 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18631 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18632 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18633 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18634 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18635 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18636 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18637 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18638 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18639 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18640 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18641 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18642 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18643 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18644 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18645 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18646 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18647 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18648 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18649 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18650 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18651 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18652 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18653 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18654 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18655 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18656 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18657 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18658 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18659 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18660 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18661 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18662 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18663 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18664 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18665 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18666 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18667 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18668 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18669 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18670 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18671 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18672 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18673 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18674 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18675 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18676 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18677 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18678 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18679 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18680 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18681 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18682 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18683 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18684 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18685 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18686 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18687 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18688 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18689 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18690 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18691 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18692 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18693 .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18694 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18695 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18696 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18697 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18698 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18699 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18700 "\xe8\x58\x46\x97\x39\x51\x07\xde"
18701 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18702 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18703 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18704 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18705 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18706 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18707 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18708 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18709 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18710 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18711 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18712 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18713 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18714 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18715 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18716 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18717 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18718 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18719 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18720 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18721 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18722 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18723 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18724 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18725 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18726 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18727 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18728 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18729 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18730 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18731 "\xb8\x79\x78\x97\x94\xff\x72\x13"
18732 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18733 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18734 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18735 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18736 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18737 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18738 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18739 "\x1e\x86\x53\x11\x53\x94\x00\xee"
18740 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18741 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18742 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18743 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18744 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18745 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18746 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18747 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18748 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18749 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18750 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18751 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18752 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18753 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18754 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18755 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18756 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18757 .len = 512,
18758 }
18759};
18760
18761static const struct cipher_testvec aes_xts_tv_template[] = {
18762 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18763 { /* XTS-AES 1 */
18764 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18765 "\x00\x00\x00\x00\x00\x00\x00\x00"
18766 "\x00\x00\x00\x00\x00\x00\x00\x00"
18767 "\x00\x00\x00\x00\x00\x00\x00\x00",
18768 .klen = 32,
18769 .fips_skip = 1,
18770 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18771 "\x00\x00\x00\x00\x00\x00\x00\x00",
18772 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
18773 "\x00\x00\x00\x00\x00\x00\x00\x00"
18774 "\x00\x00\x00\x00\x00\x00\x00\x00"
18775 "\x00\x00\x00\x00\x00\x00\x00\x00",
18776 .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18777 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18778 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18779 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18780 .len = 32,
18781 }, { /* XTS-AES 2 */
18782 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
18783 "\x11\x11\x11\x11\x11\x11\x11\x11"
18784 "\x22\x22\x22\x22\x22\x22\x22\x22"
18785 "\x22\x22\x22\x22\x22\x22\x22\x22",
18786 .klen = 32,
18787 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18788 "\x00\x00\x00\x00\x00\x00\x00\x00",
18789 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
18790 "\x44\x44\x44\x44\x44\x44\x44\x44"
18791 "\x44\x44\x44\x44\x44\x44\x44\x44"
18792 "\x44\x44\x44\x44\x44\x44\x44\x44",
18793 .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18794 "\x39\x33\x40\x38\xac\xef\x83\x8b"
18795 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18796 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18797 .len = 32,
18798 }, { /* XTS-AES 3 */
18799 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18800 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18801 "\x22\x22\x22\x22\x22\x22\x22\x22"
18802 "\x22\x22\x22\x22\x22\x22\x22\x22",
18803 .klen = 32,
18804 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
18805 "\x00\x00\x00\x00\x00\x00\x00\x00",
18806 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
18807 "\x44\x44\x44\x44\x44\x44\x44\x44"
18808 "\x44\x44\x44\x44\x44\x44\x44\x44"
18809 "\x44\x44\x44\x44\x44\x44\x44\x44",
18810 .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18811 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18812 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18813 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18814 .len = 32,
18815 }, { /* XTS-AES 4 */
18816 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18817 "\x23\x53\x60\x28\x74\x71\x35\x26"
18818 "\x31\x41\x59\x26\x53\x58\x97\x93"
18819 "\x23\x84\x62\x64\x33\x83\x27\x95",
18820 .klen = 32,
18821 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
18822 "\x00\x00\x00\x00\x00\x00\x00\x00",
18823 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18824 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18825 "\x10\x11\x12\x13\x14\x15\x16\x17"
18826 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18827 "\x20\x21\x22\x23\x24\x25\x26\x27"
18828 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18829 "\x30\x31\x32\x33\x34\x35\x36\x37"
18830 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18831 "\x40\x41\x42\x43\x44\x45\x46\x47"
18832 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18833 "\x50\x51\x52\x53\x54\x55\x56\x57"
18834 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18835 "\x60\x61\x62\x63\x64\x65\x66\x67"
18836 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18837 "\x70\x71\x72\x73\x74\x75\x76\x77"
18838 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18839 "\x80\x81\x82\x83\x84\x85\x86\x87"
18840 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18841 "\x90\x91\x92\x93\x94\x95\x96\x97"
18842 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18843 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18844 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18845 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18846 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18847 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18848 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18849 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18850 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18851 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18852 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18853 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18854 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18855 "\x00\x01\x02\x03\x04\x05\x06\x07"
18856 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18857 "\x10\x11\x12\x13\x14\x15\x16\x17"
18858 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18859 "\x20\x21\x22\x23\x24\x25\x26\x27"
18860 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18861 "\x30\x31\x32\x33\x34\x35\x36\x37"
18862 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18863 "\x40\x41\x42\x43\x44\x45\x46\x47"
18864 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18865 "\x50\x51\x52\x53\x54\x55\x56\x57"
18866 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18867 "\x60\x61\x62\x63\x64\x65\x66\x67"
18868 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18869 "\x70\x71\x72\x73\x74\x75\x76\x77"
18870 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18871 "\x80\x81\x82\x83\x84\x85\x86\x87"
18872 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18873 "\x90\x91\x92\x93\x94\x95\x96\x97"
18874 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18875 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18876 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18877 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18878 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18879 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18880 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18881 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18882 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18883 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18884 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18885 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18886 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18887 .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18888 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18889 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18890 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18891 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18892 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18893 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18894 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18895 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18896 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18897 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18898 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18899 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18900 "\x22\x97\x61\x46\xae\x20\xce\x84"
18901 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18902 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18903 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18904 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18905 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18906 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18907 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18908 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18909 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18910 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18911 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18912 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18913 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18914 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18915 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18916 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18917 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18918 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18919 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18920 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18921 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18922 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18923 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18924 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18925 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18926 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18927 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18928 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18929 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18930 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18931 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18932 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18933 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18934 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18935 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18936 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18937 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18938 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18939 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18940 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18941 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18942 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18943 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18944 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18945 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18946 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18947 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18948 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18949 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18950 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18951 .len = 512,
18952 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18953 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18954 "\x23\x53\x60\x28\x74\x71\x35\x26"
18955 "\x62\x49\x77\x57\x24\x70\x93\x69"
18956 "\x99\x59\x57\x49\x66\x96\x76\x27"
18957 "\x31\x41\x59\x26\x53\x58\x97\x93"
18958 "\x23\x84\x62\x64\x33\x83\x27\x95"
18959 "\x02\x88\x41\x97\x16\x93\x99\x37"
18960 "\x51\x05\x82\x09\x74\x94\x45\x92",
18961 .klen = 64,
18962 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
18963 "\x00\x00\x00\x00\x00\x00\x00\x00",
18964 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18965 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18966 "\x10\x11\x12\x13\x14\x15\x16\x17"
18967 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18968 "\x20\x21\x22\x23\x24\x25\x26\x27"
18969 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18970 "\x30\x31\x32\x33\x34\x35\x36\x37"
18971 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18972 "\x40\x41\x42\x43\x44\x45\x46\x47"
18973 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18974 "\x50\x51\x52\x53\x54\x55\x56\x57"
18975 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18976 "\x60\x61\x62\x63\x64\x65\x66\x67"
18977 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18978 "\x70\x71\x72\x73\x74\x75\x76\x77"
18979 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18980 "\x80\x81\x82\x83\x84\x85\x86\x87"
18981 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18982 "\x90\x91\x92\x93\x94\x95\x96\x97"
18983 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18984 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18985 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18986 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18987 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18988 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18989 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18990 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18991 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18992 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18993 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18994 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18995 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18996 "\x00\x01\x02\x03\x04\x05\x06\x07"
18997 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18998 "\x10\x11\x12\x13\x14\x15\x16\x17"
18999 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19000 "\x20\x21\x22\x23\x24\x25\x26\x27"
19001 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19002 "\x30\x31\x32\x33\x34\x35\x36\x37"
19003 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19004 "\x40\x41\x42\x43\x44\x45\x46\x47"
19005 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19006 "\x50\x51\x52\x53\x54\x55\x56\x57"
19007 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19008 "\x60\x61\x62\x63\x64\x65\x66\x67"
19009 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19010 "\x70\x71\x72\x73\x74\x75\x76\x77"
19011 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19012 "\x80\x81\x82\x83\x84\x85\x86\x87"
19013 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19014 "\x90\x91\x92\x93\x94\x95\x96\x97"
19015 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19016 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19017 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19018 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19019 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19020 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19021 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19022 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19023 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19024 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19025 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19026 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19027 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19028 .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
19029 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
19030 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
19031 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
19032 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
19033 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
19034 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
19035 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
19036 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
19037 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
19038 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
19039 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
19040 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
19041 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
19042 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
19043 "\x00\x02\x08\x87\x89\x14\x29\xca"
19044 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
19045 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
19046 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
19047 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
19048 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
19049 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
19050 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
19051 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
19052 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
19053 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
19054 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
19055 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
19056 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
19057 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
19058 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
19059 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
19060 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
19061 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
19062 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
19063 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
19064 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
19065 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
19066 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
19067 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
19068 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
19069 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
19070 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
19071 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
19072 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
19073 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
19074 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
19075 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
19076 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
19077 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
19078 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
19079 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
19080 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
19081 "\x94\x30\x54\xff\x84\x01\x14\x93"
19082 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
19083 "\x53\x76\x44\x1a\x77\xed\x43\x85"
19084 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
19085 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
19086 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
19087 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
19088 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
19089 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
19090 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
19091 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
19092 .len = 512,
19093 }
19094};
19095
19096static const struct cipher_testvec aes_ctr_tv_template[] = {
19097 { /* From NIST Special Publication 800-38A, Appendix F.5 */
19098 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19099 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19100 .klen = 16,
19101 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19102 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19103 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19104 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19105 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19106 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19107 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19108 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19109 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19110 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19111 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19112 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19113 .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19114 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19115 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19116 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19117 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19118 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19119 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19120 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19121 .len = 64,
19122 }, {
19123 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19124 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19125 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19126 .klen = 24,
19127 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19128 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19129 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19130 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19131 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19132 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19133 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19134 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19135 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19136 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19137 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19138 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19139 .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19140 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19141 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19142 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19143 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19144 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19145 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19146 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19147 .len = 64,
19148 }, {
19149 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19150 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19151 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19152 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19153 .klen = 32,
19154 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19155 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19156 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19157 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
19158 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19159 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19160 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19161 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19162 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19163 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19164 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19165 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19166 .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19167 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19168 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19169 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19170 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19171 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19172 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19173 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19174 .len = 64,
19175 }, { /* Generated with Crypto++ */
19176 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19177 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19178 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19179 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19180 .klen = 32,
19181 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19182 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19183 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
19184 "\x00\x00\x00\x00\x00\x00\x00\x1C",
19185 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19186 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19187 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19188 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19189 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19190 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19191 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19192 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19193 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19194 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19195 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19196 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19197 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19198 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19199 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19200 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19201 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19202 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19203 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19204 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19205 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19206 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19207 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19208 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19209 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19210 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19211 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19212 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19213 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19214 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19215 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19216 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19217 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19218 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19219 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19220 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19221 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19222 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19223 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19224 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19225 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19226 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19227 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19228 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19229 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19230 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19231 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19232 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19233 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19234 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19235 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19236 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19237 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19238 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19239 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19240 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19241 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19242 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19243 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19244 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19245 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19246 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19247 .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19248 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19249 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19250 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19251 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19252 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19253 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19254 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19255 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19256 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19257 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19258 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19259 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19260 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19261 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19262 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19263 "\x34\x4B\x31\x69\x84\x66\x96\x44"
19264 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19265 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19266 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19267 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19268 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19269 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19270 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19271 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19272 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19273 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19274 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19275 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19276 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19277 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19278 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19279 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19280 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19281 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19282 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19283 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19284 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19285 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19286 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19287 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19288 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19289 "\x85\x99\x22\xE8\x91\x38\x70\x83"
19290 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19291 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19292 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19293 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19294 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19295 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19296 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19297 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19298 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19299 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19300 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19301 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19302 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19303 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19304 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19305 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19306 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19307 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19308 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19309 .len = 496,
19310 }, { /* Generated with Crypto++ */
19311 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19312 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19313 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19314 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19315 .klen = 32,
19316 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19317 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19318 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19319 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
19320 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19321 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19322 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19323 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19324 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19325 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19326 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19327 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19328 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19329 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19330 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19331 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19332 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19333 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19334 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19335 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19336 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19337 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19338 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19339 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19340 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19341 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19342 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19343 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19344 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19345 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19346 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19347 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19348 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19349 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19350 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19351 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19352 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19353 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19354 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19355 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19356 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19357 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19358 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19359 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19360 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19361 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19362 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19363 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19364 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19365 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19366 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19367 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19368 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19369 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19370 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19371 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19372 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19373 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19374 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19375 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19376 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19377 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19378 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19379 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19380 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19381 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19382 "\x7B\xE4\x4D",
19383 .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19384 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19385 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19386 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19387 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19388 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19389 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19390 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19391 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19392 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19393 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19394 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19395 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19396 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19397 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19398 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19399 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19400 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19401 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19402 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19403 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19404 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19405 "\x45\x18\x18\x74\x19\xAD\x71\x01"
19406 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19407 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19408 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19409 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19410 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19411 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19412 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19413 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19414 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19415 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19416 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19417 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19418 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19419 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19420 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19421 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19422 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19423 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19424 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19425 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19426 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19427 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19428 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19429 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19430 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19431 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19432 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19433 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19434 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19435 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19436 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19437 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19438 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19439 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19440 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19441 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19442 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19443 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19444 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19445 "\xFB\xF2\x3F",
19446 .len = 499,
19447 },
19448};
19449
19450static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
19451 { /* From RFC 3686 */
19452 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19453 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19454 "\x00\x00\x00\x30",
19455 .klen = 20,
19456 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19457 .ptext = "Single block msg",
19458 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19459 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19460 .len = 16,
19461 }, {
19462 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19463 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19464 "\x00\x6c\xb6\xdb",
19465 .klen = 20,
19466 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19467 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
19468 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19469 "\x10\x11\x12\x13\x14\x15\x16\x17"
19470 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19471 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19472 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19473 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19474 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19475 .len = 32,
19476 }, {
19477 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19478 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19479 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19480 "\x00\x00\x00\x48",
19481 .klen = 28,
19482 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19483 .ptext = "Single block msg",
19484 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19485 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19486 .len = 16,
19487 }, {
19488 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19489 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19490 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19491 "\x00\x96\xb0\x3b",
19492 .klen = 28,
19493 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19494 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
19495 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19496 "\x10\x11\x12\x13\x14\x15\x16\x17"
19497 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19498 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19499 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19500 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19501 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19502 .len = 32,
19503 }, {
19504 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19505 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19506 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19507 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19508 "\x00\x00\x00\x60",
19509 .klen = 36,
19510 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19511 .ptext = "Single block msg",
19512 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19513 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19514 .len = 16,
19515 }, {
19516 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19517 "\x07\x96\x36\x58\x79\xef\xf8\x86"
19518 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19519 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19520 "\x00\xfa\xac\x24",
19521 .klen = 36,
19522 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19523 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
19524 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19525 "\x10\x11\x12\x13\x14\x15\x16\x17"
19526 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19527 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19528 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19529 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19530 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19531 .len = 32,
19532 }, {
19533 // generated using Crypto++
19534 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19535 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19536 "\x10\x11\x12\x13\x14\x15\x16\x17"
19537 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19538 "\x00\x00\x00\x00",
19539 .klen = 32 + 4,
19540 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19541 .ptext =
19542 "\x00\x01\x02\x03\x04\x05\x06\x07"
19543 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19544 "\x10\x11\x12\x13\x14\x15\x16\x17"
19545 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19546 "\x20\x21\x22\x23\x24\x25\x26\x27"
19547 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19548 "\x30\x31\x32\x33\x34\x35\x36\x37"
19549 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19550 "\x40\x41\x42\x43\x44\x45\x46\x47"
19551 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19552 "\x50\x51\x52\x53\x54\x55\x56\x57"
19553 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19554 "\x60\x61\x62\x63\x64\x65\x66\x67"
19555 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19556 "\x70\x71\x72\x73\x74\x75\x76\x77"
19557 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19558 "\x80\x81\x82\x83\x84\x85\x86\x87"
19559 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19560 "\x90\x91\x92\x93\x94\x95\x96\x97"
19561 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19562 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19563 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19564 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19565 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19566 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19567 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19568 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19569 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19570 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19571 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19572 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19573 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19574 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
19575 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19576 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
19577 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19578 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
19579 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19580 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19581 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19582 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19583 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19584 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19585 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19586 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
19587 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19588 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
19589 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19590 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
19591 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19592 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19593 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19594 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19595 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19596 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
19597 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19598 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
19599 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19600 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
19601 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19602 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19603 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19604 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19605 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19606 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19607 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19608 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19609 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19610 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19611 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19612 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19613 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19614 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19615 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19616 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19617 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19618 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19619 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19620 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19621 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19622 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19623 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19624 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19625 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19626 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19627 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19628 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19629 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19630 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19631 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19632 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19633 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19634 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19635 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19636 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19637 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19638 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19639 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19640 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19641 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19642 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19643 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19644 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19645 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19646 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19647 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19648 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19649 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19650 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19651 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19652 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19653 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19654 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19655 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19656 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19657 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19658 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19659 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19660 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19661 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19662 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19663 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19664 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19665 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19666 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19667 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19668 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19669 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19670 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19671 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19672 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19673 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19674 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19675 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19676 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19677 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19678 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19679 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19680 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19681 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19682 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19683 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19684 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19685 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19686 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19687 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19688 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19689 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19690 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19691 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19692 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19693 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19694 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19695 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19696 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19697 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19698 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19699 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19700 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19701 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19702 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19703 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19704 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19705 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19706 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19707 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19708 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19709 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19710 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19711 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19712 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19713 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19714 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19715 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19716 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19717 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19718 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19719 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19720 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19721 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19722 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19723 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19724 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19725 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19726 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19727 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19728 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19729 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19730 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19731 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19732 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19733 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19734 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19735 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19736 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19737 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
19738 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19739 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
19740 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19741 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19742 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19743 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19744 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19745 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19746 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19747 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19748 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19749 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
19750 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19751 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19752 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19753 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19754 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19755 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19756 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19757 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19758 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19759 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
19760 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19761 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19762 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19763 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19764 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19765 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19766 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19767 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19768 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19769 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19770 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19771 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19772 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19773 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
19774 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19775 "\x38\x47\x56\x65\x74\x83\x92\xa1"
19776 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19777 "\x28\x37\x46\x55\x64\x73\x82\x91"
19778 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19779 "\x18\x27\x36\x45\x54\x63\x72\x81"
19780 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19781 "\x08\x17\x26\x35\x44\x53\x62\x71"
19782 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19783 "\xf8\x07\x16\x25\x34\x43\x52\x61"
19784 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19785 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
19786 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19787 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19788 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19789 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19790 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19791 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19792 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19793 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19794 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19795 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19796 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19797 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19798 "\x00\x11\x22\x33\x44\x55\x66\x77"
19799 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19800 "\x10\x21\x32\x43\x54\x65\x76\x87"
19801 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19802 "\x20\x31\x42\x53\x64\x75\x86\x97"
19803 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19804 "\x30\x41\x52\x63\x74\x85\x96\xa7"
19805 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
19806 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
19807 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
19808 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
19809 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
19810 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
19811 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
19812 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
19813 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
19814 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
19815 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
19816 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
19817 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
19818 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
19819 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
19820 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
19821 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
19822 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
19823 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
19824 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
19825 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
19826 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
19827 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
19828 "\xf0\x01\x12\x23\x34\x45\x56\x67"
19829 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
19830 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
19831 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
19832 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
19833 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
19834 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
19835 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
19836 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
19837 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
19838 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
19839 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
19840 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
19841 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
19842 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
19843 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
19844 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
19845 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
19846 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
19847 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
19848 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
19849 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
19850 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
19851 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
19852 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
19853 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
19854 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
19855 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
19856 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
19857 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
19858 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
19859 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
19860 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
19861 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
19862 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
19863 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
19864 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
19865 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
19866 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
19867 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
19868 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
19869 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
19870 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
19871 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
19872 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
19873 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
19874 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
19875 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
19876 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
19877 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
19878 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
19879 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
19880 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
19881 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
19882 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
19883 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
19884 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
19885 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
19886 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
19887 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
19888 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
19889 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
19890 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
19891 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
19892 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
19893 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
19894 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
19895 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
19896 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
19897 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
19898 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
19899 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
19900 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
19901 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
19902 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
19903 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
19904 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
19905 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
19906 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
19907 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
19908 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
19909 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
19910 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
19911 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
19912 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
19913 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
19914 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
19915 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
19916 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
19917 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
19918 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
19919 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
19920 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
19921 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
19922 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
19923 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
19924 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
19925 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
19926 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
19927 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
19928 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
19929 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
19930 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
19931 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
19932 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
19933 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
19934 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
19935 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
19936 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
19937 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
19938 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
19939 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
19940 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
19941 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
19942 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
19943 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
19944 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
19945 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
19946 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
19947 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
19948 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
19949 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
19950 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
19951 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
19952 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
19953 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
19954 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
19955 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
19956 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
19957 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
19958 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
19959 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
19960 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
19961 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
19962 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
19963 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
19964 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
19965 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
19966 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
19967 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
19968 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
19969 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
19970 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
19971 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
19972 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
19973 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
19974 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
19975 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
19976 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
19977 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
19978 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
19979 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
19980 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
19981 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
19982 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
19983 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
19984 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
19985 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
19986 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
19987 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
19988 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
19989 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
19990 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
19991 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
19992 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
19993 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
19994 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
19995 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
19996 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
19997 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
19998 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
19999 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20000 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20001 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20002 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20003 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20004 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20005 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20006 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20007 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20008 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20009 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20010 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20011 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20012 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20013 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20014 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20015 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20016 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20017 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
20018 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20019 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20020 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20021 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20022 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20023 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20024 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20025 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20026 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20027 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20028 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20029 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20030 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20031 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20032 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20033 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20034 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20035 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20036 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20037 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20038 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20039 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20040 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20041 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20042 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20043 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20044 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20045 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20046 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20047 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20048 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20049 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20050 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20051 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20052 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20053 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20054 "\x00\x21\x42\x63",
20055 .ctext =
20056 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20057 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
20058 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20059 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20060 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20061 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20062 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20063 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20064 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20065 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
20066 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20067 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20068 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20069 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20070 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20071 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20072 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20073 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20074 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20075 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20076 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20077 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20078 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20079 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20080 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20081 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20082 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20083 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20084 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20085 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20086 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20087 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20088 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20089 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
20090 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20091 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20092 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20093 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20094 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20095 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20096 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20097 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20098 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20099 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20100 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20101 "\x04\x02\xef\xd3\x44\xde\x76\x31"
20102 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20103 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20104 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20105 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20106 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20107 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20108 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20109 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20110 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20111 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20112 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20113 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20114 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20115 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20116 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20117 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20118 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
20119 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20120 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20121 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20122 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20123 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20124 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20125 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20126 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20127 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20128 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20129 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20130 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20131 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20132 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20133 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20134 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20135 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20136 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20137 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20138 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
20139 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20140 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20141 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
20142 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20143 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
20144 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20145 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20146 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20147 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20148 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20149 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20150 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20151 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20152 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20153 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20154 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20155 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20156 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20157 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20158 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20159 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20160 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20161 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20162 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20163 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20164 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20165 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20166 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20167 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20168 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20169 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20170 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20171 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20172 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20173 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20174 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20175 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20176 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20177 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20178 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20179 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20180 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20181 "\x26\x39\x83\x94\xef\x27\xd8\x53"
20182 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20183 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
20184 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20185 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20186 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20187 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20188 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
20189 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20190 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20191 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20192 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20193 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20194 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20195 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20196 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20197 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
20198 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20199 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20200 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20201 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20202 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20203 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20204 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20205 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20206 "\x35\x12\xe3\x36\x28\x27\x36\x58"
20207 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20208 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20209 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20210 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20211 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20212 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20213 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20214 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20215 "\x89\xf3\x78\x35\x44\x62\x78\x72"
20216 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20217 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20218 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20219 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20220 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20221 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20222 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20223 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20224 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20225 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20226 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
20227 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20228 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20229 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20230 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20231 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20232 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
20233 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20234 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20235 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20236 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20237 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20238 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20239 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20240 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20241 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20242 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20243 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20244 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
20245 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20246 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20247 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20248 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20249 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20250 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20251 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20252 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20253 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20254 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
20255 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20256 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20257 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20258 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20259 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20260 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20261 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20262 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
20263 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20264 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20265 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20266 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20267 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20268 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20269 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20270 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20271 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20272 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20273 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20274 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20275 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20276 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20277 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20278 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20279 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20280 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20281 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20282 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20283 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20284 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20285 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20286 "\x29\x90\x46\x30\x92\x69\x7d\x13"
20287 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20288 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20289 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20290 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20291 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20292 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20293 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20294 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20295 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20296 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20297 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20298 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20299 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20300 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20301 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20302 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20303 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
20304 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20305 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20306 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
20307 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20308 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20309 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20310 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20311 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20312 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20313 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20314 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20315 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20316 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20317 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20318 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20319 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20320 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20321 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20322 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20323 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20324 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20325 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
20326 "\x73\x02\x3b\x78\x21\x72\x43\x00"
20327 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
20328 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20329 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20330 "\x11\x94\x13\x69\x51\x09\x28\xde"
20331 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20332 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20333 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20334 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20335 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20336 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20337 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20338 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20339 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20340 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20341 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20342 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20343 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20344 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20345 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20346 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20347 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20348 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20349 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20350 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
20351 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20352 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20353 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20354 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20355 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20356 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20357 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20358 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20359 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20360 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20361 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20362 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20363 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
20364 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20365 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20366 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20367 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
20368 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20369 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20370 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20371 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20372 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20373 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20374 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20375 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20376 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20377 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20378 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
20379 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20380 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20381 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20382 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20383 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20384 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20385 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20386 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20387 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20388 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20389 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20390 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20391 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20392 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20393 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20394 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20395 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20396 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20397 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20398 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20399 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20400 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20401 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20402 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20403 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20404 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20405 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20406 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20407 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
20408 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20409 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20410 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20411 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20412 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20413 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20414 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20415 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20416 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20417 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20418 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20419 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20420 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20421 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20422 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20423 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20424 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20425 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20426 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20427 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20428 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20429 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20430 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20431 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20432 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
20433 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20434 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20435 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20436 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20437 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20438 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20439 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20440 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20441 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20442 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20443 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20444 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20445 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
20446 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20447 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20448 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20449 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20450 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
20451 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20452 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
20453 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20454 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20455 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20456 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20457 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20458 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20459 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20460 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20461 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
20462 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20463 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20464 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20465 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20466 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20467 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20468 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20469 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20470 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20471 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20472 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20473 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20474 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20475 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20476 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20477 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20478 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20479 "\xae\xed\x39\x88\x42\x11\x3c\xed"
20480 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20481 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20482 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20483 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20484 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20485 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20486 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20487 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20488 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20489 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20490 "\x34\x17\xde\xba\x47\xf1\x06\x18"
20491 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20492 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20493 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20494 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20495 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20496 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20497 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20498 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20499 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20500 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20501 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20502 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20503 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20504 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20505 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20506 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20507 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20508 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20509 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20510 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
20511 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20512 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20513 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20514 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20515 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20516 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20517 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20518 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20519 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
20520 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20521 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20522 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20523 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20524 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20525 "\x74\x56\x58\x40\x02\x37\x52\x2c"
20526 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20527 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20528 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20529 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20530 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20531 "\xed\x38\x80\x36\x72\x43\x27\x49"
20532 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20533 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20534 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20535 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20536 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20537 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20538 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20539 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20540 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20541 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20542 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
20543 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20544 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20545 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20546 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20547 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20548 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20549 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20550 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20551 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20552 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20553 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20554 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20555 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20556 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20557 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20558 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20559 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20560 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20561 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20562 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20563 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
20564 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20565 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20566 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20567 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
20568 "\x21\xed\xda\x86",
20569 .len = 4100,
20570 },
20571};
20572
20573static const struct aead_testvec aes_gcm_tv_template[] = {
20574 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20575 .key = zeroed_string,
20576 .klen = 16,
20577 .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20578 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20579 .clen = 16,
20580 }, {
20581 .key = zeroed_string,
20582 .klen = 16,
20583 .ptext = zeroed_string,
20584 .plen = 16,
20585 .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20586 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20587 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20588 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20589 .clen = 32,
20590 }, {
20591 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20592 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20593 .klen = 16,
20594 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20595 "\xde\xca\xf8\x88",
20596 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20597 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20598 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20599 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20600 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20601 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20602 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20603 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20604 .plen = 64,
20605 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20606 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20607 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20608 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20609 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20610 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20611 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20612 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20613 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20614 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20615 .clen = 80,
20616 }, {
20617 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20618 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20619 .klen = 16,
20620 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20621 "\xde\xca\xf8\x88",
20622 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20623 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20624 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20625 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20626 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20627 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20628 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20629 "\xba\x63\x7b\x39",
20630 .plen = 60,
20631 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20632 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20633 "\xab\xad\xda\xd2",
20634 .alen = 20,
20635 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20636 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20637 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20638 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20639 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20640 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20641 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20642 "\x3d\x58\xe0\x91"
20643 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20644 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20645 .clen = 76,
20646 }, {
20647 .key = zeroed_string,
20648 .klen = 24,
20649 .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20650 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20651 .clen = 16,
20652 }, {
20653 .key = zeroed_string,
20654 .klen = 24,
20655 .ptext = zeroed_string,
20656 .plen = 16,
20657 .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
20658 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
20659 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
20660 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
20661 .clen = 32,
20662 }, {
20663 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20664 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20665 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20666 .klen = 24,
20667 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20668 "\xde\xca\xf8\x88",
20669 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20670 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20671 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20672 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20673 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20674 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20675 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20676 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20677 .plen = 64,
20678 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20679 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20680 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20681 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20682 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20683 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20684 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20685 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
20686 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
20687 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
20688 .clen = 80,
20689 }, {
20690 .key = zeroed_string,
20691 .klen = 32,
20692 .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
20693 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
20694 .clen = 16,
20695 }, {
20696 .key = zeroed_string,
20697 .klen = 32,
20698 .ptext = zeroed_string,
20699 .plen = 16,
20700 .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
20701 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
20702 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
20703 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
20704 .clen = 32,
20705 }, {
20706 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20707 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20708 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20709 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20710 .klen = 32,
20711 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20712 "\xde\xca\xf8\x88",
20713 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20714 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20715 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20716 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20717 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20718 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20719 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20720 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20721 .plen = 64,
20722 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20723 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20724 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20725 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20726 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20727 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20728 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20729 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
20730 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
20731 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
20732 .clen = 80,
20733 }, {
20734 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20735 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20736 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20737 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20738 .klen = 32,
20739 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20740 "\xde\xca\xf8\x88",
20741 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20742 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20743 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20744 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20745 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20746 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20747 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20748 "\xba\x63\x7b\x39",
20749 .plen = 60,
20750 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20751 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20752 "\xab\xad\xda\xd2",
20753 .alen = 20,
20754 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20755 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20756 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20757 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20758 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20759 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20760 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20761 "\xbc\xc9\xf6\x62"
20762 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
20763 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
20764 .clen = 76,
20765 }, {
20766 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20767 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20768 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20769 .klen = 24,
20770 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20771 "\xde\xca\xf8\x88",
20772 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20773 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20774 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20775 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20776 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20777 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20778 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20779 "\xba\x63\x7b\x39",
20780 .plen = 60,
20781 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20782 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20783 "\xab\xad\xda\xd2",
20784 .alen = 20,
20785 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20786 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20787 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20788 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20789 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20790 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20791 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20792 "\xcc\xda\x27\x10"
20793 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
20794 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
20795 .clen = 76,
20796 }, {
20797 .key = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
20798 "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
20799 "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
20800 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
20801 .klen = 32,
20802 .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
20803 "\xff\xff\x00\xff",
20804 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
20805 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
20806 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
20807 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
20808 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
20809 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
20810 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
20811 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
20812 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
20813 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
20814 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
20815 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
20816 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
20817 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
20818 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
20819 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
20820 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
20821 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
20822 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
20823 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
20824 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
20825 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
20826 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
20827 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
20828 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
20829 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
20830 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
20831 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
20832 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
20833 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
20834 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
20835 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
20836 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
20837 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
20838 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
20839 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
20840 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
20841 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
20842 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
20843 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
20844 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
20845 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
20846 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
20847 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
20848 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
20849 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
20850 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
20851 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
20852 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
20853 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
20854 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
20855 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
20856 "\x87\x79\x60\x38\x46\xb4\x25\x57"
20857 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
20858 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
20859 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
20860 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
20861 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
20862 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
20863 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
20864 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
20865 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
20866 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
20867 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
20868 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
20869 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
20870 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
20871 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
20872 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
20873 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
20874 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
20875 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
20876 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
20877 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
20878 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
20879 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
20880 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
20881 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
20882 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
20883 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
20884 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
20885 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
20886 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
20887 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
20888 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
20889 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
20890 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
20891 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
20892 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
20893 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
20894 .plen = 719,
20895 .ctext = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
20896 "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
20897 "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
20898 "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
20899 "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
20900 "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
20901 "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
20902 "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
20903 "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
20904 "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
20905 "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
20906 "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
20907 "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
20908 "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
20909 "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
20910 "\x44\x30\x1e\xce\x26\x01\x92\xf8"
20911 "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
20912 "\x89\xca\x94\x66\x11\x21\x97\xca"
20913 "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
20914 "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
20915 "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
20916 "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
20917 "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
20918 "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
20919 "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
20920 "\xde\x6b\x52\x98\x01\xef\x36\x3d"
20921 "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
20922 "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
20923 "\x48\x96\xe0\x90\x93\x6c\x48\x64"
20924 "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
20925 "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
20926 "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
20927 "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
20928 "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
20929 "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
20930 "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
20931 "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
20932 "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
20933 "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
20934 "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
20935 "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
20936 "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
20937 "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
20938 "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
20939 "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
20940 "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
20941 "\xc1\x26\xce\x90\x97\x22\x64\x64"
20942 "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
20943 "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
20944 "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
20945 "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
20946 "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
20947 "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
20948 "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
20949 "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
20950 "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
20951 "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
20952 "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
20953 "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
20954 "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
20955 "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
20956 "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
20957 "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
20958 "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
20959 "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
20960 "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
20961 "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
20962 "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
20963 "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
20964 "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
20965 "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
20966 "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
20967 "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
20968 "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
20969 "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
20970 "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
20971 "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
20972 "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
20973 "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
20974 "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
20975 "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
20976 "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
20977 "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
20978 "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
20979 "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
20980 "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
20981 "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
20982 "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
20983 "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
20984 "\x38\x58\x9e\x8a\x43\xdc\x57"
20985 "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
20986 "\x4b\x24\x52\x58\x55\xe1\x49\x14",
20987 .clen = 735,
20988 }
20989};
20990
20991static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
20992 { /* Generated using Crypto++ */
20993 .key = zeroed_string,
20994 .klen = 20,
20995 .iv = zeroed_string,
20996 .ptext = zeroed_string,
20997 .plen = 16,
20998 .assoc = zeroed_string,
20999 .alen = 16,
21000 .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21001 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21002 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21003 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21004 .clen = 32,
21005 },{
21006 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21007 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21008 "\x00\x00\x00\x00",
21009 .klen = 20,
21010 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21011 .ptext = zeroed_string,
21012 .plen = 16,
21013 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
21014 "\x00\x00\x00\x00\x00\x00\x00\x01",
21015 .alen = 16,
21016 .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21017 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21018 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21019 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21020 .clen = 32,
21021
21022 }, {
21023 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21024 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21025 "\x00\x00\x00\x00",
21026 .klen = 20,
21027 .iv = zeroed_string,
21028 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21029 "\x01\x01\x01\x01\x01\x01\x01\x01",
21030 .plen = 16,
21031 .assoc = zeroed_string,
21032 .alen = 16,
21033 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21034 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21035 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21036 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21037 .clen = 32,
21038 }, {
21039 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21040 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21041 "\x00\x00\x00\x00",
21042 .klen = 20,
21043 .iv = zeroed_string,
21044 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21045 "\x01\x01\x01\x01\x01\x01\x01\x01",
21046 .plen = 16,
21047 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21048 "\x00\x00\x00\x00\x00\x00\x00\x00",
21049 .alen = 16,
21050 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21051 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21052 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21053 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21054 .clen = 32,
21055 }, {
21056 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21057 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21058 "\x00\x00\x00\x00",
21059 .klen = 20,
21060 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21061 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21062 "\x01\x01\x01\x01\x01\x01\x01\x01",
21063 .plen = 16,
21064 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21065 "\x00\x00\x00\x00\x00\x00\x00\x01",
21066 .alen = 16,
21067 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21068 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21069 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21070 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21071 .clen = 32,
21072 }, {
21073 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21074 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21075 "\x00\x00\x00\x00",
21076 .klen = 20,
21077 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21078 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21079 "\x01\x01\x01\x01\x01\x01\x01\x01"
21080 "\x01\x01\x01\x01\x01\x01\x01\x01"
21081 "\x01\x01\x01\x01\x01\x01\x01\x01"
21082 "\x01\x01\x01\x01\x01\x01\x01\x01"
21083 "\x01\x01\x01\x01\x01\x01\x01\x01"
21084 "\x01\x01\x01\x01\x01\x01\x01\x01"
21085 "\x01\x01\x01\x01\x01\x01\x01\x01",
21086 .plen = 64,
21087 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21088 "\x00\x00\x00\x00\x00\x00\x00\x01",
21089 .alen = 16,
21090 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21091 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21092 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21093 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21094 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21095 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21096 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21097 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21098 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21099 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21100 .clen = 80,
21101 }, {
21102 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
21103 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21104 "\x00\x00\x00\x00",
21105 .klen = 20,
21106 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21107 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
21108 "\xff\xff\xff\xff\xff\xff\xff\xff"
21109 "\xff\xff\xff\xff\xff\xff\xff\xff"
21110 "\xff\xff\xff\xff\xff\xff\xff\xff"
21111 "\xff\xff\xff\xff\xff\xff\xff\xff"
21112 "\xff\xff\xff\xff\xff\xff\xff\xff"
21113 "\xff\xff\xff\xff\xff\xff\xff\xff"
21114 "\xff\xff\xff\xff\xff\xff\xff\xff"
21115 "\xff\xff\xff\xff\xff\xff\xff\xff"
21116 "\xff\xff\xff\xff\xff\xff\xff\xff"
21117 "\xff\xff\xff\xff\xff\xff\xff\xff"
21118 "\xff\xff\xff\xff\xff\xff\xff\xff"
21119 "\xff\xff\xff\xff\xff\xff\xff\xff"
21120 "\xff\xff\xff\xff\xff\xff\xff\xff"
21121 "\xff\xff\xff\xff\xff\xff\xff\xff"
21122 "\xff\xff\xff\xff\xff\xff\xff\xff"
21123 "\xff\xff\xff\xff\xff\xff\xff\xff"
21124 "\xff\xff\xff\xff\xff\xff\xff\xff"
21125 "\xff\xff\xff\xff\xff\xff\xff\xff"
21126 "\xff\xff\xff\xff\xff\xff\xff\xff"
21127 "\xff\xff\xff\xff\xff\xff\xff\xff"
21128 "\xff\xff\xff\xff\xff\xff\xff\xff"
21129 "\xff\xff\xff\xff\xff\xff\xff\xff"
21130 "\xff\xff\xff\xff\xff\xff\xff\xff",
21131 .plen = 192,
21132 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21133 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21134 "\x89\xab\xcd\xef",
21135 .alen = 20,
21136 .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21137 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21138 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21139 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21140 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21141 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21142 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21143 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21144 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21145 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21146 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21147 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21148 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21149 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21150 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21151 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21152 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21153 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21154 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21155 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21156 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21157 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21158 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21159 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21160 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21161 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21162 .clen = 208,
21163 }, { /* From draft-mcgrew-gcm-test-01 */
21164 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21165 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21166 "\x2E\x44\x3B\x68",
21167 .klen = 20,
21168 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21169 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
21170 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21171 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21172 "\x38\xD3\x01\x00\x00\x01\x00\x00"
21173 "\x00\x00\x00\x00\x04\x5F\x73\x69"
21174 "\x70\x04\x5F\x75\x64\x70\x03\x73"
21175 "\x69\x70\x09\x63\x79\x62\x65\x72"
21176 "\x63\x69\x74\x79\x02\x64\x6B\x00"
21177 "\x00\x21\x00\x01\x01\x02\x02\x01",
21178 .plen = 72,
21179 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21180 "\x00\x00\x00\x00\x49\x56\xED\x7E"
21181 "\x3B\x24\x4C\xFE",
21182 .alen = 20,
21183 .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21184 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21185 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21186 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21187 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21188 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21189 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21190 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21191 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21192 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21193 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21194 .clen = 88,
21195 }, {
21196 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21197 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21198 "\xCA\xFE\xBA\xBE",
21199 .klen = 20,
21200 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21201 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21202 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21203 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21204 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21205 "\x00\x01\x00\x00\x00\x00\x00\x00"
21206 "\x03\x73\x69\x70\x09\x63\x79\x62"
21207 "\x65\x72\x63\x69\x74\x79\x02\x64"
21208 "\x6B\x00\x00\x01\x00\x01\x00\x01",
21209 .plen = 64,
21210 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21211 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21212 .alen = 16,
21213 .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21214 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21215 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21216 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21217 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21218 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21219 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21220 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21221 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21222 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21223 .clen = 80,
21224 }, {
21225 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21226 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21227 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21228 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21229 "\x11\x22\x33\x44",
21230 .klen = 36,
21231 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
21232 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
21233 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21234 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21235 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21236 "\x70\x02\x40\x00\x20\xBF\x00\x00"
21237 "\x02\x04\x05\xB4\x01\x01\x04\x02"
21238 "\x01\x02\x02\x01",
21239 .plen = 52,
21240 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21241 "\x01\x02\x03\x04\x05\x06\x07\x08",
21242 .alen = 16,
21243 .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21244 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21245 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21246 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21247 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21248 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21249 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21250 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21251 "\x15\x95\x6C\x96",
21252 .clen = 68,
21253 }, {
21254 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
21255 "\x00\x00\x00\x00\x00\x00\x00\x00"
21256 "\x00\x00\x00\x00",
21257 .klen = 20,
21258 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
21259 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21260 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21261 "\x01\x01\x01\x01\x08\x00\x07\x5C"
21262 "\x02\x00\x44\x00\x61\x62\x63\x64"
21263 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21264 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21265 "\x75\x76\x77\x61\x62\x63\x64\x65"
21266 "\x66\x67\x68\x69\x01\x02\x02\x01",
21267 .plen = 64,
21268 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
21269 "\x00\x00\x00\x00\x00\x00\x00\x00",
21270 .alen = 16,
21271 .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21272 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21273 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21274 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21275 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21276 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21277 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21278 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21279 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21280 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21281 .clen = 80,
21282 }, {
21283 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21284 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21285 "\x57\x69\x0E\x43",
21286 .klen = 20,
21287 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21288 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21289 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21290 "\x01\x01\x01\x01\x08\x00\x08\x5C"
21291 "\x02\x00\x43\x00\x61\x62\x63\x64"
21292 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21293 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21294 "\x75\x76\x77\x61\x62\x63\x64\x65"
21295 "\x66\x67\x68\x69\x01\x02\x02\x01",
21296 .plen = 64,
21297 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21298 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21299 "\xA2\xFC\xA1\xA3",
21300 .alen = 20,
21301 .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21302 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21303 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21304 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21305 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21306 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21307 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21308 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21309 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21310 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21311 .clen = 80,
21312 }, {
21313 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21314 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21315 "\x57\x69\x0E\x43",
21316 .klen = 20,
21317 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21318 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21319 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21320 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21321 "\x01\x02\x02\x01",
21322 .plen = 28,
21323 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21324 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21325 "\xA2\xFC\xA1\xA3",
21326 .alen = 20,
21327 .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21328 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21329 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21330 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21331 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21332 "\xE7\xD0\x5D\x35",
21333 .clen = 44,
21334 }, {
21335 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21336 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21337 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21338 "\xCA\xFE\xBA\xBE",
21339 .klen = 28,
21340 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21341 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21342 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21343 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21344 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21345 "\x50\x10\x16\xD0\x75\x68\x00\x01",
21346 .plen = 40,
21347 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21348 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21349 .alen = 16,
21350 .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21351 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21352 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21353 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21354 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21355 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21356 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21357 .clen = 56,
21358 }, {
21359 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21360 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21361 "\xDE\xCA\xF8\x88",
21362 .klen = 20,
21363 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21364 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
21365 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21366 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21367 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21368 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21369 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21370 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21371 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21372 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21373 "\x23\x01\x01\x01",
21374 .plen = 76,
21375 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21376 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21377 "\xCE\xFA\xCE\x74",
21378 .alen = 20,
21379 .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21380 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21381 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21382 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21383 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21384 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21385 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21386 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21387 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21388 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21389 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21390 "\x69\x62\x34\x36",
21391 .clen = 92,
21392 }, {
21393 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21394 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21395 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21396 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21397 "\x73\x61\x6C\x74",
21398 .klen = 36,
21399 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21400 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
21401 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21402 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21403 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21404 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21405 .plen = 40,
21406 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21407 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21408 "\x69\x76\x65\x63",
21409 .alen = 20,
21410 .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21411 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21412 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21413 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21414 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21415 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21416 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21417 .clen = 56,
21418 }, {
21419 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21420 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21421 "\x57\x69\x0E\x43",
21422 .klen = 20,
21423 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21424 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
21425 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21426 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21427 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21428 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21429 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21430 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21431 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21432 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21433 "\x15\x01\x01\x01",
21434 .plen = 76,
21435 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21436 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21437 "\xA2\xFC\xA1\xA3",
21438 .alen = 20,
21439 .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21440 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21441 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21442 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21443 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21444 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21445 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21446 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21447 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21448 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21449 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21450 "\x8C\xAA\x81\xE2",
21451 .clen = 92,
21452 }, {
21453 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21454 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21455 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21456 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21457 "\x73\x61\x6C\x74",
21458 .klen = 36,
21459 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21460 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
21461 "\x6C\x65\x73\x01\x74\x68\x65\x01"
21462 "\x6E\x65\x74\x77\x65\x01\x64\x65"
21463 "\x66\x69\x6E\x65\x01\x74\x68\x65"
21464 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21465 "\x67\x69\x65\x73\x01\x74\x68\x61"
21466 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21467 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21468 "\x72\x72\x6F\x77\x01\x02\x02\x01",
21469 .plen = 72,
21470 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21471 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21472 "\x69\x76\x65\x63",
21473 .alen = 20,
21474 .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21475 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21476 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21477 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21478 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21479 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21480 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21481 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21482 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21483 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21484 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21485 .clen = 88,
21486 }, {
21487 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21488 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21489 "\xD9\x66\x42\x67",
21490 .klen = 20,
21491 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21492 .ptext = "\x01\x02\x02\x01",
21493 .plen = 4,
21494 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21495 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21496 .alen = 16,
21497 .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21498 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21499 "\x04\xBE\xF2\x70",
21500 .clen = 20,
21501 }, {
21502 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21503 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21504 "\xDE\xCA\xF8\x88",
21505 .klen = 20,
21506 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21507 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21508 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21509 "\x62\x65\x00\x01",
21510 .plen = 20,
21511 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21512 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21513 "\xCE\xFA\xCE\x74",
21514 .alen = 20,
21515 .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21516 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21517 "\x43\x33\x21\x64\x41\x25\x03\x52"
21518 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21519 "\x43\xAF\x8C\x3E",
21520 .clen = 36,
21521 }, {
21522 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21523 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21524 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21525 "\x62\x65\x66\x6F\x72\x65\x69\x61"
21526 "\x74\x75\x72\x6E",
21527 .klen = 36,
21528 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
21529 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21530 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21531 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21532 "\x02\x00\x07\x00\x61\x62\x63\x64"
21533 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21534 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21535 "\x01\x02\x02\x01",
21536 .plen = 52,
21537 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21538 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21539 "\x67\x65\x74\x6D",
21540 .alen = 20,
21541 .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21542 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21543 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21544 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21545 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21546 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21547 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21548 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21549 "\x9F\xB4\xC0\x53",
21550 .clen = 68,
21551 }, {
21552 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21553 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21554 "\x57\x69\x0E\x43",
21555 .klen = 20,
21556 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21557 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21558 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21559 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21560 "\x02\x00\x07\x00\x61\x62\x63\x64"
21561 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21562 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21563 "\x01\x02\x02\x01",
21564 .plen = 52,
21565 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21566 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21567 "\xA2\xFC\xA1\xA3",
21568 .alen = 20,
21569 .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21570 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21571 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21572 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21573 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21574 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21575 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21576 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21577 "\x40\xD7\xCB\x05",
21578 .clen = 68,
21579 }, {
21580 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21581 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21582 "\x22\x43\x3C\x64",
21583 .klen = 20,
21584 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21585 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21586 "\x61\x62\x63\x64\x65\x66\x67\x68"
21587 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21588 "\x71\x72\x73\x74\x01\x02\x02\x01",
21589 .plen = 32,
21590 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21591 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21592 "\x3A\x23\x4B\xFD",
21593 .alen = 20,
21594 .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21595 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21596 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21597 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21598 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21599 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21600 .clen = 48,
21601 }
21602};
21603
21604static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
21605 { /* From draft-mcgrew-gcm-test-01 */
21606 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21607 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21608 "\x22\x43\x3c\x64",
21609 .klen = 20,
21610 .iv = zeroed_string,
21611 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
21612 "\x00\x00\x00\x00\x00\x00\x00\x00",
21613 .alen = 16,
21614 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21615 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21616 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21617 "\x02\x00\x07\x00\x61\x62\x63\x64"
21618 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21619 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21620 "\x01\x02\x02\x01",
21621 .plen = 52,
21622 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21623 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21624 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21625 "\x02\x00\x07\x00\x61\x62\x63\x64"
21626 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21627 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21628 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21629 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21630 "\xe4\x09\x9a\xaa",
21631 .clen = 68,
21632 }, { /* nearly same as previous, but should fail */
21633 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
21634 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
21635 "\x22\x43\x3c\x64",
21636 .klen = 20,
21637 .iv = zeroed_string,
21638 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
21639 "\x00\x00\x00\x00\x00\x00\x00\x00",
21640 .alen = 16,
21641 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21642 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21643 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21644 "\x02\x00\x07\x00\x61\x62\x63\x64"
21645 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21646 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21647 "\x01\x02\x02\x01",
21648 .plen = 52,
21649 .novrfy = 1,
21650 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
21651 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
21652 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
21653 "\x02\x00\x07\x00\x61\x62\x63\x64"
21654 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
21655 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
21656 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
21657 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
21658 "\x00\x00\x00\x00",
21659 .clen = 68,
21660 },
21661};
21662
21663static const struct aead_testvec aes_ccm_tv_template[] = {
21664 { /* From RFC 3610 */
21665 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21666 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21667 .klen = 16,
21668 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
21669 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21670 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
21671 .alen = 8,
21672 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21673 "\x10\x11\x12\x13\x14\x15\x16\x17"
21674 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
21675 .plen = 23,
21676 .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
21677 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
21678 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
21679 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
21680 .clen = 31,
21681 }, {
21682 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21683 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21684 .klen = 16,
21685 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
21686 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21687 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
21688 "\x08\x09\x0a\x0b",
21689 .alen = 12,
21690 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21691 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21692 "\x1c\x1d\x1e\x1f",
21693 .plen = 20,
21694 .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
21695 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
21696 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
21697 "\x7d\x9c\x2d\x93",
21698 .clen = 28,
21699 }, {
21700 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21701 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21702 .klen = 16,
21703 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
21704 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21705 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
21706 .alen = 8,
21707 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21708 "\x10\x11\x12\x13\x14\x15\x16\x17"
21709 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
21710 "\x20",
21711 .plen = 25,
21712 .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
21713 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
21714 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
21715 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
21716 "\x7e\x5f\x4e",
21717 .clen = 35,
21718 }, {
21719 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
21720 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
21721 .klen = 16,
21722 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
21723 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
21724 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
21725 "\x08\x09\x0a\x0b",
21726 .alen = 12,
21727 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
21728 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
21729 "\x1c\x1d\x1e",
21730 .plen = 19,
21731 .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
21732 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
21733 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
21734 "\x4d\x99\x99\x88\xdd",
21735 .clen = 29,
21736 }, {
21737 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21738 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21739 .klen = 16,
21740 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
21741 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21742 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
21743 .alen = 8,
21744 .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
21745 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
21746 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
21747 .plen = 24,
21748 .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
21749 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
21750 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
21751 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
21752 .clen = 32,
21753 }, {
21754 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21755 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21756 .klen = 16,
21757 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
21758 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21759 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
21760 "\x20\xea\x60\xc0",
21761 .alen = 12,
21762 .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
21763 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
21764 "\x3a\x80\x3b\xa8\x7f",
21765 .plen = 21,
21766 .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
21767 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
21768 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
21769 "\x5a\xe0\x70\x45\x51",
21770 .clen = 29,
21771 }, {
21772 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
21773 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
21774 .klen = 16,
21775 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
21776 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
21777 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
21778 .alen = 8,
21779 .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
21780 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
21781 "\x98\x09\xd6\x7d\xbe\xdd\x18",
21782 .plen = 23,
21783 .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
21784 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
21785 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
21786 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
21787 "\xba",
21788 .clen = 33,
21789 }, {
21790 /* This is taken from FIPS CAVS. */
21791 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
21792 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
21793 .klen = 16,
21794 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
21795 .alen = 0,
21796 .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
21797 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
21798 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
21799 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
21800 .plen = 32,
21801 .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
21802 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
21803 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
21804 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
21805 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
21806 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
21807 .clen = 48,
21808 }, {
21809 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
21810 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
21811 .klen = 16,
21812 .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
21813 "\x30\x60\x15\x56\x00\x00\x00\x00",
21814 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
21815 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
21816 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
21817 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
21818 .alen = 32,
21819 .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
21820 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
21821 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
21822 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
21823 .plen = 32,
21824 .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
21825 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
21826 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
21827 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
21828 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
21829 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
21830 .clen = 48,
21831 }, {
21832 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
21833 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
21834 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
21835 .klen = 24,
21836 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
21837 "\x50\x20\xda\xe2\x00\x00\x00\x00",
21838 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
21839 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
21840 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
21841 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
21842 .alen = 32,
21843 .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
21844 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
21845 .clen = 16,
21846 }, {
21847 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
21848 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
21849 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
21850 .klen = 24,
21851 .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
21852 "\xef\x09\x2e\x94\x00\x00\x00\x00",
21853 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
21854 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
21855 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
21856 "\xe3\x00\x73\x69\x84\x69\x87\x79",
21857 .alen = 32,
21858 .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
21859 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
21860 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
21861 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
21862 .plen = 32,
21863 .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
21864 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
21865 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
21866 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
21867 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
21868 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
21869 .clen = 48,
21870 }, {
21871 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
21872 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
21873 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
21874 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
21875 .klen = 32,
21876 .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
21877 "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
21878 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
21879 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
21880 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
21881 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
21882 .alen = 32,
21883 .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
21884 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
21885 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
21886 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
21887 .plen = 32,
21888 .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
21889 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
21890 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
21891 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
21892 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
21893 .clen = 40,
21894 }, {
21895 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
21896 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
21897 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
21898 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
21899 .klen = 32,
21900 .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
21901 "\x43\xf6\x1e\x50\0\0\0\0",
21902 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
21903 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
21904 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
21905 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
21906 .alen = 32,
21907 .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
21908 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
21909 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
21910 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
21911 .plen = 32,
21912 .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
21913 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
21914 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
21915 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
21916 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
21917 "\x7b\x72\x8a\xf7",
21918 .clen = 44,
21919 }, {
21920 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
21921 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
21922 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
21923 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
21924 .klen = 32,
21925 .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
21926 "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
21927 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
21928 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
21929 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
21930 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
21931 .alen = 32,
21932 .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
21933 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
21934 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
21935 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
21936 .plen = 32,
21937 .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
21938 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
21939 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
21940 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
21941 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
21942 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
21943 .clen = 48,
21944 }, {
21945 /* This is taken from FIPS CAVS. */
21946 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21947 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21948 .klen = 16,
21949 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21950 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21951 .alen = 0,
21952 .ptext = "\x00",
21953 .plen = 0,
21954 .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
21955 .clen = 8,
21956 .novrfy = 1,
21957 }, {
21958 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21959 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21960 .klen = 16,
21961 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
21962 "\x7f\x88\x94\x68\x00\x00\x00\x00",
21963 .alen = 0,
21964 .ptext = "\x00",
21965 .plen = 0,
21966 .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
21967 .clen = 8,
21968 }, {
21969 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21970 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21971 .klen = 16,
21972 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21973 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21974 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
21975 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
21976 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
21977 "\xd8\x94\x99\x91\x81\x54\x62\x57",
21978 .alen = 32,
21979 .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
21980 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
21981 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
21982 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
21983 .plen = 32,
21984 .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
21985 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
21986 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
21987 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
21988 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
21989 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
21990 .clen = 48,
21991 .novrfy = 1,
21992 }, {
21993 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21994 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21995 .klen = 16,
21996 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
21997 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
21998 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
21999 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
22000 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
22001 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
22002 .alen = 32,
22003 .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
22004 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
22005 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
22006 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
22007 .plen = 32,
22008 .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
22009 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
22010 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
22011 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
22012 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
22013 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
22014 .clen = 48,
22015 }, {
22016 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22017 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22018 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
22019 .klen = 24,
22020 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22021 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22022 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22023 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22024 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22025 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22026 .alen = 32,
22027 .ptext = "\x00",
22028 .plen = 0,
22029 .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
22030 .clen = 8,
22031 }, {
22032 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22033 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22034 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22035 .klen = 24,
22036 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22037 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22038 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22039 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22040 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22041 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22042 .alen = 32,
22043 .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
22044 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
22045 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
22046 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
22047 .plen = 32,
22048 .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
22049 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
22050 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
22051 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
22052 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
22053 .clen = 40,
22054 }, {
22055 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22056 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22057 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22058 .klen = 24,
22059 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
22060 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
22061 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
22062 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
22063 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
22064 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
22065 .alen = 32,
22066 .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
22067 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
22068 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
22069 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
22070 .plen = 32,
22071 .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
22072 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
22073 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
22074 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
22075 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
22076 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
22077 .clen = 48,
22078 .novrfy = 1,
22079 }, {
22080 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
22081 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
22082 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
22083 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
22084 .klen = 32,
22085 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22086 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22087 .alen = 0,
22088 .ptext = "\x00",
22089 .plen = 0,
22090 .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
22091 .clen = 8,
22092 }, {
22093 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22094 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22095 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
22096 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
22097 .klen = 32,
22098 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
22099 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
22100 .alen = 0,
22101 .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
22102 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
22103 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
22104 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
22105 .plen = 32,
22106 .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
22107 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
22108 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
22109 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
22110 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
22111 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
22112 .clen = 48,
22113 .novrfy = 1,
22114 }, {
22115 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22116 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22117 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
22118 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
22119 .klen = 32,
22120 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
22121 "\x44\x89\x40\x7b\x00\x00\x00\x00",
22122 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
22123 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
22124 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
22125 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
22126 .alen = 32,
22127 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
22128 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
22129 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
22130 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
22131 .plen = 32,
22132 .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
22133 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
22134 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
22135 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
22136 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
22137 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
22138 .clen = 48,
22139 },
22140};
22141
22142/*
22143 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
22144 * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
22145 * they use AD lengths which are not valid ESP header lengths.
22146 *
22147 * These vectors are copied/generated from the ones for rfc4106 with
22148 * the key truncated by one byte..
22149 */
22150static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
22151 { /* Generated using Crypto++ */
22152 .key = zeroed_string,
22153 .klen = 19,
22154 .iv = zeroed_string,
22155 .ptext = zeroed_string,
22156 .plen = 16,
22157 .assoc = zeroed_string,
22158 .alen = 16,
22159 .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
22160 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
22161 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
22162 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
22163 .clen = 32,
22164 },{
22165 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22166 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22167 "\x00\x00\x00",
22168 .klen = 19,
22169 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
22170 .ptext = zeroed_string,
22171 .plen = 16,
22172 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
22173 "\x00\x00\x00\x00\x00\x00\x00\x01",
22174 .alen = 16,
22175 .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
22176 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
22177 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
22178 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
22179 .clen = 32,
22180
22181 }, {
22182 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22183 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22184 "\x00\x00\x00",
22185 .klen = 19,
22186 .iv = zeroed_string,
22187 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
22188 "\x01\x01\x01\x01\x01\x01\x01\x01",
22189 .plen = 16,
22190 .assoc = zeroed_string,
22191 .alen = 16,
22192 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
22193 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
22194 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
22195 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
22196 .clen = 32,
22197 }, {
22198 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22199 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22200 "\x00\x00\x00",
22201 .klen = 19,
22202 .iv = zeroed_string,
22203 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
22204 "\x01\x01\x01\x01\x01\x01\x01\x01",
22205 .plen = 16,
22206 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
22207 "\x00\x00\x00\x00\x00\x00\x00\x00",
22208 .alen = 16,
22209 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
22210 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
22211 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
22212 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
22213 .clen = 32,
22214 }, {
22215 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22216 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22217 "\x00\x00\x00",
22218 .klen = 19,
22219 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
22220 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
22221 "\x01\x01\x01\x01\x01\x01\x01\x01",
22222 .plen = 16,
22223 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
22224 "\x00\x00\x00\x00\x00\x00\x00\x01",
22225 .alen = 16,
22226 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
22227 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
22228 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
22229 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
22230 .clen = 32,
22231 }, {
22232 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
22233 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
22234 "\x00\x00\x00",
22235 .klen = 19,
22236 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
22237 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
22238 "\x01\x01\x01\x01\x01\x01\x01\x01"
22239 "\x01\x01\x01\x01\x01\x01\x01\x01"
22240 "\x01\x01\x01\x01\x01\x01\x01\x01"
22241 "\x01\x01\x01\x01\x01\x01\x01\x01"
22242 "\x01\x01\x01\x01\x01\x01\x01\x01"
22243 "\x01\x01\x01\x01\x01\x01\x01\x01"
22244 "\x01\x01\x01\x01\x01\x01\x01\x01",
22245 .plen = 64,
22246 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
22247 "\x00\x00\x00\x00\x00\x00\x00\x01",
22248 .alen = 16,
22249 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
22250 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
22251 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
22252 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
22253 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
22254 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
22255 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
22256 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
22257 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
22258 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
22259 .clen = 80,
22260 }, {
22261 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
22262 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22263 "\x00\x00\x00",
22264 .klen = 19,
22265 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22266 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
22267 "\xff\xff\xff\xff\xff\xff\xff\xff"
22268 "\xff\xff\xff\xff\xff\xff\xff\xff"
22269 "\xff\xff\xff\xff\xff\xff\xff\xff"
22270 "\xff\xff\xff\xff\xff\xff\xff\xff"
22271 "\xff\xff\xff\xff\xff\xff\xff\xff"
22272 "\xff\xff\xff\xff\xff\xff\xff\xff"
22273 "\xff\xff\xff\xff\xff\xff\xff\xff"
22274 "\xff\xff\xff\xff\xff\xff\xff\xff"
22275 "\xff\xff\xff\xff\xff\xff\xff\xff"
22276 "\xff\xff\xff\xff\xff\xff\xff\xff"
22277 "\xff\xff\xff\xff\xff\xff\xff\xff"
22278 "\xff\xff\xff\xff\xff\xff\xff\xff"
22279 "\xff\xff\xff\xff\xff\xff\xff\xff"
22280 "\xff\xff\xff\xff\xff\xff\xff\xff"
22281 "\xff\xff\xff\xff\xff\xff\xff\xff"
22282 "\xff\xff\xff\xff\xff\xff\xff\xff"
22283 "\xff\xff\xff\xff\xff\xff\xff\xff"
22284 "\xff\xff\xff\xff\xff\xff\xff\xff"
22285 "\xff\xff\xff\xff\xff\xff\xff\xff"
22286 "\xff\xff\xff\xff\xff\xff\xff\xff"
22287 "\xff\xff\xff\xff\xff\xff\xff\xff"
22288 "\xff\xff\xff\xff\xff\xff\xff\xff"
22289 "\xff\xff\xff\xff\xff\xff\xff\xff",
22290 .plen = 192,
22291 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22292 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22293 "\x89\xab\xcd\xef",
22294 .alen = 20,
22295 .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
22296 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
22297 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
22298 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
22299 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
22300 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
22301 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
22302 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
22303 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
22304 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
22305 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
22306 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
22307 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
22308 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
22309 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
22310 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
22311 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
22312 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
22313 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
22314 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
22315 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
22316 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
22317 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
22318 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
22319 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
22320 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
22321 .clen = 208,
22322 }, { /* From draft-mcgrew-gcm-test-01 */
22323 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22324 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22325 "\x2E\x44\x3B",
22326 .klen = 19,
22327 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22328 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
22329 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22330 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22331 "\x38\xD3\x01\x00\x00\x01\x00\x00"
22332 "\x00\x00\x00\x00\x04\x5F\x73\x69"
22333 "\x70\x04\x5F\x75\x64\x70\x03\x73"
22334 "\x69\x70\x09\x63\x79\x62\x65\x72"
22335 "\x63\x69\x74\x79\x02\x64\x6B\x00"
22336 "\x00\x21\x00\x01\x01\x02\x02\x01",
22337 .plen = 72,
22338 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
22339 "\x00\x00\x00\x00\x49\x56\xED\x7E"
22340 "\x3B\x24\x4C\xFE",
22341 .alen = 20,
22342 .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
22343 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
22344 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
22345 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
22346 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
22347 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
22348 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
22349 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
22350 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
22351 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
22352 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
22353 .clen = 88,
22354 }, {
22355 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22356 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22357 "\xCA\xFE\xBA",
22358 .klen = 19,
22359 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22360 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22361 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22362 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22363 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22364 "\x00\x01\x00\x00\x00\x00\x00\x00"
22365 "\x03\x73\x69\x70\x09\x63\x79\x62"
22366 "\x65\x72\x63\x69\x74\x79\x02\x64"
22367 "\x6B\x00\x00\x01\x00\x01\x00\x01",
22368 .plen = 64,
22369 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22370 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22371 .alen = 16,
22372 .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
22373 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
22374 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
22375 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
22376 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
22377 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
22378 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
22379 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
22380 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
22381 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
22382 .clen = 80,
22383 }, {
22384 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22385 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22386 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22387 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22388 "\x11\x22\x33",
22389 .klen = 35,
22390 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
22391 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
22392 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22393 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22394 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22395 "\x70\x02\x40\x00\x20\xBF\x00\x00"
22396 "\x02\x04\x05\xB4\x01\x01\x04\x02"
22397 "\x01\x02\x02\x01",
22398 .plen = 52,
22399 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22400 "\x01\x02\x03\x04\x05\x06\x07\x08",
22401 .alen = 16,
22402 .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
22403 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
22404 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
22405 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
22406 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
22407 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
22408 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
22409 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
22410 "\x5A\x48\x6A\x3E",
22411 .clen = 68,
22412 }, {
22413 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22414 "\x00\x00\x00\x00\x00\x00\x00\x00"
22415 "\x00\x00\x00",
22416 .klen = 19,
22417 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
22418 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22419 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22420 "\x01\x01\x01\x01\x08\x00\x07\x5C"
22421 "\x02\x00\x44\x00\x61\x62\x63\x64"
22422 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22423 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22424 "\x75\x76\x77\x61\x62\x63\x64\x65"
22425 "\x66\x67\x68\x69\x01\x02\x02\x01",
22426 .plen = 64,
22427 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
22428 "\x00\x00\x00\x00\x00\x00\x00\x00",
22429 .alen = 16,
22430 .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
22431 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
22432 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
22433 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
22434 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
22435 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
22436 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
22437 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
22438 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
22439 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
22440 .clen = 80,
22441 }, {
22442 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22443 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22444 "\x57\x69\x0E",
22445 .klen = 19,
22446 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22447 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22448 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22449 "\x01\x01\x01\x01\x08\x00\x08\x5C"
22450 "\x02\x00\x43\x00\x61\x62\x63\x64"
22451 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22452 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22453 "\x75\x76\x77\x61\x62\x63\x64\x65"
22454 "\x66\x67\x68\x69\x01\x02\x02\x01",
22455 .plen = 64,
22456 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22457 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22458 "\xA2\xFC\xA1\xA3",
22459 .alen = 20,
22460 .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
22461 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
22462 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
22463 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
22464 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
22465 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
22466 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
22467 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
22468 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
22469 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
22470 .clen = 80,
22471 }, {
22472 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22473 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22474 "\x57\x69\x0E",
22475 .klen = 19,
22476 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22477 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22478 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22479 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22480 "\x01\x02\x02\x01",
22481 .plen = 28,
22482 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22483 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22484 "\xA2\xFC\xA1\xA3",
22485 .alen = 20,
22486 .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
22487 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
22488 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
22489 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
22490 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
22491 "\x08\xB4\x22\xE4",
22492 .clen = 44,
22493 }, {
22494 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22495 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22496 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22497 "\xCA\xFE\xBA",
22498 .klen = 27,
22499 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22500 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22501 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22502 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22503 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22504 "\x50\x10\x16\xD0\x75\x68\x00\x01",
22505 .plen = 40,
22506 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22507 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22508 .alen = 16,
22509 .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
22510 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
22511 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
22512 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
22513 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
22514 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
22515 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
22516 .clen = 56,
22517 }, {
22518 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22519 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22520 "\xDE\xCA\xF8",
22521 .klen = 19,
22522 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22523 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
22524 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22525 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22526 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22527 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22528 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22529 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22530 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22531 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22532 "\x23\x01\x01\x01",
22533 .plen = 76,
22534 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
22535 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22536 "\xCE\xFA\xCE\x74",
22537 .alen = 20,
22538 .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
22539 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
22540 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
22541 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
22542 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
22543 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
22544 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
22545 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
22546 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
22547 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
22548 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
22549 "\x12\x25\x0B\xF9",
22550 .clen = 92,
22551 }, {
22552 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22553 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22554 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22555 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22556 "\x73\x61\x6C",
22557 .klen = 35,
22558 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22559 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
22560 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22561 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22562 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22563 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22564 .plen = 40,
22565 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22566 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22567 "\x69\x76\x65\x63",
22568 .alen = 20,
22569 .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
22570 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
22571 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
22572 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
22573 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
22574 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
22575 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
22576 .clen = 56,
22577 }, {
22578 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22579 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22580 "\x57\x69\x0E",
22581 .klen = 19,
22582 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22583 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
22584 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22585 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22586 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22587 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22588 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22589 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22590 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22591 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22592 "\x15\x01\x01\x01",
22593 .plen = 76,
22594 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22595 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22596 "\xA2\xFC\xA1\xA3",
22597 .alen = 20,
22598 .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
22599 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
22600 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
22601 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
22602 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
22603 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
22604 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
22605 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
22606 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
22607 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
22608 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
22609 "\xCC\xF7\x46\x6F",
22610 .clen = 92,
22611 }, {
22612 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22613 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22614 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22615 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22616 "\x73\x61\x6C",
22617 .klen = 35,
22618 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
22619 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
22620 "\x6C\x65\x73\x01\x74\x68\x65\x01"
22621 "\x6E\x65\x74\x77\x65\x01\x64\x65"
22622 "\x66\x69\x6E\x65\x01\x74\x68\x65"
22623 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22624 "\x67\x69\x65\x73\x01\x74\x68\x61"
22625 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22626 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22627 "\x72\x72\x6F\x77\x01\x02\x02\x01",
22628 .plen = 72,
22629 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22630 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22631 "\x69\x76\x65\x63",
22632 .alen = 20,
22633 .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
22634 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
22635 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
22636 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
22637 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
22638 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
22639 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
22640 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
22641 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
22642 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
22643 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
22644 .clen = 88,
22645 }, {
22646 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22647 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22648 "\xD9\x66\x42",
22649 .klen = 19,
22650 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22651 .ptext = "\x01\x02\x02\x01",
22652 .plen = 4,
22653 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22654 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22655 .alen = 16,
22656 .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
22657 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
22658 "\xF7\x61\x24\x62",
22659 .clen = 20,
22660 }, {
22661 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22662 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22663 "\xDE\xCA\xF8",
22664 .klen = 19,
22665 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22666 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22667 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22668 "\x62\x65\x00\x01",
22669 .plen = 20,
22670 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
22671 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22672 "\xCE\xFA\xCE\x74",
22673 .alen = 20,
22674 .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
22675 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
22676 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
22677 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
22678 "\x17\x17\x65\xAD",
22679 .clen = 36,
22680 }, {
22681 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22682 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22683 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22684 "\x62\x65\x66\x6F\x72\x65\x69\x61"
22685 "\x74\x75\x72",
22686 .klen = 35,
22687 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
22688 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22689 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22690 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22691 "\x02\x00\x07\x00\x61\x62\x63\x64"
22692 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22693 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22694 "\x01\x02\x02\x01",
22695 .plen = 52,
22696 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22697 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22698 "\x67\x65\x74\x6D",
22699 .alen = 20,
22700 .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
22701 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
22702 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
22703 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
22704 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
22705 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
22706 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
22707 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
22708 "\x39\xDB\xC8\xDC",
22709 .clen = 68,
22710 }, {
22711 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22712 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22713 "\x57\x69\x0E",
22714 .klen = 19,
22715 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22716 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22717 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22718 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22719 "\x02\x00\x07\x00\x61\x62\x63\x64"
22720 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22721 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22722 "\x01\x02\x02\x01",
22723 .plen = 52,
22724 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22725 "\x10\x10\x10\x10\x4E\x28\x00\x00"
22726 "\xA2\xFC\xA1\xA3",
22727 .alen = 20,
22728 .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
22729 "\x10\x60\x54\x25\xEB\x80\x04\x93"
22730 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
22731 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
22732 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
22733 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
22734 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
22735 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
22736 "\xF4\x95\x5D\x4F",
22737 .clen = 68,
22738 }, {
22739 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22740 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22741 "\x22\x43\x3C",
22742 .klen = 19,
22743 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22744 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22745 "\x61\x62\x63\x64\x65\x66\x67\x68"
22746 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22747 "\x71\x72\x73\x74\x01\x02\x02\x01",
22748 .plen = 32,
22749 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
22750 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22751 "\x3A\x23\x4B\xFD",
22752 .alen = 20,
22753 .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
22754 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
22755 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
22756 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
22757 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
22758 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
22759 .clen = 48,
22760 }
22761};
22762
22763/*
22764 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
22765 */
22766static const struct aead_testvec rfc7539_tv_template[] = {
22767 {
22768 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
22769 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
22770 "\x90\x91\x92\x93\x94\x95\x96\x97"
22771 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
22772 .klen = 32,
22773 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
22774 "\x44\x45\x46\x47",
22775 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
22776 "\xc4\xc5\xc6\xc7",
22777 .alen = 12,
22778 .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
22779 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
22780 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
22781 "\x74\x68\x65\x20\x63\x6c\x61\x73"
22782 "\x73\x20\x6f\x66\x20\x27\x39\x39"
22783 "\x3a\x20\x49\x66\x20\x49\x20\x63"
22784 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
22785 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
22786 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
22787 "\x74\x69\x70\x20\x66\x6f\x72\x20"
22788 "\x74\x68\x65\x20\x66\x75\x74\x75"
22789 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
22790 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
22791 "\x75\x6c\x64\x20\x62\x65\x20\x69"
22792 "\x74\x2e",
22793 .plen = 114,
22794 .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
22795 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
22796 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
22797 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
22798 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
22799 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
22800 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
22801 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
22802 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
22803 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
22804 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
22805 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
22806 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
22807 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
22808 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
22809 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
22810 "\x06\x91",
22811 .clen = 130,
22812 }, {
22813 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22814 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22815 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22816 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
22817 .klen = 32,
22818 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
22819 "\x05\x06\x07\x08",
22820 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22821 "\x00\x00\x4e\x91",
22822 .alen = 12,
22823 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
22824 "\x2d\x44\x72\x61\x66\x74\x73\x20"
22825 "\x61\x72\x65\x20\x64\x72\x61\x66"
22826 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
22827 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
22828 "\x64\x20\x66\x6f\x72\x20\x61\x20"
22829 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
22830 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
22831 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
22832 "\x64\x20\x6d\x61\x79\x20\x62\x65"
22833 "\x20\x75\x70\x64\x61\x74\x65\x64"
22834 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
22835 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
22836 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
22837 "\x20\x62\x79\x20\x6f\x74\x68\x65"
22838 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
22839 "\x6e\x74\x73\x20\x61\x74\x20\x61"
22840 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
22841 "\x20\x49\x74\x20\x69\x73\x20\x69"
22842 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
22843 "\x69\x61\x74\x65\x20\x74\x6f\x20"
22844 "\x75\x73\x65\x20\x49\x6e\x74\x65"
22845 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
22846 "\x66\x74\x73\x20\x61\x73\x20\x72"
22847 "\x65\x66\x65\x72\x65\x6e\x63\x65"
22848 "\x20\x6d\x61\x74\x65\x72\x69\x61"
22849 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
22850 "\x63\x69\x74\x65\x20\x74\x68\x65"
22851 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
22852 "\x74\x68\x61\x6e\x20\x61\x73\x20"
22853 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
22854 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22855 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22856 "\x9d",
22857 .plen = 265,
22858 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22859 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22860 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22861 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22862 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22863 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22864 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22865 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22866 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22867 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22868 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22869 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22870 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22871 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22872 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22873 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22874 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22875 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22876 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22877 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22878 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22879 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22880 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22881 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22882 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22883 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22884 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22885 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22886 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22887 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22888 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22889 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22890 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22891 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22892 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22893 "\x38",
22894 .clen = 281,
22895 },
22896};
22897
22898/*
22899 * draft-irtf-cfrg-chacha20-poly1305
22900 */
22901static const struct aead_testvec rfc7539esp_tv_template[] = {
22902 {
22903 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
22904 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
22905 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
22906 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
22907 "\x00\x00\x00\x00",
22908 .klen = 36,
22909 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
22910 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
22911 "\x00\x00\x4e\x91\x01\x02\x03\x04"
22912 "\x05\x06\x07\x08",
22913 .alen = 20,
22914 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
22915 "\x2d\x44\x72\x61\x66\x74\x73\x20"
22916 "\x61\x72\x65\x20\x64\x72\x61\x66"
22917 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
22918 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
22919 "\x64\x20\x66\x6f\x72\x20\x61\x20"
22920 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
22921 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
22922 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
22923 "\x64\x20\x6d\x61\x79\x20\x62\x65"
22924 "\x20\x75\x70\x64\x61\x74\x65\x64"
22925 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
22926 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
22927 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
22928 "\x20\x62\x79\x20\x6f\x74\x68\x65"
22929 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
22930 "\x6e\x74\x73\x20\x61\x74\x20\x61"
22931 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
22932 "\x20\x49\x74\x20\x69\x73\x20\x69"
22933 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
22934 "\x69\x61\x74\x65\x20\x74\x6f\x20"
22935 "\x75\x73\x65\x20\x49\x6e\x74\x65"
22936 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
22937 "\x66\x74\x73\x20\x61\x73\x20\x72"
22938 "\x65\x66\x65\x72\x65\x6e\x63\x65"
22939 "\x20\x6d\x61\x74\x65\x72\x69\x61"
22940 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
22941 "\x63\x69\x74\x65\x20\x74\x68\x65"
22942 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
22943 "\x74\x68\x61\x6e\x20\x61\x73\x20"
22944 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
22945 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22946 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22947 "\x9d",
22948 .plen = 265,
22949 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22950 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22951 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22952 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22953 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22954 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22955 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22956 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22957 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22958 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22959 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22960 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22961 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22962 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22963 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22964 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22965 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22966 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22967 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22968 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22969 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22970 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22971 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22972 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22973 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22974 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22975 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22976 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22977 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22978 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22979 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22980 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22981 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22982 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22983 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22984 "\x38",
22985 .clen = 281,
22986 },
22987};
22988
22989/*
22990 * AEGIS-128 test vectors - generated via reference implementation from
22991 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
22992 *
22993 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22994 * (see crypto_aead/aegis128/)
22995 */
22996static const struct aead_testvec aegis128_tv_template[] = {
22997 {
22998 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22999 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
23000 .klen = 16,
23001 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
23002 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
23003 .assoc = "",
23004 .alen = 0,
23005 .ptext = "",
23006 .plen = 0,
23007 .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
23008 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
23009 .clen = 16,
23010 }, {
23011 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
23012 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
23013 .klen = 16,
23014 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
23015 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
23016 .assoc = "",
23017 .alen = 0,
23018 .ptext = "\x79",
23019 .plen = 1,
23020 .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
23021 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
23022 "\xcc",
23023 .clen = 17,
23024 }, {
23025 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
23026 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
23027 .klen = 16,
23028 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
23029 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
23030 .assoc = "",
23031 .alen = 0,
23032 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23033 "\x82\x8e\x16\xb4\xed\x6d\x47",
23034 .plen = 15,
23035 .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
23036 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
23037 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
23038 "\x7a\x21\x16\xb3\xe6\x67\x66",
23039 .clen = 31,
23040 }, {
23041 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
23042 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
23043 .klen = 16,
23044 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
23045 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
23046 .assoc = "",
23047 .alen = 0,
23048 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23049 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
23050 .plen = 16,
23051 .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
23052 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
23053 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
23054 "\x51\x10\x16\x27\x70\x9b\x64\x29",
23055 .clen = 32,
23056 }, {
23057 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
23058 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
23059 .klen = 16,
23060 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
23061 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
23062 .assoc = "",
23063 .alen = 0,
23064 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23065 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
23066 "\xd3",
23067 .plen = 17,
23068 .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
23069 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
23070 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
23071 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
23072 "\x3b",
23073 .clen = 33,
23074 }, {
23075 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
23076 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
23077 .klen = 16,
23078 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
23079 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
23080 .assoc = "",
23081 .alen = 0,
23082 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
23083 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
23084 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
23085 "\x88\x11\x39\x12\x1c\x3a\xbb",
23086 .plen = 31,
23087 .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
23088 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
23089 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
23090 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
23091 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
23092 "\x75\xc4\x53\x01\x89\x45\x59",
23093 .clen = 47,
23094 }, {
23095 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
23096 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
23097 .klen = 16,
23098 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
23099 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
23100 .assoc = "",
23101 .alen = 0,
23102 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
23103 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
23104 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
23105 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
23106 .plen = 32,
23107 .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
23108 "\x95\xf4\x58\x38\x14\x83\x27\x01"
23109 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
23110 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
23111 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
23112 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
23113 .clen = 48,
23114 }, {
23115 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
23116 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
23117 .klen = 16,
23118 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
23119 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
23120 .assoc = "\xd5",
23121 .alen = 1,
23122 .ptext = "",
23123 .plen = 0,
23124 .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
23125 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
23126 .clen = 16,
23127 }, {
23128 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
23129 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
23130 .klen = 16,
23131 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
23132 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
23133 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
23134 "\x68\x75\x16\xf8\xcb\x7e\xa7",
23135 .alen = 15,
23136 .ptext = "",
23137 .plen = 0,
23138 .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
23139 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
23140 .clen = 16,
23141 }, {
23142 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
23143 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
23144 .klen = 16,
23145 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
23146 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
23147 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
23148 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
23149 .alen = 16,
23150 .ptext = "",
23151 .plen = 0,
23152 .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
23153 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
23154 .clen = 16,
23155 }, {
23156 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
23157 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
23158 .klen = 16,
23159 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
23160 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
23161 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
23162 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
23163 "\x07",
23164 .alen = 17,
23165 .ptext = "",
23166 .plen = 0,
23167 .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
23168 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
23169 .clen = 16,
23170 }, {
23171 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
23172 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
23173 .klen = 16,
23174 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
23175 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
23176 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
23177 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
23178 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
23179 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
23180 .alen = 31,
23181 .ptext = "",
23182 .plen = 0,
23183 .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
23184 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
23185 .clen = 16,
23186 }, {
23187 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
23188 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
23189 .klen = 16,
23190 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
23191 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
23192 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
23193 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
23194 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
23195 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
23196 .alen = 32,
23197 .ptext = "",
23198 .plen = 0,
23199 .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
23200 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
23201 .clen = 16,
23202 }, {
23203 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
23204 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
23205 .klen = 16,
23206 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
23207 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
23208 .assoc = "\x40",
23209 .alen = 1,
23210 .ptext = "\x4f",
23211 .plen = 1,
23212 .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
23213 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
23214 "\x39",
23215 .clen = 17,
23216 }, {
23217 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
23218 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
23219 .klen = 16,
23220 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
23221 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
23222 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
23223 "\x6d\x92\x42\x61\xa7\x58\x37",
23224 .alen = 15,
23225 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
23226 "\x8d\xc8\x6e\x85\xa5\x21\x67",
23227 .plen = 15,
23228 .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
23229 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
23230 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
23231 "\x98\xbd\x71\x7a\xef\xa4\xfa",
23232 .clen = 31,
23233 }, {
23234 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
23235 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
23236 .klen = 16,
23237 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
23238 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
23239 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
23240 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
23241 .alen = 16,
23242 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
23243 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
23244 .plen = 16,
23245 .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
23246 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
23247 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
23248 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
23249 .clen = 32,
23250 }, {
23251 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
23252 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
23253 .klen = 16,
23254 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
23255 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
23256 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
23257 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
23258 "\x05",
23259 .alen = 17,
23260 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
23261 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
23262 "\xd0",
23263 .plen = 17,
23264 .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
23265 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
23266 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
23267 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
23268 "\x93",
23269 .clen = 33,
23270 }, {
23271 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
23272 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
23273 .klen = 16,
23274 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
23275 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
23276 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
23277 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
23278 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
23279 "\x68\x28\x73\x40\x9f\x96\x4a",
23280 .alen = 31,
23281 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
23282 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
23283 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
23284 "\x98\x34\xab\x37\x56\xae\x32",
23285 .plen = 31,
23286 .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
23287 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
23288 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
23289 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
23290 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
23291 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
23292 .clen = 47,
23293 }, {
23294 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
23295 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
23296 .klen = 16,
23297 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
23298 "\x50\xc4\xde\x82\x90\x21\x11\x73",
23299 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
23300 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
23301 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
23302 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
23303 .alen = 32,
23304 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
23305 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
23306 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
23307 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
23308 .plen = 32,
23309 .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
23310 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
23311 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
23312 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
23313 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
23314 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
23315 .clen = 48,
23316 }, {
23317 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
23318 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
23319 .klen = 16,
23320 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
23321 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
23322 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
23323 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
23324 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
23325 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
23326 "\x9d",
23327 .alen = 33,
23328 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
23329 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
23330 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
23331 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
23332 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
23333 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
23334 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
23335 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
23336 "\xbd",
23337 .plen = 65,
23338 .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
23339 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
23340 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
23341 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
23342 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
23343 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
23344 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
23345 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
23346 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
23347 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
23348 "\x3f",
23349 .clen = 81,
23350 }, {
23351 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
23352 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
23353 .klen = 16,
23354 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
23355 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
23356 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
23357 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
23358 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
23359 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
23360 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
23361 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
23362 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
23363 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
23364 "\x54",
23365 .alen = 65,
23366 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
23367 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
23368 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
23369 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
23370 "\x2f",
23371 .plen = 33,
23372 .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
23373 "\x77\x09\xac\x74\xef\xd2\x56\xae"
23374 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
23375 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
23376 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
23377 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
23378 "\x39",
23379 .clen = 49,
23380 }, {
23381 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
23382 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
23383 .klen = 16,
23384 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
23385 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
23386 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
23387 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
23388 .alen = 16,
23389 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
23390 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
23391 .plen = 16,
23392 .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
23393 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
23394 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
23395 "\xde\x20\x59\x77\xc1\x74\x90",
23396 .clen = 31,
23397 }, {
23398 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
23399 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
23400 .klen = 16,
23401 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
23402 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
23403 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
23404 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
23405 .alen = 16,
23406 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
23407 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
23408 .plen = 16,
23409 .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
23410 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
23411 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
23412 "\xe9\xe0\x17\x45\x70\x12",
23413 .clen = 30,
23414 }, {
23415 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
23416 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
23417 .klen = 16,
23418 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
23419 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
23420 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
23421 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
23422 .alen = 16,
23423 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
23424 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
23425 .plen = 16,
23426 .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
23427 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
23428 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
23429 .clen = 24,
23430 },
23431};
23432
23433static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
23434 /*
23435 * Borrowed from the first applicable test vector from ACVP:
23436 * https://github.com/usnistgov/ACVP-Server/blob/v1.1.0.33/gen-val/json-files/hmacDRBG-1.0/prompt.json#L4596
23437 * https://github.com/usnistgov/ACVP-Server/blob/v1.1.0.33/gen-val/json-files/hmacDRBG-1.0/expectedResults.json#L986
23438 */
23439 {
23440 /* .entropy = ACVP entropyInput || nonce */
23441 .entropy = "\x47\x28\x33\x05\x82\xE8\xA7\x58\x05\xBD\x07\x9E"
23442 "\xDB\x59\x87\x08\x3B\x82\x40\x70\xA1\xB7\x33\x4F"
23443 "\x0F\x53\xBE\xF6\x98\x75\xFA\x21\x00\x04\xBC\x58"
23444 "\x9B\xB1\xB3\xBC\x2A\xF6\xA4\x2A\xE1\xB3\x65\x24"
23445 "\xA8\xEE\x56\x70\x5E\x28\x06\x04\x80\xCE\xB7\x36"
23446 "\xA4\xD1\x4E\xAA\xE7\xE8\x51\x40\x7D\x30\xF7\x91"
23447 "\xF2\x9E\x98\xA7\xBB\xB3\x1D\xC6\x8A\x62\xC7\xE7"
23448 "\x1F\xE1\x0A\x52\x45\x39\x88\x92\x43\xA6\x5B\xC3"
23449 "\x9D\x60\xDE\xFE\x79\xEF\x87\x6F\xD5\x76\x51\x69"
23450 "\x7B\x4C\x3D\x08\x60\xFA\xDC\x00\x94\xEC\x0A\xC5"
23451 "\xE7\xCB\x30\x05\x9F\xCC\x07\x44\x07\x14\xF4\xF9"
23452 "\xBC\x7D\xC0\x66\x63\x5B\xD3\x2A\xA7\xF2\x1D\x75"
23453 "\x3F\x28\x5F\x4A\xEB\x63\xD7\x92\x5A\x9A\x7C\x3A"
23454 "\x56\xEA\xCB\xA9\xA0\xF9\x5B\x99\xC2\x7D\x31\xBF"
23455 "\x44\xC7\x64\x6B\x7E\x64\x60\x64\x05\x86\xF0\x6B"
23456 "\x76\xA7\x3E\x63\xAD\xB6\x76\xED\x3D\x05\x2E\xC7"
23457 "\xC7\x52\x8F\x07\x56\x23\xFC\x2F\x93\xD5\xF2\x29"
23458 "\xC6\x84\x48\xD1\x88\xB9\x3F\x84\xB2\x93\xFC\x2F"
23459 "\x00\xB1\xBC\xBE\xAC\xC4\x94\x36\xF1\x2B\xF0\xC7"
23460 "\x36\xE8\x1D\x45\x0A\xA2\xFE\x72\xD7\x3E\x15\x6A"
23461 "\x74\x23\xB2\xD1\x3C\x20\xF2\xB7\x19\xC5\xF0\x74"
23462 "\x69\x06\xD1\x92\x47\xC9\x68\xDC\xEE\xBC\xF4\x3A"
23463 "\x8B\x7C\xA4\xA4\x4A\x15\xF4\xF0\x26\x26\xC5\x7D"
23464 "\x57\xDC\x00\x59\x07\xDF\x84\x2A\x23\xA9\xC1\xAF"
23465 "\x47\x49\x88\xCC\x2F\x3B\x90\x39\xA0\x09\xAE\x3C"
23466 "\x79\xF9\x97\x9D\xEF\x13\x1D\x2B\xB6\x18\xDB\xCF"
23467 "\x95\x98\x17\x7F\xF6\x95\x44\x3A\x40\x90\x63\x16"
23468 "\x70\x38\x22\xC5\xD8\xE4\x57\xA0\x8E\x51\x6B\xED"
23469 "\x03\x18\xC6\x74\xFA\xCA\xF2\xD5\xB2\x5A\x0C\x02"
23470 "\x48\x9F\x70\x0B\x1C\x0A\xD1\xD6\x4F\x3F\x70\x3C"
23471 "\x1A\x62\x29\x63\xD0\x92\x76\x30\x7C\xB9\x54\xEC"
23472 "\xF6\x92\xA3\x11\x66\xB2\x56\xE0\x75\x3D\x27\x01",
23473 .entropylen = 384,
23474 .pers = "\x03\x75\x33\x7B\x6B\xE5\x14\xAF\x0E\x43\x33\xCC\xD3"
23475 "\xF4\xF0\x8B\x8A\xCC\xFE\x95\xC1\x20\xB9\x56\x3D\x2C"
23476 "\x34\xC7\xA1\x4C\xBC\xDC\x0A\x8D\xBE\x68\x28\x89\x2A"
23477 "\x92\x10\x05\x4E\xF9\xE2\x51\xF7\x4F\xF4\x48\x76\xC9"
23478 "\xCE\xA8\x6D\xC1\xDE\x5C\x05\x95\x77\x24\xB4\x5D\x3D"
23479 "\x16\x1D\xCB\x43\xE5\xD3\x01\x96\xCC\x3E\x2E\xE1\x97"
23480 "\xB3\x42\xC2\xAB\xEC\x56\xA9\xF9\xF2\x28\x59\x01\x4E"
23481 "\xFC\x8A\xC0\x5E\x4E\x33\x30\x91\x96\x93\xBA\xFA\xE1"
23482 "\x9F\x20\xC3\xC1\xD1\xC6\xC3\x2C\x59\x8F\x56\xD5\x73"
23483 "\xE8\x8D\xCF\xAC\xB1\x85\x3E\xC7\x73\x21\x59\x8D\x0F"
23484 "\xF4\xA4\xC4\x0C\xD2\x18\x81\x5F\x3E\x37\xC9\x9F\xD9"
23485 "\xDE\x3F\x15\x6F\xAC\x1A\xEC\x5E\x28\xD5\x56\xA2\x65"
23486 "\xD2\x7C\x41\xDE\x57\x8C\x60\xAB\xA5\x03\x42\xC8\x3C"
23487 "\x70\xC2\xD1\x11\x62\x25\x4E\x17\x58\xBB\x08\x51\x79"
23488 "\xE6\xED\xBA\x9A\xA7\x07\xD5\x0E\x89\x43\x31\x4F\x99"
23489 "\xEE\xED\xF1\x36\xFA\x1E\xC0\x25\x01\xDA\x19\xC2\x7D"
23490 "\x5D\x78\x74\x5C\xC0\x72\x2E\xF1\x7B\x4E\x9C\xDB\xFE"
23491 "\x60\x89\x62\x71\x9C\xEA\xD3\xDF\x82\xC7\x8B\xB4\x7B"
23492 "\x7B\x7F\x6A\x62\x3C\x57\x76\xA5\x67\x5F\x70\xFB\xE0"
23493 "\x1B\x23\x79\x71\xB5\x7C\xEA\x76\x99",
23494 .perslen = 256,
23495
23496 .ent_reseed = "\xE0\x5B\x69\xC5\xF9\xD4\x5A\x1F\xC1\x71\x0C"
23497 "\x37\x6F\xFE\x31\xE0\xEF\x3E\x9B\xD5\x46\x43"
23498 "\xA2\x15\xFA\x86\x75\x1C\x95\x9F\xE6\xD6\x41"
23499 "\x50\x36\x0F\x67\x68\x4A\x72\x32\x85\xB0\xCB"
23500 "\xA4\x0D\x1F\xA2\x43\xCA\x30\xF1\x42\xF8\xC4"
23501 "\x17\x6A\xD1\x2D\x43\x46\x8C\xA5\x72\x3C\xB1"
23502 "\x44\x8E\xA1\x75\xAA\x20\x30\xDD\xCD\x0B\x5A"
23503 "\x0D\xE6\x28\xCA\xBC\xA9\x3B\x11\x23\x88\x85"
23504 "\xDF\xD8\x84\x11\x89\x7A\x4F\x00\x90\x0B\xD8"
23505 "\x8A\x35\xE9\x5F\xEC\x05\x42\x15\xCA\x7E\xA3"
23506 "\xEF\xEF\xE3\xB7\xBE\x96\x8C\x36\x7D\x15\x3C"
23507 "\x7A\x78\x00\x61\xAF\x62\x45\xA7\x4B\xAE\x4A"
23508 "\xFD\xC9\xE0\x89\x53\x36\x71\x8F\x38\xC4\x00"
23509 "\x57\xD9\xE6\xC1\xEC\xBF\xF7\x4B\x3F\x55\xD6"
23510 "\x54\x15\x72\xB2\x23\x76\xD1\x4E\x8E\x7E\xFB"
23511 "\xC8\xD6\xA4\xA4\x7E\x8E\xD8\x76\xD3\xEB\x90"
23512 "\x90\xEB\xB3\x84\x26\x34\x93\x36\xCA\xA9\x12"
23513 "\xD3\x6D\x84\x07\xE1\x0E\xE7\x63\x24\x54\x90"
23514 "\x42\x8C\x6B\xE7\x21\x53\x2D\x16\xE9\x68\xA9"
23515 "\xC2\x9A\x7A\x93\x31\x5E\x35\x72\xE2\x0F\x3D"
23516 "\x55\x41\x8C\xC5\xD1\xBB\xEE\x5F\x3C\x95\x52"
23517 "\x2A\x65\x47\xB6\x84\x6A\x05\x19\xD9\xE7\x68"
23518 "\x15\xFA\x49\xD9\x9D\xFD\x47\x9F\xB9\xA6\xBB"
23519 "\xA8\xD4\x22\x6C\x8B\x59\x47\xEF\xD1\xD0\xBF"
23520 "\xBC\xE4\x53\x31\x2F\xA5\xD4\x2C\x89\xCA\xE5"
23521 "\x29\x64\xF8\x51\x2A\x02\xDE\x31\x0D\x54\x0E"
23522 "\x0E\xB8\x78\xE6\x2A\x3E\x31\xA2\xA4\xCD\x91"
23523 "\x79\xF2\x9B\x04\xA0\xDB\x78\xAC\x0D\xB5\xCA"
23524 "\x60\x4C\x08\x96\xCA\x8A\xE9\x93\x9F\x62\x38"
23525 "\xAE",
23526 .ent_reseed_len = 320,
23527 .addtl_reseed = "\xD5\x46\x71\x38\x46\xE0\xC1\x27\x2C\xF1\x07"
23528 "\xDD\x29\x73\xD7\xF4\x5A\x3A\xE0\x99\x98\x0A"
23529 "\xEB\xA5\x9E\x2E\x49\x21\x7B\x18\xC0\xD8\x3D"
23530 "\xEE\x49\xF9\x52\x7C\x55\x5E\x5E\x06\xC2\x7E"
23531 "\x34\x3A\xA5\xB7\x78\x21\xC1\xB8\x8B\x4E\x07"
23532 "\x1F\x3F\xC4\xB4\x9B\x3F\x20\x2D\xEE\x70\x3B"
23533 "\x18\xCF\x2B\x50\x15\x1B\xF3\x6C\xE7\x9F\x2A"
23534 "\x2B\x69\x53\xCA\x88\x41\xA9\x07\x31\x14\x55"
23535 "\xBD\x75\x49\x68\x98\x48\xCA\x46\xA5\xEC\xAA"
23536 "\x9D\x8E\x6F\x40\xBA\xCA\xC8\xE9\x9F\xA4\xC5"
23537 "\x94\x89\x2C\x4D\xE4\x0A\x66\xD3\xDB\x1A\xD9"
23538 "\xA7\x3F\x6B\x0A\xE0\xE4\xDC\x0B\x8B\x64\xBF"
23539 "\xB4\x95\xA1\xAE\x92\xA8\x7C\xE2\x4B\xED\xFD"
23540 "\xFD\xE0\x54\x48\x7C\x25\xD6\xD1\x0A\xAB\x5E"
23541 "\x33\x2F\x1D\xD3\x62\x47\xAB\x35\x8C\xA1\xC2"
23542 "\x75\xDD\x75\xCA\x09\xE1\x38\xDE\x87\x79\x0C"
23543 "\xD7\x5D\x3E\x6D\x28\x8F\x12\x98\x2C\x26\x34"
23544 "\x91\x0B\x6B\xB7\x73",
23545 .addtl_reseed_len = 192,
23546
23547 .addtla = "\xC8\xE1\x03\x59\xEA\x9F\xD3\x1F\xCC\xCB\x5A\x3E"
23548 "\x23\xDB\x47\x75\x1B\x3A\x6C\x0B\xED\xE6\xC0\xB6"
23549 "\x4B\x82\x53\x5B\x6D\xEE\x2B\x97\x0F\x59\x07\xA4"
23550 "\xFE\xE2\x26\x4F\xFF\xF7\x46\xAF\x62\xC4\x42\xE8"
23551 "\x06\xFA\x1F\xAA\x66\xF3\xA4\xCF\x85\x02\x3C\x11"
23552 "\xEF\xD2\x16\x13\x7A\xBD\x03\x66\xC3\x4D\x6F\x3A"
23553 "\xE5\xD3\xFF\x92\xB6\x45\xB8\x88\x94\x42\x2E\x84"
23554 "\x02\xA5\x54\x12\xBF\xCB\xF1\x6E\x1C\x0C\x23\xFE"
23555 "\x8A\xFD\xF5\x1A\x4C\xD6\x2A\x34\x7F\x21\x50\xBB"
23556 "\x06\x64\x9A\x77\x70\x59\x1D\x12\xD1\xA0\x10\x70"
23557 "\xD7\x4F\x3C\xEE\x82\xEF\x5B\x35\x8F\x05\xF6\x51"
23558 "\xBC\x28\xE1\xB1\x54\xFF\x25\x12\x16\x2C\x62\xFC"
23559 "\xB9\x74\x5E\x78\x41\xB2\x04\x80\x4E\xB1\x43\x2E"
23560 "\x88\x7F\x34\xA4\x33\x66\xE8\x68\x60\x54\xEB\xCE"
23561 "\xD1\x5F\xC4\xD6\x21\x5E\x22\x1A\x7E\xC5\x6D\xB7"
23562 "\x93\x8F\x9C\x77\x6E\x56\xA5\xA8\xF7\xB2\x10\x19",
23563 .addtlb = "\xB8\x1E\x9E\xE2\xB3\xE4\x04\x43\x51\x7B\x96\x32"
23564 "\xAC\x95\xF2\x1E\x5E\x7A\xBF\x68\xE3\x7A\xCE\xE5"
23565 "\x2B\x3B\xB0\x34\x7F\xE1\xB5\x37\x3C\x5B\xD2\x6B"
23566 "\x17\xF6\x18\xAF\x7C\x01\xA5\x84\xFE\x07\x0B\x46"
23567 "\xCC\x96\x61\xAB\xCD\x81\x95\x8A\x8A\xB6\xD8\xCC"
23568 "\x94\x80\x45\xF6\xFF\x95\x3A\xB8\xDC\xBF\xB4\xBF"
23569 "\x26\x8C\xE9\x79\x05\x58\x9C\x03\x08\x45\xB5\xC4"
23570 "\xD8\xB4\xCD\x76\x13\xAE\x2B\xCC\xB5\x3E\x3C\x65"
23571 "\x7A\xAA\xDC\x9B\x0B\x13\x8B\x82\x5A\x39\x60\x9A"
23572 "\xF7\xA8\x38\xB5\x83\x8E\x0B\xD1\xE6\xBF\xA1\xDC"
23573 "\x30\x45\xCC\x67\x41\x0F\xF9\x86\x27\xE0\x22\x3E"
23574 "\x0D\x1F\x92\x13\x16\x9B\x84\x79\x91\xFE\xBC\xDF"
23575 "\x15\x6C\xDC\xAE\xC5\x64\x46\x9C\xE8\xEA\xBB\x9D"
23576 "\x27\xA2\x1E\xDF\xB2\xF2\x98\xB4\x88\x4E\x22\x5F"
23577 "\x3C\xD0\x35\x2C\x5C\x89\xC7\xEC\xE3\xF3\x09\x60"
23578 "\xEF\xAC\x78\xBF\x94\xAA\x8C\x30\x7F\xCF\xE4\x4B",
23579 .addtllen = 192,
23580
23581 .expected = "\x93\xFF\x4F\x4A\xA7\xE0\xFC\x3B\xCF\xCE\x57\xCD"
23582 "\xFD\xE9\x94\x6D\x0D\x45\x7E\xA3\x98\xBB\xE6\x54"
23583 "\x36\xF9\x92\xE6\xBB\xC5\x93\x16\x69\x35\x01\xF0"
23584 "\x5A\xE2\x43\xFC\x73\x7C\xA3\x5C\x5B\x49\x72\x69"
23585 "\x6A\xC4\xB6\xD4\xB2\x48\x27\x72\xCA\xE3\xF3\xB8"
23586 "\xD6\x95\x9F\x39\xC8\xD7\x72\xAF\xC2\x7C\x75\xE5"
23587 "\xA4\xF7\x52\x4F\xDF\x80\x75\xCA\x4B\xFA\x75\x9A"
23588 "\x7A\x8D\x48\x94\x30\x1C\x82\x5E\xD6\x3F\xF1\x78"
23589 "\x84\xAA\x8D\x8B\x4F\x6A\x20\x12\xA2\x65\xC5\x02"
23590 "\x32\xA1\xE4\x6B\x86\x2F\xCF\x92\xCD\x01\x55\xF7"
23591 "\xB8\xAB\xC3\x2C\x42\xC3\xFD\x9B\x59\x2D\x47\x8E"
23592 "\xB6\x8D\xE7\x04\x2E\x67\xD9\x07\x14\xA3\xF2\x74"
23593 "\x79\x9C\xAB\xC6\xD6\x52\x3E\x91\x81\xA4\x3C\x9A"
23594 "\x3E\x10\x1E\xD0\x28\xBC\x1C\x50\xF0\xB6\xEC\x01"
23595 "\xE5\x40\x16\x08\xB5\x58\xE0\xC4\xC2\x9A\xBB\x13"
23596 "\xAB\x10\x4B\x07\x24\x09\xEB\xF9\x5E\xAA\x3E\x3A"
23597 "\x25\x34\x5B\x97\x92\xF9\x46\x8A\x8E\x5A\x06\x9C"
23598 "\x2B\x1C\x8E\x47\x19\xC3\x3B\x14\x8A\xC1\xEB\xF7"
23599 "\xB0\xA2\x05\xE0\x70\x12\x88\x21\xFF\xC0\x35\x6D"
23600 "\xE9\x08\x7E\x11\x6E\xD7\x16\x48\x24\x43\xAF\x33"
23601 "\xA3\x48\x44\x91\xC5\x32\x1D\x87\xF6\x9B\x10\x1C"
23602 "\xA4\x7A\x74\x23\xB3\xFC\xB9\x87\x08\xE6\x9A\xEF"
23603 "\xD5\x93\x82\x17\xD4\x78\xDA\x46\x34\xC2\x61\x8C"
23604 "\xB7\x53\x89\xC4\x8A\xD8\xA0\x2E\xCE\xCA\x24\x16"
23605 "\xF0\x18\x7F\xC3\x12\x3F\xD0\xB1\xEF\x37\x99\xA8"
23606 "\x04\x1F\x76\x50\x81\x08\xCD\x4D\x43\xEF\x64\xB6"
23607 "\x03\x57\xB7\x5F\xDD\xF6\xBA\x34\xE2\x88\xE7\x1F"
23608 "\x62\xA5\xA4\x05\xEB\x1A\xFE\x0B\xFE\x74\x7D\x64"
23609 "\x29\x83\xE8\x0B\x97\x7D\x94\x5B\xF9\x3C\x8E\xC8"
23610 "\x6B\xCD\xAD\x63\x32\x6E\x00\xBF\x8E\x57\xF2\x32"
23611 "\x88\x53\x17\x40\xE3\xF8\xF8\xD9\xFD\xCD\x76\x84"
23612 "\xC6\xFD\xB1\x10\x40\xED\x75\xDD\xBD\x78\x8B\x0A"
23613 "\x61\x1E\xCC\xC4\x4F\x95\xF1\x2F\x8F\x5A\xF0\x12"
23614 "\x00\xCE\x75\xB8\xE9\xAB\x63\xC0\x7A\xF6\x9A\x47"
23615 "\xD2\x3C\xB0\xAD\xAF\x03\xDF\x25\xDD\x0C\x0F\xB6"
23616 "\x29\x09\x0F\x28\x5E\xA8\x67\xBB\xC9\x78\xBE\x12"
23617 "\xD8\xD6\xD0\x98\x82\x29\xA3\x82\xFB\x8E\x1C\x79"
23618 "\x28\x52\x22\x73\x3C\x6F\xB5\x33\xFF\x40\x26\x4C"
23619 "\x30\xE4\xE0\x39\x59\x72\x65\x79\x9F\xB7\x89\x87"
23620 "\x64\xAC\x45\x11\x0D\xDD\xC0\x44\x5E\x0D\xDF\xDB"
23621 "\x91\x42\x5F\x52\x7F\xBB\x66\xEE\x32\x90\x8F\x6F"
23622 "\xF8\xB9\xFE\xEA\x42\xFB\x60\x2B\xE3\xD9\xB2\xD1"
23623 "\x74\x37\x14\xC6\xDA\x68\xE6\x09",
23624 .expectedlen = 512,
23625 }
23626};
23627
23628/* Cast5 test vectors from RFC 2144 */
23629static const struct cipher_testvec cast5_tv_template[] = {
23630 {
23631 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23632 "\x23\x45\x67\x89\x34\x56\x78\x9a",
23633 .klen = 16,
23634 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23635 .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
23636 .len = 8,
23637 }, {
23638 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23639 "\x23\x45",
23640 .klen = 10,
23641 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23642 .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
23643 .len = 8,
23644 }, {
23645 .key = "\x01\x23\x45\x67\x12",
23646 .klen = 5,
23647 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23648 .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
23649 .len = 8,
23650 }, { /* Generated from TF test vectors */
23651 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23652 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23653 .klen = 16,
23654 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23655 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23656 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23657 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23658 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23659 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23660 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23661 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23662 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23663 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23664 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23665 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23666 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23667 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23668 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23669 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23670 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23671 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23672 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23673 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23674 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23675 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23676 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23677 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23678 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23679 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23680 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23681 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23682 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23683 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23684 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23685 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23686 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23687 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23688 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23689 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23690 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23691 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23692 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23693 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23694 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23695 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23696 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23697 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23698 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23699 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23700 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23701 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23702 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23703 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23704 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23705 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23706 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23707 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23708 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23709 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23710 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23711 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23712 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23713 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23714 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23715 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23716 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23717 .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
23718 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
23719 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
23720 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
23721 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
23722 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
23723 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
23724 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
23725 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
23726 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
23727 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
23728 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
23729 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
23730 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
23731 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
23732 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
23733 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
23734 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
23735 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
23736 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
23737 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
23738 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
23739 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
23740 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
23741 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
23742 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
23743 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
23744 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
23745 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
23746 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
23747 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
23748 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
23749 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
23750 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
23751 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
23752 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
23753 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
23754 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
23755 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
23756 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
23757 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
23758 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
23759 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
23760 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
23761 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
23762 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
23763 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
23764 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
23765 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
23766 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
23767 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
23768 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
23769 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
23770 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
23771 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
23772 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
23773 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
23774 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
23775 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
23776 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
23777 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
23778 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
23779 .len = 496,
23780 },
23781};
23782
23783static const struct cipher_testvec cast5_cbc_tv_template[] = {
23784 { /* Generated from TF test vectors */
23785 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23786 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23787 .klen = 16,
23788 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23789 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
23790 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23791 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23792 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23793 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23794 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23795 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23796 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23797 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23798 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23799 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23800 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23801 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23802 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23803 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23804 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23805 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23806 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23807 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23808 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23809 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23810 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23811 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23812 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23813 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23814 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23815 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23816 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23817 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23818 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23819 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23820 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23821 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23822 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23823 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23824 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23825 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23826 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23827 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23828 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23829 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23830 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23831 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23832 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23833 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23834 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23835 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23836 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23837 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23838 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23839 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23840 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23841 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23842 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23843 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23844 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23845 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23846 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23847 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23848 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23849 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23850 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23851 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23852 .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
23853 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
23854 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
23855 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
23856 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
23857 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
23858 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
23859 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
23860 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
23861 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
23862 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
23863 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
23864 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
23865 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
23866 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
23867 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
23868 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
23869 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
23870 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
23871 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
23872 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
23873 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
23874 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
23875 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
23876 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
23877 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
23878 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
23879 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
23880 "\x90\x12\x37\x49\x27\x98\x69\x18"
23881 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
23882 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
23883 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
23884 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
23885 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
23886 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
23887 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
23888 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
23889 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
23890 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
23891 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
23892 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
23893 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
23894 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
23895 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
23896 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
23897 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
23898 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
23899 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
23900 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
23901 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
23902 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
23903 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
23904 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
23905 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
23906 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
23907 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
23908 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
23909 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
23910 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
23911 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
23912 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
23913 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
23914 .len = 496,
23915 },
23916};
23917
23918static const struct cipher_testvec cast5_ctr_tv_template[] = {
23919 { /* Generated from TF test vectors */
23920 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23921 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23922 .klen = 16,
23923 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23924 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
23925 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23926 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23927 "\x3A",
23928 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
23929 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
23930 "\x0C",
23931 .len = 17,
23932 }, { /* Generated from TF test vectors */
23933 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23934 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23935 .klen = 16,
23936 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23937 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
23938 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23939 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23940 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23941 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23942 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23943 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23944 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23945 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23946 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23947 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23948 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23949 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23950 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23951 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23952 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23953 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23954 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23955 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23956 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23957 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23958 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23959 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23960 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23961 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23962 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23963 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23964 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23965 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23966 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23967 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23968 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23969 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23970 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23971 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23972 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23973 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23974 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23975 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23976 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23977 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23978 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23979 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23980 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23981 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23982 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23983 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23984 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23985 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23986 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23987 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23988 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23989 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23990 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23991 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23992 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23993 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23994 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23995 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23996 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23997 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23998 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23999 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24000 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
24001 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
24002 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
24003 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
24004 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
24005 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
24006 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
24007 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
24008 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
24009 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
24010 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
24011 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
24012 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
24013 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
24014 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
24015 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
24016 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
24017 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
24018 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
24019 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
24020 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
24021 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
24022 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
24023 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
24024 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
24025 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
24026 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
24027 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
24028 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
24029 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
24030 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
24031 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
24032 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
24033 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
24034 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
24035 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
24036 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
24037 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
24038 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
24039 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
24040 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
24041 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
24042 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
24043 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
24044 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
24045 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
24046 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
24047 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
24048 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
24049 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
24050 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
24051 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
24052 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
24053 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
24054 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
24055 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
24056 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
24057 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
24058 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
24059 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
24060 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
24061 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
24062 .len = 496,
24063 },
24064};
24065
24066/*
24067 * ARC4 test vectors from OpenSSL
24068 */
24069static const struct cipher_testvec arc4_tv_template[] = {
24070 {
24071 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24072 .klen = 8,
24073 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24074 .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
24075 .len = 8,
24076 }, {
24077 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24078 .klen = 8,
24079 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
24080 .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
24081 .len = 8,
24082 }, {
24083 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
24084 .klen = 8,
24085 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
24086 .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
24087 .len = 8,
24088 }, {
24089 .key = "\xef\x01\x23\x45",
24090 .klen = 4,
24091 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
24092 "\x00\x00\x00\x00\x00\x00\x00\x00"
24093 "\x00\x00\x00\x00",
24094 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
24095 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
24096 "\x36\xb6\x78\x58",
24097 .len = 20,
24098 }, {
24099 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
24100 .klen = 8,
24101 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24102 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24103 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
24104 "\x12\x34\x56\x78",
24105 .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
24106 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
24107 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
24108 "\x40\x01\x1e\xcf",
24109 .len = 28,
24110 }, {
24111 .key = "\xef\x01\x23\x45",
24112 .klen = 4,
24113 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
24114 "\x00\x00",
24115 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
24116 "\xbd\x61",
24117 .len = 10,
24118 }, {
24119 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
24120 "\x00\x00\x00\x00\x00\x00\x00\x00",
24121 .klen = 16,
24122 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
24123 .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
24124 .len = 8,
24125 },
24126};
24127
24128/*
24129 * TEA test vectors
24130 */
24131static const struct cipher_testvec tea_tv_template[] = {
24132 {
24133 .key = zeroed_string,
24134 .klen = 16,
24135 .ptext = zeroed_string,
24136 .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
24137 .len = 8,
24138 }, {
24139 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24140 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24141 .klen = 16,
24142 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24143 .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
24144 .len = 8,
24145 }, {
24146 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
24147 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24148 .klen = 16,
24149 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24150 "\x65\x73\x74\x5f\x76\x65\x63\x74",
24151 .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
24152 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
24153 .len = 16,
24154 }, {
24155 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24156 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24157 .klen = 16,
24158 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
24159 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24160 "\x79\x6f\x75\x21\x21\x21\x20\x72"
24161 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24162 .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
24163 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
24164 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
24165 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
24166 .len = 32,
24167 }
24168};
24169
24170/*
24171 * XTEA test vectors
24172 */
24173static const struct cipher_testvec xtea_tv_template[] = {
24174 {
24175 .key = zeroed_string,
24176 .klen = 16,
24177 .ptext = zeroed_string,
24178 .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
24179 .len = 8,
24180 }, {
24181 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24182 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24183 .klen = 16,
24184 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24185 .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
24186 .len = 8,
24187 }, {
24188 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
24189 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24190 .klen = 16,
24191 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24192 "\x65\x73\x74\x5f\x76\x65\x63\x74",
24193 .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
24194 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
24195 .len = 16,
24196 }, {
24197 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24198 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24199 .klen = 16,
24200 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
24201 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24202 "\x79\x6f\x75\x21\x21\x21\x20\x72"
24203 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24204 .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
24205 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
24206 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
24207 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
24208 .len = 32,
24209 }
24210};
24211
24212/*
24213 * KHAZAD test vectors.
24214 */
24215static const struct cipher_testvec khazad_tv_template[] = {
24216 {
24217 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
24218 "\x00\x00\x00\x00\x00\x00\x00\x00",
24219 .klen = 16,
24220 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
24221 .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
24222 .len = 8,
24223 }, {
24224 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
24225 "\x38\x38\x38\x38\x38\x38\x38\x38",
24226 .klen = 16,
24227 .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
24228 .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
24229 .len = 8,
24230 }, {
24231 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
24232 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
24233 .klen = 16,
24234 .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
24235 .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
24236 .len = 8,
24237 }, {
24238 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24239 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24240 .klen = 16,
24241 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24242 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
24243 .len = 8,
24244 }, {
24245 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24246 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24247 .klen = 16,
24248 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
24249 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
24250 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
24251 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
24252 .len = 16,
24253 },
24254};
24255
24256/*
24257 * Anubis test vectors.
24258 */
24259
24260static const struct cipher_testvec anubis_tv_template[] = {
24261 {
24262 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24263 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24264 .klen = 16,
24265 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24266 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24267 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24268 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
24269 .len = 16,
24270 }, {
24271
24272 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
24273 "\x03\x03\x03\x03\x03\x03\x03\x03"
24274 "\x03\x03\x03\x03",
24275 .klen = 20,
24276 .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
24277 "\x03\x03\x03\x03\x03\x03\x03\x03",
24278 .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
24279 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
24280 .len = 16,
24281 }, {
24282 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
24283 "\x24\x24\x24\x24\x24\x24\x24\x24"
24284 "\x24\x24\x24\x24\x24\x24\x24\x24"
24285 "\x24\x24\x24\x24",
24286 .klen = 28,
24287 .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
24288 "\x24\x24\x24\x24\x24\x24\x24\x24",
24289 .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
24290 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
24291 .len = 16,
24292 }, {
24293 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
24294 "\x25\x25\x25\x25\x25\x25\x25\x25"
24295 "\x25\x25\x25\x25\x25\x25\x25\x25"
24296 "\x25\x25\x25\x25\x25\x25\x25\x25",
24297 .klen = 32,
24298 .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
24299 "\x25\x25\x25\x25\x25\x25\x25\x25",
24300 .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
24301 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
24302 .len = 16,
24303 }, {
24304 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
24305 "\x35\x35\x35\x35\x35\x35\x35\x35"
24306 "\x35\x35\x35\x35\x35\x35\x35\x35"
24307 "\x35\x35\x35\x35\x35\x35\x35\x35"
24308 "\x35\x35\x35\x35\x35\x35\x35\x35",
24309 .klen = 40,
24310 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
24311 "\x35\x35\x35\x35\x35\x35\x35\x35",
24312 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24313 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
24314 .len = 16,
24315 },
24316};
24317
24318static const struct cipher_testvec anubis_cbc_tv_template[] = {
24319 {
24320 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24321 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24322 .klen = 16,
24323 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24324 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24325 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24326 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24327 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24328 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24329 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24330 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
24331 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24332 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24333 .len = 32,
24334 }, {
24335 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
24336 "\x35\x35\x35\x35\x35\x35\x35\x35"
24337 "\x35\x35\x35\x35\x35\x35\x35\x35"
24338 "\x35\x35\x35\x35\x35\x35\x35\x35"
24339 "\x35\x35\x35\x35\x35\x35\x35\x35",
24340 .klen = 40,
24341 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24342 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24343 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
24344 "\x35\x35\x35\x35\x35\x35\x35\x35"
24345 "\x35\x35\x35\x35\x35\x35\x35\x35"
24346 "\x35\x35\x35\x35\x35\x35\x35\x35",
24347 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24348 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
24349 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24350 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24351 .len = 32,
24352 },
24353};
24354
24355/*
24356 * XETA test vectors
24357 */
24358static const struct cipher_testvec xeta_tv_template[] = {
24359 {
24360 .key = zeroed_string,
24361 .klen = 16,
24362 .ptext = zeroed_string,
24363 .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
24364 .len = 8,
24365 }, {
24366 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24367 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24368 .klen = 16,
24369 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24370 .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
24371 .len = 8,
24372 }, {
24373 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
24374 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24375 .klen = 16,
24376 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24377 "\x65\x73\x74\x5f\x76\x65\x63\x74",
24378 .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
24379 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
24380 .len = 16,
24381 }, {
24382 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24383 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24384 .klen = 16,
24385 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
24386 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24387 "\x79\x6f\x75\x21\x21\x21\x20\x72"
24388 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24389 .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
24390 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
24391 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
24392 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
24393 .len = 32,
24394 }
24395};
24396
24397/*
24398 * CAMELLIA test vectors.
24399 */
24400static const struct hash_testvec camellia_cmac128_tv_template[] = {
24401 { /* From draft-kato-ipsec-camellia-cmac96and128-01 */
24402 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24403 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24404 .plaintext = zeroed_string,
24405 .digest = "\xba\x92\x57\x82\xaa\xa1\xf5\xd9"
24406 "\xa0\x0f\x89\x64\x80\x94\xfc\x71",
24407 .psize = 0,
24408 .ksize = 16,
24409 }, {
24410 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24411 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24412 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24413 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
24414 .digest = "\x6d\x96\x28\x54\xa3\xb9\xfd\xa5"
24415 "\x6d\x7d\x45\xa9\x5e\xe1\x79\x93",
24416 .psize = 16,
24417 .ksize = 16,
24418 }, {
24419 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24420 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24421 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24422 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
24423 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
24424 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
24425 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
24426 .digest = "\x5c\x18\xd1\x19\xcc\xd6\x76\x61"
24427 "\x44\xac\x18\x66\x13\x1d\x9f\x22",
24428 .psize = 40,
24429 .ksize = 16,
24430 }, {
24431 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24432 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24433 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24434 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
24435 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
24436 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
24437 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
24438 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
24439 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
24440 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
24441 .digest = "\xc2\x69\x9a\x6e\xba\x55\xce\x9d"
24442 "\x93\x9a\x8a\x4e\x19\x46\x6e\xe9",
24443 .psize = 64,
24444 .ksize = 16,
24445 }
24446};
24447static const struct cipher_testvec camellia_tv_template[] = {
24448 {
24449 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24450 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24451 .klen = 16,
24452 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24453 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24454 .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
24455 "\x08\x57\x06\x56\x48\xea\xbe\x43",
24456 .len = 16,
24457 }, {
24458 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24459 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24460 "\x00\x11\x22\x33\x44\x55\x66\x77",
24461 .klen = 24,
24462 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24463 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24464 .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
24465 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
24466 .len = 16,
24467 }, {
24468 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24469 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24470 "\x00\x11\x22\x33\x44\x55\x66\x77"
24471 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
24472 .klen = 32,
24473 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24474 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24475 .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
24476 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
24477 .len = 16,
24478 }, { /* Generated with Crypto++ */
24479 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
24480 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
24481 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
24482 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
24483 .klen = 32,
24484 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24485 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24486 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24487 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24488 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24489 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24490 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24491 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24492 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24493 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24494 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24495 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24496 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24497 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24498 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24499 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24500 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24501 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24502 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24503 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24504 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24505 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24506 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24507 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24508 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24509 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24510 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24511 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24512 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24513 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24514 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24515 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24516 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24517 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24518 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24519 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24520 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24521 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24522 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24523 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24524 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24525 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24526 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24527 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24528 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24529 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24530 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24531 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24532 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24533 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24534 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24535 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24536 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24537 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24538 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24539 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24540 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24541 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24542 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24543 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24544 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24545 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24546 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24547 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24548 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24549 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24550 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24551 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24552 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24553 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24554 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24555 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24556 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24557 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24558 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24559 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24560 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24561 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24562 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24563 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24564 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24565 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24566 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24567 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24568 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24569 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24570 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24571 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24572 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24573 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24574 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24575 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24576 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24577 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24578 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24579 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24580 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24581 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24582 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24583 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24584 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24585 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24586 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24587 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24588 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24589 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24590 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24591 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24592 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24593 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24594 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24595 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24596 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24597 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24598 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24599 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24600 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24601 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24602 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24603 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24604 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24605 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24606 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24607 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24608 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24609 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24610 .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
24611 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
24612 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
24613 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
24614 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
24615 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
24616 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
24617 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
24618 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
24619 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
24620 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
24621 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
24622 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
24623 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
24624 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
24625 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
24626 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
24627 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
24628 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
24629 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
24630 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
24631 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
24632 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
24633 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
24634 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
24635 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
24636 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
24637 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
24638 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
24639 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
24640 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
24641 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
24642 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
24643 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
24644 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
24645 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
24646 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
24647 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
24648 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
24649 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
24650 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
24651 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
24652 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
24653 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
24654 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
24655 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
24656 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
24657 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
24658 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
24659 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
24660 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
24661 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
24662 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
24663 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
24664 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
24665 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
24666 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
24667 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
24668 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
24669 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
24670 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
24671 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
24672 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
24673 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
24674 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
24675 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
24676 "\xED\x28\x39\xE9\x63\xED\x41\x70"
24677 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
24678 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
24679 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
24680 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
24681 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
24682 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
24683 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
24684 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
24685 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
24686 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
24687 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
24688 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
24689 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
24690 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
24691 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
24692 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
24693 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
24694 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
24695 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
24696 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
24697 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
24698 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
24699 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
24700 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
24701 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
24702 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
24703 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
24704 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
24705 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
24706 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
24707 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
24708 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
24709 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
24710 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
24711 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
24712 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
24713 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
24714 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
24715 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
24716 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
24717 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
24718 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
24719 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
24720 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
24721 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
24722 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
24723 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
24724 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
24725 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
24726 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
24727 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
24728 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
24729 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
24730 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
24731 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
24732 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
24733 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
24734 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
24735 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
24736 .len = 1008,
24737 },
24738};
24739
24740static const struct cipher_testvec camellia_cbc_tv_template[] = {
24741 {
24742 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
24743 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
24744 .klen = 16,
24745 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
24746 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
24747 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24748 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24749 .ptext = "Single block msg",
24750 .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24751 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24752 .len = 16,
24753 }, {
24754 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
24755 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
24756 .klen = 16,
24757 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
24758 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
24759 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24760 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
24761 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
24762 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24763 "\x10\x11\x12\x13\x14\x15\x16\x17"
24764 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
24765 .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
24766 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
24767 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24768 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
24769 .len = 32,
24770 }, { /* Generated with Crypto++ */
24771 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24772 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24773 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24774 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24775 .klen = 32,
24776 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24777 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
24778 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
24779 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
24780 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24781 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24782 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24783 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24784 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24785 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24786 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24787 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24788 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24789 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24790 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24791 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24792 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24793 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24794 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24795 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24796 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24797 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24798 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24799 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24800 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24801 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24802 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24803 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24804 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24805 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24806 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24807 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24808 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24809 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24810 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24811 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24812 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24813 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24814 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24815 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24816 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24817 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24818 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24819 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24820 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24821 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24822 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24823 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24824 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24825 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24826 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24827 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24828 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24829 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24830 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24831 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24832 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24833 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24834 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24835 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24836 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24837 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24838 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24839 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24840 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24841 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24842 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24843 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24844 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24845 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24846 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24847 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24848 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24849 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24850 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24851 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24852 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24853 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24854 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24855 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24856 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24857 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24858 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24859 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24860 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24861 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24862 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24863 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24864 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24865 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24866 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24867 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24868 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24869 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24870 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24871 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24872 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24873 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24874 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24875 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24876 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24877 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24878 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24879 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24880 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24881 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24882 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24883 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24884 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24885 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24886 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24887 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24888 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24889 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24890 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24891 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24892 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24893 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24894 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24895 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24896 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24897 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24898 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24899 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24900 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24901 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24902 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24903 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24904 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24905 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24906 .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
24907 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
24908 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
24909 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
24910 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
24911 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
24912 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
24913 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
24914 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
24915 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
24916 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
24917 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
24918 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
24919 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
24920 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
24921 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
24922 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
24923 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
24924 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
24925 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
24926 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
24927 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
24928 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
24929 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
24930 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
24931 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
24932 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
24933 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
24934 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
24935 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
24936 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
24937 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
24938 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
24939 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
24940 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
24941 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
24942 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
24943 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
24944 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
24945 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
24946 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
24947 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
24948 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
24949 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
24950 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
24951 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
24952 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
24953 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
24954 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
24955 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
24956 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
24957 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
24958 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
24959 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
24960 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
24961 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
24962 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
24963 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
24964 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
24965 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
24966 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
24967 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
24968 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
24969 "\x21\x41\x56\x72\x13\xE1\x86\x07"
24970 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
24971 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
24972 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
24973 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
24974 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
24975 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
24976 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
24977 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
24978 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
24979 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
24980 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
24981 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
24982 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
24983 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
24984 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
24985 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
24986 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
24987 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
24988 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
24989 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
24990 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
24991 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
24992 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
24993 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
24994 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
24995 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
24996 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
24997 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
24998 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
24999 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
25000 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
25001 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
25002 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
25003 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
25004 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
25005 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
25006 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
25007 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
25008 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
25009 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
25010 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
25011 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
25012 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
25013 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
25014 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
25015 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
25016 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
25017 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
25018 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
25019 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
25020 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
25021 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
25022 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
25023 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
25024 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
25025 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
25026 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
25027 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
25028 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
25029 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
25030 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
25031 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
25032 .len = 1008,
25033 },
25034};
25035
25036static const struct cipher_testvec camellia_ctr_tv_template[] = {
25037 { /* Generated with Crypto++ */
25038 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25039 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25040 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25041 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25042 .klen = 32,
25043 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25044 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25045 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25046 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
25047 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25048 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25049 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25050 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25051 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25052 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25053 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25054 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25055 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25056 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25057 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25058 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25059 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25060 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25061 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25062 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25063 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25064 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25065 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25066 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25067 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25068 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25069 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25070 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25071 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25072 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25073 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25074 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25075 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25076 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25077 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25078 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25079 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25080 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25081 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25082 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25083 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25084 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25085 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25086 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25087 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25088 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25089 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25090 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25091 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25092 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25093 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25094 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25095 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25096 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25097 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25098 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25099 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25100 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25101 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25102 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25103 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25104 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25105 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25106 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25107 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25108 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25109 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
25110 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
25111 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
25112 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
25113 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
25114 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
25115 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
25116 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
25117 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
25118 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
25119 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
25120 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
25121 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
25122 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
25123 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
25124 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
25125 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
25126 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
25127 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
25128 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
25129 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
25130 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
25131 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
25132 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
25133 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
25134 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
25135 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
25136 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
25137 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
25138 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
25139 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
25140 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
25141 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
25142 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
25143 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
25144 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
25145 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
25146 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
25147 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
25148 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
25149 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
25150 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
25151 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
25152 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
25153 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
25154 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
25155 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
25156 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
25157 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
25158 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
25159 "\x76\x44\x45\xF3\x24\x11\x57\x98"
25160 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
25161 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
25162 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
25163 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
25164 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
25165 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
25166 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
25167 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
25168 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
25169 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
25170 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
25171 .len = 496,
25172 }, { /* Generated with Crypto++ */
25173 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25174 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25175 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25176 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25177 .klen = 32,
25178 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25179 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
25180 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
25181 "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
25182 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25183 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25184 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25185 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25186 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25187 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25188 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25189 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25190 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25191 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25192 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25193 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25194 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25195 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25196 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25197 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25198 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25199 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25200 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25201 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25202 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25203 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25204 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25205 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25206 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25207 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25208 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25209 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25210 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25211 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25212 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25213 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25214 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25215 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25216 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25217 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25218 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25219 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25220 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25221 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25222 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25223 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25224 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25225 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25226 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25227 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25228 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25229 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25230 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25231 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25232 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25233 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25234 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25235 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25236 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25237 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25238 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25239 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25240 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25241 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25242 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25243 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25244 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25245 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25246 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25247 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25248 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25249 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25250 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25251 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25252 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25253 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25254 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25255 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25256 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25257 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25258 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25259 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25260 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25261 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25262 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25263 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25264 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25265 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25266 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25267 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25268 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25269 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25270 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25271 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25272 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25273 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25274 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25275 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25276 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25277 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25278 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25279 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25280 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25281 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25282 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25283 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25284 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25285 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25286 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25287 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25288 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25289 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25290 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25291 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25292 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25293 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25294 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25295 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25296 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25297 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25298 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25299 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25300 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25301 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25302 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25303 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25304 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25305 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25306 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25307 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
25308 "\xE4\x7B\x12",
25309 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
25310 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
25311 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
25312 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
25313 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
25314 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
25315 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
25316 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
25317 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
25318 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
25319 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
25320 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
25321 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
25322 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
25323 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
25324 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
25325 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
25326 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
25327 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
25328 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
25329 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
25330 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
25331 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
25332 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
25333 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
25334 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
25335 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
25336 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
25337 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
25338 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
25339 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
25340 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
25341 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
25342 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
25343 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
25344 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
25345 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
25346 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
25347 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
25348 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
25349 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
25350 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
25351 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
25352 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
25353 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
25354 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
25355 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
25356 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
25357 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
25358 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
25359 "\x76\x44\x45\xF3\x24\x11\x57\x98"
25360 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
25361 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
25362 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
25363 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
25364 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
25365 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
25366 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
25367 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
25368 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
25369 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
25370 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
25371 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
25372 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
25373 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
25374 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
25375 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
25376 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
25377 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
25378 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
25379 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
25380 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
25381 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
25382 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
25383 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
25384 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
25385 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
25386 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
25387 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
25388 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
25389 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
25390 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
25391 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
25392 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
25393 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
25394 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
25395 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
25396 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
25397 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
25398 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
25399 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
25400 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
25401 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
25402 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
25403 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
25404 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
25405 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
25406 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
25407 "\x00\x70\x12\x56\x56\x50\xAD\x14"
25408 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
25409 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
25410 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
25411 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
25412 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
25413 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
25414 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
25415 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
25416 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
25417 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
25418 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
25419 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
25420 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
25421 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
25422 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
25423 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
25424 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
25425 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
25426 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
25427 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
25428 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
25429 "\x74\x28\x9D\x05\x30\x20\x62\x41"
25430 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
25431 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
25432 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
25433 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
25434 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
25435 "\xF1\x6B\xD9",
25436 .len = 1011,
25437 }, { /* Generated with Crypto++ */
25438 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25439 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25440 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25441 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25442 .klen = 32,
25443 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
25444 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
25445 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
25446 "\x00\x00\x00\x00\x00\x00\x00\x3C",
25447 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25448 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25449 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25450 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25451 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25452 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25453 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25454 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25455 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25456 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25457 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25458 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25459 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25460 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25461 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25462 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25463 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25464 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25465 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25466 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25467 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25468 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25469 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25470 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25471 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25472 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25473 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25474 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25475 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25476 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25477 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25478 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25479 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25480 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25481 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25482 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25483 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25484 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25485 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25486 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25487 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25488 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25489 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25490 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25491 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25492 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25493 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25494 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25495 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25496 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25497 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25498 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25499 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25500 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25501 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25502 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25503 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25504 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25505 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25506 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25507 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25508 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25509 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25510 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25511 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25512 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25513 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25514 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25515 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25516 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25517 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25518 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25519 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25520 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25521 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25522 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25523 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25524 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25525 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25526 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25527 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25528 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25529 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25530 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25531 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25532 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25533 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25534 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25535 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25536 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25537 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25538 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25539 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25540 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25541 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25542 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25543 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25544 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25545 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25546 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25547 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25548 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25549 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25550 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25551 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25552 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25553 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25554 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25555 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25556 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25557 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25558 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25559 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25560 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25561 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25562 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25563 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25564 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25565 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25566 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25567 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25568 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25569 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25570 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25571 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25572 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25573 .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
25574 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
25575 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
25576 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
25577 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
25578 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
25579 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
25580 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
25581 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
25582 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
25583 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
25584 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
25585 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
25586 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
25587 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
25588 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
25589 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
25590 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
25591 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
25592 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
25593 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
25594 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
25595 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
25596 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
25597 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
25598 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
25599 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
25600 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
25601 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
25602 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
25603 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
25604 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
25605 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
25606 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
25607 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
25608 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
25609 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
25610 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
25611 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
25612 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
25613 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
25614 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
25615 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
25616 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
25617 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
25618 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
25619 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
25620 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
25621 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
25622 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
25623 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
25624 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
25625 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
25626 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
25627 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
25628 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
25629 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
25630 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
25631 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
25632 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
25633 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
25634 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
25635 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
25636 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
25637 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
25638 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
25639 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
25640 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
25641 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
25642 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
25643 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
25644 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
25645 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
25646 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
25647 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
25648 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
25649 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
25650 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
25651 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
25652 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
25653 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
25654 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
25655 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
25656 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
25657 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
25658 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
25659 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
25660 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
25661 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
25662 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
25663 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
25664 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
25665 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
25666 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
25667 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
25668 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
25669 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
25670 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
25671 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
25672 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
25673 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
25674 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
25675 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
25676 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
25677 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
25678 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
25679 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
25680 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
25681 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
25682 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
25683 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
25684 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
25685 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
25686 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
25687 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
25688 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
25689 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
25690 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
25691 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
25692 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
25693 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
25694 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
25695 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
25696 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
25697 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
25698 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
25699 .len = 1008,
25700 },
25701};
25702
25703static const struct cipher_testvec camellia_lrw_tv_template[] = {
25704 /* Generated from AES-LRW test vectors */
25705 {
25706 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
25707 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
25708 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
25709 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
25710 .klen = 32,
25711 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25712 "\x00\x00\x00\x00\x00\x00\x00\x01",
25713 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25714 "\x38\x39\x41\x42\x43\x44\x45\x46",
25715 .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
25716 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
25717 .len = 16,
25718 }, {
25719 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
25720 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
25721 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
25722 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
25723 .klen = 32,
25724 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25725 "\x00\x00\x00\x00\x00\x00\x00\x02",
25726 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25727 "\x38\x39\x41\x42\x43\x44\x45\x46",
25728 .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
25729 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
25730 .len = 16,
25731 }, {
25732 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
25733 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
25734 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
25735 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
25736 .klen = 32,
25737 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25738 "\x00\x00\x00\x02\x00\x00\x00\x00",
25739 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25740 "\x38\x39\x41\x42\x43\x44\x45\x46",
25741 .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
25742 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
25743 .len = 16,
25744 }, {
25745 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
25746 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
25747 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
25748 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
25749 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
25750 .klen = 40,
25751 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25752 "\x00\x00\x00\x00\x00\x00\x00\x01",
25753 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25754 "\x38\x39\x41\x42\x43\x44\x45\x46",
25755 .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
25756 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
25757 .len = 16,
25758 }, {
25759 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
25760 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
25761 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
25762 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
25763 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
25764 .klen = 40,
25765 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25766 "\x00\x00\x00\x02\x00\x00\x00\x00",
25767 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25768 "\x38\x39\x41\x42\x43\x44\x45\x46",
25769 .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
25770 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
25771 .len = 16,
25772 }, {
25773 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25774 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25775 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25776 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25777 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25778 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25779 .klen = 48,
25780 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25781 "\x00\x00\x00\x00\x00\x00\x00\x01",
25782 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25783 "\x38\x39\x41\x42\x43\x44\x45\x46",
25784 .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
25785 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
25786 .len = 16,
25787 }, {
25788 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
25789 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
25790 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
25791 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
25792 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
25793 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
25794 .klen = 48,
25795 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25796 "\x00\x00\x00\x02\x00\x00\x00\x00",
25797 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25798 "\x38\x39\x41\x42\x43\x44\x45\x46",
25799 .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
25800 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
25801 .len = 16,
25802 }, {
25803 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25804 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25805 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25806 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25807 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25808 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25809 .klen = 48,
25810 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25811 "\x00\x00\x00\x00\x00\x00\x00\x01",
25812 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
25813 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
25814 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
25815 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
25816 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
25817 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
25818 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
25819 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
25820 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
25821 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
25822 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
25823 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
25824 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
25825 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
25826 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
25827 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
25828 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
25829 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
25830 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
25831 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
25832 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
25833 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
25834 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
25835 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
25836 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
25837 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
25838 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
25839 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
25840 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
25841 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
25842 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
25843 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
25844 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
25845 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
25846 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
25847 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
25848 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
25849 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
25850 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
25851 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
25852 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
25853 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
25854 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
25855 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
25856 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
25857 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
25858 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
25859 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
25860 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
25861 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
25862 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
25863 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
25864 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
25865 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
25866 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
25867 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
25868 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
25869 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
25870 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
25871 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
25872 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
25873 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
25874 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
25875 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
25876 .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
25877 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
25878 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
25879 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
25880 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
25881 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
25882 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
25883 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
25884 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
25885 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
25886 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
25887 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
25888 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
25889 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
25890 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
25891 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
25892 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
25893 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
25894 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
25895 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
25896 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
25897 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
25898 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
25899 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
25900 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
25901 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
25902 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
25903 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
25904 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
25905 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
25906 "\xed\x14\xa9\x57\x19\x63\x40\x04"
25907 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
25908 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
25909 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
25910 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
25911 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
25912 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
25913 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
25914 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
25915 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
25916 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
25917 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
25918 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
25919 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
25920 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
25921 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
25922 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
25923 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
25924 "\x35\xa5\x83\x04\x84\x01\x99\x56"
25925 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
25926 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
25927 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
25928 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
25929 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
25930 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
25931 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
25932 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
25933 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
25934 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
25935 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
25936 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
25937 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
25938 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
25939 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
25940 .len = 512,
25941 },
25942};
25943
25944static const struct cipher_testvec camellia_xts_tv_template[] = {
25945 /* Generated from AES-XTS test vectors */
25946 {
25947 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
25948 "\x00\x00\x00\x00\x00\x00\x00\x00"
25949 "\x00\x00\x00\x00\x00\x00\x00\x00"
25950 "\x00\x00\x00\x00\x00\x00\x00\x00",
25951 .klen = 32,
25952 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25953 "\x00\x00\x00\x00\x00\x00\x00\x00",
25954 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
25955 "\x00\x00\x00\x00\x00\x00\x00\x00"
25956 "\x00\x00\x00\x00\x00\x00\x00\x00"
25957 "\x00\x00\x00\x00\x00\x00\x00\x00",
25958 .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
25959 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
25960 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
25961 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
25962 .len = 32,
25963 }, {
25964 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
25965 "\x11\x11\x11\x11\x11\x11\x11\x11"
25966 "\x22\x22\x22\x22\x22\x22\x22\x22"
25967 "\x22\x22\x22\x22\x22\x22\x22\x22",
25968 .klen = 32,
25969 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25970 "\x00\x00\x00\x00\x00\x00\x00\x00",
25971 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
25972 "\x44\x44\x44\x44\x44\x44\x44\x44"
25973 "\x44\x44\x44\x44\x44\x44\x44\x44"
25974 "\x44\x44\x44\x44\x44\x44\x44\x44",
25975 .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
25976 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
25977 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
25978 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
25979 .len = 32,
25980 }, {
25981 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
25982 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
25983 "\x22\x22\x22\x22\x22\x22\x22\x22"
25984 "\x22\x22\x22\x22\x22\x22\x22\x22",
25985 .klen = 32,
25986 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25987 "\x00\x00\x00\x00\x00\x00\x00\x00",
25988 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
25989 "\x44\x44\x44\x44\x44\x44\x44\x44"
25990 "\x44\x44\x44\x44\x44\x44\x44\x44"
25991 "\x44\x44\x44\x44\x44\x44\x44\x44",
25992 .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
25993 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
25994 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
25995 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
25996 .len = 32,
25997 }, {
25998 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
25999 "\x23\x53\x60\x28\x74\x71\x35\x26"
26000 "\x31\x41\x59\x26\x53\x58\x97\x93"
26001 "\x23\x84\x62\x64\x33\x83\x27\x95",
26002 .klen = 32,
26003 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
26004 "\x00\x00\x00\x00\x00\x00\x00\x00",
26005 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
26006 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26007 "\x10\x11\x12\x13\x14\x15\x16\x17"
26008 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26009 "\x20\x21\x22\x23\x24\x25\x26\x27"
26010 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26011 "\x30\x31\x32\x33\x34\x35\x36\x37"
26012 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26013 "\x40\x41\x42\x43\x44\x45\x46\x47"
26014 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26015 "\x50\x51\x52\x53\x54\x55\x56\x57"
26016 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26017 "\x60\x61\x62\x63\x64\x65\x66\x67"
26018 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26019 "\x70\x71\x72\x73\x74\x75\x76\x77"
26020 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26021 "\x80\x81\x82\x83\x84\x85\x86\x87"
26022 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26023 "\x90\x91\x92\x93\x94\x95\x96\x97"
26024 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26025 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26026 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26027 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26028 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26029 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26030 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26031 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26032 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26033 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26034 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26035 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26036 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
26037 "\x00\x01\x02\x03\x04\x05\x06\x07"
26038 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26039 "\x10\x11\x12\x13\x14\x15\x16\x17"
26040 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26041 "\x20\x21\x22\x23\x24\x25\x26\x27"
26042 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26043 "\x30\x31\x32\x33\x34\x35\x36\x37"
26044 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26045 "\x40\x41\x42\x43\x44\x45\x46\x47"
26046 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26047 "\x50\x51\x52\x53\x54\x55\x56\x57"
26048 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26049 "\x60\x61\x62\x63\x64\x65\x66\x67"
26050 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26051 "\x70\x71\x72\x73\x74\x75\x76\x77"
26052 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26053 "\x80\x81\x82\x83\x84\x85\x86\x87"
26054 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26055 "\x90\x91\x92\x93\x94\x95\x96\x97"
26056 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26057 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26058 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26059 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26060 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26061 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26062 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26063 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26064 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26065 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26066 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26067 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26068 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
26069 .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
26070 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
26071 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
26072 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
26073 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
26074 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
26075 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
26076 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
26077 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
26078 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
26079 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
26080 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
26081 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
26082 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
26083 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
26084 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
26085 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
26086 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
26087 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
26088 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
26089 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
26090 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
26091 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
26092 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
26093 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
26094 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
26095 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
26096 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
26097 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
26098 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
26099 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
26100 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
26101 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
26102 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
26103 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
26104 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
26105 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
26106 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
26107 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
26108 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
26109 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
26110 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
26111 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
26112 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
26113 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
26114 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
26115 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
26116 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
26117 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
26118 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
26119 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
26120 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
26121 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
26122 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
26123 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
26124 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
26125 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
26126 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
26127 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
26128 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
26129 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
26130 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
26131 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
26132 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
26133 .len = 512,
26134 }, {
26135 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
26136 "\x23\x53\x60\x28\x74\x71\x35\x26"
26137 "\x62\x49\x77\x57\x24\x70\x93\x69"
26138 "\x99\x59\x57\x49\x66\x96\x76\x27"
26139 "\x31\x41\x59\x26\x53\x58\x97\x93"
26140 "\x23\x84\x62\x64\x33\x83\x27\x95"
26141 "\x02\x88\x41\x97\x16\x93\x99\x37"
26142 "\x51\x05\x82\x09\x74\x94\x45\x92",
26143 .klen = 64,
26144 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
26145 "\x00\x00\x00\x00\x00\x00\x00\x00",
26146 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
26147 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26148 "\x10\x11\x12\x13\x14\x15\x16\x17"
26149 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26150 "\x20\x21\x22\x23\x24\x25\x26\x27"
26151 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26152 "\x30\x31\x32\x33\x34\x35\x36\x37"
26153 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26154 "\x40\x41\x42\x43\x44\x45\x46\x47"
26155 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26156 "\x50\x51\x52\x53\x54\x55\x56\x57"
26157 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26158 "\x60\x61\x62\x63\x64\x65\x66\x67"
26159 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26160 "\x70\x71\x72\x73\x74\x75\x76\x77"
26161 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26162 "\x80\x81\x82\x83\x84\x85\x86\x87"
26163 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26164 "\x90\x91\x92\x93\x94\x95\x96\x97"
26165 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26166 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26167 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26168 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26169 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26170 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26171 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26172 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26173 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26174 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26175 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26176 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26177 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
26178 "\x00\x01\x02\x03\x04\x05\x06\x07"
26179 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26180 "\x10\x11\x12\x13\x14\x15\x16\x17"
26181 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
26182 "\x20\x21\x22\x23\x24\x25\x26\x27"
26183 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
26184 "\x30\x31\x32\x33\x34\x35\x36\x37"
26185 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
26186 "\x40\x41\x42\x43\x44\x45\x46\x47"
26187 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
26188 "\x50\x51\x52\x53\x54\x55\x56\x57"
26189 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
26190 "\x60\x61\x62\x63\x64\x65\x66\x67"
26191 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
26192 "\x70\x71\x72\x73\x74\x75\x76\x77"
26193 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
26194 "\x80\x81\x82\x83\x84\x85\x86\x87"
26195 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
26196 "\x90\x91\x92\x93\x94\x95\x96\x97"
26197 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
26198 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
26199 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
26200 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
26201 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
26202 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
26203 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
26204 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
26205 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
26206 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
26207 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
26208 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
26209 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
26210 .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
26211 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
26212 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
26213 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
26214 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
26215 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
26216 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
26217 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
26218 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
26219 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
26220 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
26221 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
26222 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
26223 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
26224 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
26225 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
26226 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
26227 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
26228 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
26229 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
26230 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
26231 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
26232 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
26233 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
26234 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
26235 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
26236 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
26237 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
26238 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
26239 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
26240 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
26241 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
26242 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
26243 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
26244 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
26245 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
26246 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
26247 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
26248 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
26249 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
26250 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
26251 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
26252 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
26253 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
26254 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
26255 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
26256 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
26257 "\x21\x17\xf8\x59\x15\x24\x64\x22"
26258 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
26259 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
26260 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
26261 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
26262 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
26263 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
26264 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
26265 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
26266 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
26267 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
26268 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
26269 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
26270 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
26271 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
26272 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
26273 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
26274 .len = 512,
26275 },
26276};
26277
26278/*
26279 * SEED test vectors
26280 */
26281static const struct cipher_testvec seed_tv_template[] = {
26282 {
26283 .key = zeroed_string,
26284 .klen = 16,
26285 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
26286 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26287 .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
26288 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
26289 .len = 16,
26290 }, {
26291 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26292 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26293 .klen = 16,
26294 .ptext = zeroed_string,
26295 .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
26296 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
26297 .len = 16,
26298 }, {
26299 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
26300 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
26301 .klen = 16,
26302 .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
26303 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
26304 .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
26305 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
26306 .len = 16,
26307 }, {
26308 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
26309 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
26310 .klen = 16,
26311 .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
26312 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
26313 .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
26314 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
26315 .len = 16,
26316 }
26317};
26318
26319/*
26320 * ARIA test vectors
26321 */
26322static const struct cipher_testvec aria_tv_template[] = {
26323 {
26324 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26325 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26326 .klen = 16,
26327 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26328 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26329 .ctext = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
26330 "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
26331 .len = 16,
26332 }, {
26333 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26334 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26335 "\x10\x11\x12\x13\x14\x15\x16\x17",
26336 .klen = 24,
26337 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26338 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26339 .ctext = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
26340 "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
26341 .len = 16,
26342 }, {
26343 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26344 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26345 "\x10\x11\x12\x13\x14\x15\x16\x17"
26346 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
26347 .klen = 32,
26348 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26349 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26350 .ctext = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
26351 "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
26352 .len = 16,
26353 }
26354};
26355
26356static const struct cipher_testvec aria_cbc_tv_template[] = {
26357 {
26358 .key = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
26359 "\x07\xac\x22\x41\x4d\x23\x27\x37",
26360 .klen = 16,
26361 .iv = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
26362 "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
26363 .ptext = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
26364 "\x85\x19\x21\x72\x33\x00\xde\x28",
26365 .ctext = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
26366 "\x80\x52\x74\x75\xd9\xef\x58\xff",
26367 .len = 16,
26368 }, {
26369 .key = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
26370 "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
26371 .klen = 16,
26372 .iv = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
26373 "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
26374 .ptext = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
26375 "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
26376 "\x74\xb6\x90\xd3\x81\x45\x00\x66"
26377 "\x62\x15\x78\x84\xb2\x63\x11\x76",
26378 .ctext = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
26379 "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
26380 "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
26381 "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
26382 .len = 32,
26383 }, {
26384 .key = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
26385 "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
26386 .klen = 16,
26387 .iv = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
26388 "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
26389 .ptext = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
26390 "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
26391 "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
26392 "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
26393 "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
26394 "\x56\x75\xa3\x2c\x46\x08\xff\x18",
26395 .ctext = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
26396 "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
26397 "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
26398 "\xd1\x27\x4c\x98\x82\x76\xea\x22"
26399 "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
26400 "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
26401 .len = 48,
26402 }, {
26403 .key = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
26404 "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
26405 .klen = 16,
26406 .iv = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
26407 "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
26408 .ptext = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
26409 "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
26410 "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
26411 "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
26412 "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
26413 "\x95\x46\x86\x7a\x77\x28\x89\xb4"
26414 "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
26415 "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
26416 .ctext = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
26417 "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
26418 "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
26419 "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
26420 "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
26421 "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
26422 "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
26423 "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
26424 .len = 64,
26425 }, {
26426 .key = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
26427 "\x32\x58\x97\x74\x04\x12\x1b\x14",
26428 .klen = 16,
26429 .iv = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
26430 "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
26431 .ptext = "\xae\x34\x94\x50\x73\x32\xf0\x75"
26432 "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
26433 "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
26434 "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
26435 "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
26436 "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
26437 "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
26438 "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
26439 "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
26440 "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
26441 .ctext = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
26442 "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
26443 "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
26444 "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
26445 "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
26446 "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
26447 "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
26448 "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
26449 "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
26450 "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
26451 .len = 80,
26452 }, {
26453 .key = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
26454 "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
26455 .klen = 16,
26456 .iv = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
26457 "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
26458 .ptext = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
26459 "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
26460 "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
26461 "\x97\x72\x6a\x99\xb8\x86\x07\x77"
26462 "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
26463 "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
26464 "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
26465 "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
26466 "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
26467 "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
26468 "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
26469 "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
26470 .ctext = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
26471 "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
26472 "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
26473 "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
26474 "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
26475 "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
26476 "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
26477 "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
26478 "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
26479 "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
26480 "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
26481 "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
26482 .len = 96,
26483 }, {
26484 .key = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
26485 "\x90\x26\x77\xf8\x04\x65\x26\xe3",
26486 .klen = 16,
26487 .iv = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
26488 "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
26489 .ptext = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
26490 "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
26491 "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
26492 "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
26493 "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
26494 "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
26495 "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
26496 "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
26497 "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
26498 "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
26499 "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
26500 "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
26501 "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
26502 "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
26503 .ctext = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
26504 "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
26505 "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
26506 "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
26507 "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
26508 "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
26509 "\x24\x53\x02\xd5\x77\x30\x73\xdc"
26510 "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
26511 "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
26512 "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
26513 "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
26514 "\x39\x65\x32\x3a\xad\xff\x8b\x37"
26515 "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
26516 "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
26517 .len = 112,
26518 }, {
26519 .key = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
26520 "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
26521 .klen = 16,
26522 .iv = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
26523 "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
26524 .ptext = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
26525 "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
26526 "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
26527 "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
26528 "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
26529 "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
26530 "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
26531 "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
26532 "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
26533 "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
26534 "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
26535 "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
26536 "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
26537 "\x66\x43\x40\x42\x41\x63\x11\x7a"
26538 "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
26539 "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
26540 .ctext = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
26541 "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
26542 "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
26543 "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
26544 "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
26545 "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
26546 "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
26547 "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
26548 "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
26549 "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
26550 "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
26551 "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
26552 "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
26553 "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
26554 "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
26555 "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
26556 .len = 128,
26557 }, {
26558 .key = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
26559 "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
26560 .klen = 16,
26561 .iv = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
26562 "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
26563 .ptext = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
26564 "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
26565 "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
26566 "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
26567 "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
26568 "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
26569 "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
26570 "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
26571 "\xca\xf1\x28\x32\xf4\x38\x41\x59"
26572 "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
26573 "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
26574 "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
26575 "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
26576 "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
26577 "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
26578 "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
26579 "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
26580 "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
26581 .ctext = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
26582 "\x36\x76\x7a\x40\x7c\x27\x80\x62"
26583 "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
26584 "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
26585 "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
26586 "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
26587 "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
26588 "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
26589 "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
26590 "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
26591 "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
26592 "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
26593 "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
26594 "\x05\x67\x8a\x58\xb4\x31\xac\x64"
26595 "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
26596 "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
26597 "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
26598 "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
26599 .len = 144,
26600 }, {
26601 .key = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
26602 "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
26603 .klen = 16,
26604 .iv = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
26605 "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
26606 .ptext = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
26607 "\xfe\x64\x25\xb6\x72\x21\xda\x10"
26608 "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
26609 "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
26610 "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
26611 "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
26612 "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
26613 "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
26614 "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
26615 "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
26616 "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
26617 "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
26618 "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
26619 "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
26620 "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
26621 "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
26622 "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
26623 "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
26624 "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
26625 "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
26626 .ctext = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
26627 "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
26628 "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
26629 "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
26630 "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
26631 "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
26632 "\xce\x84\x68\x76\x12\xc9\x6c\x38"
26633 "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
26634 "\x57\x84\x7a\x14\x8c\xab\x38\x94"
26635 "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
26636 "\x97\xfc\x96\xba\x65\x87\x1e\x44"
26637 "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
26638 "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
26639 "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
26640 "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
26641 "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
26642 "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
26643 "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
26644 "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
26645 "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
26646 .len = 160,
26647 }, {
26648 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
26649 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
26650 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
26651 .klen = 24,
26652 .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
26653 "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
26654 .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
26655 "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
26656 .ctext = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
26657 "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
26658 .len = 16,
26659 }, {
26660 .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
26661 "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
26662 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
26663 .klen = 24,
26664 .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
26665 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
26666 .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
26667 "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
26668 "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
26669 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
26670 .ctext = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
26671 "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
26672 "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
26673 "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
26674 .len = 32,
26675 }, {
26676 .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
26677 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
26678 "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
26679 .klen = 24,
26680 .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
26681 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
26682 .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
26683 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
26684 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
26685 "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
26686 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
26687 "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
26688 .ctext = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
26689 "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
26690 "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
26691 "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
26692 "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
26693 "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
26694 .len = 48,
26695 }, {
26696 .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
26697 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
26698 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
26699 .klen = 24,
26700 .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
26701 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
26702 .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
26703 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
26704 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
26705 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
26706 "\x30\x9d\x59\x8d\x64\x76\xad\x37"
26707 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
26708 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
26709 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
26710 .ctext = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
26711 "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
26712 "\xca\xf6\x54\x51\x90\xec\x20\x2e"
26713 "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
26714 "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
26715 "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
26716 "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
26717 "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
26718 .len = 64,
26719 }, {
26720 .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
26721 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
26722 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
26723 .klen = 24,
26724 .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
26725 "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
26726 .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
26727 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
26728 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
26729 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
26730 "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
26731 "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
26732 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
26733 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
26734 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
26735 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
26736 .ctext = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
26737 "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
26738 "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
26739 "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
26740 "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
26741 "\x5d\x24\x92\x62\x75\x32\x76\x6d"
26742 "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
26743 "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
26744 "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
26745 "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
26746 .len = 80,
26747 }, {
26748 .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
26749 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
26750 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
26751 .klen = 24,
26752 .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
26753 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
26754 .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
26755 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
26756 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
26757 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
26758 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
26759 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
26760 "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
26761 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
26762 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
26763 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
26764 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
26765 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
26766 .ctext = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
26767 "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
26768 "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
26769 "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
26770 "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
26771 "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
26772 "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
26773 "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
26774 "\x96\x23\x4a\xb3\xab\x75\x84\x04"
26775 "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
26776 "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
26777 "\xbb\x93\x05\x66\x53\x74\x40\x56",
26778 .len = 96,
26779 }, {
26780 .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
26781 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
26782 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
26783 .klen = 24,
26784 .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
26785 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
26786 .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
26787 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
26788 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
26789 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
26790 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
26791 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
26792 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
26793 "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
26794 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
26795 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
26796 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
26797 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
26798 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
26799 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
26800 .ctext = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
26801 "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
26802 "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
26803 "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
26804 "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
26805 "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
26806 "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
26807 "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
26808 "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
26809 "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
26810 "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
26811 "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
26812 "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
26813 "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
26814 .len = 112,
26815 }, {
26816 .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
26817 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
26818 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
26819 .klen = 24,
26820 .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
26821 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
26822 .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
26823 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
26824 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
26825 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
26826 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
26827 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
26828 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
26829 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
26830 "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
26831 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
26832 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
26833 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
26834 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
26835 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
26836 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
26837 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
26838 .ctext = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
26839 "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
26840 "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
26841 "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
26842 "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
26843 "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
26844 "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
26845 "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
26846 "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
26847 "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
26848 "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
26849 "\x11\x70\xb1\xa0\x68\x48\x26\x95"
26850 "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
26851 "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
26852 "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
26853 "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
26854 .len = 128,
26855 }, {
26856 .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
26857 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
26858 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
26859 .klen = 24,
26860 .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
26861 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
26862 .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
26863 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
26864 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
26865 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
26866 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
26867 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
26868 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
26869 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
26870 "\xc2\xab\x62\x54\xef\xba\xae\x46"
26871 "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
26872 "\x05\x26\x23\x81\x19\x27\xad\x7b"
26873 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
26874 "\x44\xbf\x59\xde\x03\x61\x11\x12"
26875 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
26876 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
26877 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
26878 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
26879 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
26880 .ctext = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
26881 "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
26882 "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
26883 "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
26884 "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
26885 "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
26886 "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
26887 "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
26888 "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
26889 "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
26890 "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
26891 "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
26892 "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
26893 "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
26894 "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
26895 "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
26896 "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
26897 "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
26898 .len = 144,
26899 }, {
26900 .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
26901 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
26902 "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
26903 .klen = 24,
26904 .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
26905 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
26906 .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
26907 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
26908 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
26909 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
26910 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
26911 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
26912 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
26913 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
26914 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
26915 "\x20\xf0\x79\x67\xb1\x83\x26\x66"
26916 "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
26917 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
26918 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
26919 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
26920 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
26921 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
26922 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
26923 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
26924 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
26925 "\x43\x43\x51\x6a\x02\x81\x64\x0c",
26926 .ctext = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
26927 "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
26928 "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
26929 "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
26930 "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
26931 "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
26932 "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
26933 "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
26934 "\x18\xef\x6f\x8a\x63\x35\x17\xae"
26935 "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
26936 "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
26937 "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
26938 "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
26939 "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
26940 "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
26941 "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
26942 "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
26943 "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
26944 "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
26945 "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
26946 .len = 160,
26947 }, {
26948 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
26949 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
26950 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
26951 "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
26952 .klen = 32,
26953 .iv = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
26954 "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
26955 .ptext = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
26956 "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
26957 .ctext = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
26958 "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
26959 .len = 16,
26960 }, {
26961 .key = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
26962 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
26963 "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
26964 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
26965 .klen = 32,
26966 .iv = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
26967 "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
26968 .ptext = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
26969 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
26970 "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
26971 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
26972 .ctext = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
26973 "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
26974 "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
26975 "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
26976 .len = 32,
26977 }, {
26978 .key = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
26979 "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
26980 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
26981 "\x39\x56\x34\x63\x2c\xc5\x51\x13",
26982 .klen = 32,
26983 .iv = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
26984 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
26985 .ptext = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
26986 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
26987 "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
26988 "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
26989 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
26990 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
26991 .ctext = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
26992 "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
26993 "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
26994 "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
26995 "\x85\x52\x11\x20\x2c\x59\x16\x00"
26996 "\x26\x47\x4a\xea\x08\x5f\x38\x68",
26997 .len = 48,
26998 }, {
26999 .key = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27000 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27001 "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27002 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
27003 .klen = 32,
27004 .iv = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27005 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27006 .ptext = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27007 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27008 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27009 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
27010 "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27011 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27012 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27013 "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
27014 .ctext = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
27015 "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
27016 "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
27017 "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
27018 "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
27019 "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
27020 "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
27021 "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
27022 .len = 64,
27023 }, {
27024 .key = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27025 "\x91\xac\x17\x11\x1c\x03\x69\x53"
27026 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27027 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
27028 .klen = 32,
27029 .iv = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27030 "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27031 .ptext = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27032 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27033 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27034 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27035 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27036 "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27037 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27038 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27039 "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27040 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27041 .ctext = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
27042 "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
27043 "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
27044 "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
27045 "\xca\x90\x28\x26\x49\x34\xca\x41"
27046 "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
27047 "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
27048 "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
27049 "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
27050 "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
27051 .len = 80,
27052 }, {
27053 .key = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27054 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27055 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27056 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
27057 .klen = 32,
27058 .iv = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27059 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
27060 .ptext = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27061 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27062 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27063 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27064 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27065 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
27066 "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27067 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27068 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
27069 "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27070 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
27071 "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
27072 .ctext = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
27073 "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
27074 "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
27075 "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
27076 "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
27077 "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
27078 "\x18\xf3\x14\xaa\x56\x03\x28\x53"
27079 "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
27080 "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
27081 "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
27082 "\x75\x80\xb7\x47\x63\xfc\xad\x18"
27083 "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
27084 .len = 96,
27085 }, {
27086 .key = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27087 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27088 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27089 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
27090 .klen = 32,
27091 .iv = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27092 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
27093 .ptext = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27094 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27095 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27096 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27097 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27098 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27099 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
27100 "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27101 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27102 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
27103 "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27104 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
27105 "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27106 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
27107 .ctext = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
27108 "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
27109 "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
27110 "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
27111 "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
27112 "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
27113 "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
27114 "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
27115 "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
27116 "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
27117 "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
27118 "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
27119 "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
27120 "\x19\x5f\x04\x01\x48\x00\x3b\x58",
27121 .len = 112,
27122 }, {
27123 .key = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27124 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27125 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27126 "\x6a\x55\x84\x98\x28\x03\x02\xc2",
27127 .klen = 32,
27128 .iv = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27129 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
27130 .ptext = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27131 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27132 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27133 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27134 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27135 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27136 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27137 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
27138 "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27139 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27140 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
27141 "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27142 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
27143 "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27144 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27145 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
27146 .ctext = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
27147 "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
27148 "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
27149 "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
27150 "\x05\x6a\x90\x76\x35\xed\x73\xf2"
27151 "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
27152 "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
27153 "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
27154 "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
27155 "\x60\x82\xcd\xff\x42\x10\xed\x43"
27156 "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
27157 "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
27158 "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
27159 "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
27160 "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
27161 "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
27162 .len = 128,
27163 }, {
27164 .key = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27165 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27166 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27167 "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
27168 .klen = 32,
27169 .iv = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27170 "\xc2\xab\x62\x54\xef\xba\xae\x46",
27171 .ptext = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27172 "\x05\x26\x23\x81\x19\x27\xad\x7b"
27173 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27174 "\x44\xbf\x59\xde\x03\x61\x11\x12"
27175 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27176 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27177 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27178 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27179 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
27180 "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27181 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27182 "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
27183 "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27184 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
27185 "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27186 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27187 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27188 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
27189 .ctext = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
27190 "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
27191 "\xef\x35\x33\x64\x31\x0a\x42\x77"
27192 "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
27193 "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
27194 "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
27195 "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
27196 "\xda\x54\x69\x98\x13\x5d\x93\x16"
27197 "\xca\x06\x81\x64\x36\xbe\x36\xa2"
27198 "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
27199 "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
27200 "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
27201 "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
27202 "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
27203 "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
27204 "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
27205 "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
27206 "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
27207 .len = 144,
27208 }, {
27209 .key = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27210 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27211 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27212 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
27213 .klen = 32,
27214 .iv = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27215 "\x20\xf0\x79\x67\xb1\x83\x26\x66",
27216 .ptext = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27217 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27218 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27219 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27220 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27221 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27222 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27223 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27224 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27225 "\x43\x43\x51\x6a\x02\x81\x64\x0c"
27226 "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
27227 "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
27228 "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
27229 "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
27230 "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
27231 "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
27232 "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
27233 "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
27234 "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
27235 "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
27236 .ctext = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
27237 "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
27238 "\x52\x56\x32\xbf\x67\x71\xf4\x01"
27239 "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
27240 "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
27241 "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
27242 "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
27243 "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
27244 "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
27245 "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
27246 "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
27247 "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
27248 "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
27249 "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
27250 "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
27251 "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
27252 "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
27253 "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
27254 "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
27255 "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
27256 .len = 160,
27257 }
27258};
27259
27260static const struct cipher_testvec aria_ctr_tv_template[] = {
27261 {
27262 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27263 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
27264 .klen = 16,
27265 .iv = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
27266 "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
27267 .ptext = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
27268 "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
27269 .ctext = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
27270 "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
27271 .len = 16,
27272 }, {
27273 .key = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
27274 "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
27275 .klen = 16,
27276 .iv = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27277 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27278 .ptext = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27279 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
27280 "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27281 "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
27282 .ctext = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
27283 "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
27284 "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
27285 "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
27286 .len = 32,
27287 }, {
27288 .key = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27289 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27290 .klen = 16,
27291 .iv = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27292 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
27293 .ptext = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
27294 "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27295 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
27296 "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27297 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27298 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
27299 .ctext = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
27300 "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
27301 "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
27302 "\xac\x85\xda\xff\x70\x24\x44\x9d"
27303 "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
27304 "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
27305 .len = 48,
27306 }, {
27307 .key = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27308 "\x77\xb5\xca\x90\xda\x1d\x22\x17",
27309 .klen = 16,
27310 .iv = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
27311 "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
27312 .ptext = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27313 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
27314 "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27315 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27316 "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27317 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27318 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27319 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27320 .ctext = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
27321 "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
27322 "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
27323 "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
27324 "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
27325 "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
27326 "\x47\x55\x62\xa0\x03\x4e\x48\x67"
27327 "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
27328 .len = 64,
27329 }, {
27330 .key = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27331 "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
27332 .klen = 16,
27333 .iv = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27334 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27335 .ptext = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27336 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27337 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27338 "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27339 "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27340 "\x91\xac\x17\x11\x1c\x03\x69\x53"
27341 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27342 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27343 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27344 "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27345 .ctext = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
27346 "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
27347 "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
27348 "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
27349 "\x21\xea\xed\xca\xdd\x42\x41\x94"
27350 "\xe4\x6c\x07\x06\x19\x59\x30\xff"
27351 "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
27352 "\x7d\x11\xec\x6b\x21\x08\x12\x18"
27353 "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
27354 "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
27355 .len = 80,
27356 }, {
27357 .key = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27358 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
27359 .klen = 16,
27360 .iv = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27361 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
27362 .ptext = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27363 "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27364 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27365 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27366 "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27367 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
27368 "\x84\xa0\x53\x97\x61\x30\x70\x15"
27369 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27370 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27371 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27372 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27373 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
27374 .ctext = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
27375 "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
27376 "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
27377 "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
27378 "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
27379 "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
27380 "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
27381 "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
27382 "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
27383 "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
27384 "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
27385 "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
27386 .len = 96,
27387 }, {
27388 .key = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27389 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
27390 .klen = 16,
27391 .iv = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27392 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
27393 .ptext = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27394 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
27395 "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27396 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27397 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
27398 "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27399 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
27400 "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27401 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27402 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27403 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27404 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27405 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27406 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
27407 .ctext = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
27408 "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
27409 "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
27410 "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
27411 "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
27412 "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
27413 "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
27414 "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
27415 "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
27416 "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
27417 "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
27418 "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
27419 "\x44\xd2\x05\x31\x40\x94\x77\x87"
27420 "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
27421 .len = 112,
27422 }, {
27423 .key = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27424 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
27425 .klen = 16,
27426 .iv = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27427 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
27428 .ptext = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27429 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27430 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
27431 "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27432 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27433 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
27434 "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27435 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
27436 "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27437 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27438 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27439 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27440 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27441 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27442 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27443 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
27444 .ctext = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
27445 "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
27446 "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
27447 "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
27448 "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
27449 "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
27450 "\x21\xa8\x22\x06\x32\x47\xc0\x16"
27451 "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
27452 "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
27453 "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
27454 "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
27455 "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
27456 "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
27457 "\x69\x81\x80\x4b\x86\xab\x5e\x30"
27458 "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
27459 "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
27460 .len = 128,
27461 }, {
27462 .key = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27463 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
27464 .klen = 16,
27465 .iv = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27466 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
27467 .ptext = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27468 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27469 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27470 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
27471 "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27472 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27473 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
27474 "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27475 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
27476 "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27477 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27478 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27479 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27480 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27481 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27482 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27483 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27484 "\xc2\xab\x62\x54\xef\xba\xae\x46",
27485 .ctext = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
27486 "\xde\x60\x99\x58\x23\xf9\x9e\x91"
27487 "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
27488 "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
27489 "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
27490 "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
27491 "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
27492 "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
27493 "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
27494 "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
27495 "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
27496 "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
27497 "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
27498 "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
27499 "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
27500 "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
27501 "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
27502 "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
27503 .len = 144,
27504 }, {
27505 .key = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27506 "\x05\x26\x23\x81\x19\x27\xad\x7b",
27507 .klen = 16,
27508 .iv = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27509 "\x44\xbf\x59\xde\x03\x61\x11\x12",
27510 .ptext = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27511 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27512 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27513 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27514 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
27515 "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27516 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27517 "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
27518 "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27519 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
27520 "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27521 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27522 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27523 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27524 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27525 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27526 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27527 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27528 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27529 "\x20\xf0\x79\x67\xb1\x83\x26\x66",
27530 .ctext = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
27531 "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
27532 "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
27533 "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
27534 "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
27535 "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
27536 "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
27537 "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
27538 "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
27539 "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
27540 "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
27541 "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
27542 "\x87\x2b\x89\xe9\x51\x69\x16\x63"
27543 "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
27544 "\x01\x14\x73\x88\x8e\x41\x47\xb6"
27545 "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
27546 "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
27547 "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
27548 "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
27549 "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
27550 .len = 160,
27551 }, {
27552 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27553 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27554 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
27555 .klen = 24,
27556 .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
27557 "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
27558 .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
27559 "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
27560 .ctext = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
27561 "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
27562 .len = 16,
27563 }, {
27564 .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
27565 "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27566 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27567 .klen = 24,
27568 .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27569 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27570 .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27571 "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
27572 "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27573 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27574 .ctext = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
27575 "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
27576 "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
27577 "\x33\x22\xd1\x05\x56\x46\x62\x25",
27578 .len = 32,
27579 }, {
27580 .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27581 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
27582 "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
27583 .klen = 24,
27584 .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27585 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
27586 .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27587 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27588 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
27589 "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27590 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27591 "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
27592 .ctext = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
27593 "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
27594 "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
27595 "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
27596 "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
27597 "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
27598 .len = 48,
27599 }, {
27600 .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27601 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27602 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27603 .klen = 24,
27604 .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27605 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
27606 .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27607 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27608 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27609 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
27610 "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27611 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27612 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27613 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27614 .ctext = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
27615 "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
27616 "\x00\x8e\x30\x23\x7d\x50\x87\xda"
27617 "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
27618 "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
27619 "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
27620 "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
27621 "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
27622 .len = 64,
27623 }, {
27624 .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27625 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27626 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
27627 .klen = 24,
27628 .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27629 "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
27630 .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
27631 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27632 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27633 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27634 "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
27635 "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27636 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27637 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27638 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27639 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
27640 .ctext = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
27641 "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
27642 "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
27643 "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
27644 "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
27645 "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
27646 "\xc5\x43\x36\xde\x02\xac\x2c\x75"
27647 "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
27648 "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
27649 "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
27650 .len = 80,
27651 }, {
27652 .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27653 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27654 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
27655 .klen = 24,
27656 .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27657 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27658 .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27659 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27660 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27661 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27662 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27663 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
27664 "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27665 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27666 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27667 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27668 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27669 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
27670 .ctext = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
27671 "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
27672 "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
27673 "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
27674 "\xbb\x00\x09\x40\x34\xa4\xef\x82"
27675 "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
27676 "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
27677 "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
27678 "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
27679 "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
27680 "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
27681 "\x70\x96\x23\x49\x98\xfc\x79\xd2",
27682 .len = 96,
27683 }, {
27684 .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27685 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27686 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
27687 .klen = 24,
27688 .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27689 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
27690 .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27691 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27692 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27693 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27694 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27695 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27696 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
27697 "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27698 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27699 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27700 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27701 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27702 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27703 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
27704 .ctext = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
27705 "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
27706 "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
27707 "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
27708 "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
27709 "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
27710 "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
27711 "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
27712 "\x40\x38\x92\xc7\x44\xef\xdf\x63"
27713 "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
27714 "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
27715 "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
27716 "\x21\x2b\x05\xe4\xca\xef\x87\x04"
27717 "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
27718 .len = 112,
27719 }, {
27720 .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27721 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27722 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
27723 .klen = 24,
27724 .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27725 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
27726 .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27727 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27728 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27729 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27730 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27731 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27732 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27733 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
27734 "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27735 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27736 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27737 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27738 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27739 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27740 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27741 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
27742 .ctext = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
27743 "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
27744 "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
27745 "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
27746 "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
27747 "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
27748 "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
27749 "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
27750 "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
27751 "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
27752 "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
27753 "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
27754 "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
27755 "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
27756 "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
27757 "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
27758 .len = 128,
27759 }, {
27760 .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27761 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27762 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
27763 .klen = 24,
27764 .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27765 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
27766 .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27767 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27768 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27769 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27770 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27771 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27772 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27773 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27774 "\xc2\xab\x62\x54\xef\xba\xae\x46"
27775 "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27776 "\x05\x26\x23\x81\x19\x27\xad\x7b"
27777 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27778 "\x44\xbf\x59\xde\x03\x61\x11\x12"
27779 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27780 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27781 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27782 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27783 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
27784 .ctext = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
27785 "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
27786 "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
27787 "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
27788 "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
27789 "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
27790 "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
27791 "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
27792 "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
27793 "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
27794 "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
27795 "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
27796 "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
27797 "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
27798 "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
27799 "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
27800 "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
27801 "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
27802 .len = 144,
27803 }, {
27804 .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27805 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27806 "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
27807 .klen = 24,
27808 .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27809 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
27810 .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27811 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27812 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27813 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27814 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27815 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27816 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27817 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27818 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27819 "\x20\xf0\x79\x67\xb1\x83\x26\x66"
27820 "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27821 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27822 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27823 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27824 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27825 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27826 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27827 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27828 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27829 "\x43\x43\x51\x6a\x02\x81\x64\x0c",
27830 .ctext = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
27831 "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
27832 "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
27833 "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
27834 "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
27835 "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
27836 "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
27837 "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
27838 "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
27839 "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
27840 "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
27841 "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
27842 "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
27843 "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
27844 "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
27845 "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
27846 "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
27847 "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
27848 "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
27849 "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
27850 .len = 160,
27851 }, {
27852 .key = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
27853 "\x06\xa3\xfa\x99\x42\x67\x87\xac"
27854 "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
27855 "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
27856 .klen = 32,
27857 .iv = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
27858 "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
27859 .ptext = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
27860 "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
27861 .ctext = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
27862 "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
27863 .len = 16,
27864 }, {
27865 .key = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
27866 "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
27867 "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
27868 "\x47\x37\x3a\xed\x13\x92\x35\x16",
27869 .klen = 32,
27870 .iv = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
27871 "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
27872 .ptext = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
27873 "\x25\x8c\x76\x87\x53\xa4\x80\xae"
27874 "\x51\x94\x36\x3f\xca\xe7\x45\x41"
27875 "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
27876 .ctext = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
27877 "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
27878 "\x51\xbf\x13\x9f\x29\x95\x51\x16"
27879 "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
27880 .len = 32,
27881 }, {
27882 .key = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
27883 "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
27884 "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
27885 "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
27886 .klen = 32,
27887 .iv = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
27888 "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
27889 .ptext = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
27890 "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
27891 "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
27892 "\x13\x08\x32\xc6\x41\xd8\xec\x54"
27893 "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
27894 "\x97\xca\x00\x1b\x02\x59\x24\x82",
27895 .ctext = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
27896 "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
27897 "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
27898 "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
27899 "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
27900 "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
27901 .len = 48,
27902 }, {
27903 .key = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
27904 "\x99\x61\x62\x86\x0f\x43\x2e\x05"
27905 "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
27906 "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
27907 .klen = 32,
27908 .iv = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
27909 "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
27910 .ptext = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
27911 "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
27912 "\x02\x26\x91\xf7\x41\xa4\xab\x34"
27913 "\x29\x49\xdd\x78\x19\x8f\x10\x10"
27914 "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
27915 "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
27916 "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
27917 "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
27918 .ctext = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
27919 "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
27920 "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
27921 "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
27922 "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
27923 "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
27924 "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
27925 "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
27926 .len = 64,
27927 }, {
27928 .key = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
27929 "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
27930 "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
27931 "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
27932 .klen = 32,
27933 .iv = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
27934 "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
27935 .ptext = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
27936 "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
27937 "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
27938 "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
27939 "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
27940 "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
27941 "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
27942 "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
27943 "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
27944 "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
27945 .ctext = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
27946 "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
27947 "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
27948 "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
27949 "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
27950 "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
27951 "\x38\x62\xd3\x6e\x07\x63\x91\xad"
27952 "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
27953 "\x92\x88\x64\xee\x93\xaa\xaf\x31"
27954 "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
27955 .len = 80,
27956 }, {
27957 .key = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
27958 "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
27959 "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
27960 "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
27961 .klen = 32,
27962 .iv = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
27963 "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
27964 .ptext = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
27965 "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
27966 "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
27967 "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
27968 "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
27969 "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
27970 "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
27971 "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
27972 "\x48\x95\x83\x67\x23\x64\x31\x50"
27973 "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
27974 "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
27975 "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
27976 .ctext = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
27977 "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
27978 "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
27979 "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
27980 "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
27981 "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
27982 "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
27983 "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
27984 "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
27985 "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
27986 "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
27987 "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
27988 .len = 96,
27989 }, {
27990 .key = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
27991 "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
27992 "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
27993 "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
27994 .klen = 32,
27995 .iv = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
27996 "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
27997 .ptext = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
27998 "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
27999 "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
28000 "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
28001 "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
28002 "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
28003 "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
28004 "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
28005 "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
28006 "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
28007 "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
28008 "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
28009 "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
28010 "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
28011 .ctext = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
28012 "\xfe\x12\x24\x79\x31\xad\x32\xb5"
28013 "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
28014 "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
28015 "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
28016 "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
28017 "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
28018 "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
28019 "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
28020 "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
28021 "\x66\x94\x72\xc0\x2b\x12\x47\x23"
28022 "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
28023 "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
28024 "\x43\xbb\x88\x32\x25\xff\x77\x6a",
28025 .len = 112,
28026 }, {
28027 .key = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
28028 "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
28029 "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
28030 "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
28031 .klen = 32,
28032 .iv = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
28033 "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
28034 .ptext = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
28035 "\xd4\x40\x16\x74\x2b\x42\x37\xda"
28036 "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
28037 "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
28038 "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
28039 "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
28040 "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
28041 "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
28042 "\x92\x7c\x79\x81\xde\x18\x6e\x92"
28043 "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
28044 "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
28045 "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
28046 "\x6a\x71\x26\xdc\xac\x10\x56\x63"
28047 "\x15\x23\x7d\x10\xe3\x76\x82\x41"
28048 "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
28049 "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
28050 .ctext = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
28051 "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
28052 "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
28053 "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
28054 "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
28055 "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
28056 "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
28057 "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
28058 "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
28059 "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
28060 "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
28061 "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
28062 "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
28063 "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
28064 "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
28065 "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
28066 .len = 128,
28067 }, {
28068 .key = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
28069 "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
28070 "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
28071 "\x1e\x10\x95\x2a\x71\x33\x17\x20",
28072 .klen = 32,
28073 .iv = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
28074 "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
28075 .ptext = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
28076 "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
28077 "\x84\x19\x4c\x09\x40\x03\x75\x1f"
28078 "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
28079 "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
28080 "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
28081 "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
28082 "\x61\xf0\x00\xca\xed\xab\xed\xe2"
28083 "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
28084 "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
28085 "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
28086 "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
28087 "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
28088 "\xad\x98\x68\x72\x53\x61\x19\x7c"
28089 "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
28090 "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
28091 "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
28092 "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
28093 .ctext = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
28094 "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
28095 "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
28096 "\x30\xcb\x87\x39\x53\x5d\x36\x89"
28097 "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
28098 "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
28099 "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
28100 "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
28101 "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
28102 "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
28103 "\x6f\x82\x08\x56\x1f\x51\x72\x57"
28104 "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
28105 "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
28106 "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
28107 "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
28108 "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
28109 "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
28110 "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
28111 .len = 144,
28112 }, {
28113 .key = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
28114 "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
28115 "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
28116 "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
28117 .klen = 32,
28118 .iv = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
28119 "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
28120 .ptext = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
28121 "\x45\x53\xa7\x67\x61\x74\x25\x80"
28122 "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
28123 "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
28124 "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
28125 "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
28126 "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
28127 "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
28128 "\x09\xa8\x48\x21\xd6\xab\x41\x73"
28129 "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
28130 "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
28131 "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
28132 "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
28133 "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
28134 "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
28135 "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
28136 "\x82\x34\xb7\x96\x35\x58\xde\xab"
28137 "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
28138 "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
28139 "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
28140 .ctext = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
28141 "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
28142 "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
28143 "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
28144 "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
28145 "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
28146 "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
28147 "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
28148 "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
28149 "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
28150 "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
28151 "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
28152 "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
28153 "\x86\xc4\xfb\x48\x01\xda\x93\x73"
28154 "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
28155 "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
28156 "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
28157 "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
28158 "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
28159 "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
28160 .len = 160,
28161 }
28162};
28163
28164static const struct aead_testvec aria_gcm_tv_template[] = {
28165 {
28166 .key = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
28167 "\x48\x18\x1f\x38\x46\x34\x95\x62",
28168 .klen = 16,
28169 .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
28170 "\x00\x00\x31\x5e",
28171 .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
28172 "\x20\xe8\xf5\xeb",
28173 .alen = 12,
28174 .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
28175 "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
28176 "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
28177 "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
28178 "\x62\xe9\x72\x95\x66\xed\x66\xe9"
28179 "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
28180 "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
28181 "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
28182 "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
28183 "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
28184 "\x16\x99\x16\x91\xd5\x72\xfd\x14"
28185 "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
28186 "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
28187 "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
28188 "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
28189 "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
28190 "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
28191 "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
28192 "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
28193 "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
28194 .plen = 160,
28195 .ctext = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
28196 "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
28197 "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
28198 "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
28199 "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
28200 "\x44\xbc\xee\xae\x8e\x44\x42\x97"
28201 "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
28202 "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
28203 "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
28204 "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
28205 "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
28206 "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
28207 "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
28208 "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
28209 "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
28210 "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
28211 "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
28212 "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
28213 "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
28214 "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
28215 "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
28216 "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
28217 .clen = 176,
28218 }, {
28219 .key = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
28220 "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
28221 "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
28222 "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
28223 .klen = 32,
28224 .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
28225 "\x00\x00\x31\x5e",
28226 .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
28227 "\x20\xe8\xf5\xeb",
28228 .alen = 12,
28229 .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
28230 "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
28231 "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
28232 "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
28233 "\x62\xe9\x72\x95\x66\xed\x66\xe9"
28234 "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
28235 "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
28236 "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
28237 "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
28238 "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
28239 "\x16\x99\x16\x91\xd5\x72\xfd\x14"
28240 "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
28241 "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
28242 "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
28243 "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
28244 "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
28245 "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
28246 "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
28247 "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
28248 "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
28249 .plen = 160,
28250 .ctext = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
28251 "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
28252 "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
28253 "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
28254 "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
28255 "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
28256 "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
28257 "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
28258 "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
28259 "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
28260 "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
28261 "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
28262 "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
28263 "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
28264 "\x97\x70\x31\x69\xa4\x19\x30\x3f"
28265 "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
28266 "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
28267 "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
28268 "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
28269 "\xca\x35\x1a\x48\xae\xd5\x28\x22"
28270 "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
28271 "\xf8\x41\x47\x29\x15\xe7\xef\x48",
28272 .clen = 176,
28273 }
28274};
28275
28276static const struct cipher_testvec chacha20_tv_template[] = {
28277 { /* RFC7539 A.2. Test Vector #1 */
28278 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28279 "\x00\x00\x00\x00\x00\x00\x00\x00"
28280 "\x00\x00\x00\x00\x00\x00\x00\x00"
28281 "\x00\x00\x00\x00\x00\x00\x00\x00",
28282 .klen = 32,
28283 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28284 "\x00\x00\x00\x00\x00\x00\x00\x00",
28285 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28286 "\x00\x00\x00\x00\x00\x00\x00\x00"
28287 "\x00\x00\x00\x00\x00\x00\x00\x00"
28288 "\x00\x00\x00\x00\x00\x00\x00\x00"
28289 "\x00\x00\x00\x00\x00\x00\x00\x00"
28290 "\x00\x00\x00\x00\x00\x00\x00\x00"
28291 "\x00\x00\x00\x00\x00\x00\x00\x00"
28292 "\x00\x00\x00\x00\x00\x00\x00\x00",
28293 .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
28294 "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
28295 "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
28296 "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
28297 "\xda\x41\x59\x7c\x51\x57\x48\x8d"
28298 "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
28299 "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
28300 "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
28301 .len = 64,
28302 }, { /* RFC7539 A.2. Test Vector #2 */
28303 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28304 "\x00\x00\x00\x00\x00\x00\x00\x00"
28305 "\x00\x00\x00\x00\x00\x00\x00\x00"
28306 "\x00\x00\x00\x00\x00\x00\x00\x01",
28307 .klen = 32,
28308 .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
28309 "\x00\x00\x00\x00\x00\x00\x00\x02",
28310 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
28311 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
28312 "\x6f\x20\x74\x68\x65\x20\x49\x45"
28313 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
28314 "\x64\x65\x64\x20\x62\x79\x20\x74"
28315 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
28316 "\x69\x62\x75\x74\x6f\x72\x20\x66"
28317 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
28318 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
28319 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
28320 "\x20\x70\x61\x72\x74\x20\x6f\x66"
28321 "\x20\x61\x6e\x20\x49\x45\x54\x46"
28322 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
28323 "\x74\x2d\x44\x72\x61\x66\x74\x20"
28324 "\x6f\x72\x20\x52\x46\x43\x20\x61"
28325 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
28326 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
28327 "\x20\x6d\x61\x64\x65\x20\x77\x69"
28328 "\x74\x68\x69\x6e\x20\x74\x68\x65"
28329 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
28330 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
28331 "\x45\x54\x46\x20\x61\x63\x74\x69"
28332 "\x76\x69\x74\x79\x20\x69\x73\x20"
28333 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
28334 "\x65\x64\x20\x61\x6e\x20\x22\x49"
28335 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
28336 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
28337 "\x22\x2e\x20\x53\x75\x63\x68\x20"
28338 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28339 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
28340 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
28341 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28342 "\x74\x73\x20\x69\x6e\x20\x49\x45"
28343 "\x54\x46\x20\x73\x65\x73\x73\x69"
28344 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
28345 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
28346 "\x77\x72\x69\x74\x74\x65\x6e\x20"
28347 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
28348 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
28349 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
28350 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
28351 "\x64\x65\x20\x61\x74\x20\x61\x6e"
28352 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
28353 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
28354 "\x20\x77\x68\x69\x63\x68\x20\x61"
28355 "\x72\x65\x20\x61\x64\x64\x72\x65"
28356 "\x73\x73\x65\x64\x20\x74\x6f",
28357 .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
28358 "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
28359 "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
28360 "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
28361 "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
28362 "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
28363 "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
28364 "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
28365 "\x40\x42\xe0\x27\x85\xec\xec\xfa"
28366 "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
28367 "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
28368 "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
28369 "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
28370 "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
28371 "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
28372 "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
28373 "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
28374 "\xd6\x62\xab\x05\x26\x91\xca\x66"
28375 "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
28376 "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
28377 "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
28378 "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
28379 "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
28380 "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
28381 "\x08\x71\xcd\xac\x63\x89\x39\xe2"
28382 "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
28383 "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
28384 "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
28385 "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
28386 "\x37\x20\xfc\x88\xdc\x95\xed\x84"
28387 "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
28388 "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
28389 "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
28390 "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
28391 "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
28392 "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
28393 "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
28394 "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
28395 "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
28396 "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
28397 "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
28398 "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
28399 "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
28400 "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
28401 "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
28402 "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
28403 "\xc4\xfd\x80\x6c\x22\xf2\x21",
28404 .len = 375,
28405
28406 }, { /* RFC7539 A.2. Test Vector #3 */
28407 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28408 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28409 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28410 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28411 .klen = 32,
28412 .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
28413 "\x00\x00\x00\x00\x00\x00\x00\x02",
28414 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
28415 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
28416 "\x6e\x64\x20\x74\x68\x65\x20\x73"
28417 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
28418 "\x76\x65\x73\x0a\x44\x69\x64\x20"
28419 "\x67\x79\x72\x65\x20\x61\x6e\x64"
28420 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
28421 "\x69\x6e\x20\x74\x68\x65\x20\x77"
28422 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
28423 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
28424 "\x65\x72\x65\x20\x74\x68\x65\x20"
28425 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
28426 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
28427 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
28428 "\x72\x61\x74\x68\x73\x20\x6f\x75"
28429 "\x74\x67\x72\x61\x62\x65\x2e",
28430 .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
28431 "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
28432 "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
28433 "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
28434 "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
28435 "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
28436 "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
28437 "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
28438 "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
28439 "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
28440 "\x1a\x55\x32\x05\x57\x16\xea\xd6"
28441 "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
28442 "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
28443 "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
28444 "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
28445 "\x75\x7a\x79\x7a\xc1\x88\xd1",
28446 .len = 127,
28447 }, { /* Self-made test vector for long data */
28448 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28449 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28450 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28451 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28452 .klen = 32,
28453 .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
28454 "\x00\x00\x00\x00\x00\x00\x00\x01",
28455 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
28456 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
28457 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
28458 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
28459 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
28460 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
28461 "\x01\xc6\x67\xda\x03\x91\x18\x90"
28462 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
28463 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
28464 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
28465 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
28466 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
28467 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
28468 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
28469 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
28470 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
28471 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
28472 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
28473 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
28474 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
28475 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
28476 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
28477 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
28478 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
28479 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
28480 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
28481 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
28482 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
28483 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
28484 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
28485 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
28486 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
28487 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
28488 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
28489 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
28490 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
28491 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
28492 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
28493 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
28494 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
28495 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
28496 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
28497 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
28498 "\x49\x46\x00\x88\x22\x8d\xce\xea"
28499 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
28500 "\x72\x11\xf5\x50\x73\x04\x40\x47"
28501 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
28502 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
28503 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
28504 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
28505 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
28506 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
28507 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
28508 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
28509 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
28510 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
28511 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
28512 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
28513 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
28514 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
28515 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
28516 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
28517 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
28518 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
28519 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
28520 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
28521 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
28522 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
28523 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
28524 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
28525 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
28526 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
28527 "\x65\x69\x8a\x45\x29\xef\x74\x85"
28528 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
28529 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
28530 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
28531 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
28532 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
28533 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
28534 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
28535 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
28536 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
28537 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
28538 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
28539 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
28540 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
28541 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
28542 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
28543 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
28544 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
28545 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
28546 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
28547 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
28548 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
28549 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
28550 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
28551 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
28552 "\x25\x94\x10\x5f\x40\x00\x64\x99"
28553 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
28554 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
28555 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
28556 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
28557 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
28558 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
28559 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
28560 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
28561 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
28562 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
28563 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
28564 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
28565 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
28566 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
28567 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
28568 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
28569 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
28570 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
28571 "\xb9\x83\x90\xef\x20\x59\x46\xff"
28572 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
28573 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
28574 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
28575 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
28576 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
28577 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
28578 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
28579 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
28580 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
28581 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
28582 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
28583 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
28584 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
28585 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
28586 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
28587 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
28588 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
28589 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
28590 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
28591 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
28592 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
28593 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
28594 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
28595 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
28596 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
28597 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
28598 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
28599 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
28600 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
28601 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
28602 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
28603 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
28604 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
28605 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
28606 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
28607 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
28608 "\xca\x34\x83\x27\x10\x5b\x68\x45"
28609 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
28610 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
28611 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
28612 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
28613 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
28614 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
28615 "\x72",
28616 .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
28617 "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
28618 "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
28619 "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
28620 "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
28621 "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
28622 "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
28623 "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
28624 "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
28625 "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
28626 "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
28627 "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
28628 "\x33\x4a\x71\x15\xfe\xee\x12\x54"
28629 "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
28630 "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
28631 "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
28632 "\x57\x0e\x94\x17\x26\x39\xbb\x54"
28633 "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
28634 "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
28635 "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
28636 "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
28637 "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
28638 "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
28639 "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
28640 "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
28641 "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
28642 "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
28643 "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
28644 "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
28645 "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
28646 "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
28647 "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
28648 "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
28649 "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
28650 "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
28651 "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
28652 "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
28653 "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
28654 "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
28655 "\xae\xe7\x61\x32\xef\x41\x6c\x75"
28656 "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
28657 "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
28658 "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
28659 "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
28660 "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
28661 "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
28662 "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
28663 "\xc1\x22\xf3\x79\xae\x95\x78\x66"
28664 "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
28665 "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
28666 "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
28667 "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
28668 "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
28669 "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
28670 "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
28671 "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
28672 "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
28673 "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
28674 "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
28675 "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
28676 "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
28677 "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
28678 "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
28679 "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
28680 "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
28681 "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
28682 "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
28683 "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
28684 "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
28685 "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
28686 "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
28687 "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
28688 "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
28689 "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
28690 "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
28691 "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
28692 "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
28693 "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
28694 "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
28695 "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
28696 "\x54\x1c\x34\x72\xde\x0c\x68\x39"
28697 "\x9d\x32\xa5\x75\x92\x13\x32\xea"
28698 "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
28699 "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
28700 "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
28701 "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
28702 "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
28703 "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
28704 "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
28705 "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
28706 "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
28707 "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
28708 "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
28709 "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
28710 "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
28711 "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
28712 "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
28713 "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
28714 "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
28715 "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
28716 "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
28717 "\x79\x61\x23\xe0\xa2\x99\x73\x55"
28718 "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
28719 "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
28720 "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
28721 "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
28722 "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
28723 "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
28724 "\x48\x56\xaa\x85\x22\xd8\x36\xed"
28725 "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
28726 "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
28727 "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
28728 "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
28729 "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
28730 "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
28731 "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
28732 "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
28733 "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
28734 "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
28735 "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
28736 "\xec\x83\x92\x99\x87\x47\xe0\x7c"
28737 "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
28738 "\x98\xb0\x87\xb6\x86\x13\x64\x33"
28739 "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
28740 "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
28741 "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
28742 "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
28743 "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
28744 "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
28745 "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
28746 "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
28747 "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
28748 "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
28749 "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
28750 "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
28751 "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
28752 "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
28753 "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
28754 "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
28755 "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
28756 "\x5f\xae\x25\x84\x22\x90\x5f\x26"
28757 "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
28758 "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
28759 "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
28760 "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
28761 "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
28762 "\x74\x06\x89\x0e\x90\xeb\x85\xff"
28763 "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
28764 "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
28765 "\x02\x85\x68\xd0\x03\x12\xde\x92"
28766 "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
28767 "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
28768 "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
28769 "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
28770 "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
28771 "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
28772 "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
28773 "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
28774 "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
28775 "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
28776 "\x98",
28777 .len = 1281,
28778 },
28779};
28780
28781static const struct cipher_testvec xchacha20_tv_template[] = {
28782 { /* from libsodium test/default/xchacha20.c */
28783 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
28784 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
28785 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
28786 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
28787 .klen = 32,
28788 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
28789 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
28790 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
28791 "\x00\x00\x00\x00\x00\x00\x00\x00",
28792 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28793 "\x00\x00\x00\x00\x00\x00\x00\x00"
28794 "\x00\x00\x00\x00\x00\x00\x00\x00"
28795 "\x00\x00\x00\x00\x00",
28796 .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
28797 "\x04\xef\x90\xe7\x12\xce\x6e\x75"
28798 "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
28799 "\x60\xf0\x13\x73\x9c",
28800 .len = 29,
28801 }, { /* from libsodium test/default/xchacha20.c */
28802 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
28803 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
28804 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
28805 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
28806 .klen = 32,
28807 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
28808 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
28809 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
28810 "\x00\x00\x00\x00\x00\x00\x00\x00",
28811 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28812 "\x00\x00\x00\x00\x00\x00\x00\x00"
28813 "\x00\x00\x00\x00\x00\x00\x00\x00"
28814 "\x00\x00\x00\x00\x00\x00\x00\x00"
28815 "\x00\x00\x00\x00\x00\x00\x00\x00"
28816 "\x00\x00\x00\x00\x00\x00\x00\x00"
28817 "\x00\x00\x00\x00\x00\x00\x00\x00"
28818 "\x00\x00\x00\x00\x00\x00\x00\x00"
28819 "\x00\x00\x00\x00\x00\x00\x00\x00"
28820 "\x00\x00\x00\x00\x00\x00\x00\x00"
28821 "\x00\x00\x00\x00\x00\x00\x00\x00"
28822 "\x00\x00\x00",
28823 .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
28824 "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
28825 "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
28826 "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
28827 "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
28828 "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
28829 "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
28830 "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
28831 "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
28832 "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
28833 "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
28834 "\x09\x7c\xfc",
28835 .len = 91,
28836 }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
28837 to the nonce, zero-padded the stream position from 4 to 8 bytes,
28838 and recomputed the ciphertext using libsodium's XChaCha20 */
28839 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28840 "\x00\x00\x00\x00\x00\x00\x00\x00"
28841 "\x00\x00\x00\x00\x00\x00\x00\x00"
28842 "\x00\x00\x00\x00\x00\x00\x00\x00",
28843 .klen = 32,
28844 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28845 "\x00\x00\x00\x00\x67\xc6\x69\x73"
28846 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
28847 "\x00\x00\x00\x00\x00\x00\x00\x00",
28848 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28849 "\x00\x00\x00\x00\x00\x00\x00\x00"
28850 "\x00\x00\x00\x00\x00\x00\x00\x00"
28851 "\x00\x00\x00\x00\x00\x00\x00\x00"
28852 "\x00\x00\x00\x00\x00\x00\x00\x00"
28853 "\x00\x00\x00\x00\x00\x00\x00\x00"
28854 "\x00\x00\x00\x00\x00\x00\x00\x00"
28855 "\x00\x00\x00\x00\x00\x00\x00\x00",
28856 .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
28857 "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
28858 "\xad\x80\x11\x11\x1d\x4c\x16\x18"
28859 "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
28860 "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
28861 "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
28862 "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
28863 "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
28864 .len = 64,
28865 }, { /* Derived from a ChaCha20 test vector, via the process above */
28866 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28867 "\x00\x00\x00\x00\x00\x00\x00\x00"
28868 "\x00\x00\x00\x00\x00\x00\x00\x00"
28869 "\x00\x00\x00\x00\x00\x00\x00\x01",
28870 .klen = 32,
28871 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28872 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
28873 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
28874 "\x01\x00\x00\x00\x00\x00\x00\x00",
28875 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
28876 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
28877 "\x6f\x20\x74\x68\x65\x20\x49\x45"
28878 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
28879 "\x64\x65\x64\x20\x62\x79\x20\x74"
28880 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
28881 "\x69\x62\x75\x74\x6f\x72\x20\x66"
28882 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
28883 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
28884 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
28885 "\x20\x70\x61\x72\x74\x20\x6f\x66"
28886 "\x20\x61\x6e\x20\x49\x45\x54\x46"
28887 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
28888 "\x74\x2d\x44\x72\x61\x66\x74\x20"
28889 "\x6f\x72\x20\x52\x46\x43\x20\x61"
28890 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
28891 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
28892 "\x20\x6d\x61\x64\x65\x20\x77\x69"
28893 "\x74\x68\x69\x6e\x20\x74\x68\x65"
28894 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
28895 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
28896 "\x45\x54\x46\x20\x61\x63\x74\x69"
28897 "\x76\x69\x74\x79\x20\x69\x73\x20"
28898 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
28899 "\x65\x64\x20\x61\x6e\x20\x22\x49"
28900 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
28901 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
28902 "\x22\x2e\x20\x53\x75\x63\x68\x20"
28903 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28904 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
28905 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
28906 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28907 "\x74\x73\x20\x69\x6e\x20\x49\x45"
28908 "\x54\x46\x20\x73\x65\x73\x73\x69"
28909 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
28910 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
28911 "\x77\x72\x69\x74\x74\x65\x6e\x20"
28912 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
28913 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
28914 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
28915 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
28916 "\x64\x65\x20\x61\x74\x20\x61\x6e"
28917 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
28918 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
28919 "\x20\x77\x68\x69\x63\x68\x20\x61"
28920 "\x72\x65\x20\x61\x64\x64\x72\x65"
28921 "\x73\x73\x65\x64\x20\x74\x6f",
28922 .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
28923 "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
28924 "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
28925 "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
28926 "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
28927 "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
28928 "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
28929 "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
28930 "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
28931 "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
28932 "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
28933 "\xa4\x36\x51\x92\x22\x87\xff\x26"
28934 "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
28935 "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
28936 "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
28937 "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
28938 "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
28939 "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
28940 "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
28941 "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
28942 "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
28943 "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
28944 "\x91\xab\x55\x63\xf0\xde\x3a\x94"
28945 "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
28946 "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
28947 "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
28948 "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
28949 "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
28950 "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
28951 "\x64\x36\x35\x61\xb6\x34\x60\xf7"
28952 "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
28953 "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
28954 "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
28955 "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
28956 "\x8a\x04\x18\x49\xfc\x77\x11\x50"
28957 "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
28958 "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
28959 "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
28960 "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
28961 "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
28962 "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
28963 "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
28964 "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
28965 "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
28966 "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
28967 "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
28968 "\x12\x8d\x7b\x61\xe5\x1f\x98",
28969 .len = 375,
28970
28971 }, { /* Derived from a ChaCha20 test vector, via the process above */
28972 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28973 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28974 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28975 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28976 .klen = 32,
28977 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28978 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
28979 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
28980 "\x2a\x00\x00\x00\x00\x00\x00\x00",
28981 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
28982 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
28983 "\x6e\x64\x20\x74\x68\x65\x20\x73"
28984 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
28985 "\x76\x65\x73\x0a\x44\x69\x64\x20"
28986 "\x67\x79\x72\x65\x20\x61\x6e\x64"
28987 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
28988 "\x69\x6e\x20\x74\x68\x65\x20\x77"
28989 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
28990 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
28991 "\x65\x72\x65\x20\x74\x68\x65\x20"
28992 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
28993 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
28994 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
28995 "\x72\x61\x74\x68\x73\x20\x6f\x75"
28996 "\x74\x67\x72\x61\x62\x65\x2e",
28997 .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
28998 "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
28999 "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
29000 "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
29001 "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
29002 "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
29003 "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
29004 "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
29005 "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
29006 "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
29007 "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
29008 "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
29009 "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
29010 "\x27\x79\x67\x24\xa6\x87\xc2\x11"
29011 "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
29012 "\x99\xf1\x82\x25\x4f\x8d\x07",
29013 .len = 127,
29014 }, { /* Derived from a ChaCha20 test vector, via the process above */
29015 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29016 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29017 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29018 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29019 .klen = 32,
29020 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29021 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
29022 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
29023 "\x1c\x00\x00\x00\x00\x00\x00\x00",
29024 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29025 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29026 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29027 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29028 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29029 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29030 "\x01\xc6\x67\xda\x03\x91\x18\x90"
29031 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29032 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29033 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29034 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29035 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29036 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29037 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29038 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29039 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29040 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29041 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29042 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29043 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29044 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29045 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29046 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29047 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29048 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29049 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29050 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29051 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29052 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29053 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29054 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29055 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29056 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
29057 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
29058 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
29059 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
29060 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
29061 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
29062 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
29063 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
29064 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
29065 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
29066 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
29067 "\x49\x46\x00\x88\x22\x8d\xce\xea"
29068 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
29069 "\x72\x11\xf5\x50\x73\x04\x40\x47"
29070 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
29071 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
29072 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
29073 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
29074 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
29075 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
29076 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
29077 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
29078 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
29079 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
29080 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
29081 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
29082 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
29083 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
29084 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
29085 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
29086 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
29087 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
29088 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
29089 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
29090 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
29091 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
29092 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
29093 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
29094 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
29095 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
29096 "\x65\x69\x8a\x45\x29\xef\x74\x85"
29097 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
29098 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
29099 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
29100 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
29101 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
29102 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
29103 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
29104 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
29105 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
29106 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
29107 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
29108 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
29109 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
29110 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
29111 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
29112 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
29113 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
29114 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
29115 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
29116 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
29117 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
29118 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
29119 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
29120 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
29121 "\x25\x94\x10\x5f\x40\x00\x64\x99"
29122 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
29123 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
29124 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
29125 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
29126 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
29127 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
29128 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
29129 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
29130 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
29131 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
29132 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
29133 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
29134 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
29135 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
29136 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
29137 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
29138 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
29139 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
29140 "\xb9\x83\x90\xef\x20\x59\x46\xff"
29141 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
29142 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
29143 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
29144 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
29145 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
29146 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
29147 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
29148 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
29149 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
29150 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
29151 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
29152 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
29153 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
29154 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
29155 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
29156 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
29157 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
29158 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
29159 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
29160 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
29161 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
29162 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
29163 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
29164 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
29165 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
29166 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
29167 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
29168 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
29169 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
29170 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
29171 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
29172 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
29173 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
29174 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
29175 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
29176 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
29177 "\xca\x34\x83\x27\x10\x5b\x68\x45"
29178 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
29179 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
29180 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
29181 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
29182 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
29183 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
29184 "\x72",
29185 .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
29186 "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
29187 "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
29188 "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
29189 "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
29190 "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
29191 "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
29192 "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
29193 "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
29194 "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
29195 "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
29196 "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
29197 "\xab\xf2\x31\x34\x16\xad\xc8\x17"
29198 "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
29199 "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
29200 "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
29201 "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
29202 "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
29203 "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
29204 "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
29205 "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
29206 "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
29207 "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
29208 "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
29209 "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
29210 "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
29211 "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
29212 "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
29213 "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
29214 "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
29215 "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
29216 "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
29217 "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
29218 "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
29219 "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
29220 "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
29221 "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
29222 "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
29223 "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
29224 "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
29225 "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
29226 "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
29227 "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
29228 "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
29229 "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
29230 "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
29231 "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
29232 "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
29233 "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
29234 "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
29235 "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
29236 "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
29237 "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
29238 "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
29239 "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
29240 "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
29241 "\x07\x62\x10\x79\x68\x50\xf1\x7e"
29242 "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
29243 "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
29244 "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
29245 "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
29246 "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
29247 "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
29248 "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
29249 "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
29250 "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
29251 "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
29252 "\xca\x88\xf6\x37\xbd\x73\x51\x70"
29253 "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
29254 "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
29255 "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
29256 "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
29257 "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
29258 "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
29259 "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
29260 "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
29261 "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
29262 "\x34\x66\xad\x37\x2d\x5e\x52\xda"
29263 "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
29264 "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
29265 "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
29266 "\x8c\x89\x21\x34\x55\x27\xb2\x76"
29267 "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
29268 "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
29269 "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
29270 "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
29271 "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
29272 "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
29273 "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
29274 "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
29275 "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
29276 "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
29277 "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
29278 "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
29279 "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
29280 "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
29281 "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
29282 "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
29283 "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
29284 "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
29285 "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
29286 "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
29287 "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
29288 "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
29289 "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
29290 "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
29291 "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
29292 "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
29293 "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
29294 "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
29295 "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
29296 "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
29297 "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
29298 "\x37\x04\x65\x96\x99\x7a\x28\x0f"
29299 "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
29300 "\x40\x19\x95\x61\xe8\x59\x40\x1f"
29301 "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
29302 "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
29303 "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
29304 "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
29305 "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
29306 "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
29307 "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
29308 "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
29309 "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
29310 "\xc3\x75\x48\x64\x58\x98\x67\x84"
29311 "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
29312 "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
29313 "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
29314 "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
29315 "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
29316 "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
29317 "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
29318 "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
29319 "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
29320 "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
29321 "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
29322 "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
29323 "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
29324 "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
29325 "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
29326 "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
29327 "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
29328 "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
29329 "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
29330 "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
29331 "\x89\x1c\x3b\xca\x83\x61\x77\x68"
29332 "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
29333 "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
29334 "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
29335 "\xed\x05\x4b\x7b\x73\x71\x90\x59"
29336 "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
29337 "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
29338 "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
29339 "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
29340 "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
29341 "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
29342 "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
29343 "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
29344 "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
29345 "\x11",
29346 .len = 1281,
29347 }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
29348 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
29349 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
29350 "\x90\x91\x92\x93\x94\x95\x96\x97"
29351 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
29352 .klen = 32,
29353 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
29354 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
29355 "\x50\x51\x52\x53\x54\x55\x56\x58"
29356 "\x00\x00\x00\x00\x00\x00\x00\x00",
29357 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
29358 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
29359 "\x75\x6e\x63\x65\x64\x20\x22\x64"
29360 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
29361 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
29362 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
29363 "\x68\x65\x20\x41\x73\x69\x61\x74"
29364 "\x69\x63\x20\x77\x69\x6c\x64\x20"
29365 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
29366 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
29367 "\x64\x20\x77\x68\x69\x73\x74\x6c"
29368 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
29369 "\x20\x49\x74\x20\x69\x73\x20\x61"
29370 "\x62\x6f\x75\x74\x20\x74\x68\x65"
29371 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
29372 "\x20\x61\x20\x47\x65\x72\x6d\x61"
29373 "\x6e\x20\x73\x68\x65\x70\x68\x65"
29374 "\x72\x64\x20\x62\x75\x74\x20\x6c"
29375 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
29376 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
29377 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
29378 "\x67\x67\x65\x64\x20\x66\x6f\x78"
29379 "\x2e\x20\x54\x68\x69\x73\x20\x68"
29380 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
29381 "\x75\x73\x69\x76\x65\x20\x61\x6e"
29382 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
29383 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
29384 "\x20\x69\x73\x20\x63\x6c\x61\x73"
29385 "\x73\x69\x66\x69\x65\x64\x20\x77"
29386 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
29387 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
29388 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
29389 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
29390 "\x64\x20\x66\x6f\x78\x65\x73\x20"
29391 "\x69\x6e\x20\x74\x68\x65\x20\x74"
29392 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
29393 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
29394 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
29395 .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
29396 "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
29397 "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
29398 "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
29399 "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
29400 "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
29401 "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
29402 "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
29403 "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
29404 "\x73\x10\x61\x27\x77\x01\x09\x3a"
29405 "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
29406 "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
29407 "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
29408 "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
29409 "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
29410 "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
29411 "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
29412 "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
29413 "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
29414 "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
29415 "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
29416 "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
29417 "\xf2\x45\x75\x99\x85\x23\x85\xc6"
29418 "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
29419 "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
29420 "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
29421 "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
29422 "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
29423 "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
29424 "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
29425 "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
29426 "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
29427 "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
29428 "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
29429 "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
29430 "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
29431 "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
29432 "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
29433 .len = 304,
29434 }
29435};
29436
29437/*
29438 * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
29439 * XChaCha12, using a modified libsodium.
29440 */
29441static const struct cipher_testvec xchacha12_tv_template[] = {
29442 {
29443 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
29444 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
29445 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
29446 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
29447 .klen = 32,
29448 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
29449 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
29450 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
29451 "\x00\x00\x00\x00\x00\x00\x00\x00",
29452 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29453 "\x00\x00\x00\x00\x00\x00\x00\x00"
29454 "\x00\x00\x00\x00\x00\x00\x00\x00"
29455 "\x00\x00\x00\x00\x00",
29456 .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
29457 "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
29458 "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
29459 "\x3a\xfb\x18\xae\x1b",
29460 .len = 29,
29461 }, {
29462 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
29463 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
29464 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
29465 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
29466 .klen = 32,
29467 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
29468 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
29469 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
29470 "\x00\x00\x00\x00\x00\x00\x00\x00",
29471 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29472 "\x00\x00\x00\x00\x00\x00\x00\x00"
29473 "\x00\x00\x00\x00\x00\x00\x00\x00"
29474 "\x00\x00\x00\x00\x00\x00\x00\x00"
29475 "\x00\x00\x00\x00\x00\x00\x00\x00"
29476 "\x00\x00\x00\x00\x00\x00\x00\x00"
29477 "\x00\x00\x00\x00\x00\x00\x00\x00"
29478 "\x00\x00\x00\x00\x00\x00\x00\x00"
29479 "\x00\x00\x00\x00\x00\x00\x00\x00"
29480 "\x00\x00\x00\x00\x00\x00\x00\x00"
29481 "\x00\x00\x00\x00\x00\x00\x00\x00"
29482 "\x00\x00\x00",
29483 .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
29484 "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
29485 "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
29486 "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
29487 "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
29488 "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
29489 "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
29490 "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
29491 "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
29492 "\xf0\xde\x01\xef\xc5\x65\x79\x23"
29493 "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
29494 "\x54\x5b\x0e",
29495 .len = 91,
29496 }, {
29497 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29498 "\x00\x00\x00\x00\x00\x00\x00\x00"
29499 "\x00\x00\x00\x00\x00\x00\x00\x00"
29500 "\x00\x00\x00\x00\x00\x00\x00\x00",
29501 .klen = 32,
29502 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29503 "\x00\x00\x00\x00\x67\xc6\x69\x73"
29504 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
29505 "\x00\x00\x00\x00\x00\x00\x00\x00",
29506 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29507 "\x00\x00\x00\x00\x00\x00\x00\x00"
29508 "\x00\x00\x00\x00\x00\x00\x00\x00"
29509 "\x00\x00\x00\x00\x00\x00\x00\x00"
29510 "\x00\x00\x00\x00\x00\x00\x00\x00"
29511 "\x00\x00\x00\x00\x00\x00\x00\x00"
29512 "\x00\x00\x00\x00\x00\x00\x00\x00"
29513 "\x00\x00\x00\x00\x00\x00\x00\x00",
29514 .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
29515 "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
29516 "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
29517 "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
29518 "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
29519 "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
29520 "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
29521 "\x4c\x25\xe7\x86\x26\x42\xca\x44",
29522 .len = 64,
29523 }, {
29524 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29525 "\x00\x00\x00\x00\x00\x00\x00\x00"
29526 "\x00\x00\x00\x00\x00\x00\x00\x00"
29527 "\x00\x00\x00\x00\x00\x00\x00\x01",
29528 .klen = 32,
29529 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29530 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
29531 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
29532 "\x01\x00\x00\x00\x00\x00\x00\x00",
29533 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
29534 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
29535 "\x6f\x20\x74\x68\x65\x20\x49\x45"
29536 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
29537 "\x64\x65\x64\x20\x62\x79\x20\x74"
29538 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
29539 "\x69\x62\x75\x74\x6f\x72\x20\x66"
29540 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
29541 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
29542 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
29543 "\x20\x70\x61\x72\x74\x20\x6f\x66"
29544 "\x20\x61\x6e\x20\x49\x45\x54\x46"
29545 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
29546 "\x74\x2d\x44\x72\x61\x66\x74\x20"
29547 "\x6f\x72\x20\x52\x46\x43\x20\x61"
29548 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
29549 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
29550 "\x20\x6d\x61\x64\x65\x20\x77\x69"
29551 "\x74\x68\x69\x6e\x20\x74\x68\x65"
29552 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
29553 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
29554 "\x45\x54\x46\x20\x61\x63\x74\x69"
29555 "\x76\x69\x74\x79\x20\x69\x73\x20"
29556 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
29557 "\x65\x64\x20\x61\x6e\x20\x22\x49"
29558 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
29559 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
29560 "\x22\x2e\x20\x53\x75\x63\x68\x20"
29561 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29562 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
29563 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
29564 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29565 "\x74\x73\x20\x69\x6e\x20\x49\x45"
29566 "\x54\x46\x20\x73\x65\x73\x73\x69"
29567 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
29568 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
29569 "\x77\x72\x69\x74\x74\x65\x6e\x20"
29570 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
29571 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
29572 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
29573 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
29574 "\x64\x65\x20\x61\x74\x20\x61\x6e"
29575 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
29576 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
29577 "\x20\x77\x68\x69\x63\x68\x20\x61"
29578 "\x72\x65\x20\x61\x64\x64\x72\x65"
29579 "\x73\x73\x65\x64\x20\x74\x6f",
29580 .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
29581 "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
29582 "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
29583 "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
29584 "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
29585 "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
29586 "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
29587 "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
29588 "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
29589 "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
29590 "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
29591 "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
29592 "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
29593 "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
29594 "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
29595 "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
29596 "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
29597 "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
29598 "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
29599 "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
29600 "\x75\x10\x95\x35\x81\x7e\x26\xe6"
29601 "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
29602 "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
29603 "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
29604 "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
29605 "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
29606 "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
29607 "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
29608 "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
29609 "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
29610 "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
29611 "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
29612 "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
29613 "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
29614 "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
29615 "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
29616 "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
29617 "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
29618 "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
29619 "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
29620 "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
29621 "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
29622 "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
29623 "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
29624 "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
29625 "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
29626 "\xda\x4e\xc9\xab\x9b\x8a\x7b",
29627
29628 .len = 375,
29629
29630 }, {
29631 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29632 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29633 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29634 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29635 .klen = 32,
29636 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29637 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
29638 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
29639 "\x2a\x00\x00\x00\x00\x00\x00\x00",
29640 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
29641 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
29642 "\x6e\x64\x20\x74\x68\x65\x20\x73"
29643 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
29644 "\x76\x65\x73\x0a\x44\x69\x64\x20"
29645 "\x67\x79\x72\x65\x20\x61\x6e\x64"
29646 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
29647 "\x69\x6e\x20\x74\x68\x65\x20\x77"
29648 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
29649 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
29650 "\x65\x72\x65\x20\x74\x68\x65\x20"
29651 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
29652 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
29653 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
29654 "\x72\x61\x74\x68\x73\x20\x6f\x75"
29655 "\x74\x67\x72\x61\x62\x65\x2e",
29656 .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
29657 "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
29658 "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
29659 "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
29660 "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
29661 "\x20\x82\x26\x72\xae\x64\x1b\x7e"
29662 "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
29663 "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
29664 "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
29665 "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
29666 "\x27\xab\xb8\x62\x46\x22\x30\x48"
29667 "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
29668 "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
29669 "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
29670 "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
29671 "\x25\x76\x37\xe6\x3c\x67\x5b",
29672 .len = 127,
29673 }, {
29674 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29675 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29676 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29677 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29678 .klen = 32,
29679 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29680 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
29681 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
29682 "\x1c\x00\x00\x00\x00\x00\x00\x00",
29683 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29684 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29685 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29686 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29687 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29688 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29689 "\x01\xc6\x67\xda\x03\x91\x18\x90"
29690 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29691 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29692 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29693 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29694 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29695 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29696 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29697 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29698 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29699 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29700 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29701 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29702 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29703 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29704 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29705 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29706 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29707 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29708 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29709 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29710 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29711 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29712 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29713 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29714 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29715 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
29716 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
29717 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
29718 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
29719 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
29720 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
29721 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
29722 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
29723 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
29724 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
29725 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
29726 "\x49\x46\x00\x88\x22\x8d\xce\xea"
29727 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
29728 "\x72\x11\xf5\x50\x73\x04\x40\x47"
29729 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
29730 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
29731 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
29732 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
29733 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
29734 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
29735 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
29736 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
29737 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
29738 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
29739 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
29740 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
29741 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
29742 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
29743 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
29744 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
29745 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
29746 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
29747 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
29748 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
29749 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
29750 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
29751 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
29752 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
29753 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
29754 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
29755 "\x65\x69\x8a\x45\x29\xef\x74\x85"
29756 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
29757 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
29758 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
29759 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
29760 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
29761 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
29762 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
29763 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
29764 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
29765 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
29766 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
29767 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
29768 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
29769 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
29770 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
29771 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
29772 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
29773 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
29774 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
29775 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
29776 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
29777 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
29778 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
29779 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
29780 "\x25\x94\x10\x5f\x40\x00\x64\x99"
29781 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
29782 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
29783 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
29784 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
29785 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
29786 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
29787 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
29788 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
29789 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
29790 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
29791 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
29792 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
29793 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
29794 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
29795 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
29796 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
29797 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
29798 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
29799 "\xb9\x83\x90\xef\x20\x59\x46\xff"
29800 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
29801 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
29802 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
29803 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
29804 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
29805 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
29806 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
29807 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
29808 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
29809 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
29810 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
29811 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
29812 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
29813 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
29814 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
29815 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
29816 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
29817 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
29818 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
29819 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
29820 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
29821 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
29822 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
29823 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
29824 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
29825 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
29826 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
29827 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
29828 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
29829 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
29830 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
29831 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
29832 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
29833 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
29834 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
29835 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
29836 "\xca\x34\x83\x27\x10\x5b\x68\x45"
29837 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
29838 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
29839 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
29840 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
29841 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
29842 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
29843 "\x72",
29844 .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
29845 "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
29846 "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
29847 "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
29848 "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
29849 "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
29850 "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
29851 "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
29852 "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
29853 "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
29854 "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
29855 "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
29856 "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
29857 "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
29858 "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
29859 "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
29860 "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
29861 "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
29862 "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
29863 "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
29864 "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
29865 "\x95\x13\x99\x3d\x71\xbd\x32\x92"
29866 "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
29867 "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
29868 "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
29869 "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
29870 "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
29871 "\xc5\xc1\x78\x78\x53\x28\xad\xed"
29872 "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
29873 "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
29874 "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
29875 "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
29876 "\xce\xf3\x55\x45\x6c\x84\x27\xba"
29877 "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
29878 "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
29879 "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
29880 "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
29881 "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
29882 "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
29883 "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
29884 "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
29885 "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
29886 "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
29887 "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
29888 "\x90\x95\x85\x0b\x96\xe9\xee\x35"
29889 "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
29890 "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
29891 "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
29892 "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
29893 "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
29894 "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
29895 "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
29896 "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
29897 "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
29898 "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
29899 "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
29900 "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
29901 "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
29902 "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
29903 "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
29904 "\xff\x71\x04\x87\x87\x21\xc4\xb8"
29905 "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
29906 "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
29907 "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
29908 "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
29909 "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
29910 "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
29911 "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
29912 "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
29913 "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
29914 "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
29915 "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
29916 "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
29917 "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
29918 "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
29919 "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
29920 "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
29921 "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
29922 "\xd2\x96\x2d\x18\x64\x98\x33\x78"
29923 "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
29924 "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
29925 "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
29926 "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
29927 "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
29928 "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
29929 "\x68\x38\x22\x30\xd8\x2e\x00\x98"
29930 "\x85\x16\x06\x56\xb4\x81\x74\x20"
29931 "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
29932 "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
29933 "\x57\x26\x71\x07\xad\xaa\x71\x9f"
29934 "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
29935 "\x82\x6e\x08\x05\x37\x04\xee\x25"
29936 "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
29937 "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
29938 "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
29939 "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
29940 "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
29941 "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
29942 "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
29943 "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
29944 "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
29945 "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
29946 "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
29947 "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
29948 "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
29949 "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
29950 "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
29951 "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
29952 "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
29953 "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
29954 "\x18\xc9\x26\x82\x56\xd2\x11\x05"
29955 "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
29956 "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
29957 "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
29958 "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
29959 "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
29960 "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
29961 "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
29962 "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
29963 "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
29964 "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
29965 "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
29966 "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
29967 "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
29968 "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
29969 "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
29970 "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
29971 "\x26\x19\x10\x36\xa6\xf3\x14\x79"
29972 "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
29973 "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
29974 "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
29975 "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
29976 "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
29977 "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
29978 "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
29979 "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
29980 "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
29981 "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
29982 "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
29983 "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
29984 "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
29985 "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
29986 "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
29987 "\x95\x35\x00\x76\xae\x42\xf7\x50"
29988 "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
29989 "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
29990 "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
29991 "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
29992 "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
29993 "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
29994 "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
29995 "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
29996 "\xae\x17\x50\xab\x29\x08\xda\xcc"
29997 "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
29998 "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
29999 "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
30000 "\x25\x18\x40\x2d\x62\x25\x02\x71"
30001 "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
30002 "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
30003 "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
30004 "\x5b",
30005 .len = 1281,
30006 }, {
30007 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
30008 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30009 "\x90\x91\x92\x93\x94\x95\x96\x97"
30010 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
30011 .klen = 32,
30012 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
30013 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30014 "\x50\x51\x52\x53\x54\x55\x56\x58"
30015 "\x00\x00\x00\x00\x00\x00\x00\x00",
30016 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
30017 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
30018 "\x75\x6e\x63\x65\x64\x20\x22\x64"
30019 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
30020 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
30021 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
30022 "\x68\x65\x20\x41\x73\x69\x61\x74"
30023 "\x69\x63\x20\x77\x69\x6c\x64\x20"
30024 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
30025 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
30026 "\x64\x20\x77\x68\x69\x73\x74\x6c"
30027 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
30028 "\x20\x49\x74\x20\x69\x73\x20\x61"
30029 "\x62\x6f\x75\x74\x20\x74\x68\x65"
30030 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
30031 "\x20\x61\x20\x47\x65\x72\x6d\x61"
30032 "\x6e\x20\x73\x68\x65\x70\x68\x65"
30033 "\x72\x64\x20\x62\x75\x74\x20\x6c"
30034 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
30035 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
30036 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
30037 "\x67\x67\x65\x64\x20\x66\x6f\x78"
30038 "\x2e\x20\x54\x68\x69\x73\x20\x68"
30039 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
30040 "\x75\x73\x69\x76\x65\x20\x61\x6e"
30041 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
30042 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
30043 "\x20\x69\x73\x20\x63\x6c\x61\x73"
30044 "\x73\x69\x66\x69\x65\x64\x20\x77"
30045 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
30046 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
30047 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
30048 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
30049 "\x64\x20\x66\x6f\x78\x65\x73\x20"
30050 "\x69\x6e\x20\x74\x68\x65\x20\x74"
30051 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
30052 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
30053 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
30054 .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
30055 "\xee\x34\xc0\x39\xd6\x23\x43\x94"
30056 "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
30057 "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
30058 "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
30059 "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
30060 "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
30061 "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
30062 "\x02\x64\x43\x49\xc6\xb2\x59\x59"
30063 "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
30064 "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
30065 "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
30066 "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
30067 "\x71\x8c\x08\x48\x33\x20\x29\x81"
30068 "\xea\x01\x25\x20\xc3\xda\xe6\xee"
30069 "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
30070 "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
30071 "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
30072 "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
30073 "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
30074 "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
30075 "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
30076 "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
30077 "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
30078 "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
30079 "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
30080 "\x13\x27\x3f\x31\x03\x63\x30\x26"
30081 "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
30082 "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
30083 "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
30084 "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
30085 "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
30086 "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
30087 "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
30088 "\x08\x05\x36\x76\xaf\x12\x7a\x42"
30089 "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
30090 "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
30091 "\x50\x70\x44\x29\x6d\x6e\x62\x68",
30092 .len = 304,
30093 }
30094};
30095
30096/* Adiantum test vectors from https://github.com/google/adiantum */
30097static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
30098 {
30099 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
30100 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
30101 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
30102 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
30103 .klen = 32,
30104 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
30105 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
30106 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
30107 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
30108 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
30109 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
30110 .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
30111 "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
30112 .len = 16,
30113 }, {
30114 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
30115 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
30116 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
30117 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
30118 .klen = 32,
30119 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
30120 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
30121 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
30122 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
30123 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
30124 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
30125 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
30126 "\x43\x5a\x46\x06\x94\x2d\xf2",
30127 .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
30128 "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
30129 "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
30130 "\xc9\x18\x7b\xbe\x18\x60\x50",
30131 .len = 31,
30132 }, {
30133 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
30134 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
30135 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
30136 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
30137 .klen = 32,
30138 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
30139 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
30140 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
30141 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
30142 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
30143 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
30144 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
30145 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
30146 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
30147 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
30148 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
30149 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
30150 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
30151 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
30152 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
30153 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
30154 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
30155 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
30156 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
30157 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
30158 .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
30159 "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
30160 "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
30161 "\x21\x48\xa0\xb8\x65\x48\x27\x48"
30162 "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
30163 "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
30164 "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
30165 "\x51\x56\x63\xfa\x7c\x28\x85\x49"
30166 "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
30167 "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
30168 "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
30169 "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
30170 "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
30171 "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
30172 "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
30173 "\x8d\xde\x34\x86\x78\x60\x75\x8d",
30174 .len = 128,
30175 }, {
30176 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
30177 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
30178 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
30179 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
30180 .klen = 32,
30181 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
30182 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
30183 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
30184 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
30185 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
30186 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
30187 "\x05\xa3\x69\x60\x91\x36\x98\x57"
30188 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
30189 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
30190 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
30191 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
30192 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
30193 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
30194 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
30195 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
30196 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
30197 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
30198 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
30199 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
30200 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
30201 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
30202 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
30203 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
30204 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
30205 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
30206 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
30207 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
30208 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
30209 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
30210 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
30211 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
30212 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
30213 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
30214 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
30215 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
30216 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
30217 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
30218 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
30219 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
30220 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
30221 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
30222 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
30223 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
30224 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
30225 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
30226 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
30227 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
30228 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
30229 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
30230 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
30231 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
30232 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
30233 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
30234 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
30235 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
30236 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
30237 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
30238 "\x17\x7c\x25\x48\x52\x67\x11\x27"
30239 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
30240 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
30241 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
30242 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
30243 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
30244 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
30245 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
30246 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
30247 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
30248 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
30249 .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
30250 "\xc5\x11\x36\x62\x13\x92\xe6\x73"
30251 "\x29\x79\xde\xa1\x00\x3e\x08\x64"
30252 "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
30253 "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
30254 "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
30255 "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
30256 "\xe4\xee\x39\x63\x42\x65\xa3\x88"
30257 "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
30258 "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
30259 "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
30260 "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
30261 "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
30262 "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
30263 "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
30264 "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
30265 "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
30266 "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
30267 "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
30268 "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
30269 "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
30270 "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
30271 "\xf8\x51\x80\x39\x14\x05\x12\xdb"
30272 "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
30273 "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
30274 "\x58\x05\x49\x7d\xe6\x92\x77\x70"
30275 "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
30276 "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
30277 "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
30278 "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
30279 "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
30280 "\x90\x62\xb2\x28\x99\x86\xf5\x44"
30281 "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
30282 "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
30283 "\xab\xe1\x9b\x45\xba\x66\xda\xee"
30284 "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
30285 "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
30286 "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
30287 "\x11\x34\x61\x94\x35\xfe\xf2\x99"
30288 "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
30289 "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
30290 "\x78\x74\x10\x50\x29\x63\x28\xea"
30291 "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
30292 "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
30293 "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
30294 "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
30295 "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
30296 "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
30297 "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
30298 "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
30299 "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
30300 "\x94\x74\xea\x6e\xb3\x09\x47\x01"
30301 "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
30302 "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
30303 "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
30304 "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
30305 "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
30306 "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
30307 "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
30308 "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
30309 "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
30310 "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
30311 "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
30312 "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
30313 .len = 512,
30314 }, {
30315 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
30316 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
30317 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
30318 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
30319 .klen = 32,
30320 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
30321 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
30322 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
30323 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
30324 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
30325 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
30326 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
30327 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
30328 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
30329 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
30330 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
30331 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
30332 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
30333 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
30334 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
30335 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
30336 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
30337 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
30338 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
30339 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
30340 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
30341 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
30342 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
30343 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
30344 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
30345 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
30346 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
30347 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
30348 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
30349 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
30350 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
30351 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
30352 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
30353 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
30354 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
30355 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
30356 "\x28\x04\x4c\xff\x98\x20\x08\x10"
30357 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
30358 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
30359 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
30360 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
30361 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
30362 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
30363 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
30364 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
30365 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
30366 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
30367 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
30368 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
30369 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
30370 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
30371 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
30372 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
30373 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
30374 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
30375 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
30376 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
30377 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
30378 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
30379 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
30380 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
30381 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
30382 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
30383 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
30384 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
30385 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
30386 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
30387 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
30388 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
30389 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
30390 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
30391 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
30392 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
30393 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
30394 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
30395 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
30396 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
30397 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
30398 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
30399 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
30400 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
30401 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
30402 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
30403 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
30404 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
30405 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
30406 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
30407 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
30408 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
30409 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
30410 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
30411 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
30412 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
30413 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
30414 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
30415 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
30416 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
30417 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
30418 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
30419 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
30420 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
30421 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
30422 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
30423 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
30424 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
30425 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
30426 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
30427 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
30428 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
30429 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
30430 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
30431 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
30432 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
30433 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
30434 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
30435 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
30436 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
30437 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
30438 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
30439 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
30440 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
30441 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
30442 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
30443 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
30444 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
30445 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
30446 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
30447 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
30448 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
30449 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
30450 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
30451 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
30452 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
30453 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
30454 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
30455 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
30456 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
30457 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
30458 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
30459 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
30460 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
30461 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
30462 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
30463 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
30464 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
30465 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
30466 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
30467 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
30468 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
30469 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
30470 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
30471 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
30472 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
30473 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
30474 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
30475 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
30476 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
30477 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
30478 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
30479 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
30480 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
30481 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
30482 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
30483 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
30484 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
30485 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
30486 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
30487 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
30488 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
30489 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
30490 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
30491 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
30492 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
30493 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
30494 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
30495 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
30496 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
30497 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
30498 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
30499 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
30500 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
30501 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
30502 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
30503 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
30504 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
30505 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
30506 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
30507 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
30508 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
30509 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
30510 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
30511 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
30512 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
30513 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
30514 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
30515 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
30516 .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
30517 "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
30518 "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
30519 "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
30520 "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
30521 "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
30522 "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
30523 "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
30524 "\x15\x15\xab\xbd\x22\x94\xf7\xce"
30525 "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
30526 "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
30527 "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
30528 "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
30529 "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
30530 "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
30531 "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
30532 "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
30533 "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
30534 "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
30535 "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
30536 "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
30537 "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
30538 "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
30539 "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
30540 "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
30541 "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
30542 "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
30543 "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
30544 "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
30545 "\xec\x88\x33\x0d\x15\x10\x82\x66"
30546 "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
30547 "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
30548 "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
30549 "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
30550 "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
30551 "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
30552 "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
30553 "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
30554 "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
30555 "\x00\x01\x8d\x5a\x10\x82\x39\x78"
30556 "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
30557 "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
30558 "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
30559 "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
30560 "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
30561 "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
30562 "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
30563 "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
30564 "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
30565 "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
30566 "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
30567 "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
30568 "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
30569 "\xce\x17\x84\x68\x45\x39\x2c\x25"
30570 "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
30571 "\x47\x51\x7b\x9d\x54\x84\x98\x04"
30572 "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
30573 "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
30574 "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
30575 "\x39\x72\x44\x87\x51\xc5\x73\xe4"
30576 "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
30577 "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
30578 "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
30579 "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
30580 "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
30581 "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
30582 "\xad\x91\x01\x4e\x14\x42\x34\x2c"
30583 "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
30584 "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
30585 "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
30586 "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
30587 "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
30588 "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
30589 "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
30590 "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
30591 "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
30592 "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
30593 "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
30594 "\x09\x84\x42\xab\x00\xe2\x58\xc3"
30595 "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
30596 "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
30597 "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
30598 "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
30599 "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
30600 "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
30601 "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
30602 "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
30603 "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
30604 "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
30605 "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
30606 "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
30607 "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
30608 "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
30609 "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
30610 "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
30611 "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
30612 "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
30613 "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
30614 "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
30615 "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
30616 "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
30617 "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
30618 "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
30619 "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
30620 "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
30621 "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
30622 "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
30623 "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
30624 "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
30625 "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
30626 "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
30627 "\x48\x23\x70\x46\xf3\x87\xa7\x91"
30628 "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
30629 "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
30630 "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
30631 "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
30632 "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
30633 "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
30634 "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
30635 "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
30636 "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
30637 "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
30638 "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
30639 "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
30640 "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
30641 "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
30642 "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
30643 "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
30644 "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
30645 "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
30646 "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
30647 "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
30648 "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
30649 "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
30650 "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
30651 "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
30652 "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
30653 "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
30654 "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
30655 "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
30656 "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
30657 "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
30658 "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
30659 "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
30660 "\x41\x65\x21\x47\xf9\xb1\x06\xec"
30661 "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
30662 "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
30663 "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
30664 "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
30665 "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
30666 "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
30667 "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
30668 "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
30669 "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
30670 "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
30671 "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
30672 "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
30673 "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
30674 "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
30675 "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
30676 "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
30677 "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
30678 "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
30679 "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
30680 "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
30681 "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
30682 "\x64\x25\x56\xb5\x03\x8e\x29\x85"
30683 "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
30684 "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
30685 "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
30686 "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
30687 "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
30688 "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
30689 "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
30690 "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
30691 "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
30692 "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
30693 "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
30694 "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
30695 "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
30696 "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
30697 "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
30698 "\x25\x16\x95\x87\x92\xc7\x46\x3f"
30699 "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
30700 "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
30701 "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
30702 "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
30703 "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
30704 "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
30705 "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
30706 "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
30707 "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
30708 .len = 1536,
30709 }, {
30710 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
30711 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
30712 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
30713 "\x56\x95\x83\x98\x38\x80\x84\x8a",
30714 .klen = 32,
30715 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
30716 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
30717 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
30718 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
30719 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
30720 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
30721 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
30722 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
30723 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
30724 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
30725 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
30726 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
30727 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
30728 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
30729 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
30730 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
30731 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
30732 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
30733 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
30734 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
30735 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
30736 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
30737 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
30738 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
30739 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
30740 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
30741 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
30742 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
30743 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
30744 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
30745 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
30746 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
30747 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
30748 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
30749 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
30750 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
30751 "\x96\x87\xc9\x34\x02\x26\xde\x20"
30752 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
30753 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
30754 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
30755 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
30756 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
30757 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
30758 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
30759 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
30760 "\x85\xfd\x22\x08\x00\xae\x72\x10"
30761 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
30762 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
30763 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
30764 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
30765 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
30766 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
30767 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
30768 "\x21\x73\xbd\x81\x73\xac\x15\x74"
30769 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
30770 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
30771 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
30772 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
30773 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
30774 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
30775 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
30776 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
30777 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
30778 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
30779 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
30780 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
30781 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
30782 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
30783 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
30784 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
30785 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
30786 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
30787 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
30788 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
30789 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
30790 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
30791 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
30792 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
30793 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
30794 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
30795 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
30796 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
30797 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
30798 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
30799 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
30800 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
30801 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
30802 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
30803 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
30804 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
30805 "\x08\x67\x02\x01\xe3\x64\x82\xee"
30806 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
30807 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
30808 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
30809 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
30810 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
30811 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
30812 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
30813 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
30814 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
30815 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
30816 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
30817 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
30818 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
30819 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
30820 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
30821 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
30822 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
30823 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
30824 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
30825 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
30826 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
30827 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
30828 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
30829 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
30830 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
30831 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
30832 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
30833 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
30834 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
30835 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
30836 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
30837 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
30838 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
30839 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
30840 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
30841 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
30842 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
30843 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
30844 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
30845 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
30846 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
30847 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
30848 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
30849 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
30850 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
30851 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
30852 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
30853 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
30854 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
30855 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
30856 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
30857 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
30858 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
30859 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
30860 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
30861 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
30862 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
30863 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
30864 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
30865 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
30866 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
30867 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
30868 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
30869 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
30870 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
30871 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
30872 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
30873 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
30874 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
30875 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
30876 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
30877 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
30878 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
30879 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
30880 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
30881 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
30882 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
30883 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
30884 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
30885 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
30886 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
30887 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
30888 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
30889 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
30890 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
30891 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
30892 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
30893 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
30894 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
30895 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
30896 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
30897 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
30898 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
30899 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
30900 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
30901 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
30902 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
30903 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
30904 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
30905 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
30906 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
30907 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
30908 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
30909 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
30910 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
30911 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
30912 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
30913 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
30914 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
30915 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
30916 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
30917 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
30918 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
30919 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
30920 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
30921 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
30922 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
30923 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
30924 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
30925 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
30926 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
30927 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
30928 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
30929 "\x53\xf1\x61\x97\x63\x52\x38\x86"
30930 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
30931 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
30932 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
30933 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
30934 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
30935 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
30936 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
30937 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
30938 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
30939 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
30940 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
30941 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
30942 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
30943 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
30944 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
30945 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
30946 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
30947 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
30948 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
30949 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
30950 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
30951 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
30952 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
30953 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
30954 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
30955 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
30956 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
30957 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
30958 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
30959 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
30960 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
30961 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
30962 "\x20\x89\xef\x44\x22\x38\x3c\x14"
30963 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
30964 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
30965 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
30966 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
30967 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
30968 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
30969 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
30970 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
30971 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
30972 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
30973 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
30974 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
30975 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
30976 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
30977 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
30978 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
30979 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
30980 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
30981 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
30982 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
30983 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
30984 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
30985 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
30986 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
30987 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
30988 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
30989 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
30990 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
30991 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
30992 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
30993 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
30994 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
30995 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
30996 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
30997 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
30998 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
30999 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
31000 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
31001 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
31002 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
31003 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
31004 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
31005 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
31006 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
31007 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
31008 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
31009 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
31010 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
31011 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
31012 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
31013 "\xee\xad\x50\x68\x31\x26\x16\x0f"
31014 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
31015 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
31016 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
31017 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
31018 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
31019 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
31020 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
31021 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
31022 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
31023 "\x5a\x63\x94\x90\x22\x72\x54\x26"
31024 "\x93\x65\x99\x45\x55\xd3\x55\x56"
31025 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
31026 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
31027 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
31028 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
31029 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
31030 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
31031 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
31032 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
31033 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
31034 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
31035 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
31036 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
31037 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
31038 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
31039 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
31040 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
31041 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
31042 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
31043 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
31044 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
31045 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
31046 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
31047 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
31048 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
31049 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
31050 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
31051 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
31052 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
31053 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
31054 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
31055 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
31056 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
31057 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
31058 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
31059 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
31060 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
31061 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
31062 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
31063 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
31064 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
31065 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
31066 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
31067 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
31068 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
31069 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
31070 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
31071 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
31072 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
31073 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
31074 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
31075 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
31076 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
31077 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
31078 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
31079 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
31080 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
31081 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
31082 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
31083 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
31084 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
31085 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
31086 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
31087 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
31088 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
31089 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
31090 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
31091 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
31092 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
31093 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
31094 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
31095 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
31096 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
31097 "\x54\x14\x91\x12\x41\x41\x54\xa2"
31098 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
31099 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
31100 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
31101 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
31102 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
31103 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
31104 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
31105 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
31106 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
31107 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
31108 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
31109 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
31110 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
31111 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
31112 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
31113 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
31114 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
31115 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
31116 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
31117 "\x96\x59\xac\x34\x45\x29\xc6\x57"
31118 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
31119 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
31120 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
31121 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
31122 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
31123 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
31124 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
31125 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
31126 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
31127 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
31128 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
31129 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
31130 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
31131 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
31132 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
31133 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
31134 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
31135 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
31136 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
31137 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
31138 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
31139 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
31140 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
31141 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
31142 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
31143 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
31144 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
31145 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
31146 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
31147 "\x32\x06\x3f\x12\x23\x19\x22\x82"
31148 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
31149 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
31150 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
31151 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
31152 "\x35\x79\x84\x78\x06\x68\x97\x30"
31153 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
31154 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
31155 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
31156 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
31157 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
31158 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
31159 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
31160 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
31161 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
31162 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
31163 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
31164 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
31165 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
31166 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
31167 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
31168 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
31169 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
31170 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
31171 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
31172 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
31173 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
31174 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
31175 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
31176 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
31177 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
31178 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
31179 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
31180 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
31181 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
31182 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
31183 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
31184 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
31185 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
31186 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
31187 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
31188 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
31189 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
31190 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
31191 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
31192 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
31193 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
31194 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
31195 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
31196 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
31197 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
31198 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
31199 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
31200 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
31201 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
31202 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
31203 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
31204 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
31205 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
31206 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
31207 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
31208 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
31209 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
31210 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
31211 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
31212 "\x12\xab\x95\x66\xec\x09\x64\xea"
31213 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
31214 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
31215 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
31216 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
31217 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
31218 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
31219 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
31220 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
31221 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
31222 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
31223 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
31224 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
31225 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
31226 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
31227 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
31228 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
31229 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
31230 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
31231 .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
31232 "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
31233 "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
31234 "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
31235 "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
31236 "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
31237 "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
31238 "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
31239 "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
31240 "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
31241 "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
31242 "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
31243 "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
31244 "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
31245 "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
31246 "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
31247 "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
31248 "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
31249 "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
31250 "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
31251 "\xc5\x97\x18\x04\xab\x8c\x38\x56"
31252 "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
31253 "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
31254 "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
31255 "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
31256 "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
31257 "\x11\x35\xee\x29\xa4\x90\xfc\x46"
31258 "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
31259 "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
31260 "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
31261 "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
31262 "\x42\x89\x28\x27\xe6\xec\x50\xb7"
31263 "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
31264 "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
31265 "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
31266 "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
31267 "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
31268 "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
31269 "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
31270 "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
31271 "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
31272 "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
31273 "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
31274 "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
31275 "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
31276 "\x1d\x1c\x08\x65\x80\x69\xae\x24"
31277 "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
31278 "\xce\x39\x07\xe6\x69\x94\x5a\x75"
31279 "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
31280 "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
31281 "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
31282 "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
31283 "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
31284 "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
31285 "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
31286 "\xae\x27\xbc\x93\x96\xab\xb6\x02"
31287 "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
31288 "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
31289 "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
31290 "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
31291 "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
31292 "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
31293 "\x7d\x60\x87\x11\x06\x83\x25\xe3"
31294 "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
31295 "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
31296 "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
31297 "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
31298 "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
31299 "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
31300 "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
31301 "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
31302 "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
31303 "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
31304 "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
31305 "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
31306 "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
31307 "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
31308 "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
31309 "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
31310 "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
31311 "\xed\x73\xdb\xc1\x70\xda\xde\x67"
31312 "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
31313 "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
31314 "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
31315 "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
31316 "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
31317 "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
31318 "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
31319 "\xc4\x12\x70\x5a\x37\x83\x49\xac"
31320 "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
31321 "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
31322 "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
31323 "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
31324 "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
31325 "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
31326 "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
31327 "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
31328 "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
31329 "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
31330 "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
31331 "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
31332 "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
31333 "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
31334 "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
31335 "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
31336 "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
31337 "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
31338 "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
31339 "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
31340 "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
31341 "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
31342 "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
31343 "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
31344 "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
31345 "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
31346 "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
31347 "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
31348 "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
31349 "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
31350 "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
31351 "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
31352 "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
31353 "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
31354 "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
31355 "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
31356 "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
31357 "\x25\x87\x45\x4c\x07\xa7\x15\x99"
31358 "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
31359 "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
31360 "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
31361 "\x95\x25\x55\x33\x41\x5b\x8d\x75"
31362 "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
31363 "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
31364 "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
31365 "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
31366 "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
31367 "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
31368 "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
31369 "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
31370 "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
31371 "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
31372 "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
31373 "\x32\x78\xa9\xf6\x03\x98\x18\xed"
31374 "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
31375 "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
31376 "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
31377 "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
31378 "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
31379 "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
31380 "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
31381 "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
31382 "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
31383 "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
31384 "\x54\x76\xaa\x58\xae\x87\x23\x93"
31385 "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
31386 "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
31387 "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
31388 "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
31389 "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
31390 "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
31391 "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
31392 "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
31393 "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
31394 "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
31395 "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
31396 "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
31397 "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
31398 "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
31399 "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
31400 "\x03\x01\xce\xbb\x58\xff\xee\x74"
31401 "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
31402 "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
31403 "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
31404 "\x27\xc3\x51\x50\xa0\x02\x73\x00"
31405 "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
31406 "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
31407 "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
31408 "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
31409 "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
31410 "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
31411 "\xe9\x60\x82\x77\x44\x3f\x89\x23"
31412 "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
31413 "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
31414 "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
31415 "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
31416 "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
31417 "\x63\x36\xa8\x02\x54\x93\xb0\xba"
31418 "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
31419 "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
31420 "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
31421 "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
31422 "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
31423 "\x96\x94\xf2\x67\x57\x23\x9c\x29"
31424 "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
31425 "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
31426 "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
31427 "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
31428 "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
31429 "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
31430 "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
31431 "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
31432 "\x02\xdc\x15\x87\x48\x16\x26\x18"
31433 "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
31434 "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
31435 "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
31436 "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
31437 "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
31438 "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
31439 "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
31440 "\x72\xee\x34\xbe\x41\x90\xd4\x07"
31441 "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
31442 "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
31443 "\xe8\x71\xce\xa8\x73\x77\x82\x74"
31444 "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
31445 "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
31446 "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
31447 "\xae\x96\x09\xbf\x47\xae\x7d\x12"
31448 "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
31449 "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
31450 "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
31451 "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
31452 "\x82\xef\x31\x85\x8e\x38\x56\xff"
31453 "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
31454 "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
31455 "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
31456 "\xdc\x83\x81\x3c\x24\x28\x87\x08"
31457 "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
31458 "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
31459 "\x93\x45\x5d\x45\x64\x59\x16\x3f"
31460 "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
31461 "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
31462 "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
31463 "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
31464 "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
31465 "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
31466 "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
31467 "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
31468 "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
31469 "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
31470 "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
31471 "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
31472 "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
31473 "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
31474 "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
31475 "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
31476 "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
31477 "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
31478 "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
31479 "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
31480 "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
31481 "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
31482 "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
31483 "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
31484 "\xed\x87\xb8\x74\x98\x0d\x16\x86"
31485 "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
31486 "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
31487 "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
31488 "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
31489 "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
31490 "\x61\x78\x60\xd5\x81\x70\xa4\x11"
31491 "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
31492 "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
31493 "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
31494 "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
31495 "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
31496 "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
31497 "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
31498 "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
31499 "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
31500 "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
31501 "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
31502 "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
31503 "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
31504 "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
31505 "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
31506 "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
31507 "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
31508 "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
31509 "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
31510 "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
31511 "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
31512 "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
31513 "\x86\xda\x71\xfb\x72\xab\x87\x0f"
31514 "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
31515 "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
31516 "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
31517 "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
31518 "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
31519 "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
31520 "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
31521 "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
31522 "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
31523 "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
31524 "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
31525 "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
31526 "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
31527 "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
31528 "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
31529 "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
31530 "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
31531 "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
31532 "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
31533 "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
31534 "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
31535 "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
31536 "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
31537 "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
31538 "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
31539 "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
31540 "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
31541 "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
31542 "\x70\x0c\x72\x80\x64\x94\x67\xad"
31543 "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
31544 "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
31545 "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
31546 "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
31547 "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
31548 "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
31549 "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
31550 "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
31551 "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
31552 "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
31553 "\xa1\x6e\x73\x62\x96\x73\x56\x66"
31554 "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
31555 "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
31556 "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
31557 "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
31558 "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
31559 "\x03\x41\x19\x5b\x31\xf3\x48\x83"
31560 "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
31561 "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
31562 "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
31563 "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
31564 "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
31565 "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
31566 "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
31567 "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
31568 "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
31569 "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
31570 "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
31571 "\xed\x2a\x70\x79\x39\xcf\x36\x72"
31572 "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
31573 "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
31574 "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
31575 "\x3b\x74\x29\x63\xda\x23\xbc\x43"
31576 "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
31577 "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
31578 "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
31579 "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
31580 "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
31581 "\xa9\x13\x11\x60\x19\x23\xc7\x35"
31582 "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
31583 "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
31584 "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
31585 "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
31586 "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
31587 "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
31588 "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
31589 "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
31590 "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
31591 "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
31592 "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
31593 "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
31594 "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
31595 "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
31596 "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
31597 "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
31598 "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
31599 "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
31600 "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
31601 "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
31602 "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
31603 "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
31604 "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
31605 "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
31606 "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
31607 "\x87\x24\xa9\xe9\x87\xde\x75\x77"
31608 "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
31609 "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
31610 "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
31611 "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
31612 "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
31613 "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
31614 "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
31615 "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
31616 "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
31617 "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
31618 "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
31619 "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
31620 "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
31621 "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
31622 "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
31623 "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
31624 "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
31625 "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
31626 "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
31627 "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
31628 "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
31629 "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
31630 "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
31631 "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
31632 "\xdc\x66\xad\xe4\x54\xff\x09\xef"
31633 "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
31634 "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
31635 "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
31636 "\x51\x0c\x0f\x84\x26\x75\x69\x23"
31637 "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
31638 "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
31639 "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
31640 "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
31641 "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
31642 "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
31643 "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
31644 "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
31645 "\x6b\x55\x85\x47\xbb\x90\xba\x69"
31646 "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
31647 "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
31648 "\x09\x76\x51\x83\x0a\x46\x19\x61"
31649 "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
31650 "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
31651 "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
31652 "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
31653 "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
31654 "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
31655 "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
31656 "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
31657 "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
31658 "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
31659 "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
31660 "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
31661 "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
31662 "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
31663 "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
31664 "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
31665 "\x24\x24\x51\x22\x1e\xad\xef\x2f"
31666 "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
31667 "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
31668 "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
31669 "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
31670 "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
31671 "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
31672 "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
31673 "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
31674 "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
31675 "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
31676 "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
31677 "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
31678 "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
31679 "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
31680 "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
31681 "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
31682 "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
31683 "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
31684 "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
31685 "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
31686 "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
31687 "\x42\xff\x4e\x57\xde\x0c\x67\x45"
31688 "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
31689 "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
31690 "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
31691 "\xf8\x87\x0e\x14\x19\x81\x23\x53"
31692 "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
31693 "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
31694 "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
31695 "\x73\xde\x5e\x90\xce\x6c\x85\x43"
31696 "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
31697 "\xb8\x05\x80\x81\xf6\x22\x30\xad"
31698 "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
31699 "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
31700 "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
31701 "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
31702 "\xb7\x73\x14\x69\xef\xf8\x28\x43"
31703 "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
31704 "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
31705 "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
31706 "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
31707 "\x4d\xb1\x17\x40\x02\x84\xed\x53"
31708 "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
31709 "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
31710 "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
31711 "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
31712 "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
31713 "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
31714 "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
31715 "\x90\xe9\x60\x64\xfa\x52\x87\x37"
31716 "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
31717 "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
31718 "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
31719 "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
31720 "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
31721 "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
31722 "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
31723 "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
31724 "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
31725 "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
31726 "\xb6\x86\x9e\x13\x78\x34\x36\x85"
31727 "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
31728 "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
31729 "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
31730 "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
31731 "\x13\xdd\x9e\x20\x51\x18\x73\x37"
31732 "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
31733 "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
31734 "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
31735 "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
31736 "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
31737 "\x66\x2a\xac\x59\xb3\x73\x86\xae"
31738 "\x6d\x85\x97\x37\x68\xef\xa7\x85"
31739 "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
31740 "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
31741 "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
31742 "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
31743 .len = 4096,
31744 }
31745};
31746
31747/* Adiantum with XChaCha20 instead of XChaCha12 */
31748/* Test vectors from https://github.com/google/adiantum */
31749static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
31750 {
31751 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
31752 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
31753 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
31754 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
31755 .klen = 32,
31756 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
31757 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
31758 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
31759 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
31760 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
31761 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
31762 .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
31763 "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
31764 .len = 16,
31765 }, {
31766 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
31767 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
31768 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
31769 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
31770 .klen = 32,
31771 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
31772 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
31773 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
31774 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
31775 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
31776 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
31777 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
31778 "\x43\x5a\x46\x06\x94\x2d\xf2",
31779 .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
31780 "\x0e\x14\x42\x5f\x00\x74\x09\x36"
31781 "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
31782 "\x0c\x04\x91\x14\x91\xe9\x37",
31783 .len = 31,
31784 }, {
31785 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
31786 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
31787 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
31788 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
31789 .klen = 32,
31790 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
31791 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
31792 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
31793 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
31794 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
31795 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
31796 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
31797 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
31798 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
31799 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
31800 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
31801 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
31802 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
31803 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
31804 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
31805 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
31806 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
31807 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
31808 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
31809 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
31810 .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
31811 "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
31812 "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
31813 "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
31814 "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
31815 "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
31816 "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
31817 "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
31818 "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
31819 "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
31820 "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
31821 "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
31822 "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
31823 "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
31824 "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
31825 "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
31826 .len = 128,
31827 }, {
31828 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
31829 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
31830 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
31831 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
31832 .klen = 32,
31833 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
31834 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
31835 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
31836 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
31837 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
31838 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
31839 "\x05\xa3\x69\x60\x91\x36\x98\x57"
31840 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
31841 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
31842 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
31843 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
31844 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
31845 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
31846 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
31847 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
31848 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
31849 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
31850 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
31851 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
31852 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
31853 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
31854 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
31855 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
31856 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
31857 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
31858 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
31859 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
31860 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
31861 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
31862 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
31863 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
31864 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
31865 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
31866 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
31867 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
31868 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
31869 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
31870 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
31871 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
31872 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
31873 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
31874 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
31875 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
31876 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
31877 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
31878 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
31879 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
31880 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
31881 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
31882 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
31883 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
31884 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
31885 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
31886 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
31887 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
31888 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
31889 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
31890 "\x17\x7c\x25\x48\x52\x67\x11\x27"
31891 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
31892 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
31893 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
31894 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
31895 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
31896 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
31897 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
31898 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
31899 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
31900 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
31901 .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
31902 "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
31903 "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
31904 "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
31905 "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
31906 "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
31907 "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
31908 "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
31909 "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
31910 "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
31911 "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
31912 "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
31913 "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
31914 "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
31915 "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
31916 "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
31917 "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
31918 "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
31919 "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
31920 "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
31921 "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
31922 "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
31923 "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
31924 "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
31925 "\x26\x39\x95\x07\xad\x7a\xc9\x69"
31926 "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
31927 "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
31928 "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
31929 "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
31930 "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
31931 "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
31932 "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
31933 "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
31934 "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
31935 "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
31936 "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
31937 "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
31938 "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
31939 "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
31940 "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
31941 "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
31942 "\x34\x42\xe5\xae\x45\x13\x63\xfe"
31943 "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
31944 "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
31945 "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
31946 "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
31947 "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
31948 "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
31949 "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
31950 "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
31951 "\x65\xa8\xac\xea\x8d\x68\x46\x34"
31952 "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
31953 "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
31954 "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
31955 "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
31956 "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
31957 "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
31958 "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
31959 "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
31960 "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
31961 "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
31962 "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
31963 "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
31964 "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
31965 .len = 512,
31966 }, {
31967 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
31968 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
31969 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
31970 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
31971 .klen = 32,
31972 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
31973 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
31974 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
31975 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
31976 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
31977 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
31978 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
31979 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
31980 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
31981 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
31982 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
31983 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
31984 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
31985 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
31986 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
31987 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
31988 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
31989 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
31990 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
31991 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
31992 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
31993 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
31994 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
31995 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
31996 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
31997 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
31998 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
31999 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
32000 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
32001 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
32002 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
32003 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
32004 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
32005 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
32006 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
32007 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
32008 "\x28\x04\x4c\xff\x98\x20\x08\x10"
32009 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
32010 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
32011 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
32012 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
32013 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
32014 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
32015 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
32016 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
32017 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
32018 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
32019 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
32020 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
32021 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
32022 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
32023 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
32024 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
32025 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
32026 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
32027 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
32028 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
32029 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
32030 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
32031 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
32032 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
32033 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
32034 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
32035 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
32036 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
32037 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
32038 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
32039 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
32040 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
32041 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
32042 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
32043 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
32044 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
32045 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
32046 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
32047 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
32048 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
32049 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
32050 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
32051 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
32052 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
32053 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
32054 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
32055 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
32056 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
32057 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
32058 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
32059 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
32060 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
32061 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
32062 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
32063 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
32064 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
32065 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
32066 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
32067 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
32068 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
32069 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
32070 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
32071 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
32072 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
32073 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
32074 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
32075 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
32076 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
32077 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
32078 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
32079 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
32080 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
32081 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
32082 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
32083 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
32084 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
32085 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
32086 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
32087 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
32088 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
32089 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
32090 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
32091 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
32092 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
32093 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
32094 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
32095 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
32096 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
32097 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
32098 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
32099 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
32100 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
32101 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
32102 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
32103 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
32104 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
32105 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
32106 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
32107 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
32108 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
32109 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
32110 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
32111 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
32112 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
32113 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
32114 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
32115 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
32116 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
32117 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
32118 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
32119 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
32120 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
32121 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
32122 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
32123 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
32124 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
32125 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
32126 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
32127 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
32128 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
32129 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
32130 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
32131 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
32132 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
32133 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
32134 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
32135 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
32136 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
32137 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
32138 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
32139 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
32140 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
32141 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
32142 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
32143 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
32144 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
32145 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
32146 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
32147 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
32148 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
32149 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
32150 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
32151 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
32152 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
32153 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
32154 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
32155 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
32156 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
32157 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
32158 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
32159 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
32160 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
32161 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
32162 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
32163 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
32164 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
32165 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
32166 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
32167 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
32168 .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
32169 "\x71\x28\x98\x61\xe5\x2c\x45\x49"
32170 "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
32171 "\xbe\x05\x02\x35\xc1\x18\x61\x28"
32172 "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
32173 "\x14\x80\x88\x56\xcf\x98\x32\xcc"
32174 "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
32175 "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
32176 "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
32177 "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
32178 "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
32179 "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
32180 "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
32181 "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
32182 "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
32183 "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
32184 "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
32185 "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
32186 "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
32187 "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
32188 "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
32189 "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
32190 "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
32191 "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
32192 "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
32193 "\x35\x17\x51\x06\x19\x82\x9d\x44"
32194 "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
32195 "\x95\x63\xc3\xf0\x91\x73\x77\x44"
32196 "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
32197 "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
32198 "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
32199 "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
32200 "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
32201 "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
32202 "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
32203 "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
32204 "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
32205 "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
32206 "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
32207 "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
32208 "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
32209 "\x9a\x14\xab\x08\xc2\x67\x59\x30"
32210 "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
32211 "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
32212 "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
32213 "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
32214 "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
32215 "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
32216 "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
32217 "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
32218 "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
32219 "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
32220 "\x73\x23\x27\x71\x85\x04\x07\x59"
32221 "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
32222 "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
32223 "\x21\x5b\x22\x25\x61\x01\x96\xce"
32224 "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
32225 "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
32226 "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
32227 "\xae\x89\x30\xa3\xc1\x65\x41\x67"
32228 "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
32229 "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
32230 "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
32231 "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
32232 "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
32233 "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
32234 "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
32235 "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
32236 "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
32237 "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
32238 "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
32239 "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
32240 "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
32241 "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
32242 "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
32243 "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
32244 "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
32245 "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
32246 "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
32247 "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
32248 "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
32249 "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
32250 "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
32251 "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
32252 "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
32253 "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
32254 "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
32255 "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
32256 "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
32257 "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
32258 "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
32259 "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
32260 "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
32261 "\x90\xda\x98\x98\x81\x04\x1c\x4d"
32262 "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
32263 "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
32264 "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
32265 "\x04\x59\x51\xbb\x17\x03\xc0\x07"
32266 "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
32267 "\xbc\x60\x86\x3b\x68\x91\x67\x14"
32268 "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
32269 "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
32270 "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
32271 "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
32272 "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
32273 "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
32274 "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
32275 "\x02\x98\xee\x83\xca\x4c\x94\xa3"
32276 "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
32277 "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
32278 "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
32279 "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
32280 "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
32281 "\xad\xf0\x38\x49\x88\x78\x73\xcd"
32282 "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
32283 "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
32284 "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
32285 "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
32286 "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
32287 "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
32288 "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
32289 "\x08\x42\xef\x07\x03\xb7\xa3\xea"
32290 "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
32291 "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
32292 "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
32293 "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
32294 "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
32295 "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
32296 "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
32297 "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
32298 "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
32299 "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
32300 "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
32301 "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
32302 "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
32303 "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
32304 "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
32305 "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
32306 "\x80\xae\x2d\xda\x85\x90\x69\x3c"
32307 "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
32308 "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
32309 "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
32310 "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
32311 "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
32312 "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
32313 "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
32314 "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
32315 "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
32316 "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
32317 "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
32318 "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
32319 "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
32320 "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
32321 "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
32322 "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
32323 "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
32324 "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
32325 "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
32326 "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
32327 "\x67\x04\x70\x86\x0a\x71\x69\x34"
32328 "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
32329 "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
32330 "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
32331 "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
32332 "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
32333 "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
32334 "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
32335 "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
32336 "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
32337 "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
32338 "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
32339 "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
32340 "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
32341 "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
32342 "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
32343 "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
32344 "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
32345 "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
32346 "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
32347 "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
32348 "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
32349 "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
32350 "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
32351 "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
32352 "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
32353 "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
32354 "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
32355 "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
32356 "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
32357 "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
32358 "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
32359 "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
32360 .len = 1536,
32361 }, {
32362 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
32363 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
32364 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
32365 "\x56\x95\x83\x98\x38\x80\x84\x8a",
32366 .klen = 32,
32367 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
32368 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
32369 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
32370 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
32371 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
32372 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
32373 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
32374 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
32375 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
32376 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
32377 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
32378 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
32379 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
32380 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
32381 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
32382 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
32383 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
32384 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
32385 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
32386 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
32387 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
32388 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
32389 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
32390 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
32391 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
32392 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
32393 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
32394 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
32395 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
32396 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
32397 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
32398 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
32399 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
32400 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
32401 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
32402 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
32403 "\x96\x87\xc9\x34\x02\x26\xde\x20"
32404 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
32405 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
32406 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
32407 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
32408 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
32409 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
32410 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
32411 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
32412 "\x85\xfd\x22\x08\x00\xae\x72\x10"
32413 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
32414 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
32415 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
32416 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
32417 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
32418 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
32419 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
32420 "\x21\x73\xbd\x81\x73\xac\x15\x74"
32421 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
32422 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
32423 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
32424 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
32425 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
32426 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
32427 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
32428 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
32429 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
32430 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
32431 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
32432 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
32433 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
32434 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
32435 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
32436 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
32437 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
32438 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
32439 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
32440 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
32441 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
32442 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
32443 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
32444 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
32445 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
32446 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
32447 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
32448 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
32449 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
32450 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
32451 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
32452 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
32453 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
32454 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
32455 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
32456 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
32457 "\x08\x67\x02\x01\xe3\x64\x82\xee"
32458 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
32459 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
32460 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
32461 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
32462 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
32463 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
32464 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
32465 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
32466 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
32467 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
32468 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
32469 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
32470 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
32471 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
32472 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
32473 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
32474 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
32475 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
32476 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
32477 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
32478 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
32479 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
32480 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
32481 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
32482 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
32483 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
32484 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
32485 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
32486 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
32487 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
32488 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
32489 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
32490 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
32491 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
32492 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
32493 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
32494 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
32495 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
32496 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
32497 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
32498 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
32499 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
32500 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
32501 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
32502 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
32503 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
32504 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
32505 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
32506 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
32507 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
32508 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
32509 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
32510 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
32511 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
32512 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
32513 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
32514 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
32515 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
32516 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
32517 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
32518 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
32519 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
32520 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
32521 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
32522 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
32523 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
32524 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
32525 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
32526 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
32527 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
32528 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
32529 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
32530 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
32531 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
32532 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
32533 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
32534 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
32535 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
32536 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
32537 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
32538 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
32539 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
32540 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
32541 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
32542 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
32543 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
32544 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
32545 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
32546 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
32547 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
32548 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
32549 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
32550 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
32551 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
32552 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
32553 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
32554 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
32555 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
32556 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
32557 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
32558 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
32559 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
32560 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
32561 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
32562 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
32563 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
32564 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
32565 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
32566 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
32567 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
32568 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
32569 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
32570 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
32571 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
32572 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
32573 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
32574 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
32575 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
32576 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
32577 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
32578 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
32579 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
32580 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
32581 "\x53\xf1\x61\x97\x63\x52\x38\x86"
32582 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
32583 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
32584 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
32585 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
32586 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
32587 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
32588 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
32589 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
32590 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
32591 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
32592 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
32593 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
32594 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
32595 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
32596 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
32597 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
32598 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
32599 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
32600 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
32601 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
32602 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
32603 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
32604 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
32605 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
32606 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
32607 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
32608 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
32609 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
32610 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
32611 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
32612 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
32613 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
32614 "\x20\x89\xef\x44\x22\x38\x3c\x14"
32615 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
32616 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
32617 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
32618 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
32619 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
32620 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
32621 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
32622 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
32623 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
32624 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
32625 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
32626 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
32627 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
32628 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
32629 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
32630 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
32631 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
32632 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
32633 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
32634 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
32635 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
32636 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
32637 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
32638 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
32639 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
32640 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
32641 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
32642 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
32643 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
32644 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
32645 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
32646 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
32647 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
32648 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
32649 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
32650 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
32651 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
32652 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
32653 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
32654 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
32655 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
32656 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
32657 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
32658 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
32659 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
32660 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
32661 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
32662 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
32663 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
32664 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
32665 "\xee\xad\x50\x68\x31\x26\x16\x0f"
32666 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
32667 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
32668 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
32669 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
32670 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
32671 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
32672 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
32673 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
32674 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
32675 "\x5a\x63\x94\x90\x22\x72\x54\x26"
32676 "\x93\x65\x99\x45\x55\xd3\x55\x56"
32677 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
32678 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
32679 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
32680 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
32681 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
32682 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
32683 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
32684 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
32685 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
32686 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
32687 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
32688 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
32689 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
32690 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
32691 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
32692 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
32693 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
32694 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
32695 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
32696 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
32697 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
32698 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
32699 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
32700 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
32701 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
32702 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
32703 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
32704 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
32705 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
32706 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
32707 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
32708 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
32709 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
32710 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
32711 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
32712 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
32713 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
32714 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
32715 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
32716 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
32717 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
32718 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
32719 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
32720 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
32721 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
32722 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
32723 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
32724 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
32725 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
32726 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
32727 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
32728 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
32729 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
32730 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
32731 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
32732 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
32733 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
32734 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
32735 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
32736 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
32737 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
32738 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
32739 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
32740 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
32741 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
32742 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
32743 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
32744 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
32745 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
32746 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
32747 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
32748 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
32749 "\x54\x14\x91\x12\x41\x41\x54\xa2"
32750 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
32751 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
32752 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
32753 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
32754 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
32755 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
32756 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
32757 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
32758 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
32759 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
32760 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
32761 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
32762 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
32763 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
32764 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
32765 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
32766 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
32767 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
32768 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
32769 "\x96\x59\xac\x34\x45\x29\xc6\x57"
32770 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
32771 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
32772 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
32773 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
32774 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
32775 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
32776 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
32777 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
32778 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
32779 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
32780 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
32781 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
32782 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
32783 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
32784 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
32785 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
32786 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
32787 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
32788 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
32789 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
32790 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
32791 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
32792 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
32793 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
32794 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
32795 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
32796 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
32797 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
32798 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
32799 "\x32\x06\x3f\x12\x23\x19\x22\x82"
32800 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
32801 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
32802 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
32803 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
32804 "\x35\x79\x84\x78\x06\x68\x97\x30"
32805 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
32806 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
32807 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
32808 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
32809 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
32810 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
32811 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
32812 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
32813 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
32814 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
32815 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
32816 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
32817 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
32818 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
32819 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
32820 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
32821 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
32822 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
32823 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
32824 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
32825 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
32826 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
32827 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
32828 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
32829 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
32830 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
32831 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
32832 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
32833 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
32834 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
32835 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
32836 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
32837 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
32838 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
32839 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
32840 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
32841 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
32842 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
32843 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
32844 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
32845 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
32846 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
32847 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
32848 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
32849 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
32850 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
32851 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
32852 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
32853 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
32854 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
32855 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
32856 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
32857 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
32858 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
32859 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
32860 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
32861 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
32862 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
32863 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
32864 "\x12\xab\x95\x66\xec\x09\x64\xea"
32865 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
32866 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
32867 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
32868 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
32869 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
32870 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
32871 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
32872 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
32873 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
32874 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
32875 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
32876 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
32877 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
32878 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
32879 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
32880 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
32881 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
32882 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
32883 .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
32884 "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
32885 "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
32886 "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
32887 "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
32888 "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
32889 "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
32890 "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
32891 "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
32892 "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
32893 "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
32894 "\x86\xac\x06\x97\x70\x42\xec\x3a"
32895 "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
32896 "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
32897 "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
32898 "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
32899 "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
32900 "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
32901 "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
32902 "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
32903 "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
32904 "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
32905 "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
32906 "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
32907 "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
32908 "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
32909 "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
32910 "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
32911 "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
32912 "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
32913 "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
32914 "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
32915 "\x78\x1e\x29\xef\x12\x54\x16\x28"
32916 "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
32917 "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
32918 "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
32919 "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
32920 "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
32921 "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
32922 "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
32923 "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
32924 "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
32925 "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
32926 "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
32927 "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
32928 "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
32929 "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
32930 "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
32931 "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
32932 "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
32933 "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
32934 "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
32935 "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
32936 "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
32937 "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
32938 "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
32939 "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
32940 "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
32941 "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
32942 "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
32943 "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
32944 "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
32945 "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
32946 "\x38\x90\x06\x18\x84\xf2\xfa\x81"
32947 "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
32948 "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
32949 "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
32950 "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
32951 "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
32952 "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
32953 "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
32954 "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
32955 "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
32956 "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
32957 "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
32958 "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
32959 "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
32960 "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
32961 "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
32962 "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
32963 "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
32964 "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
32965 "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
32966 "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
32967 "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
32968 "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
32969 "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
32970 "\x65\x1a\x03\x48\x12\x66\x50\x3e"
32971 "\x0e\x5d\x60\x29\x44\x69\x90\xee"
32972 "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
32973 "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
32974 "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
32975 "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
32976 "\xb0\xab\x73\x61\x40\x39\xac\x11"
32977 "\x55\x27\x51\x5f\x11\xef\xb1\x23"
32978 "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
32979 "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
32980 "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
32981 "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
32982 "\x83\x40\x0c\x98\x67\xba\x7c\x93"
32983 "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
32984 "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
32985 "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
32986 "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
32987 "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
32988 "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
32989 "\xdd\x37\x35\x78\x09\x28\x29\x4a"
32990 "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
32991 "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
32992 "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
32993 "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
32994 "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
32995 "\x64\x09\xf3\xee\x05\x42\x34\x93"
32996 "\x38\xa8\x60\xea\x1d\x95\x90\x65"
32997 "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
32998 "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
32999 "\x45\x73\xce\x54\x4e\xb1\x75\x26"
33000 "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
33001 "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
33002 "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
33003 "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
33004 "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
33005 "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
33006 "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
33007 "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
33008 "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
33009 "\x99\x40\x90\xd5\x7d\x73\x56\xef"
33010 "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
33011 "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
33012 "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
33013 "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
33014 "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
33015 "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
33016 "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
33017 "\x4e\x50\x97\xd4\x94\x58\x67\x57"
33018 "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
33019 "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
33020 "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
33021 "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
33022 "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
33023 "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
33024 "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
33025 "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
33026 "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
33027 "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
33028 "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
33029 "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
33030 "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
33031 "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
33032 "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
33033 "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
33034 "\x5b\x94\x12\x33\x78\x85\x90\x84"
33035 "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
33036 "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
33037 "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
33038 "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
33039 "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
33040 "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
33041 "\x55\x76\x09\xf5\x8a\x09\x91\x93"
33042 "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
33043 "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
33044 "\x1e\x90\x74\x6d\x93\x52\x61\x81"
33045 "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
33046 "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
33047 "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
33048 "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
33049 "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
33050 "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
33051 "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
33052 "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
33053 "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
33054 "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
33055 "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
33056 "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
33057 "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
33058 "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
33059 "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
33060 "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
33061 "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
33062 "\x5f\x93\x83\x39\xda\xb4\x22\x17"
33063 "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
33064 "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
33065 "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
33066 "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
33067 "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
33068 "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
33069 "\x97\x60\x54\xa3\x52\x31\x78\x57"
33070 "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
33071 "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
33072 "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
33073 "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
33074 "\x92\x90\xde\x01\x97\x81\x46\x87"
33075 "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
33076 "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
33077 "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
33078 "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
33079 "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
33080 "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
33081 "\x67\xe6\x32\xee\xad\xbf\x60\x07"
33082 "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
33083 "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
33084 "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
33085 "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
33086 "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
33087 "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
33088 "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
33089 "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
33090 "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
33091 "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
33092 "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
33093 "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
33094 "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
33095 "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
33096 "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
33097 "\xaf\x7e\x94\x57\x19\x07\x06\x74"
33098 "\x57\x5b\x62\x61\x99\x20\xe7\x95"
33099 "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
33100 "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
33101 "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
33102 "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
33103 "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
33104 "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
33105 "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
33106 "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
33107 "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
33108 "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
33109 "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
33110 "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
33111 "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
33112 "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
33113 "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
33114 "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
33115 "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
33116 "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
33117 "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
33118 "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
33119 "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
33120 "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
33121 "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
33122 "\x49\x00\x00\x31\x0f\xa8\x24\x67"
33123 "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
33124 "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
33125 "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
33126 "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
33127 "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
33128 "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
33129 "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
33130 "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
33131 "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
33132 "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
33133 "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
33134 "\x23\x79\x99\x5f\x34\xad\x9f\x41"
33135 "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
33136 "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
33137 "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
33138 "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
33139 "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
33140 "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
33141 "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
33142 "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
33143 "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
33144 "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
33145 "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
33146 "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
33147 "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
33148 "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
33149 "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
33150 "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
33151 "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
33152 "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
33153 "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
33154 "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
33155 "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
33156 "\x91\x41\x48\xaa\x65\xdb\x34\x72"
33157 "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
33158 "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
33159 "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
33160 "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
33161 "\x89\x8b\x27\x70\xae\xa1\x90\x28"
33162 "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
33163 "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
33164 "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
33165 "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
33166 "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
33167 "\xec\x10\x74\xc5\xb6\x53\x09\x93"
33168 "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
33169 "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
33170 "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
33171 "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
33172 "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
33173 "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
33174 "\x27\x17\x78\x03\xd4\xda\xe4\x73"
33175 "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
33176 "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
33177 "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
33178 "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
33179 "\x06\x03\xe0\x76\xff\x19\x1a\x16"
33180 "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
33181 "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
33182 "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
33183 "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
33184 "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
33185 "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
33186 "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
33187 "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
33188 "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
33189 "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
33190 "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
33191 "\x82\x10\xd6\x29\x58\x83\x50\x3c"
33192 "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
33193 "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
33194 "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
33195 "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
33196 "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
33197 "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
33198 "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
33199 "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
33200 "\x66\x34\xb3\x9f\x52\x37\x98\x10"
33201 "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
33202 "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
33203 "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
33204 "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
33205 "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
33206 "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
33207 "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
33208 "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
33209 "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
33210 "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
33211 "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
33212 "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
33213 "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
33214 "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
33215 "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
33216 "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
33217 "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
33218 "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
33219 "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
33220 "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
33221 "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
33222 "\xa7\xff\x10\x19\x5e\xef\x46\x54"
33223 "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
33224 "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
33225 "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
33226 "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
33227 "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
33228 "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
33229 "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
33230 "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
33231 "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
33232 "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
33233 "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
33234 "\xb1\x03\x06\x23\x65\x37\x33\x92"
33235 "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
33236 "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
33237 "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
33238 "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
33239 "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
33240 "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
33241 "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
33242 "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
33243 "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
33244 "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
33245 "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
33246 "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
33247 "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
33248 "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
33249 "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
33250 "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
33251 "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
33252 "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
33253 "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
33254 "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
33255 "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
33256 "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
33257 "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
33258 "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
33259 "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
33260 "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
33261 "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
33262 "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
33263 "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
33264 "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
33265 "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
33266 "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
33267 "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
33268 "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
33269 "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
33270 "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
33271 "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
33272 "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
33273 "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
33274 "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
33275 "\xa5\x45\x75\x12\x01\x40\xff\x3e"
33276 "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
33277 "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
33278 "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
33279 "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
33280 "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
33281 "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
33282 "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
33283 "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
33284 "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
33285 "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
33286 "\x12\x26\x68\x12\x25\x0b\x08\x61"
33287 "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
33288 "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
33289 "\x25\x06\xa2\x08\x69\x09\xd9\x09"
33290 "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
33291 "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
33292 "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
33293 "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
33294 "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
33295 "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
33296 "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
33297 "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
33298 "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
33299 "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
33300 "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
33301 "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
33302 "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
33303 "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
33304 "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
33305 "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
33306 "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
33307 "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
33308 "\xc2\xde\x27\x58\x69\xf9\x07\xca"
33309 "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
33310 "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
33311 "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
33312 "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
33313 "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
33314 "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
33315 "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
33316 "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
33317 "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
33318 "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
33319 "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
33320 "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
33321 "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
33322 "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
33323 "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
33324 "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
33325 "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
33326 "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
33327 "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
33328 "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
33329 "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
33330 "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
33331 "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
33332 "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
33333 "\xd9\x79\xde\x93\x37\x93\x92\x46"
33334 "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
33335 "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
33336 "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
33337 "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
33338 "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
33339 "\xc8\xae\x92\x29\xce\x71\xd0\xba"
33340 "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
33341 "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
33342 "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
33343 "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
33344 "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
33345 "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
33346 "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
33347 "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
33348 "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
33349 "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
33350 "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
33351 "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
33352 "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
33353 "\x93\x81\x38\x47\xc0\x83\x21\xa3"
33354 "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
33355 "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
33356 "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
33357 "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
33358 "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
33359 "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
33360 "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
33361 "\x01\xda\xfb\xc4\x85\x26\x85\x31"
33362 "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
33363 "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
33364 "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
33365 "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
33366 "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
33367 "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
33368 "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
33369 "\xd9\x27\x34\x53\x9c\x52\x00\x94"
33370 "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
33371 "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
33372 "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
33373 "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
33374 "\x34\x97\x32\xd5\x11\x02\x06\x45"
33375 "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
33376 "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
33377 "\x60\x50\x66\x79\xbb\x45\x21\xc4"
33378 "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
33379 "\x6b\x20\xef\xac\x16\x74\xe9\x23"
33380 "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
33381 "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
33382 "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
33383 "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
33384 "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
33385 "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
33386 "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
33387 "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
33388 "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
33389 "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
33390 "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
33391 "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
33392 "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
33393 "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
33394 "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
33395 .len = 4096,
33396 }
33397};
33398
33399/*
33400 * CTS (Cipher Text Stealing) mode tests
33401 */
33402static const struct cipher_testvec cts_mode_tv_template[] = {
33403 { /* from rfc3962 */
33404 .klen = 16,
33405 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33406 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33407 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33408 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33409 "\x20",
33410 .len = 17,
33411 .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33412 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33413 "\x97",
33414 }, {
33415 .klen = 16,
33416 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33417 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33418 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33419 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33420 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33421 "\x20\x47\x61\x75\x27\x73\x20",
33422 .len = 31,
33423 .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33424 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33425 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33426 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33427 }, {
33428 .klen = 16,
33429 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33430 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33431 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33432 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33433 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33434 "\x20\x47\x61\x75\x27\x73\x20\x43",
33435 .len = 32,
33436 .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33437 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33438 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33439 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33440 }, {
33441 .klen = 16,
33442 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33443 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33444 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33445 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33446 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33447 "\x20\x47\x61\x75\x27\x73\x20\x43"
33448 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33449 "\x70\x6c\x65\x61\x73\x65\x2c",
33450 .len = 47,
33451 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33452 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33453 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33454 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33455 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33456 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33457 }, {
33458 .klen = 16,
33459 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33460 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33461 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33462 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33463 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33464 "\x20\x47\x61\x75\x27\x73\x20\x43"
33465 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33466 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33467 .len = 48,
33468 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33469 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33470 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33471 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33472 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33473 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33474 }, {
33475 .klen = 16,
33476 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33477 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33478 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33479 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33480 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33481 "\x20\x47\x61\x75\x27\x73\x20\x43"
33482 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33483 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33484 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33485 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33486 .len = 64,
33487 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33488 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33489 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33490 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33491 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33492 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33493 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33494 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33495 }
33496};
33497
33498/*
33499 * Compression stuff.
33500 */
33501#define COMP_BUF_SIZE 512
33502
33503struct comp_testvec {
33504 int inlen, outlen;
33505 char input[COMP_BUF_SIZE];
33506 char output[COMP_BUF_SIZE];
33507};
33508
33509/*
33510 * Deflate test vectors (null-terminated strings).
33511 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33512 */
33513
33514static const struct comp_testvec deflate_comp_tv_template[] = {
33515 {
33516 .inlen = 70,
33517 .outlen = 38,
33518 .input = "Join us now and share the software "
33519 "Join us now and share the software ",
33520 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33521 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33522 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33523 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33524 "\x71\xbc\x08\x2b\x01\x00",
33525 }, {
33526 .inlen = 191,
33527 .outlen = 122,
33528 .input = "This document describes a compression method based on the DEFLATE"
33529 "compression algorithm. This document defines the application of "
33530 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33531 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33532 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33533 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33534 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33535 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33536 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33537 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33538 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33539 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33540 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33541 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33542 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33543 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33544 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33545 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33546 "\xfa\x02",
33547 },
33548};
33549
33550static const struct comp_testvec deflate_decomp_tv_template[] = {
33551 {
33552 .inlen = 122,
33553 .outlen = 191,
33554 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33555 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33556 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33557 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33558 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33559 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33560 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33561 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33562 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33563 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33564 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33565 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33566 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33567 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33568 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33569 "\xfa\x02",
33570 .output = "This document describes a compression method based on the DEFLATE"
33571 "compression algorithm. This document defines the application of "
33572 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33573 }, {
33574 .inlen = 38,
33575 .outlen = 70,
33576 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33577 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33578 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33579 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33580 "\x71\xbc\x08\x2b\x01\x00",
33581 .output = "Join us now and share the software "
33582 "Join us now and share the software ",
33583 },
33584};
33585
33586/*
33587 * LZO test vectors (null-terminated strings).
33588 */
33589static const struct comp_testvec lzo_comp_tv_template[] = {
33590 {
33591 .inlen = 70,
33592 .outlen = 57,
33593 .input = "Join us now and share the software "
33594 "Join us now and share the software ",
33595 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33596 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33597 "\x64\x20\x73\x68\x61\x72\x65\x20"
33598 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33599 "\x77\x70\x01\x32\x88\x00\x0c\x65"
33600 "\x20\x74\x68\x65\x20\x73\x6f\x66"
33601 "\x74\x77\x61\x72\x65\x20\x11\x00"
33602 "\x00",
33603 }, {
33604 .inlen = 159,
33605 .outlen = 131,
33606 .input = "This document describes a compression method based on the LZO "
33607 "compression algorithm. This document defines the application of "
33608 "the LZO algorithm used in UBIFS.",
33609 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
33610 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33611 "\x64\x65\x73\x63\x72\x69\x62\x65"
33612 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33613 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33614 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33615 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33616 "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33617 "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33618 "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33619 "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33620 "\x73\x20\x74\x06\x05\x61\x70\x70"
33621 "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33622 "\x66\x88\x02\x60\x09\x27\xf0\x00"
33623 "\x0c\x20\x75\x73\x65\x64\x20\x69"
33624 "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33625 "\x11\x00\x00",
33626 },
33627};
33628
33629static const struct comp_testvec lzo_decomp_tv_template[] = {
33630 {
33631 .inlen = 133,
33632 .outlen = 159,
33633 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
33634 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33635 "\x64\x65\x73\x63\x72\x69\x62\x65"
33636 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33637 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33638 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33639 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33640 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33641 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33642 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33643 "\x68\x69\x73\x2a\x54\x01\x02\x66"
33644 "\x69\x6e\x65\x73\x94\x06\x05\x61"
33645 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33646 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33647 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33648 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33649 "\x53\x2e\x11\x00\x00",
33650 .output = "This document describes a compression method based on the LZO "
33651 "compression algorithm. This document defines the application of "
33652 "the LZO algorithm used in UBIFS.",
33653 }, {
33654 .inlen = 46,
33655 .outlen = 70,
33656 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33657 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33658 "\x64\x20\x73\x68\x61\x72\x65\x20"
33659 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33660 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33661 "\x3d\x88\x00\x11\x00\x00",
33662 .output = "Join us now and share the software "
33663 "Join us now and share the software ",
33664 },
33665};
33666
33667static const struct comp_testvec lzorle_comp_tv_template[] = {
33668 {
33669 .inlen = 70,
33670 .outlen = 59,
33671 .input = "Join us now and share the software "
33672 "Join us now and share the software ",
33673 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
33674 "\x20\x75\x73\x20\x6e\x6f\x77\x20"
33675 "\x61\x6e\x64\x20\x73\x68\x61\x72"
33676 "\x65\x20\x74\x68\x65\x20\x73\x6f"
33677 "\x66\x74\x77\x70\x01\x32\x88\x00"
33678 "\x0c\x65\x20\x74\x68\x65\x20\x73"
33679 "\x6f\x66\x74\x77\x61\x72\x65\x20"
33680 "\x11\x00\x00",
33681 }, {
33682 .inlen = 159,
33683 .outlen = 133,
33684 .input = "This document describes a compression method based on the LZO "
33685 "compression algorithm. This document defines the application of "
33686 "the LZO algorithm used in UBIFS.",
33687 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
33688 "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
33689 "\x74\x20\x64\x65\x73\x63\x72\x69"
33690 "\x62\x65\x73\x20\x61\x20\x63\x6f"
33691 "\x6d\x70\x72\x65\x73\x73\x69\x6f"
33692 "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
33693 "\x20\x62\x61\x73\x65\x64\x20\x6f"
33694 "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
33695 "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
33696 "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
33697 "\x20\x20\x2e\x54\x01\x03\x66\x69"
33698 "\x6e\x65\x73\x20\x74\x06\x05\x61"
33699 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33700 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33701 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33702 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33703 "\x53\x2e\x11\x00\x00",
33704 },
33705};
33706
33707static const struct comp_testvec lzorle_decomp_tv_template[] = {
33708 {
33709 .inlen = 133,
33710 .outlen = 159,
33711 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
33712 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33713 "\x64\x65\x73\x63\x72\x69\x62\x65"
33714 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33715 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33716 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33717 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33718 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33719 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33720 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33721 "\x68\x69\x73\x2a\x54\x01\x02\x66"
33722 "\x69\x6e\x65\x73\x94\x06\x05\x61"
33723 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33724 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33725 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33726 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33727 "\x53\x2e\x11\x00\x00",
33728 .output = "This document describes a compression method based on the LZO "
33729 "compression algorithm. This document defines the application of "
33730 "the LZO algorithm used in UBIFS.",
33731 }, {
33732 .inlen = 59,
33733 .outlen = 70,
33734 .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
33735 "\x20\x75\x73\x20\x6e\x6f\x77\x20"
33736 "\x61\x6e\x64\x20\x73\x68\x61\x72"
33737 "\x65\x20\x74\x68\x65\x20\x73\x6f"
33738 "\x66\x74\x77\x70\x01\x32\x88\x00"
33739 "\x0c\x65\x20\x74\x68\x65\x20\x73"
33740 "\x6f\x66\x74\x77\x61\x72\x65\x20"
33741 "\x11\x00\x00",
33742 .output = "Join us now and share the software "
33743 "Join us now and share the software ",
33744 },
33745};
33746
33747/*
33748 * CRC32 test vectors
33749 */
33750static const struct hash_testvec crc32_tv_template[] = {
33751 {
33752 .psize = 0,
33753 .digest = "\x00\x00\x00\x00",
33754 },
33755 {
33756 .plaintext = "abcdefg",
33757 .psize = 7,
33758 .digest = "\xd8\xb5\x46\xac",
33759 },
33760 {
33761 .key = "\x87\xa9\xcb\xed",
33762 .ksize = 4,
33763 .psize = 0,
33764 .digest = "\x87\xa9\xcb\xed",
33765 },
33766 {
33767 .key = "\xff\xff\xff\xff",
33768 .ksize = 4,
33769 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33770 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33771 "\x11\x12\x13\x14\x15\x16\x17\x18"
33772 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33773 "\x21\x22\x23\x24\x25\x26\x27\x28",
33774 .psize = 40,
33775 .digest = "\x3a\xdf\x4b\xb0",
33776 },
33777 {
33778 .key = "\xff\xff\xff\xff",
33779 .ksize = 4,
33780 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33781 "\x31\x32\x33\x34\x35\x36\x37\x38"
33782 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33783 "\x41\x42\x43\x44\x45\x46\x47\x48"
33784 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33785 .psize = 40,
33786 .digest = "\xa9\x7a\x7f\x7b",
33787 },
33788 {
33789 .key = "\xff\xff\xff\xff",
33790 .ksize = 4,
33791 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33792 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33793 "\x61\x62\x63\x64\x65\x66\x67\x68"
33794 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33795 "\x71\x72\x73\x74\x75\x76\x77\x78",
33796 .psize = 40,
33797 .digest = "\xba\xd3\xf8\x1c",
33798 },
33799 {
33800 .key = "\xff\xff\xff\xff",
33801 .ksize = 4,
33802 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33803 "\x81\x82\x83\x84\x85\x86\x87\x88"
33804 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33805 "\x91\x92\x93\x94\x95\x96\x97\x98"
33806 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33807 .psize = 40,
33808 .digest = "\xa8\xa9\xc2\x02",
33809 },
33810 {
33811 .key = "\xff\xff\xff\xff",
33812 .ksize = 4,
33813 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33814 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33815 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33816 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33817 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33818 .psize = 40,
33819 .digest = "\x27\xf0\x57\xe2",
33820 },
33821 {
33822 .key = "\xff\xff\xff\xff",
33823 .ksize = 4,
33824 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33825 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33826 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33827 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33828 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33829 .psize = 40,
33830 .digest = "\x49\x78\x10\x08",
33831 },
33832 {
33833 .key = "\x80\xea\xd3\xf1",
33834 .ksize = 4,
33835 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33836 "\x31\x32\x33\x34\x35\x36\x37\x38"
33837 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33838 "\x41\x42\x43\x44\x45\x46\x47\x48"
33839 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33840 .psize = 40,
33841 .digest = "\x9a\xb1\xdc\xf0",
33842 },
33843 {
33844 .key = "\xf3\x4a\x1d\x5d",
33845 .ksize = 4,
33846 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33847 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33848 "\x61\x62\x63\x64\x65\x66\x67\x68"
33849 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33850 "\x71\x72\x73\x74\x75\x76\x77\x78",
33851 .psize = 40,
33852 .digest = "\xb4\x97\xcc\xd4",
33853 },
33854 {
33855 .key = "\x2e\x80\x04\x59",
33856 .ksize = 4,
33857 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33858 "\x81\x82\x83\x84\x85\x86\x87\x88"
33859 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33860 "\x91\x92\x93\x94\x95\x96\x97\x98"
33861 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33862 .psize = 40,
33863 .digest = "\x67\x9b\xfa\x79",
33864 },
33865 {
33866 .key = "\xa6\xcc\x19\x85",
33867 .ksize = 4,
33868 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33869 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33870 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33871 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33872 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33873 .psize = 40,
33874 .digest = "\x24\xb5\x16\xef",
33875 },
33876 {
33877 .key = "\x41\xfc\xfe\x2d",
33878 .ksize = 4,
33879 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33880 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33881 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33882 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33883 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33884 .psize = 40,
33885 .digest = "\x15\x94\x80\x39",
33886 },
33887 {
33888 .key = "\xff\xff\xff\xff",
33889 .ksize = 4,
33890 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33891 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33892 "\x11\x12\x13\x14\x15\x16\x17\x18"
33893 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33894 "\x21\x22\x23\x24\x25\x26\x27\x28"
33895 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33896 "\x31\x32\x33\x34\x35\x36\x37\x38"
33897 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33898 "\x41\x42\x43\x44\x45\x46\x47\x48"
33899 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33900 "\x51\x52\x53\x54\x55\x56\x57\x58"
33901 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33902 "\x61\x62\x63\x64\x65\x66\x67\x68"
33903 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33904 "\x71\x72\x73\x74\x75\x76\x77\x78"
33905 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33906 "\x81\x82\x83\x84\x85\x86\x87\x88"
33907 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33908 "\x91\x92\x93\x94\x95\x96\x97\x98"
33909 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33910 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33911 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33912 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33913 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33914 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33915 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33916 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33917 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33918 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33919 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33920 .psize = 240,
33921 .digest = "\x6c\xc6\x56\xde",
33922 }, {
33923 .key = "\xff\xff\xff\xff",
33924 .ksize = 4,
33925 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33926 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33927 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33928 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33929 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33930 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33931 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33932 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33933 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33934 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33935 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33936 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33937 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33938 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33939 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33940 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33941 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33942 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33943 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33944 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
33945 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33946 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
33947 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33948 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33949 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33950 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33951 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33952 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33953 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33954 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
33955 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33956 "\x47\xde\x75\x0c\x80\x17\xae\x22"
33957 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33958 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33959 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33960 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33961 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33962 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33963 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33964 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33965 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33966 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33967 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33968 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33969 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33970 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33971 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33972 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33973 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33974 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33975 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33976 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33977 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33978 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33979 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33980 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33981 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33982 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33983 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33984 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33985 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33986 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33987 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33988 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33989 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33990 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33991 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33992 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33993 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33994 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33995 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33996 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33997 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33998 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33999 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34000 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34001 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34002 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34003 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34004 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34005 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34006 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34007 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34008 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34009 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34010 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34011 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34012 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34013 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34014 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34015 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34016 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34017 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34018 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34019 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34020 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34021 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34022 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34023 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34024 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34025 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34026 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34027 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34028 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34029 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34030 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34031 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34032 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34033 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34034 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34035 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34036 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34037 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34038 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34039 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34040 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34041 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34042 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34043 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34044 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34045 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34046 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34047 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34048 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34049 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34050 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34051 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34052 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34053 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34054 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34055 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34056 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34057 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34058 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34059 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34060 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34061 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34062 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34063 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34064 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34065 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34066 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34067 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34068 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34069 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34070 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34071 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34072 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34073 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34074 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34075 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34076 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34077 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34078 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34079 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34080 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34081 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34082 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34083 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
34084 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34085 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34086 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34087 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34088 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34089 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34090 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34091 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34092 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34093 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
34094 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34095 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34096 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34097 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34098 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34099 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34100 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34101 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34102 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34103 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34104 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34105 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34106 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34107 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
34108 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34109 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
34110 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34111 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34112 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34113 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34114 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34115 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34116 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34117 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
34118 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34119 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
34120 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34121 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34122 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34123 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
34124 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34125 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34126 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34127 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34128 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34129 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34130 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34131 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34132 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34133 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34134 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34135 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34136 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34137 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34138 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34139 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34140 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34141 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34142 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34143 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34144 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34145 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34146 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34147 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34148 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34149 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34150 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34151 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34152 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34153 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34154 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34155 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34156 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34157 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34158 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34159 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
34160 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34161 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
34162 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34163 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34164 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34165 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34166 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34167 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34168 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34169 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34170 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34171 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34172 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34173 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34174 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34175 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34176 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34177 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34178 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34179 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34180 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34181 .psize = 2048,
34182 .digest = "\xfb\x3a\x7a\xda",
34183 }
34184};
34185
34186/*
34187 * CRC32C test vectors
34188 */
34189static const struct hash_testvec crc32c_tv_template[] = {
34190 {
34191 .psize = 0,
34192 .digest = "\x00\x00\x00\x00",
34193 },
34194 {
34195 .plaintext = "abcdefg",
34196 .psize = 7,
34197 .digest = "\x41\xf4\x27\xe6",
34198 },
34199 {
34200 .key = "\x87\xa9\xcb\xed",
34201 .ksize = 4,
34202 .psize = 0,
34203 .digest = "\x78\x56\x34\x12",
34204 },
34205 {
34206 .key = "\xff\xff\xff\xff",
34207 .ksize = 4,
34208 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34209 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34210 "\x11\x12\x13\x14\x15\x16\x17\x18"
34211 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34212 "\x21\x22\x23\x24\x25\x26\x27\x28",
34213 .psize = 40,
34214 .digest = "\x7f\x15\x2c\x0e",
34215 },
34216 {
34217 .key = "\xff\xff\xff\xff",
34218 .ksize = 4,
34219 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34220 "\x31\x32\x33\x34\x35\x36\x37\x38"
34221 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34222 "\x41\x42\x43\x44\x45\x46\x47\x48"
34223 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34224 .psize = 40,
34225 .digest = "\xf6\xeb\x80\xe9",
34226 },
34227 {
34228 .key = "\xff\xff\xff\xff",
34229 .ksize = 4,
34230 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34231 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34232 "\x61\x62\x63\x64\x65\x66\x67\x68"
34233 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34234 "\x71\x72\x73\x74\x75\x76\x77\x78",
34235 .psize = 40,
34236 .digest = "\xed\xbd\x74\xde",
34237 },
34238 {
34239 .key = "\xff\xff\xff\xff",
34240 .ksize = 4,
34241 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34242 "\x81\x82\x83\x84\x85\x86\x87\x88"
34243 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34244 "\x91\x92\x93\x94\x95\x96\x97\x98"
34245 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34246 .psize = 40,
34247 .digest = "\x62\xc8\x79\xd5",
34248 },
34249 {
34250 .key = "\xff\xff\xff\xff",
34251 .ksize = 4,
34252 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34253 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34254 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34255 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34256 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34257 .psize = 40,
34258 .digest = "\xd0\x9a\x97\xba",
34259 },
34260 {
34261 .key = "\xff\xff\xff\xff",
34262 .ksize = 4,
34263 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34264 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34265 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34266 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34267 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34268 .psize = 40,
34269 .digest = "\x13\xd9\x29\x2b",
34270 },
34271 {
34272 .key = "\x80\xea\xd3\xf1",
34273 .ksize = 4,
34274 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34275 "\x31\x32\x33\x34\x35\x36\x37\x38"
34276 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34277 "\x41\x42\x43\x44\x45\x46\x47\x48"
34278 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34279 .psize = 40,
34280 .digest = "\x0c\xb5\xe2\xa2",
34281 },
34282 {
34283 .key = "\xf3\x4a\x1d\x5d",
34284 .ksize = 4,
34285 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34286 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34287 "\x61\x62\x63\x64\x65\x66\x67\x68"
34288 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34289 "\x71\x72\x73\x74\x75\x76\x77\x78",
34290 .psize = 40,
34291 .digest = "\xd1\x7f\xfb\xa6",
34292 },
34293 {
34294 .key = "\x2e\x80\x04\x59",
34295 .ksize = 4,
34296 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34297 "\x81\x82\x83\x84\x85\x86\x87\x88"
34298 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34299 "\x91\x92\x93\x94\x95\x96\x97\x98"
34300 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34301 .psize = 40,
34302 .digest = "\x59\x33\xe6\x7a",
34303 },
34304 {
34305 .key = "\xa6\xcc\x19\x85",
34306 .ksize = 4,
34307 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34308 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34309 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34310 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34311 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34312 .psize = 40,
34313 .digest = "\xbe\x03\x01\xd2",
34314 },
34315 {
34316 .key = "\x41\xfc\xfe\x2d",
34317 .ksize = 4,
34318 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34319 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34320 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34321 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34322 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34323 .psize = 40,
34324 .digest = "\x75\xd3\xc5\x24",
34325 },
34326 {
34327 .key = "\xff\xff\xff\xff",
34328 .ksize = 4,
34329 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34330 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34331 "\x11\x12\x13\x14\x15\x16\x17\x18"
34332 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34333 "\x21\x22\x23\x24\x25\x26\x27\x28"
34334 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34335 "\x31\x32\x33\x34\x35\x36\x37\x38"
34336 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34337 "\x41\x42\x43\x44\x45\x46\x47\x48"
34338 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34339 "\x51\x52\x53\x54\x55\x56\x57\x58"
34340 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34341 "\x61\x62\x63\x64\x65\x66\x67\x68"
34342 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34343 "\x71\x72\x73\x74\x75\x76\x77\x78"
34344 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34345 "\x81\x82\x83\x84\x85\x86\x87\x88"
34346 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34347 "\x91\x92\x93\x94\x95\x96\x97\x98"
34348 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34349 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34350 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34351 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34352 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34353 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34354 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34355 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34356 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34357 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34358 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34359 .psize = 240,
34360 .digest = "\x75\xd3\xc5\x24",
34361 }, {
34362 .key = "\xff\xff\xff\xff",
34363 .ksize = 4,
34364 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34365 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34366 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34367 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34368 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34369 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34370 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34371 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34372 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34373 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34374 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34375 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34376 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34377 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34378 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34379 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34380 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34381 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34382 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34383 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
34384 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34385 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
34386 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34387 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34388 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34389 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34390 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34391 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34392 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34393 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
34394 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34395 "\x47\xde\x75\x0c\x80\x17\xae\x22"
34396 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34397 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34398 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34399 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34400 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34401 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34402 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34403 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34404 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34405 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34406 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34407 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34408 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34409 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34410 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34411 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34412 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34413 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34414 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34415 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34416 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34417 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34418 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34419 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34420 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34421 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34422 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34423 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34424 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34425 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34426 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34427 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34428 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34429 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34430 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34431 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34432 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34433 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34434 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34435 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34436 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34437 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34438 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34439 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34440 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34441 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34442 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34443 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34444 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34445 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34446 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34447 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34448 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34449 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34450 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34451 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34452 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34453 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34454 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34455 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34456 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34457 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34458 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34459 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34460 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34461 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34462 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34463 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34464 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34465 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34466 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34467 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34468 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34469 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34470 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34471 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34472 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34473 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34474 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34475 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34476 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34477 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34478 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34479 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34480 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34481 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34482 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34483 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34484 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34485 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34486 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34487 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34488 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34489 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34490 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34491 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34492 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34493 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34494 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34495 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34496 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34497 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34498 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34499 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34500 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34501 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34502 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34503 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34504 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34505 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34506 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34507 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34508 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34509 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34510 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34511 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34512 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34513 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34514 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34515 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34516 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34517 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34518 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34519 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34520 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34521 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34522 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
34523 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34524 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34525 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34526 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34527 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34528 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34529 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34530 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34531 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34532 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
34533 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34534 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34535 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34536 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34537 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34538 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34539 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34540 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34541 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34542 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34543 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34544 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34545 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34546 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
34547 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34548 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
34549 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34550 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34551 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34552 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34553 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34554 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34555 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34556 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
34557 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34558 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
34559 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34560 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34561 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34562 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
34563 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34564 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34565 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34566 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34567 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34568 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34569 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34570 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34571 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34572 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34573 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34574 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34575 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34576 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34577 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34578 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34579 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34580 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34581 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34582 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34583 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34584 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34585 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34586 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34587 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34588 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34589 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34590 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34591 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34592 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34593 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34594 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34595 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34596 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34597 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34598 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
34599 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34600 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
34601 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34602 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34603 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34604 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34605 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34606 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34607 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34608 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34609 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34610 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34611 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34612 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34613 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34614 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34615 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34616 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34617 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34618 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34619 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34620 .psize = 2048,
34621 .digest = "\xec\x26\x4d\x95",
34622 }
34623};
34624
34625static const struct hash_testvec xxhash64_tv_template[] = {
34626 {
34627 .psize = 0,
34628 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
34629 },
34630 {
34631 .plaintext = "\x40",
34632 .psize = 1,
34633 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
34634 },
34635 {
34636 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34637 "\x88\xc7\x9a\x09\x1a\x9b",
34638 .psize = 14,
34639 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
34640 },
34641 {
34642 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34643 "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
34644 "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
34645 "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
34646 "\x31\x65\x05\xbb\x31\xae\x51\x11"
34647 "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
34648 "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
34649 "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
34650 "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
34651 "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
34652 "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
34653 "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
34654 "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
34655 "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
34656 "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
34657 "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
34658 "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
34659 "\x43\x99\x4d\x81\x85\xae\x82\x00"
34660 "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
34661 "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
34662 "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
34663 "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
34664 "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
34665 "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
34666 "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
34667 "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
34668 "\x12\x02\x0c\xdb\x94\x00\x38\x95"
34669 "\xed\xfd\x08\xf7\xe8\x04",
34670 .psize = 222,
34671 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
34672 },
34673 {
34674 .psize = 0,
34675 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34676 .ksize = 8,
34677 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
34678 },
34679
34680 {
34681 .plaintext = "\x40",
34682 .psize = 1,
34683 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34684 .ksize = 8,
34685 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
34686 },
34687 {
34688 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34689 "\x88\xc7\x9a\x09\x1a\x9b",
34690 .psize = 14,
34691 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34692 .ksize = 8,
34693 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
34694 },
34695 {
34696 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34697 "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
34698 "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
34699 "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
34700 "\x31\x65\x05\xbb\x31\xae\x51\x11"
34701 "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
34702 "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
34703 "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
34704 "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
34705 "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
34706 "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
34707 "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
34708 "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
34709 "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
34710 "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
34711 "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
34712 "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
34713 "\x43\x99\x4d\x81\x85\xae\x82\x00"
34714 "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
34715 "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
34716 "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
34717 "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
34718 "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
34719 "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
34720 "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
34721 "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
34722 "\x12\x02\x0c\xdb\x94\x00\x38\x95"
34723 "\xed\xfd\x08\xf7\xe8\x04",
34724 .psize = 222,
34725 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34726 .ksize = 8,
34727 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
34728 },
34729};
34730
34731static const struct comp_testvec lz4_comp_tv_template[] = {
34732 {
34733 .inlen = 255,
34734 .outlen = 218,
34735 .input = "LZ4 is lossless compression algorithm, providing"
34736 " compression speed at 400 MB/s per core, scalable "
34737 "with multi-cores CPU. It features an extremely fast "
34738 "decoder, with speed in multiple GB/s per core, "
34739 "typically reaching RAM speed limits on multi-core "
34740 "systems.",
34741 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34742 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34743 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34744 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34745 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34746 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34747 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34748 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34749 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34750 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34751 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34752 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34753 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34754 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34755 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34756 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34757 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34758
34759 },
34760};
34761
34762static const struct comp_testvec lz4_decomp_tv_template[] = {
34763 {
34764 .inlen = 218,
34765 .outlen = 255,
34766 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34767 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34768 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34769 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34770 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34771 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34772 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34773 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34774 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34775 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34776 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34777 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34778 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34779 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34780 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34781 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34782 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34783 .output = "LZ4 is lossless compression algorithm, providing"
34784 " compression speed at 400 MB/s per core, scalable "
34785 "with multi-cores CPU. It features an extremely fast "
34786 "decoder, with speed in multiple GB/s per core, "
34787 "typically reaching RAM speed limits on multi-core "
34788 "systems.",
34789 },
34790};
34791
34792static const struct comp_testvec lz4hc_comp_tv_template[] = {
34793 {
34794 .inlen = 255,
34795 .outlen = 216,
34796 .input = "LZ4 is lossless compression algorithm, providing"
34797 " compression speed at 400 MB/s per core, scalable "
34798 "with multi-cores CPU. It features an extremely fast "
34799 "decoder, with speed in multiple GB/s per core, "
34800 "typically reaching RAM speed limits on multi-core "
34801 "systems.",
34802 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34803 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34804 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34805 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34806 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34807 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34808 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34809 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34810 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34811 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34812 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34813 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34814 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34815 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34816 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34817 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34818 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34819
34820 },
34821};
34822
34823static const struct comp_testvec lz4hc_decomp_tv_template[] = {
34824 {
34825 .inlen = 216,
34826 .outlen = 255,
34827 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34828 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34829 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34830 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34831 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34832 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34833 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34834 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34835 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34836 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34837 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34838 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34839 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34840 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34841 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34842 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34843 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34844 .output = "LZ4 is lossless compression algorithm, providing"
34845 " compression speed at 400 MB/s per core, scalable "
34846 "with multi-cores CPU. It features an extremely fast "
34847 "decoder, with speed in multiple GB/s per core, "
34848 "typically reaching RAM speed limits on multi-core "
34849 "systems.",
34850 },
34851};
34852
34853static const struct comp_testvec zstd_comp_tv_template[] = {
34854 {
34855 .inlen = 68,
34856 .outlen = 39,
34857 .input = "The algorithm is zstd. "
34858 "The algorithm is zstd. "
34859 "The algorithm is zstd.",
34860 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
34861 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
34862 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
34863 ,
34864 },
34865 {
34866 .inlen = 244,
34867 .outlen = 151,
34868 .input = "zstd, short for Zstandard, is a fast lossless "
34869 "compression algorithm, targeting real-time "
34870 "compression scenarios at zlib-level and better "
34871 "compression ratios. The zstd compression library "
34872 "provides in-memory compression and decompression "
34873 "functions.",
34874 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
34875 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
34876 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
34877 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
34878 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
34879 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
34880 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
34881 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
34882 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
34883 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
34884 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
34885 "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
34886 },
34887};
34888
34889static const struct comp_testvec zstd_decomp_tv_template[] = {
34890 {
34891 .inlen = 43,
34892 .outlen = 68,
34893 .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
34894 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
34895 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
34896 "\x6b\xf4\x13\x35",
34897 .output = "The algorithm is zstd. "
34898 "The algorithm is zstd. "
34899 "The algorithm is zstd.",
34900 },
34901 {
34902 .inlen = 155,
34903 .outlen = 244,
34904 .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
34905 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
34906 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
34907 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
34908 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
34909 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
34910 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
34911 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
34912 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
34913 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
34914 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
34915 "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
34916 .output = "zstd, short for Zstandard, is a fast lossless "
34917 "compression algorithm, targeting real-time "
34918 "compression scenarios at zlib-level and better "
34919 "compression ratios. The zstd compression library "
34920 "provides in-memory compression and decompression "
34921 "functions.",
34922 },
34923};
34924
34925/* based on aes_cbc_tv_template */
34926static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
34927 {
34928 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
34929 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
34930 .klen = 16,
34931 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
34932 "\x00\x00\x00\x00\x00\x00\x00\x00",
34933 .ptext = "Single block msg",
34934 .ctext = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
34935 "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
34936 .len = 16,
34937 }, {
34938 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
34939 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
34940 .klen = 16,
34941 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
34942 "\x00\x00\x00\x00\x00\x00\x00\x00",
34943 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
34944 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
34945 "\x10\x11\x12\x13\x14\x15\x16\x17"
34946 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
34947 .ctext = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
34948 "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
34949 "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
34950 "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
34951 .len = 32,
34952 }, {
34953 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
34954 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
34955 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
34956 .klen = 24,
34957 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
34958 "\x00\x00\x00\x00\x00\x00\x00\x00",
34959 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
34960 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
34961 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
34962 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
34963 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
34964 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
34965 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
34966 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
34967 .ctext = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
34968 "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
34969 "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
34970 "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
34971 "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
34972 "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
34973 "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
34974 "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
34975 .len = 64,
34976 }, {
34977 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
34978 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
34979 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
34980 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
34981 .klen = 32,
34982 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
34983 "\x00\x00\x00\x00\x00\x00\x00\x00",
34984 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
34985 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
34986 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
34987 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
34988 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
34989 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
34990 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
34991 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
34992 .ctext = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
34993 "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
34994 "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
34995 "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
34996 "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
34997 "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
34998 "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
34999 "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
35000 .len = 64,
35001 }, {
35002 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
35003 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
35004 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
35005 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
35006 .klen = 32,
35007 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
35008 "\x00\x00\x00\x00\x00\x00\x00\x00",
35009 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
35010 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
35011 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
35012 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
35013 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
35014 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
35015 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
35016 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
35017 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
35018 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
35019 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
35020 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
35021 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
35022 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
35023 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
35024 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
35025 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
35026 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
35027 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
35028 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
35029 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
35030 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
35031 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
35032 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
35033 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
35034 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
35035 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
35036 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
35037 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
35038 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
35039 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
35040 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
35041 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
35042 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
35043 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
35044 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
35045 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
35046 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
35047 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
35048 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
35049 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
35050 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
35051 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
35052 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
35053 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
35054 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
35055 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
35056 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
35057 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
35058 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
35059 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
35060 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
35061 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
35062 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
35063 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
35064 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
35065 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
35066 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
35067 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
35068 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
35069 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
35070 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
35071 .ctext = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
35072 "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
35073 "\xf9\x61\x95\x98\x11\x00\x88\xf8"
35074 "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
35075 "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
35076 "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
35077 "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
35078 "\x19\x5b\x32\x76\x60\x03\x05\xc1"
35079 "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
35080 "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
35081 "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
35082 "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
35083 "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
35084 "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
35085 "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
35086 "\xbb\x04\x48\x97\x3a\x63\x08\x04"
35087 "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
35088 "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
35089 "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
35090 "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
35091 "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
35092 "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
35093 "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
35094 "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
35095 "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
35096 "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
35097 "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
35098 "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
35099 "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
35100 "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
35101 "\x80\xd3\x19\x31\x52\x25\xa8\x69"
35102 "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
35103 "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
35104 "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
35105 "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
35106 "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
35107 "\x30\x01\x98\x90\x15\x80\xf5\x27"
35108 "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
35109 "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
35110 "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
35111 "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
35112 "\x79\xef\xf8\xee\x14\x87\xb3\x34"
35113 "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
35114 "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
35115 "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
35116 "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
35117 "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
35118 "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
35119 "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
35120 "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
35121 "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
35122 "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
35123 "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
35124 "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
35125 "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
35126 "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
35127 "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
35128 "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
35129 "\x77\x02\x26\xad\xc3\x40\x11\x53"
35130 "\x93\x68\x72\xde\x05\x8b\x10\xbc"
35131 "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
35132 "\x61\x2b\x31\x2a\x44\x87\x96\x58",
35133 .len = 496,
35134 },
35135};
35136
35137/* based on hmac_sha256_aes_cbc_tv_temp */
35138static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
35139 {
35140#ifdef __LITTLE_ENDIAN
35141 .key = "\x08\x00" /* rta length */
35142 "\x01\x00" /* rta type */
35143#else
35144 .key = "\x00\x08" /* rta length */
35145 "\x00\x01" /* rta type */
35146#endif
35147 "\x00\x00\x00\x10" /* enc key length */
35148 "\x00\x00\x00\x00\x00\x00\x00\x00"
35149 "\x00\x00\x00\x00\x00\x00\x00\x00"
35150 "\x00\x00\x00\x00\x00\x00\x00\x00"
35151 "\x00\x00\x00\x00\x00\x00\x00\x00"
35152 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
35153 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
35154 .klen = 8 + 32 + 16,
35155 .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
35156 "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
35157 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
35158 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
35159 .alen = 16,
35160 .ptext = "Single block msg",
35161 .plen = 16,
35162 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
35163 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
35164 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
35165 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
35166 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
35167 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
35168 .clen = 16 + 32,
35169 }, {
35170#ifdef __LITTLE_ENDIAN
35171 .key = "\x08\x00" /* rta length */
35172 "\x01\x00" /* rta type */
35173#else
35174 .key = "\x00\x08" /* rta length */
35175 "\x00\x01" /* rta type */
35176#endif
35177 "\x00\x00\x00\x10" /* enc key length */
35178 "\x20\x21\x22\x23\x24\x25\x26\x27"
35179 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35180 "\x30\x31\x32\x33\x34\x35\x36\x37"
35181 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
35182 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
35183 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
35184 .klen = 8 + 32 + 16,
35185 .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
35186 "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
35187 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
35188 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
35189 .alen = 16,
35190 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
35191 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35192 "\x10\x11\x12\x13\x14\x15\x16\x17"
35193 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
35194 .plen = 32,
35195 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
35196 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
35197 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
35198 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
35199 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
35200 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
35201 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
35202 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
35203 .clen = 32 + 32,
35204 }, {
35205#ifdef __LITTLE_ENDIAN
35206 .key = "\x08\x00" /* rta length */
35207 "\x01\x00" /* rta type */
35208#else
35209 .key = "\x00\x08" /* rta length */
35210 "\x00\x01" /* rta type */
35211#endif
35212 "\x00\x00\x00\x10" /* enc key length */
35213 "\x11\x22\x33\x44\x55\x66\x77\x88"
35214 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35215 "\x22\x33\x44\x55\x66\x77\x88\x99"
35216 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35217 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
35218 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
35219 .klen = 8 + 32 + 16,
35220 .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
35221 "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
35222 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
35223 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
35224 .alen = 16,
35225 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
35226 .plen = 48,
35227 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
35228 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
35229 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
35230 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
35231 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
35232 "\x85\x79\x69\x5d\x83\xba\x26\x84"
35233 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
35234 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
35235 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
35236 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
35237 .clen = 48 + 32,
35238 }, {
35239#ifdef __LITTLE_ENDIAN
35240 .key = "\x08\x00" /* rta length */
35241 "\x01\x00" /* rta type */
35242#else
35243 .key = "\x00\x08" /* rta length */
35244 "\x00\x01" /* rta type */
35245#endif
35246 "\x00\x00\x00\x10" /* enc key length */
35247 "\x11\x22\x33\x44\x55\x66\x77\x88"
35248 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35249 "\x22\x33\x44\x55\x66\x77\x88\x99"
35250 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35251 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
35252 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
35253 .klen = 8 + 32 + 16,
35254 .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
35255 "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
35256 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
35257 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
35258 .alen = 16,
35259 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
35260 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
35261 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
35262 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
35263 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
35264 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
35265 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
35266 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
35267 .plen = 64,
35268 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
35269 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
35270 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
35271 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
35272 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
35273 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
35274 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
35275 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
35276 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
35277 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
35278 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
35279 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
35280 .clen = 64 + 32,
35281 }, {
35282#ifdef __LITTLE_ENDIAN
35283 .key = "\x08\x00" /* rta length */
35284 "\x01\x00" /* rta type */
35285#else
35286 .key = "\x00\x08" /* rta length */
35287 "\x00\x01" /* rta type */
35288#endif
35289 "\x00\x00\x00\x10" /* enc key length */
35290 "\x11\x22\x33\x44\x55\x66\x77\x88"
35291 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35292 "\x22\x33\x44\x55\x66\x77\x88\x99"
35293 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35294 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
35295 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
35296 .klen = 8 + 32 + 16,
35297 .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
35298 "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
35299 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
35300 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
35301 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
35302 .alen = 24,
35303 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
35304 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
35305 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35306 "\x10\x11\x12\x13\x14\x15\x16\x17"
35307 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
35308 "\x20\x21\x22\x23\x24\x25\x26\x27"
35309 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35310 "\x30\x31\x32\x33\x34\x35\x36\x37"
35311 "\x01\x02\x03\x04\x05\x06\x07\x08"
35312 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
35313 .plen = 80,
35314 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
35315 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
35316 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
35317 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
35318 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
35319 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
35320 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
35321 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
35322 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
35323 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
35324 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
35325 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
35326 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
35327 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
35328 .clen = 80 + 32,
35329 }, {
35330#ifdef __LITTLE_ENDIAN
35331 .key = "\x08\x00" /* rta length */
35332 "\x01\x00" /* rta type */
35333#else
35334 .key = "\x00\x08" /* rta length */
35335 "\x00\x01" /* rta type */
35336#endif
35337 "\x00\x00\x00\x18" /* enc key length */
35338 "\x11\x22\x33\x44\x55\x66\x77\x88"
35339 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35340 "\x22\x33\x44\x55\x66\x77\x88\x99"
35341 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35342 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
35343 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
35344 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
35345 .klen = 8 + 32 + 24,
35346 .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
35347 "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
35348 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
35349 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
35350 .alen = 16,
35351 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35352 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35353 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35354 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35355 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35356 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35357 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35358 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35359 .plen = 64,
35360 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
35361 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
35362 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
35363 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
35364 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
35365 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
35366 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
35367 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
35368 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
35369 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
35370 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
35371 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
35372 .clen = 64 + 32,
35373 }, {
35374#ifdef __LITTLE_ENDIAN
35375 .key = "\x08\x00" /* rta length */
35376 "\x01\x00" /* rta type */
35377#else
35378 .key = "\x00\x08" /* rta length */
35379 "\x00\x01" /* rta type */
35380#endif
35381 "\x00\x00\x00\x20" /* enc key length */
35382 "\x11\x22\x33\x44\x55\x66\x77\x88"
35383 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35384 "\x22\x33\x44\x55\x66\x77\x88\x99"
35385 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35386 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
35387 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
35388 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
35389 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
35390 .klen = 8 + 32 + 32,
35391 .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
35392 "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
35393 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
35394 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
35395 .alen = 16,
35396 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35397 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35398 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35399 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35400 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35401 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35402 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35403 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35404 .plen = 64,
35405 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
35406 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
35407 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
35408 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
35409 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
35410 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
35411 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
35412 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
35413 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
35414 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
35415 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
35416 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
35417 .clen = 64 + 32,
35418 },
35419};
35420
35421static const char blake2_ordered_sequence[] =
35422 "\x00\x01\x02\x03\x04\x05\x06\x07"
35423 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35424 "\x10\x11\x12\x13\x14\x15\x16\x17"
35425 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
35426 "\x20\x21\x22\x23\x24\x25\x26\x27"
35427 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35428 "\x30\x31\x32\x33\x34\x35\x36\x37"
35429 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
35430 "\x40\x41\x42\x43\x44\x45\x46\x47"
35431 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
35432 "\x50\x51\x52\x53\x54\x55\x56\x57"
35433 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
35434 "\x60\x61\x62\x63\x64\x65\x66\x67"
35435 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
35436 "\x70\x71\x72\x73\x74\x75\x76\x77"
35437 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
35438 "\x80\x81\x82\x83\x84\x85\x86\x87"
35439 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
35440 "\x90\x91\x92\x93\x94\x95\x96\x97"
35441 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
35442 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
35443 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
35444 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
35445 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
35446 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
35447 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
35448 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
35449 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
35450 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
35451 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
35452 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
35453 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
35454
35455static const struct hash_testvec blake2b_160_tv_template[] = {{
35456 .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
35457 0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
35458 0x79, 0x0b, 0x6c, 0xf2, },
35459}, {
35460 .plaintext = blake2_ordered_sequence,
35461 .psize = 64,
35462 .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
35463 0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
35464 0xf7, 0x6d, 0x8e, 0xc8, },
35465}, {
35466 .ksize = 32,
35467 .key = blake2_ordered_sequence,
35468 .plaintext = blake2_ordered_sequence,
35469 .psize = 1,
35470 .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
35471 0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
35472 0x56, 0x2f, 0x79, 0x4c, },
35473}, {
35474 .ksize = 64,
35475 .key = blake2_ordered_sequence,
35476 .plaintext = blake2_ordered_sequence,
35477 .psize = 7,
35478 .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
35479 0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
35480 0x74, 0x2a, 0x53, 0x17, },
35481}, {
35482 .ksize = 1,
35483 .key = "B",
35484 .plaintext = blake2_ordered_sequence,
35485 .psize = 15,
35486 .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
35487 0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
35488 0xd5, 0x03, 0x1d, 0x81, },
35489}, {
35490 .ksize = 32,
35491 .key = blake2_ordered_sequence,
35492 .plaintext = blake2_ordered_sequence,
35493 .psize = 247,
35494 .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
35495 0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
35496 0x1c, 0xc4, 0x25, 0x95, },
35497}, {
35498 .ksize = 64,
35499 .key = blake2_ordered_sequence,
35500 .plaintext = blake2_ordered_sequence,
35501 .psize = 256,
35502 .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
35503 0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
35504 0x95, 0xaf, 0x29, 0x16, },
35505}};
35506
35507static const struct hash_testvec blake2b_256_tv_template[] = {{
35508 .plaintext = blake2_ordered_sequence,
35509 .psize = 7,
35510 .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
35511 0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
35512 0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
35513 0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
35514}, {
35515 .plaintext = blake2_ordered_sequence,
35516 .psize = 256,
35517 .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
35518 0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
35519 0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
35520 0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
35521}, {
35522 .ksize = 1,
35523 .key = "B",
35524 .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
35525 0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
35526 0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
35527 0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
35528}, {
35529 .ksize = 64,
35530 .key = blake2_ordered_sequence,
35531 .plaintext = blake2_ordered_sequence,
35532 .psize = 1,
35533 .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
35534 0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
35535 0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
35536 0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
35537}, {
35538 .ksize = 32,
35539 .key = blake2_ordered_sequence,
35540 .plaintext = blake2_ordered_sequence,
35541 .psize = 15,
35542 .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
35543 0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
35544 0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
35545 0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
35546}, {
35547 .ksize = 1,
35548 .key = "B",
35549 .plaintext = blake2_ordered_sequence,
35550 .psize = 64,
35551 .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
35552 0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
35553 0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
35554 0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
35555}, {
35556 .ksize = 64,
35557 .key = blake2_ordered_sequence,
35558 .plaintext = blake2_ordered_sequence,
35559 .psize = 247,
35560 .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
35561 0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
35562 0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
35563 0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
35564}};
35565
35566static const struct hash_testvec blake2b_384_tv_template[] = {{
35567 .plaintext = blake2_ordered_sequence,
35568 .psize = 1,
35569 .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
35570 0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
35571 0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
35572 0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
35573 0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
35574 0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
35575}, {
35576 .plaintext = blake2_ordered_sequence,
35577 .psize = 247,
35578 .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
35579 0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
35580 0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
35581 0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
35582 0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
35583 0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
35584}, {
35585 .ksize = 32,
35586 .key = blake2_ordered_sequence,
35587 .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
35588 0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
35589 0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
35590 0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
35591 0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
35592 0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
35593}, {
35594 .ksize = 1,
35595 .key = "B",
35596 .plaintext = blake2_ordered_sequence,
35597 .psize = 7,
35598 .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
35599 0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
35600 0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
35601 0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
35602 0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
35603 0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
35604}, {
35605 .ksize = 64,
35606 .key = blake2_ordered_sequence,
35607 .plaintext = blake2_ordered_sequence,
35608 .psize = 15,
35609 .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
35610 0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
35611 0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
35612 0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
35613 0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
35614 0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
35615}, {
35616 .ksize = 32,
35617 .key = blake2_ordered_sequence,
35618 .plaintext = blake2_ordered_sequence,
35619 .psize = 64,
35620 .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
35621 0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
35622 0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
35623 0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
35624 0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
35625 0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
35626}, {
35627 .ksize = 1,
35628 .key = "B",
35629 .plaintext = blake2_ordered_sequence,
35630 .psize = 256,
35631 .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
35632 0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
35633 0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
35634 0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
35635 0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
35636 0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
35637}};
35638
35639static const struct hash_testvec blake2b_512_tv_template[] = {{
35640 .plaintext = blake2_ordered_sequence,
35641 .psize = 15,
35642 .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
35643 0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
35644 0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
35645 0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
35646 0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
35647 0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
35648 0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
35649 0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
35650}, {
35651 .ksize = 64,
35652 .key = blake2_ordered_sequence,
35653 .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
35654 0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
35655 0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
35656 0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
35657 0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
35658 0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
35659 0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
35660 0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
35661}, {
35662 .ksize = 1,
35663 .key = "B",
35664 .plaintext = blake2_ordered_sequence,
35665 .psize = 1,
35666 .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
35667 0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
35668 0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
35669 0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
35670 0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
35671 0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
35672 0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
35673 0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
35674}, {
35675 .ksize = 32,
35676 .key = blake2_ordered_sequence,
35677 .plaintext = blake2_ordered_sequence,
35678 .psize = 7,
35679 .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
35680 0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
35681 0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
35682 0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
35683 0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
35684 0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
35685 0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
35686 0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
35687}, {
35688 .ksize = 64,
35689 .key = blake2_ordered_sequence,
35690 .plaintext = blake2_ordered_sequence,
35691 .psize = 64,
35692 .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
35693 0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
35694 0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
35695 0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
35696 0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
35697 0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
35698 0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
35699 0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
35700}, {
35701 .ksize = 1,
35702 .key = "B",
35703 .plaintext = blake2_ordered_sequence,
35704 .psize = 247,
35705 .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
35706 0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
35707 0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
35708 0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
35709 0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
35710 0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
35711 0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
35712 0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
35713}, {
35714 .ksize = 32,
35715 .key = blake2_ordered_sequence,
35716 .plaintext = blake2_ordered_sequence,
35717 .psize = 256,
35718 .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
35719 0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
35720 0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
35721 0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
35722 0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
35723 0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
35724 0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
35725 0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
35726}};
35727
35728/*
35729 * Test vectors generated using https://github.com/google/hctr2
35730 */
35731static const struct cipher_testvec aes_xctr_tv_template[] = {
35732 {
35733 .key = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
35734 "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
35735 .iv = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
35736 "\xba\xea\x6e\x69\x03\x33\x86\x0f",
35737 .ptext = "\xbd",
35738 .ctext = "\xb9",
35739 .klen = 16,
35740 .len = 1,
35741 },
35742 {
35743 .key = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
35744 "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
35745 .iv = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
35746 "\x4a\xda\x15\x07\x73\xd9\x88\x10",
35747 .ptext = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
35748 "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
35749 .ctext = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
35750 "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
35751 .klen = 16,
35752 .len = 16,
35753 },
35754 {
35755 .key = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
35756 "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
35757 .iv = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
35758 "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
35759 .ptext = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
35760 "\xef\xf2\x53\xab\x24\xe2\x29\x08"
35761 "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
35762 "\x97\x63\x93\x29\x71\x94\xb4",
35763 .ctext = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
35764 "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
35765 "\x48\x45\x07\x10\x34\xc5\xba\x71"
35766 "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
35767 .klen = 16,
35768 .len = 31,
35769 },
35770 {
35771 .key = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
35772 "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
35773 .iv = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
35774 "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
35775 .ptext = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
35776 "\x62\x46\x87\xf0\xde\xab\x81\x36"
35777 "\x63\x53\x11\xa0\x1f\xce\x25\x85"
35778 "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
35779 "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
35780 "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
35781 "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
35782 "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
35783 "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
35784 "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
35785 "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
35786 "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
35787 "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
35788 "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
35789 "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
35790 "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
35791 .ctext = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
35792 "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
35793 "\x08\x55\x95\xae\xd7\x22\x77\x40"
35794 "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
35795 "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
35796 "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
35797 "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
35798 "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
35799 "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
35800 "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
35801 "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
35802 "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
35803 "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
35804 "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
35805 "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
35806 "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
35807 .klen = 16,
35808 .len = 128,
35809 },
35810 {
35811 .key = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
35812 "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
35813 .iv = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
35814 "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
35815 .ptext = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
35816 "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
35817 "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
35818 "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
35819 "\x69\x5c\x93\x79\x23\x86\x64\x85"
35820 "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
35821 "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
35822 "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
35823 "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
35824 "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
35825 "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
35826 "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
35827 "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
35828 "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
35829 "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
35830 "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
35831 "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
35832 "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
35833 "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
35834 "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
35835 "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
35836 "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
35837 "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
35838 "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
35839 "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
35840 "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
35841 "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
35842 "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
35843 "\x20\x71\x76\x47\x76\x96\x89\xa0"
35844 "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
35845 "\x60\x33\x59\x04\x95\x89\xf6\x18"
35846 "\x1d\x70\x75\x85\x3a\xb7\x6e",
35847 .ctext = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
35848 "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
35849 "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
35850 "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
35851 "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
35852 "\x54\x58\x20\x4f\x70\x01\x52\x5b"
35853 "\xac\x95\x61\x49\x5f\xef\xba\xce"
35854 "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
35855 "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
35856 "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
35857 "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
35858 "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
35859 "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
35860 "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
35861 "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
35862 "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
35863 "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
35864 "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
35865 "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
35866 "\xed\x6d\x11\x09\x47\x72\x32\x6a"
35867 "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
35868 "\x69\xf1\x59\x00\x36\x95\x28\x2a"
35869 "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
35870 "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
35871 "\x61\xde\xea\x99\x84\x7a\x27\xf6"
35872 "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
35873 "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
35874 "\x5f\x75\x74\x97\x91\x54\xda\xc2"
35875 "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
35876 "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
35877 "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
35878 "\x9f\xc3\x74\x57\x5f\x03\x4c",
35879 .klen = 16,
35880 .len = 255,
35881 },
35882 {
35883 .key = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
35884 "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
35885 "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
35886 .iv = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
35887 "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
35888 .ptext = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
35889 "\x44\xc2\x98\xf9\xa8\x0a\x0b",
35890 .ctext = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
35891 "\x74\x67\x18\xf9\x37\xed\xed",
35892 .klen = 24,
35893 .len = 15,
35894 },
35895 {
35896 .key = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
35897 "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
35898 "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
35899 .iv = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
35900 "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
35901 .ptext = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
35902 "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
35903 "\x36",
35904 .ctext = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
35905 "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
35906 "\x05",
35907 .klen = 24,
35908 .len = 17,
35909 },
35910 {
35911 .key = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
35912 "\x50\x90\x19\x93\xc0\x33\xcf\x80"
35913 "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
35914 .iv = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
35915 "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
35916 .ptext = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
35917 "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
35918 "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
35919 "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
35920 "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
35921 "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
35922 .ctext = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
35923 "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
35924 "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
35925 "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
35926 "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
35927 "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
35928 .klen = 24,
35929 .len = 48,
35930 },
35931 {
35932 .key = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
35933 "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
35934 "\xef\xde\x42\x09\xbf\x34\x95\xb2",
35935 .iv = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
35936 "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
35937 .ptext = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
35938 "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
35939 "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
35940 "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
35941 "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
35942 "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
35943 "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
35944 "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
35945 "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
35946 "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
35947 "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
35948 "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
35949 "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
35950 "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
35951 "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
35952 "\x14\xf2\x87\x23\x61\xab\x82\xcb"
35953 "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
35954 "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
35955 "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
35956 "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
35957 "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
35958 "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
35959 "\x79\xed\x57\x50\x36\xd2\x93\xa4"
35960 "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
35961 "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
35962 "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
35963 "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
35964 "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
35965 "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
35966 "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
35967 "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
35968 "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
35969 "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
35970 "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
35971 "\x85\x4b\x03\x54\xea\x34\x1c\x41"
35972 "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
35973 "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
35974 "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
35975 "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
35976 "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
35977 "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
35978 "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
35979 "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
35980 "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
35981 "\xff\x88\xf5\x37\x02\x33\x24\xfc"
35982 "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
35983 "\x53\x19\x99\x32\xe4\xde\x18\xf4"
35984 "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
35985 "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
35986 "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
35987 "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
35988 "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
35989 "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
35990 "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
35991 "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
35992 "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
35993 "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
35994 "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
35995 "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
35996 "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
35997 "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
35998 "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
35999 "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
36000 "\x69\xaf\xde\x89\x68\x88\xf0\x71",
36001 .ctext = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
36002 "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
36003 "\x79\xba\xa0\x15\xa4\x55\x20\xec"
36004 "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
36005 "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
36006 "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
36007 "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
36008 "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
36009 "\xff\x17\xfa\xa2\x94\x93\x11\x42"
36010 "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
36011 "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
36012 "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
36013 "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
36014 "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
36015 "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
36016 "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
36017 "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
36018 "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
36019 "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
36020 "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
36021 "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
36022 "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
36023 "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
36024 "\x38\x18\x7d\x90\x90\xf9\x12\x57"
36025 "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
36026 "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
36027 "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
36028 "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
36029 "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
36030 "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
36031 "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
36032 "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
36033 "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
36034 "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
36035 "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
36036 "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
36037 "\x0b\xc2\xda\x42\x40\x34\x16\xed"
36038 "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
36039 "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
36040 "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
36041 "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
36042 "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
36043 "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
36044 "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
36045 "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
36046 "\x51\x5e\x31\xac\x03\x81\xab\x61"
36047 "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
36048 "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
36049 "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
36050 "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
36051 "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
36052 "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
36053 "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
36054 "\x6e\x58\x11\x90\x03\x26\x74\x2a"
36055 "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
36056 "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
36057 "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
36058 "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
36059 "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
36060 "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
36061 "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
36062 "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
36063 "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
36064 "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
36065 .klen = 24,
36066 .len = 512,
36067 },
36068 {
36069 .key = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
36070 "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
36071 "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
36072 "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
36073 .iv = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
36074 "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
36075 .ptext = "\x78",
36076 .ctext = "\xc5",
36077 .klen = 32,
36078 .len = 1,
36079 },
36080 {
36081 .key = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
36082 "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
36083 "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
36084 "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
36085 .iv = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
36086 "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
36087 .ptext = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
36088 "\x96\x33\x07\x54\xe4\x8e\x20",
36089 .ctext = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
36090 "\xca\x7b\x9f\x50\xe3\x21\xea",
36091 .klen = 32,
36092 .len = 15,
36093 },
36094 {
36095 .key = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
36096 "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
36097 "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
36098 "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
36099 .iv = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
36100 "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
36101 .ptext = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
36102 "\xae\x94\x20\x58\x7e\x00\x93\x89",
36103 .ctext = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
36104 "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
36105 .klen = 32,
36106 .len = 16,
36107 },
36108 {
36109 .key = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
36110 "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
36111 "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
36112 "\x59\x62\x60\xec\x69\x9c\x16\x45",
36113 .iv = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
36114 "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
36115 .ptext = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
36116 "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
36117 "\x52",
36118 .ctext = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
36119 "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
36120 "\xc6",
36121 .klen = 32,
36122 .len = 17,
36123 },
36124 {
36125 .key = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
36126 "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
36127 "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
36128 "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
36129 .iv = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
36130 "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
36131 .ptext = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
36132 "\x40\x93\x56\x93\x66\x39\x63\x1f"
36133 "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
36134 "\xf5\x66\x74\x16\xfc\xe4\xce",
36135 .ctext = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
36136 "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
36137 "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
36138 "\x88\x29\xe9\xea\x4a\x8d\xe9",
36139 .klen = 32,
36140 .len = 31,
36141 },
36142 {
36143 .key = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
36144 "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
36145 "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
36146 "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
36147 .iv = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
36148 "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
36149 .ptext = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
36150 "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
36151 "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
36152 "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
36153 "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
36154 "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
36155 .ctext = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
36156 "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
36157 "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
36158 "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
36159 "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
36160 "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
36161 .klen = 32,
36162 .len = 48,
36163 },
36164 {
36165 .key = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
36166 "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
36167 "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
36168 "\x16\x1e\x00\x97\x37\x08\xb7\x16",
36169 .iv = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
36170 "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
36171 .ptext = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
36172 "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
36173 "\x55\xca\x65\x86\x44\xfb\xfe\x91"
36174 "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
36175 "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
36176 "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
36177 "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
36178 "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
36179 "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
36180 "\x3f\x86\xee\x61\x13\x21\xd4\xde"
36181 "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
36182 "\x73\xcf\x08\x69\x44\x4e\xde\x25"
36183 "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
36184 "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
36185 "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
36186 "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
36187 .ctext = "\xa3\x78\x33\x78\x95\x95\x97\x07"
36188 "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
36189 "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
36190 "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
36191 "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
36192 "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
36193 "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
36194 "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
36195 "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
36196 "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
36197 "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
36198 "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
36199 "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
36200 "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
36201 "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
36202 "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
36203 .klen = 32,
36204 .len = 128,
36205 },
36206 {
36207 .key = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
36208 "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
36209 "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
36210 "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
36211 .iv = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
36212 "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
36213 .ptext = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
36214 "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
36215 "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
36216 "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
36217 "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
36218 "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
36219 "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
36220 "\xa2\x52\x48\x71\x90\x5d\xda\x40"
36221 "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
36222 "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
36223 "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
36224 "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
36225 "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
36226 "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
36227 "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
36228 "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
36229 "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
36230 "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
36231 "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
36232 "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
36233 "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
36234 "\xd2\x50\xac\x35\x15\x45\x05\xb4"
36235 "\x4d\x31\x97\x19\x87\x23\x4b\x87"
36236 "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
36237 "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
36238 "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
36239 "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
36240 "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
36241 "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
36242 "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
36243 "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
36244 "\x04\x86\xcb\x47\xfa\x5d\x03",
36245 .ctext = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
36246 "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
36247 "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
36248 "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
36249 "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
36250 "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
36251 "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
36252 "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
36253 "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
36254 "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
36255 "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
36256 "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
36257 "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
36258 "\x17\xcd\x01\x12\xf0\x35\x27\x96"
36259 "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
36260 "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
36261 "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
36262 "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
36263 "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
36264 "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
36265 "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
36266 "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
36267 "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
36268 "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
36269 "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
36270 "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
36271 "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
36272 "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
36273 "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
36274 "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
36275 "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
36276 "\xff\xd6\x50\xa3\x0e\x20\x71",
36277 .klen = 32,
36278 .len = 255,
36279 },
36280 {
36281 .key = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
36282 "\x15\x11\x79\x39\xed\x26\x5e\xf6"
36283 "\xda\xcf\x33\x4f\x82\x97\xab\x10"
36284 "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
36285 .iv = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
36286 "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
36287 .ptext = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
36288 "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
36289 "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
36290 "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
36291 "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
36292 "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
36293 "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
36294 "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
36295 "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
36296 "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
36297 "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
36298 "\x79\x0e\x88\x88\xde\x93\xe3\x81"
36299 "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
36300 "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
36301 "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
36302 "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
36303 "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
36304 "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
36305 "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
36306 "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
36307 "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
36308 "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
36309 "\x02\x77\x29\x30\x65\x59\x4b\x20"
36310 "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
36311 "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
36312 "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
36313 "\x09\xe4\x23\xb0\x62\xad\x17\x28"
36314 "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
36315 "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
36316 "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
36317 "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
36318 "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
36319 "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
36320 "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
36321 "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
36322 "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
36323 "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
36324 "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
36325 "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
36326 "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
36327 "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
36328 "\x44\x62\x12\x04\x55\x5c\x48\xd3"
36329 "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
36330 "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
36331 "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
36332 "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
36333 "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
36334 "\x45\x28\x12\xc6\x26\xae\xea\x7c"
36335 "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
36336 "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
36337 "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
36338 "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
36339 "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
36340 "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
36341 "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
36342 "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
36343 "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
36344 "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
36345 "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
36346 "\xec\xc7\xef\x84\xae\x60\xa2\x61"
36347 "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
36348 "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
36349 "\x08\x3b\x32\x75\x35\x22\x7a\x65"
36350 "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
36351 .ctext = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
36352 "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
36353 "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
36354 "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
36355 "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
36356 "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
36357 "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
36358 "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
36359 "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
36360 "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
36361 "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
36362 "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
36363 "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
36364 "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
36365 "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
36366 "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
36367 "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
36368 "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
36369 "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
36370 "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
36371 "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
36372 "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
36373 "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
36374 "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
36375 "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
36376 "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
36377 "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
36378 "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
36379 "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
36380 "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
36381 "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
36382 "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
36383 "\x42\xfc\x22\x17\xee\x96\x51\x2a"
36384 "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
36385 "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
36386 "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
36387 "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
36388 "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
36389 "\x46\x40\x2b\x47\x85\x3c\x21\x90"
36390 "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
36391 "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
36392 "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
36393 "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
36394 "\xed\x99\x4f\x32\x80\x00\x7e\x73"
36395 "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
36396 "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
36397 "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
36398 "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
36399 "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
36400 "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
36401 "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
36402 "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
36403 "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
36404 "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
36405 "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
36406 "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
36407 "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
36408 "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
36409 "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
36410 "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
36411 "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
36412 "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
36413 "\x18\x89\x3d\x39\xac\x36\x6f\x05"
36414 "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
36415 .klen = 32,
36416 .len = 512,
36417 },
36418
36419};
36420
36421/*
36422 * Test vectors generated using https://github.com/google/hctr2
36423 */
36424static const struct cipher_testvec aes_hctr2_tv_template[] = {
36425 {
36426 .key = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
36427 "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
36428 .iv = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
36429 "\x91\xad\x6c\xf4\xde\x74\x45\x63"
36430 "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
36431 "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
36432 .ptext = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
36433 "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
36434 .ctext = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
36435 "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
36436 .klen = 16,
36437 .len = 16,
36438 },
36439 {
36440 .key = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
36441 "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
36442 .iv = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
36443 "\x68\x87\xbc\xf6\x89\xff\xed\x30"
36444 "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
36445 "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
36446 .ptext = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
36447 "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
36448 "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
36449 "\x40\x1d\x72\xae\x53\x63\xa5",
36450 .ctext = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
36451 "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
36452 "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
36453 "\x0a\xa0\xff\x72\x10\x7b\x22",
36454 .klen = 16,
36455 .len = 31,
36456 },
36457 {
36458 .key = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
36459 "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
36460 .iv = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
36461 "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
36462 "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
36463 "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
36464 .ptext = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
36465 "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
36466 "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
36467 "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
36468 "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
36469 "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
36470 "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
36471 "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
36472 "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
36473 "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
36474 "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
36475 "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
36476 "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
36477 "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
36478 "\xfa\x11\x37\x40\x32\x09\x4c\x47"
36479 "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
36480 .ctext = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
36481 "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
36482 "\x49\xff\x59\x42\x68\xbd\x87\x8f"
36483 "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
36484 "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
36485 "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
36486 "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
36487 "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
36488 "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
36489 "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
36490 "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
36491 "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
36492 "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
36493 "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
36494 "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
36495 "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
36496 .klen = 16,
36497 .len = 128,
36498 },
36499 {
36500 .key = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
36501 "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
36502 .iv = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
36503 "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
36504 "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
36505 "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
36506 .ptext = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
36507 "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
36508 "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
36509 "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
36510 "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
36511 "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
36512 "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
36513 "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
36514 "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
36515 "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
36516 "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
36517 "\xa4\x37\x94\x86\xb0\x13\x83\x28"
36518 "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
36519 "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
36520 "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
36521 "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
36522 "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
36523 "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
36524 "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
36525 "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
36526 "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
36527 "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
36528 "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
36529 "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
36530 "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
36531 "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
36532 "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
36533 "\xa0\x57\x45\x57\x29\x47\x6b\x89"
36534 "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
36535 "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
36536 "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
36537 "\x17\x41\x87\x91\xfc\x97\x42",
36538 .ctext = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
36539 "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
36540 "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
36541 "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
36542 "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
36543 "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
36544 "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
36545 "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
36546 "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
36547 "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
36548 "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
36549 "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
36550 "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
36551 "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
36552 "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
36553 "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
36554 "\x78\x59\xde\xba\x4d\x2c\x78\x61"
36555 "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
36556 "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
36557 "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
36558 "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
36559 "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
36560 "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
36561 "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
36562 "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
36563 "\x11\xa0\x99\xfd\x90\xde\x59\x43"
36564 "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
36565 "\x0b\x07\x17\x59\x6a\xab\xca\x15"
36566 "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
36567 "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
36568 "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
36569 "\xda\x8b\x1d\x5d\x6f\x21\x6c",
36570 .klen = 16,
36571 .len = 255,
36572 },
36573 {
36574 .key = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
36575 "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
36576 "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
36577 .iv = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
36578 "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
36579 "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
36580 "\x90\x85\x43\x97\xc4\x62\x14\x33",
36581 .ptext = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
36582 "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
36583 "\xaa",
36584 .ctext = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
36585 "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
36586 "\xf1",
36587 .klen = 24,
36588 .len = 17,
36589 },
36590 {
36591 .key = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
36592 "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
36593 "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
36594 .iv = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
36595 "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
36596 "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
36597 "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
36598 .ptext = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
36599 "\x75\xe7\x8e\x39\x86\xec\x20\x43"
36600 "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
36601 "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
36602 "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
36603 "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
36604 .ctext = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
36605 "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
36606 "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
36607 "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
36608 "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
36609 "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
36610 .klen = 24,
36611 .len = 48,
36612 },
36613 {
36614 .key = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
36615 "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
36616 "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
36617 .iv = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
36618 "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
36619 "\x3f\xd8\x64\x48\x80\x04\xee\x43"
36620 "\x02\xce\x88\xe2\x81\x81\x5f\x81",
36621 .ptext = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
36622 "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
36623 "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
36624 "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
36625 "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
36626 "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
36627 "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
36628 "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
36629 "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
36630 "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
36631 "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
36632 "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
36633 "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
36634 "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
36635 "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
36636 "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
36637 "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
36638 "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
36639 "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
36640 "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
36641 "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
36642 "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
36643 "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
36644 "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
36645 "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
36646 "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
36647 "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
36648 "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
36649 "\x56\x48\x17\x86\x14\x51\x5c\x10"
36650 "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
36651 "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
36652 "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
36653 "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
36654 "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
36655 "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
36656 "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
36657 "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
36658 "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
36659 "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
36660 "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
36661 "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
36662 "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
36663 "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
36664 "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
36665 "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
36666 "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
36667 "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
36668 "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
36669 "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
36670 "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
36671 "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
36672 "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
36673 "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
36674 "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
36675 "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
36676 "\x60\x65\x85\x84\x2c\x60\xcf\x61"
36677 "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
36678 "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
36679 "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
36680 "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
36681 "\x08\xb0\x3a\x74\xde\x97\x51\xff"
36682 "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
36683 "\x27\x70\x52\x86\x1b\x78\xfc\x18"
36684 "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
36685 .ctext = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
36686 "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
36687 "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
36688 "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
36689 "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
36690 "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
36691 "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
36692 "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
36693 "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
36694 "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
36695 "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
36696 "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
36697 "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
36698 "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
36699 "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
36700 "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
36701 "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
36702 "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
36703 "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
36704 "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
36705 "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
36706 "\xbe\xad\x61\x84\xac\xde\x76\xb5"
36707 "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
36708 "\x3f\x71\xfb\x58\x37\x34\x82\xed"
36709 "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
36710 "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
36711 "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
36712 "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
36713 "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
36714 "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
36715 "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
36716 "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
36717 "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
36718 "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
36719 "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
36720 "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
36721 "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
36722 "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
36723 "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
36724 "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
36725 "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
36726 "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
36727 "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
36728 "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
36729 "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
36730 "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
36731 "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
36732 "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
36733 "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
36734 "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
36735 "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
36736 "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
36737 "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
36738 "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
36739 "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
36740 "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
36741 "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
36742 "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
36743 "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
36744 "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
36745 "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
36746 "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
36747 "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
36748 "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
36749 .klen = 24,
36750 .len = 512,
36751 },
36752 {
36753 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
36754 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
36755 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
36756 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
36757 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
36758 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
36759 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
36760 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
36761 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
36762 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
36763 .ctext = "\x27\x38\x78\x47\x16\xd9\x71\x35"
36764 "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
36765 .klen = 32,
36766 .len = 16,
36767 },
36768 {
36769 .key = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
36770 "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
36771 "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
36772 "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
36773 .iv = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
36774 "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
36775 "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
36776 "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
36777 .ptext = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
36778 "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
36779 "\x6f",
36780 .ctext = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
36781 "\xc2\xac\x57\x88\x48\x6d\x40\x72"
36782 "\x68",
36783 .klen = 32,
36784 .len = 17,
36785 },
36786 {
36787 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
36788 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
36789 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
36790 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
36791 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
36792 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
36793 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
36794 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
36795 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
36796 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
36797 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
36798 "\x43\x5a\x46\x06\x94\x2d\xf2",
36799 .ctext = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
36800 "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
36801 "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
36802 "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
36803 .klen = 32,
36804 .len = 31,
36805 },
36806 {
36807 .key = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
36808 "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
36809 "\xa0\x91\x21\xbe\x62\x89\xde\x78"
36810 "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
36811 .iv = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
36812 "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
36813 "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
36814 "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
36815 .ptext = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
36816 "\x33\x41\x21\x51\x51\x63\x2c\x72"
36817 "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
36818 "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
36819 "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
36820 "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
36821 .ctext = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
36822 "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
36823 "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
36824 "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
36825 "\x8e\xcc\x27\x62\x00\x64\x56\x72"
36826 "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
36827 .klen = 32,
36828 .len = 48,
36829 },
36830 {
36831 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
36832 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
36833 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
36834 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
36835 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
36836 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
36837 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
36838 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
36839 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
36840 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
36841 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
36842 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
36843 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
36844 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
36845 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
36846 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
36847 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
36848 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
36849 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
36850 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
36851 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
36852 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
36853 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
36854 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
36855 .ctext = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
36856 "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
36857 "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
36858 "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
36859 "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
36860 "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
36861 "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
36862 "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
36863 "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
36864 "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
36865 "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
36866 "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
36867 "\x10\xa6\x48\x76\x98\x43\x94\xa3"
36868 "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
36869 "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
36870 "\x84\x33\x5a\x1b\x24\x46\x31\x92",
36871 .klen = 32,
36872 .len = 128,
36873 },
36874 {
36875 .key = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
36876 "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
36877 "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
36878 "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
36879 .iv = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
36880 "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
36881 "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
36882 "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
36883 .ptext = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
36884 "\xd9\x48\x01\x93\x2f\x79\x55\x29"
36885 "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
36886 "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
36887 "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
36888 "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
36889 "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
36890 "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
36891 "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
36892 "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
36893 "\x83\x89\x24\xca\xfb\x11\xd4\x82"
36894 "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
36895 "\x84\xea\x47\x91\x8c\x19\x86\x25"
36896 "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
36897 "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
36898 "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
36899 "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
36900 "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
36901 "\x17\xa0\x84\x98\x31\x77\xfd\x34"
36902 "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
36903 "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
36904 "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
36905 "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
36906 "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
36907 "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
36908 "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
36909 "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
36910 "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
36911 "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
36912 "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
36913 "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
36914 "\xb0\x95\x9f\x8f\x79\x41\x54",
36915 .ctext = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
36916 "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
36917 "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
36918 "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
36919 "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
36920 "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
36921 "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
36922 "\x24\x3e\x90\x25\x31\x14\x38\x45"
36923 "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
36924 "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
36925 "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
36926 "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
36927 "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
36928 "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
36929 "\x50\x50\x3e\xde\x8d\x72\x76\x01"
36930 "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
36931 "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
36932 "\xc8\x73\x46\x26\x24\x29\xbf\x68"
36933 "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
36934 "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
36935 "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
36936 "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
36937 "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
36938 "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
36939 "\x56\x98\x69\x78\x3a\x9e\xae\x91"
36940 "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
36941 "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
36942 "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
36943 "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
36944 "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
36945 "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
36946 "\xdb\x4c\x65\x21\x9e\x1c\x36",
36947 .klen = 32,
36948 .len = 255,
36949 },
36950 {
36951 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
36952 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
36953 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
36954 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
36955 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
36956 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
36957 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
36958 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
36959 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
36960 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
36961 "\x05\xa3\x69\x60\x91\x36\x98\x57"
36962 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
36963 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
36964 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
36965 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
36966 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
36967 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
36968 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
36969 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
36970 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
36971 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
36972 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
36973 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
36974 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
36975 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
36976 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
36977 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
36978 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
36979 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
36980 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
36981 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
36982 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
36983 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
36984 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
36985 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
36986 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
36987 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
36988 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
36989 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
36990 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
36991 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
36992 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
36993 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
36994 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
36995 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
36996 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
36997 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
36998 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
36999 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
37000 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
37001 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
37002 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
37003 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
37004 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
37005 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
37006 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
37007 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
37008 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
37009 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
37010 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
37011 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
37012 "\x17\x7c\x25\x48\x52\x67\x11\x27"
37013 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
37014 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
37015 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
37016 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
37017 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
37018 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
37019 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
37020 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
37021 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
37022 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
37023 .ctext = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
37024 "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
37025 "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
37026 "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
37027 "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
37028 "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
37029 "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
37030 "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
37031 "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
37032 "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
37033 "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
37034 "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
37035 "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
37036 "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
37037 "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
37038 "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
37039 "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
37040 "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
37041 "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
37042 "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
37043 "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
37044 "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
37045 "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
37046 "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
37047 "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
37048 "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
37049 "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
37050 "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
37051 "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
37052 "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
37053 "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
37054 "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
37055 "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
37056 "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
37057 "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
37058 "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
37059 "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
37060 "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
37061 "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
37062 "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
37063 "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
37064 "\xa5\x25\xe5\x22\xea\x82\x55\x68"
37065 "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
37066 "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
37067 "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
37068 "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
37069 "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
37070 "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
37071 "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
37072 "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
37073 "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
37074 "\x43\xf9\x71\x39\x45\x7c\x24\x83"
37075 "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
37076 "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
37077 "\xee\x58\x35\x61\x12\x19\xda\x25"
37078 "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
37079 "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
37080 "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
37081 "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
37082 "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
37083 "\x40\xf2\x80\xab\x62\xd5\xef\x23"
37084 "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
37085 "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
37086 "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
37087 .klen = 32,
37088 .len = 512,
37089 },
37090
37091};
37092
37093#ifdef __LITTLE_ENDIAN
37094#define AUTHENC_KEY_HEADER(enckeylen) \
37095 "\x08\x00\x01\x00" /* LE rtattr */ \
37096 enckeylen /* crypto_authenc_key_param */
37097#else
37098#define AUTHENC_KEY_HEADER(enckeylen) \
37099 "\x00\x08\x00\x01" /* BE rtattr */ \
37100 enckeylen /* crypto_authenc_key_param */
37101#endif
37102
37103static const struct aead_testvec krb5_test_aes128_cts_hmac_sha256_128[] = {
37104 /* rfc8009 Appendix A */
37105 {
37106 /* "enc no plain" */
37107 .key =
37108 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37109 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
37110 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
37111 .klen = 4 + 4 + 16 + 16,
37112 .ptext =
37113 "\x7E\x58\x95\xEA\xF2\x67\x24\x35\xBA\xD8\x17\xF5\x45\xA3\x71\x48" // Confounder
37114 "", // Plain
37115 .plen = 16 + 0,
37116 .ctext =
37117 "\xEF\x85\xFB\x89\x0B\xB8\x47\x2F\x4D\xAB\x20\x39\x4D\xCA\x78\x1D"
37118 "\xAD\x87\x7E\xDA\x39\xD5\x0C\x87\x0C\x0D\x5A\x0A\x8E\x48\xC7\x18",
37119 .clen = 16 + 0 + 16,
37120 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37121 .alen = 16,
37122 }, {
37123 /* "enc plain<block" */
37124 .key =
37125 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37126 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
37127 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
37128 .klen = 4 + 4 + 16 + 16,
37129 .ptext =
37130 "\x7B\xCA\x28\x5E\x2F\xD4\x13\x0F\xB5\x5B\x1A\x5C\x83\xBC\x5B\x24" // Confounder
37131 "\x00\x01\x02\x03\x04\x05", // Plain
37132 .plen = 16 + 6,
37133 .ctext =
37134 "\x84\xD7\xF3\x07\x54\xED\x98\x7B\xAB\x0B\xF3\x50\x6B\xEB\x09\xCF"
37135 "\xB5\x54\x02\xCE\xF7\xE6\x87\x7C\xE9\x9E\x24\x7E\x52\xD1\x6E\xD4"
37136 "\x42\x1D\xFD\xF8\x97\x6C",
37137 .clen = 16 + 6 + 16,
37138 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37139 .alen = 16,
37140 }, {
37141 /* "enc plain==block" */
37142 .key =
37143 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37144 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
37145 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
37146 .klen = 4 + 4 + 16 + 16,
37147 .ptext =
37148 "\x56\xAB\x21\x71\x3F\xF6\x2C\x0A\x14\x57\x20\x0F\x6F\xA9\x94\x8F" // Confounder
37149 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F", // Plain
37150 .plen = 16 + 16,
37151 .ctext =
37152 "\x35\x17\xD6\x40\xF5\x0D\xDC\x8A\xD3\x62\x87\x22\xB3\x56\x9D\x2A"
37153 "\xE0\x74\x93\xFA\x82\x63\x25\x40\x80\xEA\x65\xC1\x00\x8E\x8F\xC2"
37154 "\x95\xFB\x48\x52\xE7\xD8\x3E\x1E\x7C\x48\xC3\x7E\xEB\xE6\xB0\xD3",
37155 .clen = 16 + 16 + 16,
37156 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37157 .alen = 16,
37158 }, {
37159 /* "enc plain>block" */
37160 .key =
37161 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37162 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
37163 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
37164 .klen = 4 + 4 + 16 + 16,
37165 .ptext =
37166 "\xA7\xA4\xE2\x9A\x47\x28\xCE\x10\x66\x4F\xB6\x4E\x49\xAD\x3F\xAC" // Confounder
37167 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"
37168 "\x10\x11\x12\x13\x14", // Plain
37169 .plen = 16 + 21,
37170 .ctext =
37171 "\x72\x0F\x73\xB1\x8D\x98\x59\xCD\x6C\xCB\x43\x46\x11\x5C\xD3\x36"
37172 "\xC7\x0F\x58\xED\xC0\xC4\x43\x7C\x55\x73\x54\x4C\x31\xC8\x13\xBC"
37173 "\xE1\xE6\xD0\x72\xC1\x86\xB3\x9A\x41\x3C\x2F\x92\xCA\x9B\x83\x34"
37174 "\xA2\x87\xFF\xCB\xFC",
37175 .clen = 16 + 21 + 16,
37176 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37177 .alen = 16,
37178 },
37179};
37180
37181static const struct aead_testvec krb5_test_aes256_cts_hmac_sha384_192[] = {
37182 /* rfc8009 Appendix A */
37183 {
37184 /* "enc no plain" */
37185 .key =
37186 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37187 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37188 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37189 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37190 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37191 .klen = 4 + 4 + 32 + 24,
37192 .ptext =
37193 "\xF7\x64\xE9\xFA\x15\xC2\x76\x47\x8B\x2C\x7D\x0C\x4E\x5F\x58\xE4" // Confounder
37194 "", // Plain
37195 .plen = 16 + 0,
37196 .ctext =
37197 "\x41\xF5\x3F\xA5\xBF\xE7\x02\x6D\x91\xFA\xF9\xBE\x95\x91\x95\xA0"
37198 "\x58\x70\x72\x73\xA9\x6A\x40\xF0\xA0\x19\x60\x62\x1A\xC6\x12\x74"
37199 "\x8B\x9B\xBF\xBE\x7E\xB4\xCE\x3C",
37200 .clen = 16 + 0 + 24,
37201 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37202 .alen = 16,
37203 }, {
37204 /* "enc plain<block" */
37205 .key =
37206 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37207 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37208 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37209 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37210 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37211 .klen = 4 + 4 + 32 + 24,
37212 .ptext =
37213 "\xB8\x0D\x32\x51\xC1\xF6\x47\x14\x94\x25\x6F\xFE\x71\x2D\x0B\x9A" // Confounder
37214 "\x00\x01\x02\x03\x04\x05", // Plain
37215 .plen = 16 + 6,
37216 .ctext =
37217 "\x4E\xD7\xB3\x7C\x2B\xCA\xC8\xF7\x4F\x23\xC1\xCF\x07\xE6\x2B\xC7"
37218 "\xB7\x5F\xB3\xF6\x37\xB9\xF5\x59\xC7\xF6\x64\xF6\x9E\xAB\x7B\x60"
37219 "\x92\x23\x75\x26\xEA\x0D\x1F\x61\xCB\x20\xD6\x9D\x10\xF2",
37220 .clen = 16 + 6 + 24,
37221 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37222 .alen = 16,
37223 }, {
37224 /* "enc plain==block" */
37225 .key =
37226 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37227 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37228 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37229 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37230 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37231 .klen = 4 + 4 + 32 + 24,
37232 .ptext =
37233 "\x53\xBF\x8A\x0D\x10\x52\x65\xD4\xE2\x76\x42\x86\x24\xCE\x5E\x63" // Confounder
37234 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F", // Plain
37235 .plen = 16 + 16,
37236 .ctext =
37237 "\xBC\x47\xFF\xEC\x79\x98\xEB\x91\xE8\x11\x5C\xF8\xD1\x9D\xAC\x4B"
37238 "\xBB\xE2\xE1\x63\xE8\x7D\xD3\x7F\x49\xBE\xCA\x92\x02\x77\x64\xF6"
37239 "\x8C\xF5\x1F\x14\xD7\x98\xC2\x27\x3F\x35\xDF\x57\x4D\x1F\x93\x2E"
37240 "\x40\xC4\xFF\x25\x5B\x36\xA2\x66",
37241 .clen = 16 + 16 + 24,
37242 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37243 .alen = 16,
37244 }, {
37245 /* "enc plain>block" */
37246 .key =
37247 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37248 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37249 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37250 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37251 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37252 .klen = 4 + 4 + 32 + 24,
37253 .ptext =
37254 "\x76\x3E\x65\x36\x7E\x86\x4F\x02\xF5\x51\x53\xC7\xE3\xB5\x8A\xF1" // Confounder
37255 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"
37256 "\x10\x11\x12\x13\x14", // Plain
37257 .plen = 16 + 21,
37258 .ctext =
37259 "\x40\x01\x3E\x2D\xF5\x8E\x87\x51\x95\x7D\x28\x78\xBC\xD2\xD6\xFE"
37260 "\x10\x1C\xCF\xD5\x56\xCB\x1E\xAE\x79\xDB\x3C\x3E\xE8\x64\x29\xF2"
37261 "\xB2\xA6\x02\xAC\x86\xFE\xF6\xEC\xB6\x47\xD6\x29\x5F\xAE\x07\x7A"
37262 "\x1F\xEB\x51\x75\x08\xD2\xC1\x6B\x41\x92\xE0\x1F\x62",
37263 .clen = 16 + 21 + 24,
37264 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37265 .alen = 16,
37266 },
37267};
37268
37269static const struct aead_testvec krb5_test_camellia_cts_cmac[] = {
37270 /* rfc6803 sec 10 */
37271 {
37272 // "enc no plain"
37273 .key =
37274 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37275 "\x45\xeb\x66\xe2\xef\xa8\x77\x8f\x7d\xf1\x46\x54\x53\x05\x98\x06" // Ki
37276 "\xe9\x9b\x82\xb3\x6c\x4a\xe8\xea\x19\xe9\x5d\xfa\x9e\xde\x88\x2c", // Ke
37277 .klen = 4 + 4 + 16 * 2,
37278 .ptext =
37279 "\xB6\x98\x22\xA1\x9A\x6B\x09\xC0\xEB\xC8\x55\x7D\x1F\x1B\x6C\x0A" // Confounder
37280 "", // Plain
37281 .plen = 16 + 0,
37282 .ctext =
37283 "\xC4\x66\xF1\x87\x10\x69\x92\x1E\xDB\x7C\x6F\xDE\x24\x4A\x52\xDB"
37284 "\x0B\xA1\x0E\xDC\x19\x7B\xDB\x80\x06\x65\x8C\xA3\xCC\xCE\x6E\xB8",
37285 .clen = 16 + 0 + 16,
37286 }, {
37287 // "enc 1 plain",
37288 .key =
37289 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37290 "\x13\x5f\xe7\x11\x6f\x53\xc2\xaa\x36\x12\xb7\xea\xe0\xf2\x84\xaa" // Ki
37291 "\xa7\xed\xcd\x53\x97\xea\x6d\x12\xb0\xaf\xf4\xcb\x8d\xaa\x57\xad", // Ke
37292 .klen = 4 + 4 + 16 * 2,
37293 .ptext =
37294 "\x6F\x2F\xC3\xC2\xA1\x66\xFD\x88\x98\x96\x7A\x83\xDE\x95\x96\xD9" // Confounder
37295 "1", // Plain
37296 .plen = 16 + 1,
37297 .ctext =
37298 "\x84\x2D\x21\xFD\x95\x03\x11\xC0\xDD\x46\x4A\x3F\x4B\xE8\xD6\xDA"
37299 "\x88\xA5\x6D\x55\x9C\x9B\x47\xD3\xF9\xA8\x50\x67\xAF\x66\x15\x59"
37300 "\xB8",
37301 .clen = 16 + 1 + 16,
37302 }, {
37303 // "enc 9 plain",
37304 .key =
37305 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37306 "\x10\x2c\x34\xd0\x75\x74\x9f\x77\x8a\x15\xca\xd1\xe9\x7d\xa9\x86" // Ki
37307 "\xdd\xe4\x2e\xca\x7c\xd9\x86\x3f\xc3\xce\x89\xcb\xc9\x43\x62\xd7", // Ke
37308 .klen = 4 + 4 + 16 * 2,
37309 .ptext =
37310 "\xA5\xB4\xA7\x1E\x07\x7A\xEE\xF9\x3C\x87\x63\xC1\x8F\xDB\x1F\x10" // Confounder
37311 "9 bytesss", // Plain
37312 .plen = 16 + 9,
37313 .ctext =
37314 "\x61\x9F\xF0\x72\xE3\x62\x86\xFF\x0A\x28\xDE\xB3\xA3\x52\xEC\x0D"
37315 "\x0E\xDF\x5C\x51\x60\xD6\x63\xC9\x01\x75\x8C\xCF\x9D\x1E\xD3\x3D"
37316 "\x71\xDB\x8F\x23\xAA\xBF\x83\x48\xA0",
37317 .clen = 16 + 9 + 16,
37318 }, {
37319 // "enc 13 plain",
37320 .key =
37321 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37322 "\xb8\xc4\x38\xcc\x1a\x00\x60\xfc\x91\x3a\x8e\x07\x16\x96\xbd\x08" // Ki
37323 "\xc3\x11\x3a\x25\x85\x90\xb9\xae\xbf\x72\x1b\x1a\xf6\xb0\xcb\xf8", // Ke
37324 .klen = 4 + 4 + 16 * 2,
37325 .ptext =
37326 "\x19\xFE\xE4\x0D\x81\x0C\x52\x4B\x5B\x22\xF0\x18\x74\xC6\x93\xDA" // Confounder
37327 "13 bytes byte", // Plain
37328 .plen = 16 + 13,
37329 .ctext =
37330 "\xB8\xEC\xA3\x16\x7A\xE6\x31\x55\x12\xE5\x9F\x98\xA7\xC5\x00\x20"
37331 "\x5E\x5F\x63\xFF\x3B\xB3\x89\xAF\x1C\x41\xA2\x1D\x64\x0D\x86\x15"
37332 "\xC9\xED\x3F\xBE\xB0\x5A\xB6\xAC\xB6\x76\x89\xB5\xEA",
37333 .clen = 16 + 13 + 16,
37334 }, {
37335 // "enc 30 plain",
37336 .key =
37337 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37338 "\x18\xaf\x19\xb0\x23\x74\x44\xfd\x75\x04\xad\x7d\xbd\x48\xad\xd3" // Ki
37339 "\x8b\x07\xee\xd3\x01\x49\x91\x6a\xa2\x0d\xb3\xf5\xce\xd8\xaf\xad", // Ke
37340 .klen = 4 + 4 + 16 * 2,
37341 .ptext =
37342 "\xCA\x7A\x7A\xB4\xBE\x19\x2D\xAB\xD6\x03\x50\x6D\xB1\x9C\x39\xE2" // Confounder
37343 "30 bytes bytes bytes bytes byt", // Plain
37344 .plen = 16 + 30,
37345 .ctext =
37346 "\xA2\x6A\x39\x05\xA4\xFF\xD5\x81\x6B\x7B\x1E\x27\x38\x0D\x08\x09"
37347 "\x0C\x8E\xC1\xF3\x04\x49\x6E\x1A\xBD\xCD\x2B\xDC\xD1\xDF\xFC\x66"
37348 "\x09\x89\xE1\x17\xA7\x13\xDD\xBB\x57\xA4\x14\x6C\x15\x87\xCB\xA4"
37349 "\x35\x66\x65\x59\x1D\x22\x40\x28\x2F\x58\x42\xB1\x05\xA5",
37350 .clen = 16 + 30 + 16,
37351 }, {
37352 // "enc no plain",
37353 .key =
37354 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37355 "\xa2\xb8\x33\xe9\x43\xbb\x10\xee\x53\xb4\xa1\x9b\xc2\xbb\xc7\xe1"
37356 "\x9b\x87\xad\x5d\xe9\x21\x22\xa4\x33\x8b\xe6\xf7\x32\xfd\x8a\x0e" // Ki
37357 "\x6c\xcb\x3f\x25\xd8\xae\x57\xf4\xe8\xf6\xca\x47\x4b\xdd\xef\xf1"
37358 "\x16\xce\x13\x1b\x3f\x71\x01\x2e\x75\x6d\x6b\x1e\x3f\x70\xa7\xf1", // Ke
37359 .klen = 4 + 4 + 32 * 2,
37360 .ptext =
37361 "\x3C\xBB\xD2\xB4\x59\x17\x94\x10\x67\xF9\x65\x99\xBB\x98\x92\x6C" // Confounder
37362 "", // Plain
37363 .plen = 16 + 0,
37364 .ctext =
37365 "\x03\x88\x6D\x03\x31\x0B\x47\xA6\xD8\xF0\x6D\x7B\x94\xD1\xDD\x83"
37366 "\x7E\xCC\xE3\x15\xEF\x65\x2A\xFF\x62\x08\x59\xD9\x4A\x25\x92\x66",
37367 .clen = 16 + 0 + 16,
37368 }, {
37369 // "enc 1 plain",
37370 .key =
37371 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37372 "\x84\x61\x4b\xfa\x98\xf1\x74\x8a\xa4\xaf\x99\x2b\x8c\x26\x28\x0d"
37373 "\xc8\x98\x73\x29\xdf\x77\x5c\x1d\xb0\x4a\x43\xf1\x21\xaa\x86\x65" // Ki
37374 "\xe9\x31\x73\xaa\x01\xeb\x3c\x24\x62\x31\xda\xfc\x78\x02\xee\x32"
37375 "\xaf\x24\x85\x1d\x8c\x73\x87\xd1\x8c\xb9\xb2\xc5\xb7\xf5\x70\xb8", // Ke
37376 .klen = 4 + 4 + 32 * 2,
37377 .ptext =
37378 "\xDE\xF4\x87\xFC\xEB\xE6\xDE\x63\x46\xD4\xDA\x45\x21\xBB\xA2\xD2" // Confounder
37379 "1", // Plain
37380 .plen = 16 + 1,
37381 .ctext =
37382 "\x2C\x9C\x15\x70\x13\x3C\x99\xBF\x6A\x34\xBC\x1B\x02\x12\x00\x2F"
37383 "\xD1\x94\x33\x87\x49\xDB\x41\x35\x49\x7A\x34\x7C\xFC\xD9\xD1\x8A"
37384 "\x12",
37385 .clen = 16 + 1 + 16,
37386 }, {
37387 // "enc 9 plain",
37388 .key =
37389 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37390 "\x47\xb9\xf5\xba\xd7\x63\x00\x58\x2a\x54\x45\xfa\x0c\x1b\x29\xc3"
37391 "\xaa\x83\xec\x63\xb9\x0b\x4a\xb0\x08\x48\xc1\x85\x67\x4f\x44\xa7" // Ki
37392 "\xcd\xa2\xd3\x9a\x9b\x24\x3f\xfe\xb5\x6e\x8d\x5f\x4b\xd5\x28\x74"
37393 "\x1e\xcb\x52\x0c\x62\x12\x3f\xb0\x40\xb8\x41\x8b\x15\xc7\xd7\x0c", // Ke
37394 .klen = 4 + 4 + 32 * 2,
37395 .ptext =
37396 "\xAD\x4F\xF9\x04\xD3\x4E\x55\x53\x84\xB1\x41\x00\xFC\x46\x5F\x88" // Confounder
37397 "9 bytesss", // Plain
37398 .plen = 16 + 9,
37399 .ctext =
37400 "\x9C\x6D\xE7\x5F\x81\x2D\xE7\xED\x0D\x28\xB2\x96\x35\x57\xA1\x15"
37401 "\x64\x09\x98\x27\x5B\x0A\xF5\x15\x27\x09\x91\x3F\xF5\x2A\x2A\x9C"
37402 "\x8E\x63\xB8\x72\xF9\x2E\x64\xC8\x39",
37403 .clen = 16 + 9 + 16,
37404 }, {
37405 // "enc 13 plain",
37406 .key =
37407 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37408 "\x15\x2f\x8c\x9d\xc9\x85\x79\x6e\xb1\x94\xed\x14\xc5\x9e\xac\xdd"
37409 "\x41\x8a\x33\x32\x36\xb7\x8f\xaf\xa7\xc7\x9b\x04\xe0\xac\xe7\xbf" // Ki
37410 "\xcd\x8a\x10\xe2\x79\xda\xdd\xb6\x90\x1e\xc3\x0b\xdf\x98\x73\x25"
37411 "\x0f\x6e\xfc\x6a\x77\x36\x7d\x74\xdc\x3e\xe7\xf7\x4b\xc7\x77\x4e", // Ke
37412 .klen = 4 + 4 + 32 * 2,
37413 .ptext =
37414 "\xCF\x9B\xCA\x6D\xF1\x14\x4E\x0C\x0A\xF9\xB8\xF3\x4C\x90\xD5\x14" // Confounder
37415 "13 bytes byte",
37416 .plen = 16 + 13,
37417 .ctext =
37418 "\xEE\xEC\x85\xA9\x81\x3C\xDC\x53\x67\x72\xAB\x9B\x42\xDE\xFC\x57"
37419 "\x06\xF7\x26\xE9\x75\xDD\xE0\x5A\x87\xEB\x54\x06\xEA\x32\x4C\xA1"
37420 "\x85\xC9\x98\x6B\x42\xAA\xBE\x79\x4B\x84\x82\x1B\xEE",
37421 .clen = 16 + 13 + 16,
37422 }, {
37423 // "enc 30 plain",
37424 .key =
37425 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37426 "\x04\x8d\xeb\xf7\xb1\x2c\x09\x32\xe8\xb2\x96\x99\x6c\x23\xf8\xb7"
37427 "\x9d\x59\xb9\x7e\xa1\x19\xfc\x0c\x15\x6b\xf7\x88\xdc\x8c\x85\xe8" // Ki
37428 "\x1d\x51\x47\xf3\x4b\xb0\x01\xa0\x4a\x68\xa7\x13\x46\xe7\x65\x4e"
37429 "\x02\x23\xa6\x0d\x90\xbc\x2b\x79\xb4\xd8\x79\x56\xd4\x7c\xd4\x2a", // Ke
37430 .klen = 4 + 4 + 32 * 2,
37431 .ptext =
37432 "\x64\x4D\xEF\x38\xDA\x35\x00\x72\x75\x87\x8D\x21\x68\x55\xE2\x28" // Confounder
37433 "30 bytes bytes bytes bytes byt", // Plain
37434 .plen = 16 + 30,
37435 .ctext =
37436 "\x0E\x44\x68\x09\x85\x85\x5F\x2D\x1F\x18\x12\x52\x9C\xA8\x3B\xFD"
37437 "\x8E\x34\x9D\xE6\xFD\x9A\xDA\x0B\xAA\xA0\x48\xD6\x8E\x26\x5F\xEB"
37438 "\xF3\x4A\xD1\x25\x5A\x34\x49\x99\xAD\x37\x14\x68\x87\xA6\xC6\x84"
37439 "\x57\x31\xAC\x7F\x46\x37\x6A\x05\x04\xCD\x06\x57\x14\x74",
37440 .clen = 16 + 30 + 16,
37441 },
37442};
37443
37444#endif /* _CRYPTO_TESTMGR_H */