1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Algorithm testing framework and tests.
4 *
5 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
6 * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
7 * Copyright (c) 2007 Nokia Siemens Networks
8 * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
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 (aidan.o.mahony@intel.com)
15 * Adrian Hoban <adrian.hoban@intel.com>
16 * Gabriele Paoloni <gabriele.paoloni@intel.com>
17 * Tadeusz Struk (tadeusz.struk@intel.com)
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 const unsigned char *entropy;
124 size_t entropylen;
125 const unsigned char *entpra;
126 const unsigned char *entprb;
127 size_t entprlen;
128 const unsigned char *addtla;
129 const unsigned char *addtlb;
130 size_t addtllen;
131 const unsigned char *pers;
132 size_t perslen;
133 const unsigned char *expected;
134 size_t expectedlen;
135};
136
137struct akcipher_testvec {
138 const unsigned char *key;
139 const unsigned char *m;
140 const unsigned char *c;
141 unsigned int key_len;
142 unsigned int m_size;
143 unsigned int c_size;
144 bool public_key_vec;
145};
146
147struct sig_testvec {
148 const unsigned char *key;
149 const unsigned char *params;
150 const unsigned char *m;
151 const unsigned char *c;
152 unsigned int key_len;
153 unsigned int param_len;
154 unsigned int m_size;
155 unsigned int c_size;
156 bool public_key_vec;
157 enum OID algo;
158};
159
160struct kpp_testvec {
161 const unsigned char *secret;
162 const unsigned char *b_secret;
163 const unsigned char *b_public;
164 const unsigned char *expected_a_public;
165 const unsigned char *expected_ss;
166 unsigned short secret_size;
167 unsigned short b_secret_size;
168 unsigned short b_public_size;
169 unsigned short expected_a_public_size;
170 unsigned short expected_ss_size;
171 bool genkey;
172};
173
174static const char zeroed_string[48];
175
176/*
177 * RSA test vectors. Borrowed from openSSL.
178 */
179static const struct akcipher_testvec rsa_tv_template[] = {
180 {
181#ifndef CONFIG_CRYPTO_FIPS
182 .key =
183 "\x30\x82\x01\x38" /* sequence of 312 bytes */
184 "\x02\x01\x00" /* version - integer of 1 byte */
185 "\x02\x41" /* modulus - integer of 65 bytes */
186 "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
187 "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
188 "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
189 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
190 "\xF5"
191 "\x02\x01\x11" /* public key - integer of 1 byte */
192 "\x02\x40" /* private key - integer of 64 bytes */
193 "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
194 "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
195 "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
196 "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
197 "\x02\x21" /* prime1 - integer of 33 bytes */
198 "\x00\xD8\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
199 "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x12"
200 "\x0D"
201 "\x02\x21" /* prime2 - integer of 33 bytes */
202 "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
203 "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
204 "\x89"
205 "\x02\x20" /* exponent1 - integer of 32 bytes */
206 "\x59\x0B\x95\x72\xA2\xC2\xA9\xC4\x06\x05\x9D\xC2\xAB\x2F\x1D\xAF"
207 "\xEB\x7E\x8B\x4F\x10\xA7\x54\x9E\x8E\xED\xF5\xB4\xFC\xE0\x9E\x05"
208 "\x02\x21" /* exponent2 - integer of 33 bytes */
209 "\x00\x8E\x3C\x05\x21\xFE\x15\xE0\xEA\x06\xA3\x6F\xF0\xF1\x0C\x99"
210 "\x52\xC3\x5B\x7A\x75\x14\xFD\x32\x38\xB8\x0A\xAD\x52\x98\x62\x8D"
211 "\x51"
212 "\x02\x20" /* coefficient - integer of 32 bytes */
213 "\x36\x3F\xF7\x18\x9D\xA8\xE9\x0B\x1D\x34\x1F\x71\xD0\x9B\x76\xA8"
214 "\xA9\x43\xE1\x1D\x10\xB2\x4D\x24\x9F\x2D\xEA\xFE\xF8\x0C\x18\x26",
215 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
216 .c =
217 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
218 "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
219 "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
220 "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
221 .key_len = 316,
222 .m_size = 8,
223 .c_size = 64,
224 }, {
225 .key =
226 "\x30\x82\x02\x5B" /* sequence of 603 bytes */
227 "\x02\x01\x00" /* version - integer of 1 byte */
228 "\x02\x81\x81" /* modulus - integer of 129 bytes */
229 "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
230 "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
231 "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
232 "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
233 "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
234 "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
235 "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
236 "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
237 "\xCB"
238 "\x02\x01\x11" /* public key - integer of 1 byte */
239 "\x02\x81\x81" /* private key - integer of 129 bytes */
240 "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
241 "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
242 "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
243 "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
244 "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
245 "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
246 "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
247 "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
248 "\xC1"
249 "\x02\x41" /* prime1 - integer of 65 bytes */
250 "\x00\xEE\xCF\xAE\x81\xB1\xB9\xB3\xC9\x08\x81\x0B\x10\xA1\xB5\x60"
251 "\x01\x99\xEB\x9F\x44\xAE\xF4\xFD\xA4\x93\xB8\x1A\x9E\x3D\x84\xF6"
252 "\x32\x12\x4E\xF0\x23\x6E\x5D\x1E\x3B\x7E\x28\xFA\xE7\xAA\x04\x0A"
253 "\x2D\x5B\x25\x21\x76\x45\x9D\x1F\x39\x75\x41\xBA\x2A\x58\xFB\x65"
254 "\x99"
255 "\x02\x41" /* prime2 - integer of 65 bytes */
256 "\x00\xC9\x7F\xB1\xF0\x27\xF4\x53\xF6\x34\x12\x33\xEA\xAA\xD1\xD9"
257 "\x35\x3F\x6C\x42\xD0\x88\x66\xB1\xD0\x5A\x0F\x20\x35\x02\x8B\x9D"
258 "\x86\x98\x40\xB4\x16\x66\xB4\x2E\x92\xEA\x0D\xA3\xB4\x32\x04\xB5"
259 "\xCF\xCE\x33\x52\x52\x4D\x04\x16\xA5\xA4\x41\xE7\x00\xAF\x46\x15"
260 "\x03"
261 "\x02\x40" /* exponent1 - integer of 64 bytes */
262 "\x54\x49\x4C\xA6\x3E\xBA\x03\x37\xE4\xE2\x40\x23\xFC\xD6\x9A\x5A"
263 "\xEB\x07\xDD\xDC\x01\x83\xA4\xD0\xAC\x9B\x54\xB0\x51\xF2\xB1\x3E"
264 "\xD9\x49\x09\x75\xEA\xB7\x74\x14\xFF\x59\xC1\xF7\x69\x2E\x9A\x2E"
265 "\x20\x2B\x38\xFC\x91\x0A\x47\x41\x74\xAD\xC9\x3C\x1F\x67\xC9\x81"
266 "\x02\x40" /* exponent2 - integer of 64 bytes */
267 "\x47\x1E\x02\x90\xFF\x0A\xF0\x75\x03\x51\xB7\xF8\x78\x86\x4C\xA9"
268 "\x61\xAD\xBD\x3A\x8A\x7E\x99\x1C\x5C\x05\x56\xA9\x4C\x31\x46\xA7"
269 "\xF9\x80\x3F\x8F\x6F\x8A\xE3\x42\xE9\x31\xFD\x8A\xE4\x7A\x22\x0D"
270 "\x1B\x99\xA4\x95\x84\x98\x07\xFE\x39\xF9\x24\x5A\x98\x36\xDA\x3D"
271 "\x02\x41" /* coefficient - integer of 65 bytes */
272 "\x00\xB0\x6C\x4F\xDA\xBB\x63\x01\x19\x8D\x26\x5B\xDB\xAE\x94\x23"
273 "\xB3\x80\xF2\x71\xF7\x34\x53\x88\x50\x93\x07\x7F\xCD\x39\xE2\x11"
274 "\x9F\xC9\x86\x32\x15\x4F\x58\x83\xB1\x67\xA9\x67\xBF\x40\x2B\x4E"
275 "\x9E\x2E\x0F\x96\x56\xE6\x98\xEA\x36\x66\xED\xFB\x25\x79\x80\x39"
276 "\xF7",
277 .key_len = 607,
278 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
279 .c =
280 "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
281 "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
282 "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
283 "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
284 "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
285 "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
286 "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
287 "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
288 .m_size = 8,
289 .c_size = 128,
290 }, {
291#endif
292 .key =
293 "\x30\x82\x04\xA3" /* sequence of 1187 bytes */
294 "\x02\x01\x00" /* version - integer of 1 byte */
295 "\x02\x82\x01\x01\x00" /* modulus - integer of 256 bytes */
296 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
297 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
298 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
299 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
300 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
301 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
302 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
303 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
304 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
305 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
306 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
307 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
308 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
309 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
310 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
311 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
312 "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
313 "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
314 "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
315 "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
316 "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
317 "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
318 "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
319 "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
320 "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
321 "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
322 "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
323 "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
324 "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
325 "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
326 "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
327 "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
328 "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
329 "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
330 "\x02\x81\x81" /* prime1 - integer of 129 bytes */
331 "\x00\xFA\xAC\xE1\x37\x5E\x32\x11\x34\xC6\x72\x58\x2D\x91\x06\x3E"
332 "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0"
333 "\xB9\xAC\xB6\xCB\xBB\x41\xD0\x32\x81\x9A\x8F\x7A\x99\x30\x77\x6C"
334 "\x68\x27\xE2\x96\xB5\x72\xC9\xC3\xD4\x42\xAA\xAA\xCA\x95\x8F\xFF"
335 "\xC9\x9B\x52\x34\x30\x1D\xCF\xFE\xCF\x3C\x56\x68\x6E\xEF\xE7\x6C"
336 "\xD7\xFB\x99\xF5\x4A\xA5\x21\x1F\x2B\xEA\x93\xE8\x98\x26\xC4\x6E"
337 "\x42\x21\x5E\xA0\xA1\x2A\x58\x35\xBB\x10\xE7\xBA\x27\x0A\x3B\xB3"
338 "\xAF\xE2\x75\x36\x04\xAC\x56\xA0\xAB\x52\xDE\xCE\xDD\x2C\x28\x77"
339 "\x03"
340 "\x02\x81\x81" /* prime2 - integer of 129 bytes */
341 "\x00\xDF\xB7\x52\xB6\xD7\xC0\xE2\x96\xE7\xC9\xFE\x5D\x71\x5A\xC4"
342 "\x40\x96\x2F\xE5\x87\xEA\xF3\xA5\x77\x11\x67\x3C\x8D\x56\x08\xA7"
343 "\xB5\x67\xFA\x37\xA8\xB8\xCF\x61\xE8\x63\xD8\x38\x06\x21\x2B\x92"
344 "\x09\xA6\x39\x3A\xEA\xA8\xB4\x45\x4B\x36\x10\x4C\xE4\x00\x66\x71"
345 "\x65\xF8\x0B\x94\x59\x4F\x8C\xFD\xD5\x34\xA2\xE7\x62\x84\x0A\xA7"
346 "\xBB\xDB\xD9\x8A\xCD\x05\xE1\xCC\x57\x7B\xF1\xF1\x1F\x11\x9D\xBA"
347 "\x3E\x45\x18\x99\x1B\x41\x64\x43\xEE\x97\x5D\x77\x13\x5B\x74\x69"
348 "\x73\x87\x95\x05\x07\xBE\x45\x07\x17\x7E\x4A\x69\x22\xF3\xDB\x05"
349 "\x39"
350 "\x02\x81\x80" /* exponent1 - integer of 128 bytes */
351 "\x5E\xD8\xDC\xDA\x53\x44\xC4\x67\xE0\x92\x51\x34\xE4\x83\xA5\x4D"
352 "\x3E\xDB\xA7\x9B\x82\xBB\x73\x81\xFC\xE8\x77\x4B\x15\xBE\x17\x73"
353 "\x49\x9B\x5C\x98\xBC\xBD\x26\xEF\x0C\xE9\x2E\xED\x19\x7E\x86\x41"
354 "\x1E\x9E\x48\x81\xDD\x2D\xE4\x6F\xC2\xCD\xCA\x93\x9E\x65\x7E\xD5"
355 "\xEC\x73\xFD\x15\x1B\xA2\xA0\x7A\x0F\x0D\x6E\xB4\x53\x07\x90\x92"
356 "\x64\x3B\x8B\xA9\x33\xB3\xC5\x94\x9B\x4C\x5D\x9C\x7C\x46\xA4\xA5"
357 "\x56\xF4\xF3\xF8\x27\x0A\x7B\x42\x0D\x92\x70\x47\xE7\x42\x51\xA9"
358 "\xC2\x18\xB1\x58\xB1\x50\x91\xB8\x61\x41\xB6\xA9\xCE\xD4\x7C\xBB"
359 "\x02\x81\x80" /* exponent2 - integer of 128 bytes */
360 "\x54\x09\x1F\x0F\x03\xD8\xB6\xC5\x0C\xE8\xB9\x9E\x0C\x38\x96\x43"
361 "\xD4\xA6\xC5\x47\xDB\x20\x0E\xE5\xBD\x29\xD4\x7B\x1A\xF8\x41\x57"
362 "\x49\x69\x9A\x82\xCC\x79\x4A\x43\xEB\x4D\x8B\x2D\xF2\x43\xD5\xA5"
363 "\xBE\x44\xFD\x36\xAC\x8C\x9B\x02\xF7\x9A\x03\xE8\x19\xA6\x61\xAE"
364 "\x76\x10\x93\x77\x41\x04\xAB\x4C\xED\x6A\xCC\x14\x1B\x99\x8D\x0C"
365 "\x6A\x37\x3B\x86\x6C\x51\x37\x5B\x1D\x79\xF2\xA3\x43\x10\xC6\xA7"
366 "\x21\x79\x6D\xF9\xE9\x04\x6A\xE8\x32\xFF\xAE\xFD\x1C\x7B\x8C\x29"
367 "\x13\xA3\x0C\xB2\xAD\xEC\x6C\x0F\x8D\x27\x12\x7B\x48\xB2\xDB\x31"
368 "\x02\x81\x81" /* coefficient - integer of 129 bytes */
369 "\x00\x8D\x1B\x05\xCA\x24\x1F\x0C\x53\x19\x52\x74\x63\x21\xFA\x78"
370 "\x46\x79\xAF\x5C\xDE\x30\xA4\x6C\x20\x38\xE6\x97\x39\xB8\x7A\x70"
371 "\x0D\x8B\x6C\x6D\x13\x74\xD5\x1C\xDE\xA9\xF4\x60\x37\xFE\x68\x77"
372 "\x5E\x0B\x4E\x5E\x03\x31\x30\xDF\xD6\xAE\x85\xD0\x81\xBB\x61\xC7"
373 "\xB1\x04\x5A\xC4\x6D\x56\x1C\xD9\x64\xE7\x85\x7F\x88\x91\xC9\x60"
374 "\x28\x05\xE2\xC6\x24\x8F\xDD\x61\x64\xD8\x09\xDE\x7E\xD3\x4A\x61"
375 "\x1A\xD3\x73\x58\x4B\xD8\xA0\x54\x25\x48\x83\x6F\x82\x6C\xAF\x36"
376 "\x51\x2A\x5D\x14\x2F\x41\x25\x00\xDD\xF8\xF3\x95\xFE\x31\x25\x50"
377 "\x12",
378 .key_len = 1191,
379 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
380 .c =
381 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
382 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
383 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
384 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
385 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
386 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
387 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
388 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
389 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
390 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
391 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
392 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
393 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
394 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
395 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
396 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
397 .m_size = 8,
398 .c_size = 256,
399 }, {
400 .key =
401 "\x30\x82\x01\x09" /* sequence of 265 bytes */
402 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
403 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
404 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
405 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
406 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
407 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
408 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
409 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
410 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
411 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
412 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
413 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
414 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
415 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
416 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
417 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
418 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
419 "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
420 .key_len = 269,
421 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
422 .c =
423 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
424 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
425 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
426 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
427 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
428 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
429 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
430 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
431 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
432 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
433 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
434 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
435 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
436 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
437 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
438 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
439 .m_size = 8,
440 .c_size = 256,
441 .public_key_vec = true,
442#ifndef CONFIG_CRYPTO_FIPS
443 }, {
444 .key =
445 "\x30\x82\x09\x29" /* sequence of 2345 bytes */
446 "\x02\x01\x00" /* version integer of 1 byte */
447 "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
448 "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
449 "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
450 "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
451 "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
452 "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
453 "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
454 "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
455 "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
456 "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
457 "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
458 "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
459 "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
460 "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
461 "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
462 "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
463 "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
464 "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
465 "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
466 "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
467 "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
468 "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
469 "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
470 "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
471 "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
472 "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
473 "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
474 "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
475 "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
476 "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
477 "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
478 "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
479 "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
480 "\x9D"
481 "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
482 "\x02\x82\x02\x00" /* private key integer of 512 bytes */
483 "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
484 "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
485 "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
486 "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
487 "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
488 "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
489 "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
490 "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
491 "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
492 "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
493 "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
494 "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
495 "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
496 "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
497 "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
498 "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
499 "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
500 "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
501 "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
502 "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
503 "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
504 "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
505 "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
506 "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
507 "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
508 "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
509 "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
510 "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
511 "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
512 "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
513 "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
514 "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
515 "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
516 "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
517 "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
518 "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
519 "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
520 "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
521 "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
522 "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
523 "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
524 "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
525 "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
526 "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
527 "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
528 "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
529 "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
530 "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
531 "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
532 "\xAB"
533 "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
534 "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
535 "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
536 "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
537 "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
538 "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
539 "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
540 "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
541 "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
542 "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
543 "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
544 "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
545 "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
546 "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
547 "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
548 "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
549 "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
550 "\xD7"
551 "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
552 "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
553 "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
554 "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
555 "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
556 "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
557 "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
558 "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
559 "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
560 "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
561 "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
562 "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
563 "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
564 "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
565 "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
566 "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
567 "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
568 "\x6F"
569 "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
570 "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
571 "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
572 "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
573 "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
574 "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
575 "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
576 "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
577 "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
578 "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
579 "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
580 "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
581 "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
582 "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
583 "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
584 "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
585 "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
586 "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
587 "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
588 "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
589 "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
590 "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
591 "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
592 "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
593 "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
594 "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
595 "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
596 "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
597 "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
598 "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
599 "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
600 "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
601 "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
602 "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
603 "\x3D",
604 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
605 .c =
606 "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
607 "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
608 "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
609 "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
610 "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
611 "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
612 "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
613 "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
614 "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
615 "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
616 "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
617 "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
618 "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
619 "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
620 "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
621 "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
622 "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
623 "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
624 "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
625 "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
626 "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
627 "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
628 "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
629 "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
630 "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
631 "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
632 "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
633 "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
634 "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
635 "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
636 "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
637 "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
638 .key_len = 2349,
639 .m_size = 8,
640 .c_size = 512,
641#endif
642 }
643};
644
645#ifdef CONFIG_CPU_BIG_ENDIAN
646#define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8) \
647 0x##b1, 0x##b2, 0x##b3, 0x##b4, 0x##b5, 0x##b6, 0x##b7, 0x##b8
648#else
649#define be64_to_cpua(b1, b2, b3, b4, b5, b6, b7, b8) \
650 0x##b8, 0x##b7, 0x##b6, 0x##b5, 0x##b4, 0x##b3, 0x##b2, 0x##b1
651#endif
652
653/*
654 * ECDSA test vectors.
655 */
656static const struct sig_testvec ecdsa_nist_p192_tv_template[] = {
657 {
658 .key = /* secp192r1(sha1) */
659 "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
660 "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
661 "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
662 "\x98",
663 .key_len = 49,
664 .m =
665 "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
666 "\x63\x85\xe7\x82",
667 .m_size = 20,
668 .c = (const unsigned char[]){
669 be64_to_cpua(ad, 59, ad, 88, 27, d6, 92, 6b),
670 be64_to_cpua(a0, 27, 91, c6, f6, 7f, c3, 09),
671 be64_to_cpua(ba, e5, 93, 83, 6e, b6, 3b, 63),
672 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
673 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
674 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
675 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
676 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
677 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
678 be64_to_cpua(86, 80, 6f, a5, 79, 77, da, d0),
679 be64_to_cpua(ef, 95, 52, 7b, a0, 0f, e4, 18),
680 be64_to_cpua(10, 68, 01, 9d, ba, ce, 83, 08),
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(00, 00, 00, 00, 00, 00, 00, 00) },
687 .c_size = ECC_MAX_BYTES * 2,
688 .public_key_vec = true,
689 }, {
690 .key = /* secp192r1(sha224) */
691 "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
692 "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
693 "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
694 "\xa3",
695 .key_len = 49,
696 .m =
697 "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
698 "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
699 .m_size = 28,
700 .c = (const unsigned char[]){
701 be64_to_cpua(83, 7b, 12, e6, b6, 5b, cb, d4),
702 be64_to_cpua(14, f8, 11, 2b, 55, dc, ae, 37),
703 be64_to_cpua(5a, 8b, 82, 69, 7e, 8a, 0a, 09),
704 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
705 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
706 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
707 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
708 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
709 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
710 be64_to_cpua(a3, e3, 5c, 99, db, 92, 5b, 36),
711 be64_to_cpua(eb, c3, 92, 0f, 1e, 72, ee, c4),
712 be64_to_cpua(6a, 14, 4f, 53, 75, c8, 02, 48),
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(00, 00, 00, 00, 00, 00, 00, 00) },
719 .c_size = ECC_MAX_BYTES * 2,
720 .public_key_vec = true,
721 }, {
722 .key = /* secp192r1(sha256) */
723 "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
724 "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
725 "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
726 "\x91",
727 .key_len = 49,
728 .m =
729 "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
730 "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
731 .m_size = 32,
732 .c = (const unsigned char[]){
733 be64_to_cpua(01, 48, fb, 5f, 72, 2a, d4, 8f),
734 be64_to_cpua(6b, 1a, 58, 56, f1, 8f, f7, fd),
735 be64_to_cpua(3f, 72, 3f, 1f, 42, d2, 3f, 1d),
736 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
737 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
738 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
739 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
740 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
741 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
742 be64_to_cpua(7d, 3a, 97, d9, cd, 1a, 6a, 49),
743 be64_to_cpua(32, dd, 41, 74, 6a, 51, c7, d9),
744 be64_to_cpua(b3, 69, 43, fd, 48, 19, 86, cf),
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(00, 00, 00, 00, 00, 00, 00, 00) },
751 .c_size = ECC_MAX_BYTES * 2,
752 .public_key_vec = true,
753 }, {
754 .key = /* secp192r1(sha384) */
755 "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
756 "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
757 "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
758 "\x8b",
759 .key_len = 49,
760 .m =
761 "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
762 "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
763 "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
764 .m_size = 48,
765 .c = (const unsigned char[]){
766 be64_to_cpua(dd, 15, bb, d6, 8c, a7, 03, 78),
767 be64_to_cpua(cf, 7f, 34, b4, b4, e5, c5, 00),
768 be64_to_cpua(f0, a3, 38, ce, 2b, f8, 9d, 1a),
769 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
770 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
771 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
772 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
773 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
774 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
775 be64_to_cpua(93, 12, 3b, 3b, 28, fb, 6d, e1),
776 be64_to_cpua(d1, 01, 77, 44, 5d, 53, a4, 7c),
777 be64_to_cpua(64, bc, 5a, 1f, 82, 96, 61, d7),
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(00, 00, 00, 00, 00, 00, 00, 00) },
784 .c_size = ECC_MAX_BYTES * 2,
785 .public_key_vec = true,
786 }, {
787 .key = /* secp192r1(sha512) */
788 "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
789 "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
790 "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
791 "\x57",
792 .key_len = 49,
793 .m =
794 "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
795 "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
796 "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
797 "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
798 .m_size = 64,
799 .c = (const unsigned char[]){
800 be64_to_cpua(2b, 11, 2d, 1c, b6, 06, c9, 6c),
801 be64_to_cpua(dd, 3f, 07, 87, 12, a0, d4, ac),
802 be64_to_cpua(88, 5b, 8f, 59, 43, bf, cf, c6),
803 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
804 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
805 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
806 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
807 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
808 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
809 be64_to_cpua(28, 6a, df, 97, fd, 82, 76, 24),
810 be64_to_cpua(a9, 14, 2a, 5e, f5, e5, fb, 72),
811 be64_to_cpua(73, b4, 22, 9a, 98, 73, 3c, 83),
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(00, 00, 00, 00, 00, 00, 00, 00) },
818 .c_size = ECC_MAX_BYTES * 2,
819 .public_key_vec = true,
820 },
821};
822
823static const struct sig_testvec ecdsa_nist_p256_tv_template[] = {
824 {
825 .key = /* secp256r1(sha1) */
826 "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
827 "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
828 "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
829 "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
830 "\xaf",
831 .key_len = 65,
832 .m =
833 "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
834 "\x0b\xde\x6a\x42",
835 .m_size = 20,
836 .c = (const unsigned char[]){
837 be64_to_cpua(ee, ca, 6a, 52, 0e, 48, 4d, cc),
838 be64_to_cpua(f7, d4, ad, 8d, 94, 5a, 69, 89),
839 be64_to_cpua(cf, d4, e7, b7, f0, 82, 56, 41),
840 be64_to_cpua(f9, 25, ce, 9f, 3a, a6, 35, 81),
841 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
842 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
843 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
844 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
845 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
846 be64_to_cpua(fb, 9d, 8b, de, d4, 8d, 6f, ad),
847 be64_to_cpua(f1, 03, 03, f3, 3b, e2, 73, f7),
848 be64_to_cpua(8a, fa, 54, 93, 29, a7, 70, 86),
849 be64_to_cpua(d7, e4, ef, 52, 66, d3, 5b, 9d),
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(00, 00, 00, 00, 00, 00, 00, 00) },
855 .c_size = ECC_MAX_BYTES * 2,
856 .public_key_vec = true,
857 }, {
858 .key = /* secp256r1(sha224) */
859 "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
860 "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
861 "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
862 "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
863 "\xd4",
864 .key_len = 65,
865 .m =
866 "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
867 "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
868 .m_size = 28,
869 .c = (const unsigned char[]){
870 be64_to_cpua(7d, 25, d8, 25, f5, 81, d2, 1e),
871 be64_to_cpua(34, 62, 79, cb, 6a, 91, 67, 2e),
872 be64_to_cpua(ae, ce, 77, 59, 1a, db, 59, d5),
873 be64_to_cpua(20, 43, fa, c0, 9f, 9d, 7b, e7),
874 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
875 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
876 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
877 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
878 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
879 be64_to_cpua(ce, d5, 2e, 8b, de, 5a, 04, 0e),
880 be64_to_cpua(bf, 50, 05, 58, 39, 0e, 26, 92),
881 be64_to_cpua(76, 20, 4a, 77, 22, ec, c8, 66),
882 be64_to_cpua(5f, f8, 74, f8, 57, d0, 5e, 54),
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(00, 00, 00, 00, 00, 00, 00, 00) },
888 .c_size = ECC_MAX_BYTES * 2,
889 .public_key_vec = true,
890 }, {
891 .key = /* secp256r1(sha256) */
892 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
893 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
894 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
895 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
896 "\xb8",
897 .key_len = 65,
898 .m =
899 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
900 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
901 .m_size = 32,
902 .c = (const unsigned char[]){
903 be64_to_cpua(91, dc, 02, 67, dc, 0c, d0, 82),
904 be64_to_cpua(ac, 44, c3, e8, 24, 11, 2d, a4),
905 be64_to_cpua(09, dc, 29, 63, a8, 1a, ad, fc),
906 be64_to_cpua(08, 31, fa, 74, 0d, 1d, 21, 5d),
907 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
908 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
909 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
910 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
911 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
912 be64_to_cpua(4f, 2a, 65, 35, 23, e3, 1d, fa),
913 be64_to_cpua(0a, 6e, 1b, c4, af, e1, 83, c3),
914 be64_to_cpua(f9, a9, 81, ac, 4a, 50, d0, 91),
915 be64_to_cpua(bd, ff, ce, ee, 42, c3, 97, ff),
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(00, 00, 00, 00, 00, 00, 00, 00) },
921 .c_size = ECC_MAX_BYTES * 2,
922 .public_key_vec = true,
923 }, {
924 .key = /* secp256r1(sha384) */
925 "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
926 "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
927 "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
928 "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
929 "\x7c",
930 .key_len = 65,
931 .m =
932 "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
933 "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
934 "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
935 .m_size = 48,
936 .c = (const unsigned char[]){
937 be64_to_cpua(f2, e4, 6c, c7, 94, b1, d5, fe),
938 be64_to_cpua(08, b2, 6b, 24, 94, 48, 46, 5e),
939 be64_to_cpua(d0, 2e, 95, 54, d1, 95, 64, 93),
940 be64_to_cpua(8e, f3, 6f, dc, f8, 69, a6, 2e),
941 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
942 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
943 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
944 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
945 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
946 be64_to_cpua(c0, 60, 11, 92, dc, 17, 89, 12),
947 be64_to_cpua(69, f4, 3b, 4f, 47, cf, 9b, 16),
948 be64_to_cpua(19, fb, 5f, 92, f4, c9, 23, 37),
949 be64_to_cpua(eb, a7, 80, 26, dc, f9, 3a, 44),
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(00, 00, 00, 00, 00, 00, 00, 00) },
955 .c_size = ECC_MAX_BYTES * 2,
956 .public_key_vec = true,
957 }, {
958 .key = /* secp256r1(sha512) */
959 "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
960 "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
961 "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
962 "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
963 "\xbf",
964 .key_len = 65,
965 .m =
966 "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
967 "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
968 "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
969 "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
970 .m_size = 64,
971 .c = (const unsigned char[]){
972 be64_to_cpua(76, f6, 04, 99, 09, 37, 4d, fa),
973 be64_to_cpua(ed, 8c, 73, 30, 6c, 22, b3, 97),
974 be64_to_cpua(40, ea, 44, 81, 00, 4e, 29, 08),
975 be64_to_cpua(b8, 6d, 87, 81, 43, df, fb, 9f),
976 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
977 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
978 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
979 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
980 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
981 be64_to_cpua(76, 31, 79, 4a, e9, 81, 6a, ee),
982 be64_to_cpua(5c, ad, c3, 78, 1c, c2, c1, 19),
983 be64_to_cpua(f8, 00, dd, ab, d4, c0, 2b, e6),
984 be64_to_cpua(1e, b9, 75, 31, f6, 04, a5, 4d),
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(00, 00, 00, 00, 00, 00, 00, 00) },
990 .c_size = ECC_MAX_BYTES * 2,
991 .public_key_vec = true,
992 },
993};
994
995static const struct sig_testvec ecdsa_nist_p384_tv_template[] = {
996 {
997 .key = /* secp384r1(sha1) */
998 "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
999 "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1000 "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1001 "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1002 "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1003 "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1004 "\xf1",
1005 .key_len = 97,
1006 .m =
1007 "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1008 "\x3a\x69\xc1\x93",
1009 .m_size = 20,
1010 .c = (const unsigned char[]){
1011 be64_to_cpua(ec, 7c, 7e, d0, 87, d7, d7, 6e),
1012 be64_to_cpua(78, f1, 4c, 26, e6, 5b, 86, cf),
1013 be64_to_cpua(3a, c6, f1, 32, 3c, ce, 70, 2b),
1014 be64_to_cpua(8d, 26, 8e, ae, 63, 3f, bc, 20),
1015 be64_to_cpua(57, 55, 07, 20, 43, 30, de, a0),
1016 be64_to_cpua(f5, 0f, 24, 4c, 07, 93, 6f, 21),
1017 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1018 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1019 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1020 be64_to_cpua(79, 12, 2a, b7, c5, 15, 92, c5),
1021 be64_to_cpua(4a, a1, 59, f1, 1c, a4, 58, 26),
1022 be64_to_cpua(74, a0, 0f, bf, af, c3, 36, 76),
1023 be64_to_cpua(df, 28, 8c, 1b, fa, f9, 95, 88),
1024 be64_to_cpua(5f, 63, b1, be, 5e, 4c, 0e, a1),
1025 be64_to_cpua(cd, bb, 7e, 81, 5d, 8f, 63, c0),
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(00, 00, 00, 00, 00, 00, 00, 00) },
1029 .c_size = ECC_MAX_BYTES * 2,
1030 .public_key_vec = true,
1031 }, {
1032 .key = /* secp384r1(sha224) */
1033 "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1034 "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1035 "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1036 "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1037 "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1038 "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1039 "\xe0",
1040 .key_len = 97,
1041 .m =
1042 "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1043 "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1044 .m_size = 28,
1045 .c = (const unsigned char[]){
1046 be64_to_cpua(3f, dd, 15, 1b, 68, 2b, 9d, 8b),
1047 be64_to_cpua(c9, 9c, 11, b8, 10, 01, c5, 41),
1048 be64_to_cpua(c5, da, b4, e3, 93, 07, e0, 99),
1049 be64_to_cpua(97, f1, c8, 72, 26, cf, 5a, 5e),
1050 be64_to_cpua(ec, cb, e4, 89, 47, b2, f7, bc),
1051 be64_to_cpua(8a, 51, 84, ce, 13, 1e, d2, dc),
1052 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1053 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1054 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1055 be64_to_cpua(88, 2b, 82, 26, 5e, 1c, da, fb),
1056 be64_to_cpua(9f, 19, d0, 42, 8b, 93, c2, 11),
1057 be64_to_cpua(4d, d0, c6, 6e, b0, e9, fc, 14),
1058 be64_to_cpua(df, d8, 68, a2, 64, 42, 65, f3),
1059 be64_to_cpua(4b, 00, 08, 31, 6c, f5, d5, f6),
1060 be64_to_cpua(8b, 03, 2c, fc, 1f, d1, a9, a4),
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(00, 00, 00, 00, 00, 00, 00, 00) },
1064 .c_size = ECC_MAX_BYTES * 2,
1065 .public_key_vec = true,
1066 }, {
1067 .key = /* secp384r1(sha256) */
1068 "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1069 "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1070 "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1071 "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1072 "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1073 "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1074 "\xab",
1075 .key_len = 97,
1076 .m =
1077 "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1078 "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1079 .m_size = 32,
1080 .c = (const unsigned char[]){
1081 be64_to_cpua(c8, 8d, 2c, 79, 3a, 8e, 32, c4),
1082 be64_to_cpua(b6, c6, fc, 70, 2e, 66, 3c, 77),
1083 be64_to_cpua(af, 06, 3f, 84, 04, e2, f9, 67),
1084 be64_to_cpua(cc, 47, 53, 87, bc, bd, 83, 3f),
1085 be64_to_cpua(8e, 3f, 7e, ce, 0a, 9b, aa, 59),
1086 be64_to_cpua(08, 09, 12, 9d, 6e, 96, 64, a6),
1087 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1088 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1089 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1090 be64_to_cpua(10, 0e, f4, 1f, 39, ca, 4d, 43),
1091 be64_to_cpua(4f, 8d, de, 1e, 93, 8d, 95, bb),
1092 be64_to_cpua(15, 68, c0, 75, 3e, 23, 5e, 36),
1093 be64_to_cpua(dd, ce, bc, b2, 97, f4, 9c, f3),
1094 be64_to_cpua(26, a2, b0, 89, 42, 0a, da, d9),
1095 be64_to_cpua(40, 34, b8, 90, a9, 80, ab, 47),
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(00, 00, 00, 00, 00, 00, 00, 00) },
1099 .c_size = ECC_MAX_BYTES * 2,
1100 .public_key_vec = true,
1101 }, {
1102 .key = /* secp384r1(sha384) */
1103 "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1104 "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1105 "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1106 "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1107 "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1108 "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1109 "\x9e",
1110 .key_len = 97,
1111 .m =
1112 "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1113 "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1114 "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1115 .m_size = 48,
1116 .c = (const unsigned char[]){
1117 be64_to_cpua(a2, a4, c8, f2, ea, 9d, 11, 1f),
1118 be64_to_cpua(3b, 1f, 07, 8f, 15, 02, fe, 1d),
1119 be64_to_cpua(29, e6, fb, ca, 8c, d6, b6, b4),
1120 be64_to_cpua(2d, 7a, 91, 5f, 49, 2d, 22, 08),
1121 be64_to_cpua(ee, 2e, 62, 35, 46, fa, 00, d8),
1122 be64_to_cpua(9b, 28, 68, c0, a1, ea, 8c, 50),
1123 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1124 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1125 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1126 be64_to_cpua(ab, 8d, 4e, de, e6, 6d, 9b, 66),
1127 be64_to_cpua(96, 17, 04, c9, 05, 77, f1, 8e),
1128 be64_to_cpua(44, 92, 8c, 86, 99, 65, b3, 97),
1129 be64_to_cpua(71, cd, 8f, 18, 99, f0, 0f, 13),
1130 be64_to_cpua(bf, e3, 75, 24, 49, ac, fb, c8),
1131 be64_to_cpua(fc, 50, f6, 43, bd, 50, 82, 0e),
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(00, 00, 00, 00, 00, 00, 00, 00) },
1135 .c_size = ECC_MAX_BYTES * 2,
1136 .public_key_vec = true,
1137 }, {
1138 .key = /* secp384r1(sha512) */
1139 "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1140 "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1141 "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1142 "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1143 "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1144 "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1145 "\xa3",
1146 .key_len = 97,
1147 .m =
1148 "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1149 "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1150 "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1151 "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1152 .m_size = 64,
1153 .c = (const unsigned char[]){
1154 be64_to_cpua(3e, b3, c7, a8, b3, 17, 77, d1),
1155 be64_to_cpua(dc, 2b, 43, 0e, 6a, b3, 53, 6f),
1156 be64_to_cpua(4c, fc, 6f, 80, e3, af, b3, d9),
1157 be64_to_cpua(9a, 02, de, 93, e8, 83, e4, 84),
1158 be64_to_cpua(4d, c6, ef, da, 02, e7, 0f, 52),
1159 be64_to_cpua(00, 1d, 20, 94, 77, fe, 31, fa),
1160 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1161 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1162 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 00),
1163 be64_to_cpua(4e, 45, cf, 3c, 93, ff, 50, 5d),
1164 be64_to_cpua(34, e4, 8b, 80, a5, b6, da, 2c),
1165 be64_to_cpua(c4, 6a, 03, 5f, 8d, 7a, f9, fb),
1166 be64_to_cpua(ec, 63, e3, 0c, ec, 50, dc, cc),
1167 be64_to_cpua(de, 3a, 3d, 16, af, b4, 52, 6a),
1168 be64_to_cpua(63, f6, f0, 3d, 5f, 5f, 99, 3f),
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(00, 00, 00, 00, 00, 00, 00, 00) },
1172 .c_size = ECC_MAX_BYTES * 2,
1173 .public_key_vec = true,
1174 },
1175};
1176
1177static const struct sig_testvec ecdsa_nist_p521_tv_template[] = {
1178 {
1179 .key = /* secp521r1(sha224) */
1180 "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1181 "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1182 "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1183 "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1184 "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1185 "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1186 "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1187 "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1188 "\x3b\x83\x82\x2f\x14",
1189 .key_len = 133,
1190 .m =
1191 "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1192 "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1193 .m_size = 28,
1194 .c = (const unsigned char[]){
1195 be64_to_cpua(46, 6b, c7, af, 7a, b9, 19, 0a),
1196 be64_to_cpua(6c, a6, 9b, 89, 8b, 1e, fd, 09),
1197 be64_to_cpua(98, 85, 29, 88, ff, 0b, 94, 94),
1198 be64_to_cpua(18, c6, 37, 8a, cb, a7, d8, 7d),
1199 be64_to_cpua(f8, 3f, 59, 0f, 74, f0, 3f, d8),
1200 be64_to_cpua(e2, ef, 07, 92, ee, 60, 94, 06),
1201 be64_to_cpua(35, f6, dc, 6d, 02, 7b, 22, ac),
1202 be64_to_cpua(d6, 43, e7, ff, 42, b2, ba, 74),
1203 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 01),
1204 be64_to_cpua(50, b1, a5, 98, 92, 2a, a5, 52),
1205 be64_to_cpua(1c, ad, 22, da, 82, 00, 35, a3),
1206 be64_to_cpua(0e, 64, cc, c4, e8, 43, d9, 0e),
1207 be64_to_cpua(30, 90, 0f, 1c, 8f, 78, d3, 9f),
1208 be64_to_cpua(26, 0b, 5f, 49, 32, 6b, 91, 99),
1209 be64_to_cpua(0f, f8, 65, 97, 6b, 09, 4d, 22),
1210 be64_to_cpua(5e, f9, 88, f3, d2, 32, 90, 57),
1211 be64_to_cpua(26, 0d, 55, cd, 23, 1e, 7d, a0),
1212 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 3a) },
1213 .c_size = ECC_MAX_BYTES * 2,
1214 .public_key_vec = true,
1215 },
1216 {
1217 .key = /* secp521r1(sha256) */
1218 "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1219 "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1220 "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1221 "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1222 "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1223 "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1224 "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1225 "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1226 "\xe6\x77\x1e\x1f\x8a",
1227 .key_len = 133,
1228 .m =
1229 "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1230 "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1231 .m_size = 32,
1232 .c = (const unsigned char[]){
1233 be64_to_cpua(de, 7e, d7, 59, 10, e9, d9, d5),
1234 be64_to_cpua(38, 1f, 46, 0b, 04, 64, 34, 79),
1235 be64_to_cpua(ae, ce, 54, 76, 9a, c2, 8f, b8),
1236 be64_to_cpua(95, 35, 6f, 02, 0e, af, e1, 4c),
1237 be64_to_cpua(56, 3c, f6, f0, d8, e1, b7, 5d),
1238 be64_to_cpua(50, 9f, 7d, 1f, ca, 8b, a8, 2d),
1239 be64_to_cpua(06, 0f, fd, 83, fc, 0e, d9, ce),
1240 be64_to_cpua(a5, 5f, 57, 52, 27, 78, 3a, b5),
1241 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, cd),
1242 be64_to_cpua(55, 38, b6, f6, 34, 65, c7, bd),
1243 be64_to_cpua(1c, 57, 56, 8f, 12, b7, 1d, 91),
1244 be64_to_cpua(03, 42, 02, 5f, 50, f0, a2, 0d),
1245 be64_to_cpua(fa, 10, dd, 9b, fb, 36, 1a, 31),
1246 be64_to_cpua(e0, 87, 2c, 44, 4b, 5a, ee, af),
1247 be64_to_cpua(a9, 79, 24, b9, 37, 35, dd, a0),
1248 be64_to_cpua(6b, 35, ae, 65, b5, 99, 12, 0a),
1249 be64_to_cpua(50, 85, 38, f9, 15, 83, 18, 04),
1250 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, cf) },
1251 .c_size = ECC_MAX_BYTES * 2,
1252 .public_key_vec = true,
1253 },
1254 {
1255 .key = /* secp521r1(sha384) */
1256 "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1257 "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1258 "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1259 "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1260 "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1261 "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1262 "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1263 "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1264 "\xb3\x3b\x5b\x1b\x94",
1265 .key_len = 133,
1266 .m =
1267 "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1268 "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1269 "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1270 .m_size = 48,
1271 .c = (const unsigned char[]){
1272 be64_to_cpua(b8, 6a, dd, fb, e6, 63, 4e, 28),
1273 be64_to_cpua(84, 59, fd, 1a, c4, 40, dd, 43),
1274 be64_to_cpua(32, 76, 06, d0, f9, c0, e4, e6),
1275 be64_to_cpua(e4, df, 9b, 7d, 9e, 47, ca, 33),
1276 be64_to_cpua(7e, 42, 71, 86, 57, 2d, f1, 7d),
1277 be64_to_cpua(f2, 4b, 64, 98, f7, ec, da, c7),
1278 be64_to_cpua(ec, 51, dc, e8, 35, 5e, ae, 16),
1279 be64_to_cpua(96, 76, 3c, 27, ea, aa, 9c, 26),
1280 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, 93),
1281 be64_to_cpua(c6, 4f, ab, 2b, 62, c1, 42, b1),
1282 be64_to_cpua(e5, 5a, 94, 56, cf, 8f, b4, 22),
1283 be64_to_cpua(6a, c3, f3, 7a, d1, fa, e7, a7),
1284 be64_to_cpua(df, c4, c0, db, 54, db, 8a, 0d),
1285 be64_to_cpua(da, a7, cd, 26, 28, 76, 3b, 52),
1286 be64_to_cpua(e4, 3c, bc, 93, 65, 57, 1c, 30),
1287 be64_to_cpua(55, ce, 37, 97, c9, 05, 51, e5),
1288 be64_to_cpua(c3, 6a, 87, 6e, b5, 13, 1f, 20),
1289 be64_to_cpua(00, 00, 00, 00, 00, 00, 00, ff) },
1290 .c_size = ECC_MAX_BYTES * 2,
1291 .public_key_vec = true,
1292 },
1293 {
1294 .key = /* secp521r1(sha512) */
1295 "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1296 "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1297 "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1298 "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1299 "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1300 "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1301 "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1302 "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1303 "\xd0\x17\xdf\x49\x6a",
1304 .key_len = 133,
1305 .m =
1306 "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1307 "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1308 "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1309 "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1310 .m_size = 64,
1311 .c = (const unsigned char[]){
1312 be64_to_cpua(28, b5, 04, b0, b6, 33, 1c, 7e),
1313 be64_to_cpua(80, a6, 13, fc, b6, 90, f7, bb),
1314 be64_to_cpua(27, 93, e8, 6c, 49, 7d, 28, fc),
1315 be64_to_cpua(1f, 12, 3e, b7, 7e, 51, ff, 7f),
1316 be64_to_cpua(fb, 62, 1e, 42, 03, 6c, 74, 8a),
1317 be64_to_cpua(63, 0e, 02, cc, 94, a9, 05, b9),
1318 be64_to_cpua(aa, 86, ec, a8, 05, 03, 52, 56),
1319 be64_to_cpua(71, 86, 96, ac, 21, 33, 7e, 4e),
1320 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 5c),
1321 be64_to_cpua(46, 1e, 77, 44, 78, e0, d1, 04),
1322 be64_to_cpua(72, 74, 13, 63, 39, a6, e5, 25),
1323 be64_to_cpua(00, 55, bb, 6a, b4, 73, 00, d2),
1324 be64_to_cpua(71, d0, e9, ca, a7, c0, cb, aa),
1325 be64_to_cpua(7a, 76, 37, 51, 47, 49, 98, 12),
1326 be64_to_cpua(88, 05, 3e, 43, 39, 01, bd, b7),
1327 be64_to_cpua(95, 35, 89, 4f, 41, 5f, 9e, 19),
1328 be64_to_cpua(43, 52, 1d, e3, c6, bd, 5a, 40),
1329 be64_to_cpua(00, 00, 00, 00, 00, 00, 01, 70) },
1330 .c_size = ECC_MAX_BYTES * 2,
1331 .public_key_vec = true,
1332 },
1333};
1334
1335/*
1336 * ECDSA X9.62 test vectors.
1337 *
1338 * Identical to ECDSA test vectors, except signature in "c" is X9.62 encoded.
1339 */
1340static const struct sig_testvec x962_ecdsa_nist_p192_tv_template[] = {
1341 {
1342 .key = /* secp192r1(sha1) */
1343 "\x04\xf7\x46\xf8\x2f\x15\xf6\x22\x8e\xd7\x57\x4f\xcc\xe7\xbb\xc1"
1344 "\xd4\x09\x73\xcf\xea\xd0\x15\x07\x3d\xa5\x8a\x8a\x95\x43\xe4\x68"
1345 "\xea\xc6\x25\xc1\xc1\x01\x25\x4c\x7e\xc3\x3c\xa6\x04\x0a\xe7\x08"
1346 "\x98",
1347 .key_len = 49,
1348 .m =
1349 "\xcd\xb9\xd2\x1c\xb7\x6f\xcd\x44\xb3\xfd\x63\xea\xa3\x66\x7f\xae"
1350 "\x63\x85\xe7\x82",
1351 .m_size = 20,
1352 .c =
1353 "\x30\x35\x02\x19\x00\xba\xe5\x93\x83\x6e\xb6\x3b\x63\xa0\x27\x91"
1354 "\xc6\xf6\x7f\xc3\x09\xad\x59\xad\x88\x27\xd6\x92\x6b\x02\x18\x10"
1355 "\x68\x01\x9d\xba\xce\x83\x08\xef\x95\x52\x7b\xa0\x0f\xe4\x18\x86"
1356 "\x80\x6f\xa5\x79\x77\xda\xd0",
1357 .c_size = 55,
1358 .public_key_vec = true,
1359 }, {
1360 .key = /* secp192r1(sha224) */
1361 "\x04\xb6\x4b\xb1\xd1\xac\xba\x24\x8f\x65\xb2\x60\x00\x90\xbf\xbd"
1362 "\x78\x05\x73\xe9\x79\x1d\x6f\x7c\x0b\xd2\xc3\x93\xa7\x28\xe1\x75"
1363 "\xf7\xd5\x95\x1d\x28\x10\xc0\x75\x50\x5c\x1a\x4f\x3f\x8f\xa5\xee"
1364 "\xa3",
1365 .key_len = 49,
1366 .m =
1367 "\x8d\xd6\xb8\x3e\xe5\xff\x23\xf6\x25\xa2\x43\x42\x74\x45\xa7\x40"
1368 "\x3a\xff\x2f\xe1\xd3\xf6\x9f\xe8\x33\xcb\x12\x11",
1369 .m_size = 28,
1370 .c =
1371 "\x30\x34\x02\x18\x5a\x8b\x82\x69\x7e\x8a\x0a\x09\x14\xf8\x11\x2b"
1372 "\x55\xdc\xae\x37\x83\x7b\x12\xe6\xb6\x5b\xcb\xd4\x02\x18\x6a\x14"
1373 "\x4f\x53\x75\xc8\x02\x48\xeb\xc3\x92\x0f\x1e\x72\xee\xc4\xa3\xe3"
1374 "\x5c\x99\xdb\x92\x5b\x36",
1375 .c_size = 54,
1376 .public_key_vec = true,
1377 }, {
1378 .key = /* secp192r1(sha256) */
1379 "\x04\xe2\x51\x24\x9b\xf7\xb6\x32\x82\x39\x66\x3d\x5b\xec\x3b\xae"
1380 "\x0c\xd5\xf2\x67\xd1\xc7\xe1\x02\xe4\xbf\x90\x62\xb8\x55\x75\x56"
1381 "\x69\x20\x5e\xcb\x4e\xca\x33\xd6\xcb\x62\x6b\x94\xa9\xa2\xe9\x58"
1382 "\x91",
1383 .key_len = 49,
1384 .m =
1385 "\x35\xec\xa1\xa0\x9e\x14\xde\x33\x03\xb6\xf6\xbd\x0c\x2f\xb2\xfd"
1386 "\x1f\x27\x82\xa5\xd7\x70\x3f\xef\xa0\x82\x69\x8e\x73\x31\x8e\xd7",
1387 .m_size = 32,
1388 .c =
1389 "\x30\x35\x02\x18\x3f\x72\x3f\x1f\x42\xd2\x3f\x1d\x6b\x1a\x58\x56"
1390 "\xf1\x8f\xf7\xfd\x01\x48\xfb\x5f\x72\x2a\xd4\x8f\x02\x19\x00\xb3"
1391 "\x69\x43\xfd\x48\x19\x86\xcf\x32\xdd\x41\x74\x6a\x51\xc7\xd9\x7d"
1392 "\x3a\x97\xd9\xcd\x1a\x6a\x49",
1393 .c_size = 55,
1394 .public_key_vec = true,
1395 }, {
1396 .key = /* secp192r1(sha384) */
1397 "\x04\x5a\x13\xfe\x68\x86\x4d\xf4\x17\xc7\xa4\xe5\x8c\x65\x57\xb7"
1398 "\x03\x73\x26\x57\xfb\xe5\x58\x40\xd8\xfd\x49\x05\xab\xf1\x66\x1f"
1399 "\xe2\x9d\x93\x9e\xc2\x22\x5a\x8b\x4f\xf3\x77\x22\x59\x7e\xa6\x4e"
1400 "\x8b",
1401 .key_len = 49,
1402 .m =
1403 "\x9d\x2e\x1a\x8f\xed\x6c\x4b\x61\xae\xac\xd5\x19\x79\xce\x67\xf9"
1404 "\xa0\x34\xeb\xb0\x81\xf9\xd9\xdc\x6e\xb3\x5c\xa8\x69\xfc\x8a\x61"
1405 "\x39\x81\xfb\xfd\x5c\x30\x6b\xa8\xee\xed\x89\xaf\xa3\x05\xe4\x78",
1406 .m_size = 48,
1407 .c =
1408 "\x30\x35\x02\x19\x00\xf0\xa3\x38\xce\x2b\xf8\x9d\x1a\xcf\x7f\x34"
1409 "\xb4\xb4\xe5\xc5\x00\xdd\x15\xbb\xd6\x8c\xa7\x03\x78\x02\x18\x64"
1410 "\xbc\x5a\x1f\x82\x96\x61\xd7\xd1\x01\x77\x44\x5d\x53\xa4\x7c\x93"
1411 "\x12\x3b\x3b\x28\xfb\x6d\xe1",
1412 .c_size = 55,
1413 .public_key_vec = true,
1414 }, {
1415 .key = /* secp192r1(sha512) */
1416 "\x04\xd5\xf2\x6e\xc3\x94\x5c\x52\xbc\xdf\x86\x6c\x14\xd1\xca\xea"
1417 "\xcc\x72\x3a\x8a\xf6\x7a\x3a\x56\x36\x3b\xca\xc6\x94\x0e\x17\x1d"
1418 "\x9e\xa0\x58\x28\xf9\x4b\xe6\xd1\xa5\x44\x91\x35\x0d\xe7\xf5\x11"
1419 "\x57",
1420 .key_len = 49,
1421 .m =
1422 "\xd5\x4b\xe9\x36\xda\xd8\x6e\xc0\x50\x03\xbe\x00\x43\xff\xf0\x23"
1423 "\xac\xa2\x42\xe7\x37\x77\x79\x52\x8f\x3e\xc0\x16\xc1\xfc\x8c\x67"
1424 "\x16\xbc\x8a\x5d\x3b\xd3\x13\xbb\xb6\xc0\x26\x1b\xeb\x33\xcc\x70"
1425 "\x4a\xf2\x11\x37\xe8\x1b\xba\x55\xac\x69\xe1\x74\x62\x7c\x6e\xb5",
1426 .m_size = 64,
1427 .c =
1428 "\x30\x35\x02\x19\x00\x88\x5b\x8f\x59\x43\xbf\xcf\xc6\xdd\x3f\x07"
1429 "\x87\x12\xa0\xd4\xac\x2b\x11\x2d\x1c\xb6\x06\xc9\x6c\x02\x18\x73"
1430 "\xb4\x22\x9a\x98\x73\x3c\x83\xa9\x14\x2a\x5e\xf5\xe5\xfb\x72\x28"
1431 "\x6a\xdf\x97\xfd\x82\x76\x24",
1432 .c_size = 55,
1433 .public_key_vec = true,
1434 },
1435};
1436
1437static const struct sig_testvec x962_ecdsa_nist_p256_tv_template[] = {
1438 {
1439 .key = /* secp256r1(sha1) */
1440 "\x04\xb9\x7b\xbb\xd7\x17\x64\xd2\x7e\xfc\x81\x5d\x87\x06\x83\x41"
1441 "\x22\xd6\x9a\xaa\x87\x17\xec\x4f\x63\x55\x2f\x94\xba\xdd\x83\xe9"
1442 "\x34\x4b\xf3\xe9\x91\x13\x50\xb6\xcb\xca\x62\x08\xe7\x3b\x09\xdc"
1443 "\xc3\x63\x4b\x2d\xb9\x73\x53\xe4\x45\xe6\x7c\xad\xe7\x6b\xb0\xe8"
1444 "\xaf",
1445 .key_len = 65,
1446 .m =
1447 "\xc2\x2b\x5f\x91\x78\x34\x26\x09\x42\x8d\x6f\x51\xb2\xc5\xaf\x4c"
1448 "\x0b\xde\x6a\x42",
1449 .m_size = 20,
1450 .c =
1451 "\x30\x46\x02\x21\x00\xf9\x25\xce\x9f\x3a\xa6\x35\x81\xcf\xd4\xe7"
1452 "\xb7\xf0\x82\x56\x41\xf7\xd4\xad\x8d\x94\x5a\x69\x89\xee\xca\x6a"
1453 "\x52\x0e\x48\x4d\xcc\x02\x21\x00\xd7\xe4\xef\x52\x66\xd3\x5b\x9d"
1454 "\x8a\xfa\x54\x93\x29\xa7\x70\x86\xf1\x03\x03\xf3\x3b\xe2\x73\xf7"
1455 "\xfb\x9d\x8b\xde\xd4\x8d\x6f\xad",
1456 .c_size = 72,
1457 .public_key_vec = true,
1458 }, {
1459 .key = /* secp256r1(sha224) */
1460 "\x04\x8b\x6d\xc0\x33\x8e\x2d\x8b\x67\xf5\xeb\xc4\x7f\xa0\xf5\xd9"
1461 "\x7b\x03\xa5\x78\x9a\xb5\xea\x14\xe4\x23\xd0\xaf\xd7\x0e\x2e\xa0"
1462 "\xc9\x8b\xdb\x95\xf8\xb3\xaf\xac\x00\x2c\x2c\x1f\x7a\xfd\x95\x88"
1463 "\x43\x13\xbf\xf3\x1c\x05\x1a\x14\x18\x09\x3f\xd6\x28\x3e\xc5\xa0"
1464 "\xd4",
1465 .key_len = 65,
1466 .m =
1467 "\x1a\x15\xbc\xa3\xe4\xed\x3a\xb8\x23\x67\xc6\xc4\x34\xf8\x6c\x41"
1468 "\x04\x0b\xda\xc5\x77\xfa\x1c\x2d\xe6\x2c\x3b\xe0",
1469 .m_size = 28,
1470 .c =
1471 "\x30\x44\x02\x20\x20\x43\xfa\xc0\x9f\x9d\x7b\xe7\xae\xce\x77\x59"
1472 "\x1a\xdb\x59\xd5\x34\x62\x79\xcb\x6a\x91\x67\x2e\x7d\x25\xd8\x25"
1473 "\xf5\x81\xd2\x1e\x02\x20\x5f\xf8\x74\xf8\x57\xd0\x5e\x54\x76\x20"
1474 "\x4a\x77\x22\xec\xc8\x66\xbf\x50\x05\x58\x39\x0e\x26\x92\xce\xd5"
1475 "\x2e\x8b\xde\x5a\x04\x0e",
1476 .c_size = 70,
1477 .public_key_vec = true,
1478 }, {
1479 .key = /* secp256r1(sha256) */
1480 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1481 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1482 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1483 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1484 "\xb8",
1485 .key_len = 65,
1486 .m =
1487 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1488 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1489 .m_size = 32,
1490 .c =
1491 "\x30\x45\x02\x20\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63"
1492 "\xa8\x1a\xad\xfc\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67"
1493 "\xdc\x0c\xd0\x82\x02\x21\x00\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9"
1494 "\xa9\x81\xac\x4a\x50\xd0\x91\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f"
1495 "\x2a\x65\x35\x23\xe3\x1d\xfa",
1496 .c_size = 71,
1497 .public_key_vec = true,
1498 }, {
1499 .key = /* secp256r1(sha384) */
1500 "\x04\xc5\xc6\xea\x60\xc9\xce\xad\x02\x8d\xf5\x3e\x24\xe3\x52\x1d"
1501 "\x28\x47\x3b\xc3\x6b\xa4\x99\x35\x99\x11\x88\x88\xc8\xf4\xee\x7e"
1502 "\x8c\x33\x8f\x41\x03\x24\x46\x2b\x1a\x82\xf9\x9f\xe1\x97\x1b\x00"
1503 "\xda\x3b\x24\x41\xf7\x66\x33\x58\x3d\x3a\x81\xad\xcf\x16\xe9\xe2"
1504 "\x7c",
1505 .key_len = 65,
1506 .m =
1507 "\x3e\x78\x70\xfb\xcd\x66\xba\x91\xa1\x79\xff\x1e\x1c\x6b\x78\xe6"
1508 "\xc0\x81\x3a\x65\x97\x14\x84\x36\x14\x1a\x9a\xb7\xc5\xab\x84\x94"
1509 "\x5e\xbb\x1b\x34\x71\xcb\x41\xe1\xf6\xfc\x92\x7b\x34\xbb\x86\xbb",
1510 .m_size = 48,
1511 .c =
1512 "\x30\x46\x02\x21\x00\x8e\xf3\x6f\xdc\xf8\x69\xa6\x2e\xd0\x2e\x95"
1513 "\x54\xd1\x95\x64\x93\x08\xb2\x6b\x24\x94\x48\x46\x5e\xf2\xe4\x6c"
1514 "\xc7\x94\xb1\xd5\xfe\x02\x21\x00\xeb\xa7\x80\x26\xdc\xf9\x3a\x44"
1515 "\x19\xfb\x5f\x92\xf4\xc9\x23\x37\x69\xf4\x3b\x4f\x47\xcf\x9b\x16"
1516 "\xc0\x60\x11\x92\xdc\x17\x89\x12",
1517 .c_size = 72,
1518 .public_key_vec = true,
1519 }, {
1520 .key = /* secp256r1(sha512) */
1521 "\x04\xd7\x27\x46\x49\xf6\x26\x85\x12\x40\x76\x8e\xe2\xe6\x2a\x7a"
1522 "\x83\xb1\x4e\x7a\xeb\x3b\x5c\x67\x4a\xb5\xa4\x92\x8c\x69\xff\x38"
1523 "\xee\xd9\x4e\x13\x29\x59\xad\xde\x6b\xbb\x45\x31\xee\xfd\xd1\x1b"
1524 "\x64\xd3\xb5\xfc\xaf\x9b\x4b\x88\x3b\x0e\xb7\xd6\xdf\xf1\xd5\x92"
1525 "\xbf",
1526 .key_len = 65,
1527 .m =
1528 "\x57\xb7\x9e\xe9\x05\x0a\x8c\x1b\xc9\x13\xe5\x4a\x24\xc7\xe2\xe9"
1529 "\x43\xc3\xd1\x76\x62\xf4\x98\x1a\x9c\x13\xb0\x20\x1b\xe5\x39\xca"
1530 "\x4f\xd9\x85\x34\x95\xa2\x31\xbc\xbb\xde\xdd\x76\xbb\x61\xe3\xcf"
1531 "\x9d\xc0\x49\x7a\xf3\x7a\xc4\x7d\xa8\x04\x4b\x8d\xb4\x4d\x5b\xd6",
1532 .m_size = 64,
1533 .c =
1534 "\x30\x45\x02\x21\x00\xb8\x6d\x87\x81\x43\xdf\xfb\x9f\x40\xea\x44"
1535 "\x81\x00\x4e\x29\x08\xed\x8c\x73\x30\x6c\x22\xb3\x97\x76\xf6\x04"
1536 "\x99\x09\x37\x4d\xfa\x02\x20\x1e\xb9\x75\x31\xf6\x04\xa5\x4d\xf8"
1537 "\x00\xdd\xab\xd4\xc0\x2b\xe6\x5c\xad\xc3\x78\x1c\xc2\xc1\x19\x76"
1538 "\x31\x79\x4a\xe9\x81\x6a\xee",
1539 .c_size = 71,
1540 .public_key_vec = true,
1541 },
1542};
1543
1544static const struct sig_testvec x962_ecdsa_nist_p384_tv_template[] = {
1545 {
1546 .key = /* secp384r1(sha1) */
1547 "\x04\x89\x25\xf3\x97\x88\xcb\xb0\x78\xc5\x72\x9a\x14\x6e\x7a\xb1"
1548 "\x5a\xa5\x24\xf1\x95\x06\x9e\x28\xfb\xc4\xb9\xbe\x5a\x0d\xd9\x9f"
1549 "\xf3\xd1\x4d\x2d\x07\x99\xbd\xda\xa7\x66\xec\xbb\xea\xba\x79\x42"
1550 "\xc9\x34\x89\x6a\xe7\x0b\xc3\xf2\xfe\x32\x30\xbe\xba\xf9\xdf\x7e"
1551 "\x4b\x6a\x07\x8e\x26\x66\x3f\x1d\xec\xa2\x57\x91\x51\xdd\x17\x0e"
1552 "\x0b\x25\xd6\x80\x5c\x3b\xe6\x1a\x98\x48\x91\x45\x7a\x73\xb0\xc3"
1553 "\xf1",
1554 .key_len = 97,
1555 .m =
1556 "\x12\x55\x28\xf0\x77\xd5\xb6\x21\x71\x32\x48\xcd\x28\xa8\x25\x22"
1557 "\x3a\x69\xc1\x93",
1558 .m_size = 20,
1559 .c =
1560 "\x30\x66\x02\x31\x00\xf5\x0f\x24\x4c\x07\x93\x6f\x21\x57\x55\x07"
1561 "\x20\x43\x30\xde\xa0\x8d\x26\x8e\xae\x63\x3f\xbc\x20\x3a\xc6\xf1"
1562 "\x32\x3c\xce\x70\x2b\x78\xf1\x4c\x26\xe6\x5b\x86\xcf\xec\x7c\x7e"
1563 "\xd0\x87\xd7\xd7\x6e\x02\x31\x00\xcd\xbb\x7e\x81\x5d\x8f\x63\xc0"
1564 "\x5f\x63\xb1\xbe\x5e\x4c\x0e\xa1\xdf\x28\x8c\x1b\xfa\xf9\x95\x88"
1565 "\x74\xa0\x0f\xbf\xaf\xc3\x36\x76\x4a\xa1\x59\xf1\x1c\xa4\x58\x26"
1566 "\x79\x12\x2a\xb7\xc5\x15\x92\xc5",
1567 .c_size = 104,
1568 .public_key_vec = true,
1569 }, {
1570 .key = /* secp384r1(sha224) */
1571 "\x04\x69\x6c\xcf\x62\xee\xd0\x0d\xe5\xb5\x2f\x70\x54\xcf\x26\xa0"
1572 "\xd9\x98\x8d\x92\x2a\xab\x9b\x11\xcb\x48\x18\xa1\xa9\x0d\xd5\x18"
1573 "\x3e\xe8\x29\x6e\xf6\xe4\xb5\x8e\xc7\x4a\xc2\x5f\x37\x13\x99\x05"
1574 "\xb6\xa4\x9d\xf9\xfb\x79\x41\xe7\xd7\x96\x9f\x73\x3b\x39\x43\xdc"
1575 "\xda\xf4\x06\xb9\xa5\x29\x01\x9d\x3b\xe1\xd8\x68\x77\x2a\xf4\x50"
1576 "\x6b\x93\x99\x6c\x66\x4c\x42\x3f\x65\x60\x6c\x1c\x0b\x93\x9b\x9d"
1577 "\xe0",
1578 .key_len = 97,
1579 .m =
1580 "\x12\x80\xb6\xeb\x25\xe2\x3d\xf0\x21\x32\x96\x17\x3a\x38\x39\xfd"
1581 "\x1f\x05\x34\x7b\xb8\xf9\x71\x66\x03\x4f\xd5\xe5",
1582 .m_size = 28,
1583 .c =
1584 "\x30\x66\x02\x31\x00\x8a\x51\x84\xce\x13\x1e\xd2\xdc\xec\xcb\xe4"
1585 "\x89\x47\xb2\xf7\xbc\x97\xf1\xc8\x72\x26\xcf\x5a\x5e\xc5\xda\xb4"
1586 "\xe3\x93\x07\xe0\x99\xc9\x9c\x11\xb8\x10\x01\xc5\x41\x3f\xdd\x15"
1587 "\x1b\x68\x2b\x9d\x8b\x02\x31\x00\x8b\x03\x2c\xfc\x1f\xd1\xa9\xa4"
1588 "\x4b\x00\x08\x31\x6c\xf5\xd5\xf6\xdf\xd8\x68\xa2\x64\x42\x65\xf3"
1589 "\x4d\xd0\xc6\x6e\xb0\xe9\xfc\x14\x9f\x19\xd0\x42\x8b\x93\xc2\x11"
1590 "\x88\x2b\x82\x26\x5e\x1c\xda\xfb",
1591 .c_size = 104,
1592 .public_key_vec = true,
1593 }, {
1594 .key = /* secp384r1(sha256) */
1595 "\x04\xee\xd6\xda\x3e\x94\x90\x00\x27\xed\xf8\x64\x55\xd6\x51\x9a"
1596 "\x1f\x52\x00\x63\x78\xf1\xa9\xfd\x75\x4c\x9e\xb2\x20\x1a\x91\x5a"
1597 "\xba\x7a\xa3\xe5\x6c\xb6\x25\x68\x4b\xe8\x13\xa6\x54\x87\x2c\x0e"
1598 "\xd0\x83\x95\xbc\xbf\xc5\x28\x4f\x77\x1c\x46\xa6\xf0\xbc\xd4\xa4"
1599 "\x8d\xc2\x8f\xb3\x32\x37\x40\xd6\xca\xf8\xae\x07\x34\x52\x39\x52"
1600 "\x17\xc3\x34\x29\xd6\x40\xea\x5c\xb9\x3f\xfb\x32\x2e\x12\x33\xbc"
1601 "\xab",
1602 .key_len = 97,
1603 .m =
1604 "\xaa\xe7\xfd\x03\x26\xcb\x94\x71\xe4\xce\x0f\xc5\xff\xa6\x29\xa3"
1605 "\xe1\xcc\x4c\x35\x4e\xde\xca\x80\xab\x26\x0c\x25\xe6\x68\x11\xc2",
1606 .m_size = 32,
1607 .c =
1608 "\x30\x64\x02\x30\x08\x09\x12\x9d\x6e\x96\x64\xa6\x8e\x3f\x7e\xce"
1609 "\x0a\x9b\xaa\x59\xcc\x47\x53\x87\xbc\xbd\x83\x3f\xaf\x06\x3f\x84"
1610 "\x04\xe2\xf9\x67\xb6\xc6\xfc\x70\x2e\x66\x3c\x77\xc8\x8d\x2c\x79"
1611 "\x3a\x8e\x32\xc4\x02\x30\x40\x34\xb8\x90\xa9\x80\xab\x47\x26\xa2"
1612 "\xb0\x89\x42\x0a\xda\xd9\xdd\xce\xbc\xb2\x97\xf4\x9c\xf3\x15\x68"
1613 "\xc0\x75\x3e\x23\x5e\x36\x4f\x8d\xde\x1e\x93\x8d\x95\xbb\x10\x0e"
1614 "\xf4\x1f\x39\xca\x4d\x43",
1615 .c_size = 102,
1616 .public_key_vec = true,
1617 }, {
1618 .key = /* secp384r1(sha384) */
1619 "\x04\x3a\x2f\x62\xe7\x1a\xcf\x24\xd0\x0b\x7c\xe0\xed\x46\x0a\x4f"
1620 "\x74\x16\x43\xe9\x1a\x25\x7c\x55\xff\xf0\x29\x68\x66\x20\x91\xf9"
1621 "\xdb\x2b\xf6\xb3\x6c\x54\x01\xca\xc7\x6a\x5c\x0d\xeb\x68\xd9\x3c"
1622 "\xf1\x01\x74\x1f\xf9\x6c\xe5\x5b\x60\xe9\x7f\x5d\xb3\x12\x80\x2a"
1623 "\xd8\x67\x92\xc9\x0e\x4c\x4c\x6b\xa1\xb2\xa8\x1e\xac\x1c\x97\xd9"
1624 "\x21\x67\xe5\x1b\x5a\x52\x31\x68\xd6\xee\xf0\x19\xb0\x55\xed\x89"
1625 "\x9e",
1626 .key_len = 97,
1627 .m =
1628 "\x8d\xf2\xc0\xe9\xa8\xf3\x8e\x44\xc4\x8c\x1a\xa0\xb8\xd7\x17\xdf"
1629 "\xf2\x37\x1b\xc6\xe3\xf5\x62\xcc\x68\xf5\xd5\x0b\xbf\x73\x2b\xb1"
1630 "\xb0\x4c\x04\x00\x31\xab\xfe\xc8\xd6\x09\xc8\xf2\xea\xd3\x28\xff",
1631 .m_size = 48,
1632 .c =
1633 "\x30\x66\x02\x31\x00\x9b\x28\x68\xc0\xa1\xea\x8c\x50\xee\x2e\x62"
1634 "\x35\x46\xfa\x00\xd8\x2d\x7a\x91\x5f\x49\x2d\x22\x08\x29\xe6\xfb"
1635 "\xca\x8c\xd6\xb6\xb4\x3b\x1f\x07\x8f\x15\x02\xfe\x1d\xa2\xa4\xc8"
1636 "\xf2\xea\x9d\x11\x1f\x02\x31\x00\xfc\x50\xf6\x43\xbd\x50\x82\x0e"
1637 "\xbf\xe3\x75\x24\x49\xac\xfb\xc8\x71\xcd\x8f\x18\x99\xf0\x0f\x13"
1638 "\x44\x92\x8c\x86\x99\x65\xb3\x97\x96\x17\x04\xc9\x05\x77\xf1\x8e"
1639 "\xab\x8d\x4e\xde\xe6\x6d\x9b\x66",
1640 .c_size = 104,
1641 .public_key_vec = true,
1642 }, {
1643 .key = /* secp384r1(sha512) */
1644 "\x04\xb4\xe7\xc1\xeb\x64\x25\x22\x46\xc3\x86\x61\x80\xbe\x1e\x46"
1645 "\xcb\xf6\x05\xc2\xee\x73\x83\xbc\xea\x30\x61\x4d\x40\x05\x41\xf4"
1646 "\x8c\xe3\x0e\x5c\xf0\x50\xf2\x07\x19\xe8\x4f\x25\xbe\xee\x0c\x95"
1647 "\x54\x36\x86\xec\xc2\x20\x75\xf3\x89\xb5\x11\xa1\xb7\xf5\xaf\xbe"
1648 "\x81\xe4\xc3\x39\x06\xbd\xe4\xfe\x68\x1c\x6d\x99\x2b\x1b\x63\xfa"
1649 "\xdf\x42\x5c\xc2\x5a\xc7\x0c\xf4\x15\xf7\x1b\xa3\x2e\xd7\x00\xac"
1650 "\xa3",
1651 .key_len = 97,
1652 .m =
1653 "\xe8\xb7\x52\x7d\x1a\x44\x20\x05\x53\x6b\x3a\x68\xf2\xe7\x6c\xa1"
1654 "\xae\x9d\x84\xbb\xba\x52\x43\x3e\x2c\x42\x78\x49\xbf\x78\xb2\x71"
1655 "\xeb\xe1\xe0\xe8\x42\x7b\x11\xad\x2b\x99\x05\x1d\x36\xe6\xac\xfc"
1656 "\x55\x73\xf0\x15\x63\x39\xb8\x6a\x6a\xc5\x91\x5b\xca\x6a\xa8\x0e",
1657 .m_size = 64,
1658 .c =
1659 "\x30\x63\x02\x2f\x1d\x20\x94\x77\xfe\x31\xfa\x4d\xc6\xef\xda\x02"
1660 "\xe7\x0f\x52\x9a\x02\xde\x93\xe8\x83\xe4\x84\x4c\xfc\x6f\x80\xe3"
1661 "\xaf\xb3\xd9\xdc\x2b\x43\x0e\x6a\xb3\x53\x6f\x3e\xb3\xc7\xa8\xb3"
1662 "\x17\x77\xd1\x02\x30\x63\xf6\xf0\x3d\x5f\x5f\x99\x3f\xde\x3a\x3d"
1663 "\x16\xaf\xb4\x52\x6a\xec\x63\xe3\x0c\xec\x50\xdc\xcc\xc4\x6a\x03"
1664 "\x5f\x8d\x7a\xf9\xfb\x34\xe4\x8b\x80\xa5\xb6\xda\x2c\x4e\x45\xcf"
1665 "\x3c\x93\xff\x50\x5d",
1666 .c_size = 101,
1667 .public_key_vec = true,
1668 },
1669};
1670
1671static const struct sig_testvec x962_ecdsa_nist_p521_tv_template[] = {
1672 {
1673 .key = /* secp521r1(sha224) */
1674 "\x04\x01\x4f\x43\x18\xb6\xa9\xc9\x5d\x68\xd3\xa9\x42\xf8\x98\xc0"
1675 "\xd2\xd1\xa9\x50\x3b\xe8\xc4\x40\xe6\x11\x78\x88\x4b\xbd\x76\xa7"
1676 "\x9a\xe0\xdd\x31\xa4\x67\x78\x45\x33\x9e\x8c\xd1\xc7\x44\xac\x61"
1677 "\x68\xc8\x04\xe7\x5c\x79\xb1\xf1\x41\x0c\x71\xc0\x53\xa8\xbc\xfb"
1678 "\xf5\xca\xd4\x01\x40\xfd\xa3\x45\xda\x08\xe0\xb4\xcb\x28\x3b\x0a"
1679 "\x02\x35\x5f\x02\x9f\x3f\xcd\xef\x08\x22\x40\x97\x74\x65\xb7\x76"
1680 "\x85\xc7\xc0\x5c\xfb\x81\xe1\xa5\xde\x0c\x4e\x8b\x12\x31\xb6\x47"
1681 "\xed\x37\x0f\x99\x3f\x26\xba\xa3\x8e\xff\x79\x34\x7c\x3a\xfe\x1f"
1682 "\x3b\x83\x82\x2f\x14",
1683 .key_len = 133,
1684 .m =
1685 "\xa2\x3a\x6a\x8c\x7b\x3c\xf2\x51\xf8\xbe\x5f\x4f\x3b\x15\x05\xc4"
1686 "\xb5\xbc\x19\xe7\x21\x85\xe9\x23\x06\x33\x62\xfb",
1687 .m_size = 28,
1688 .c =
1689 "\x30\x81\x86\x02\x41\x01\xd6\x43\xe7\xff\x42\xb2\xba\x74\x35\xf6"
1690 "\xdc\x6d\x02\x7b\x22\xac\xe2\xef\x07\x92\xee\x60\x94\x06\xf8\x3f"
1691 "\x59\x0f\x74\xf0\x3f\xd8\x18\xc6\x37\x8a\xcb\xa7\xd8\x7d\x98\x85"
1692 "\x29\x88\xff\x0b\x94\x94\x6c\xa6\x9b\x89\x8b\x1e\xfd\x09\x46\x6b"
1693 "\xc7\xaf\x7a\xb9\x19\x0a\x02\x41\x3a\x26\x0d\x55\xcd\x23\x1e\x7d"
1694 "\xa0\x5e\xf9\x88\xf3\xd2\x32\x90\x57\x0f\xf8\x65\x97\x6b\x09\x4d"
1695 "\x22\x26\x0b\x5f\x49\x32\x6b\x91\x99\x30\x90\x0f\x1c\x8f\x78\xd3"
1696 "\x9f\x0e\x64\xcc\xc4\xe8\x43\xd9\x0e\x1c\xad\x22\xda\x82\x00\x35"
1697 "\xa3\x50\xb1\xa5\x98\x92\x2a\xa5\x52",
1698 .c_size = 137,
1699 .public_key_vec = true,
1700 },
1701 {
1702 .key = /* secp521r1(sha256) */
1703 "\x04\x01\x05\x3a\x6b\x3b\x5a\x0f\xa7\xb9\xb7\x32\x53\x4e\xe2\xae"
1704 "\x0a\x52\xc5\xda\xdd\x5a\x79\x1c\x30\x2d\x33\x07\x79\xd5\x70\x14"
1705 "\x61\x0c\xec\x26\x4d\xd8\x35\x57\x04\x1d\x88\x33\x4d\xce\x05\x36"
1706 "\xa5\xaf\x56\x84\xfa\x0b\x9e\xff\x7b\x30\x4b\x92\x1d\x06\xf8\x81"
1707 "\x24\x1e\x51\x00\x09\x21\x51\xf7\x46\x0a\x77\xdb\xb5\x0c\xe7\x9c"
1708 "\xff\x27\x3c\x02\x71\xd7\x85\x36\xf1\xaa\x11\x59\xd8\xb8\xdc\x09"
1709 "\xdc\x6d\x5a\x6f\x63\x07\x6c\xe1\xe5\x4d\x6e\x0f\x6e\xfb\x7c\x05"
1710 "\x8a\xe9\x53\xa8\xcf\xce\x43\x0e\x82\x20\x86\xbc\x88\x9c\xb7\xe3"
1711 "\xe6\x77\x1e\x1f\x8a",
1712 .key_len = 133,
1713 .m =
1714 "\xcc\x97\x73\x0c\x73\xa2\x53\x2b\xfa\xd7\x83\x1d\x0c\x72\x1b\x39"
1715 "\x80\x71\x8d\xdd\xc5\x9b\xff\x55\x32\x98\x25\xa2\x58\x2e\xb7\x73",
1716 .m_size = 32,
1717 .c =
1718 "\x30\x81\x88\x02\x42\x00\xcd\xa5\x5f\x57\x52\x27\x78\x3a\xb5\x06"
1719 "\x0f\xfd\x83\xfc\x0e\xd9\xce\x50\x9f\x7d\x1f\xca\x8b\xa8\x2d\x56"
1720 "\x3c\xf6\xf0\xd8\xe1\xb7\x5d\x95\x35\x6f\x02\x0e\xaf\xe1\x4c\xae"
1721 "\xce\x54\x76\x9a\xc2\x8f\xb8\x38\x1f\x46\x0b\x04\x64\x34\x79\xde"
1722 "\x7e\xd7\x59\x10\xe9\xd9\xd5\x02\x42\x01\xcf\x50\x85\x38\xf9\x15"
1723 "\x83\x18\x04\x6b\x35\xae\x65\xb5\x99\x12\x0a\xa9\x79\x24\xb9\x37"
1724 "\x35\xdd\xa0\xe0\x87\x2c\x44\x4b\x5a\xee\xaf\xfa\x10\xdd\x9b\xfb"
1725 "\x36\x1a\x31\x03\x42\x02\x5f\x50\xf0\xa2\x0d\x1c\x57\x56\x8f\x12"
1726 "\xb7\x1d\x91\x55\x38\xb6\xf6\x34\x65\xc7\xbd",
1727 .c_size = 139,
1728 .public_key_vec = true,
1729 },
1730 {
1731 .key = /* secp521r1(sha384) */
1732 "\x04\x00\x2e\xd6\x21\x04\x75\xc3\xdc\x7d\xff\x0e\xf3\x70\x25\x2b"
1733 "\xad\x72\xfc\x5a\x91\xf1\xd5\x9c\x64\xf3\x1f\x47\x11\x10\x62\x33"
1734 "\xfd\x2e\xe8\x32\xca\x9e\x6f\x0a\x4c\x5b\x35\x9a\x46\xc5\xe7\xd4"
1735 "\x38\xda\xb2\xf0\xf4\x87\xf3\x86\xf4\xea\x70\xad\x1e\xd4\x78\x8c"
1736 "\x36\x18\x17\x00\xa2\xa0\x34\x1b\x2e\x6a\xdf\x06\xd6\x99\x2d\x47"
1737 "\x50\x92\x1a\x8a\x72\x9c\x23\x44\xfa\xa7\xa9\xed\xa6\xef\x26\x14"
1738 "\xb3\x9d\xfe\x5e\xa3\x8c\xd8\x29\xf8\xdf\xad\xa6\xab\xfc\xdd\x46"
1739 "\x22\x6e\xd7\x35\xc7\x23\xb7\x13\xae\xb6\x34\xff\xd7\x80\xe5\x39"
1740 "\xb3\x3b\x5b\x1b\x94",
1741 .key_len = 133,
1742 .m =
1743 "\x36\x98\xd6\x82\xfa\xad\xed\x3c\xb9\x40\xb6\x4d\x9e\xb7\x04\x26"
1744 "\xad\x72\x34\x44\xd2\x81\xb4\x9b\xbe\x01\x04\x7a\xd8\x50\xf8\x59"
1745 "\xba\xad\x23\x85\x6b\x59\xbe\xfb\xf6\x86\xd4\x67\xa8\x43\x28\x76",
1746 .m_size = 48,
1747 .c =
1748 "\x30\x81\x88\x02\x42\x00\x93\x96\x76\x3c\x27\xea\xaa\x9c\x26\xec"
1749 "\x51\xdc\xe8\x35\x5e\xae\x16\xf2\x4b\x64\x98\xf7\xec\xda\xc7\x7e"
1750 "\x42\x71\x86\x57\x2d\xf1\x7d\xe4\xdf\x9b\x7d\x9e\x47\xca\x33\x32"
1751 "\x76\x06\xd0\xf9\xc0\xe4\xe6\x84\x59\xfd\x1a\xc4\x40\xdd\x43\xb8"
1752 "\x6a\xdd\xfb\xe6\x63\x4e\x28\x02\x42\x00\xff\xc3\x6a\x87\x6e\xb5"
1753 "\x13\x1f\x20\x55\xce\x37\x97\xc9\x05\x51\xe5\xe4\x3c\xbc\x93\x65"
1754 "\x57\x1c\x30\xda\xa7\xcd\x26\x28\x76\x3b\x52\xdf\xc4\xc0\xdb\x54"
1755 "\xdb\x8a\x0d\x6a\xc3\xf3\x7a\xd1\xfa\xe7\xa7\xe5\x5a\x94\x56\xcf"
1756 "\x8f\xb4\x22\xc6\x4f\xab\x2b\x62\xc1\x42\xb1",
1757 .c_size = 139,
1758 .public_key_vec = true,
1759 },
1760 {
1761 .key = /* secp521r1(sha512) */
1762 "\x04\x00\xc7\x65\xee\x0b\x86\x7d\x8f\x02\xf1\x74\x5b\xb0\x4c\x3f"
1763 "\xa6\x35\x60\x9f\x55\x23\x11\xcc\xdf\xb8\x42\x99\xee\x6c\x96\x6a"
1764 "\x27\xa2\x56\xb2\x2b\x03\xad\x0f\xe7\x97\xde\x09\x5d\xb4\xc5\x5f"
1765 "\xbd\x87\x37\xbf\x5a\x16\x35\x56\x08\xfd\x6f\x06\x1a\x1c\x84\xee"
1766 "\xc3\x64\xb3\x00\x9e\xbd\x6e\x60\x76\xee\x69\xfd\x3a\xb8\xcd\x7e"
1767 "\x91\x68\x53\x57\x44\x13\x2e\x77\x09\x2a\xbe\x48\xbd\x91\xd8\xf6"
1768 "\x21\x16\x53\x99\xd5\xf0\x40\xad\xa6\xf8\x58\x26\xb6\x9a\xf8\x77"
1769 "\xfe\x3a\x05\x1a\xdb\xa9\x0f\xc0\x6c\x76\x30\x8c\xd8\xde\x44\xae"
1770 "\xd0\x17\xdf\x49\x6a",
1771 .key_len = 133,
1772 .m =
1773 "\x5c\xa6\xbc\x79\xb8\xa0\x1e\x11\x83\xf7\xe9\x05\xdf\xba\xf7\x69"
1774 "\x97\x22\x32\xe4\x94\x7c\x65\xbd\x74\xc6\x9a\x8b\xbd\x0d\xdc\xed"
1775 "\xf5\x9c\xeb\xe1\xc5\x68\x40\xf2\xc7\x04\xde\x9e\x0d\x76\xc5\xa3"
1776 "\xf9\x3c\x6c\x98\x08\x31\xbd\x39\xe8\x42\x7f\x80\x39\x6f\xfe\x68",
1777 .m_size = 64,
1778 .c =
1779 "\x30\x81\x88\x02\x42\x01\x5c\x71\x86\x96\xac\x21\x33\x7e\x4e\xaa"
1780 "\x86\xec\xa8\x05\x03\x52\x56\x63\x0e\x02\xcc\x94\xa9\x05\xb9\xfb"
1781 "\x62\x1e\x42\x03\x6c\x74\x8a\x1f\x12\x3e\xb7\x7e\x51\xff\x7f\x27"
1782 "\x93\xe8\x6c\x49\x7d\x28\xfc\x80\xa6\x13\xfc\xb6\x90\xf7\xbb\x28"
1783 "\xb5\x04\xb0\xb6\x33\x1c\x7e\x02\x42\x01\x70\x43\x52\x1d\xe3\xc6"
1784 "\xbd\x5a\x40\x95\x35\x89\x4f\x41\x5f\x9e\x19\x88\x05\x3e\x43\x39"
1785 "\x01\xbd\xb7\x7a\x76\x37\x51\x47\x49\x98\x12\x71\xd0\xe9\xca\xa7"
1786 "\xc0\xcb\xaa\x00\x55\xbb\x6a\xb4\x73\x00\xd2\x72\x74\x13\x63\x39"
1787 "\xa6\xe5\x25\x46\x1e\x77\x44\x78\xe0\xd1\x04",
1788 .c_size = 139,
1789 .public_key_vec = true,
1790 },
1791};
1792
1793/*
1794 * ECDSA P1363 test vectors.
1795 *
1796 * Identical to ECDSA test vectors, except signature in "c" is P1363 encoded.
1797 */
1798static const struct sig_testvec p1363_ecdsa_nist_p256_tv_template[] = {
1799 {
1800 .key = /* secp256r1(sha256) */
1801 "\x04\xf1\xea\xc4\x53\xf3\xb9\x0e\x9f\x7e\xad\xe3\xea\xd7\x0e\x0f"
1802 "\xd6\x98\x9a\xca\x92\x4d\x0a\x80\xdb\x2d\x45\xc7\xec\x4b\x97\x00"
1803 "\x2f\xe9\x42\x6c\x29\xdc\x55\x0e\x0b\x53\x12\x9b\x2b\xad\x2c\xe9"
1804 "\x80\xe6\xc5\x43\xc2\x1d\x5e\xbb\x65\x21\x50\xb6\x37\xb0\x03\x8e"
1805 "\xb8",
1806 .key_len = 65,
1807 .m =
1808 "\x8f\x43\x43\x46\x64\x8f\x6b\x96\xdf\x89\xdd\xa9\x01\xc5\x17\x6b"
1809 "\x10\xa6\xd8\x39\x61\xdd\x3c\x1a\xc8\x8b\x59\xb2\xdc\x32\x7a\xa4",
1810 .m_size = 32,
1811 .c =
1812 "\x08\x31\xfa\x74\x0d\x1d\x21\x5d\x09\xdc\x29\x63\xa8\x1a\xad\xfc"
1813 "\xac\x44\xc3\xe8\x24\x11\x2d\xa4\x91\xdc\x02\x67\xdc\x0c\xd0\x82"
1814 "\xbd\xff\xce\xee\x42\xc3\x97\xff\xf9\xa9\x81\xac\x4a\x50\xd0\x91"
1815 "\x0a\x6e\x1b\xc4\xaf\xe1\x83\xc3\x4f\x2a\x65\x35\x23\xe3\x1d\xfa",
1816 .c_size = 64,
1817 .public_key_vec = true,
1818 },
1819};
1820
1821/*
1822 * EC-RDSA test vectors are generated by gost-engine.
1823 */
1824static const struct sig_testvec ecrdsa_tv_template[] = {
1825 {
1826 .key =
1827 "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
1828 "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
1829 "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
1830 "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
1831 "\x27\xfc",
1832 .key_len = 66,
1833 .params = /* OID_gostCPSignA */
1834 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
1835 "\x07\x01\x01\x02\x02",
1836 .param_len = 21,
1837 .c =
1838 "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
1839 "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
1840 "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
1841 "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
1842 .c_size = 64,
1843 .algo = OID_gost2012PKey256,
1844 .m =
1845 "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
1846 "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
1847 .m_size = 32,
1848 .public_key_vec = true,
1849 },
1850 {
1851 .key =
1852 "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
1853 "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
1854 "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
1855 "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
1856 "\xa0\x73",
1857 .key_len = 66,
1858 .params = /* OID_gostCPSignB */
1859 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
1860 "\x07\x01\x01\x02\x02",
1861 .param_len = 21,
1862 .c =
1863 "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
1864 "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
1865 "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
1866 "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
1867 .c_size = 64,
1868 .algo = OID_gost2012PKey256,
1869 .m =
1870 "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
1871 "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
1872 .m_size = 32,
1873 .public_key_vec = true,
1874 },
1875 {
1876 .key =
1877 "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
1878 "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
1879 "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
1880 "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
1881 "\xba\x15",
1882 .key_len = 66,
1883 .params = /* OID_gostCPSignC */
1884 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
1885 "\x07\x01\x01\x02\x02",
1886 .param_len = 21,
1887 .c =
1888 "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
1889 "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
1890 "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
1891 "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
1892 .c_size = 64,
1893 .algo = OID_gost2012PKey256,
1894 .m =
1895 "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
1896 "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
1897 .m_size = 32,
1898 .public_key_vec = true,
1899 },
1900 {
1901 .key =
1902 "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
1903 "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
1904 "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
1905 "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
1906 "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
1907 "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
1908 "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
1909 "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
1910 "\x9d\x86\x1a",
1911 .key_len = 131,
1912 .params = /* OID_gostTC26Sign512A */
1913 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
1914 .param_len = 13,
1915 .c =
1916 "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
1917 "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
1918 "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
1919 "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
1920 "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
1921 "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
1922 "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
1923 "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
1924 .c_size = 128,
1925 .algo = OID_gost2012PKey512,
1926 .m =
1927 "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
1928 "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
1929 "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
1930 "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
1931 .m_size = 64,
1932 .public_key_vec = true,
1933 },
1934 {
1935 .key =
1936 "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
1937 "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
1938 "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
1939 "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
1940 "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
1941 "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
1942 "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
1943 "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
1944 "\x8e\x78\x48",
1945 .key_len = 131,
1946 .params = /* OID_gostTC26Sign512B */
1947 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
1948 .param_len = 13,
1949 .c =
1950 "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
1951 "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
1952 "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
1953 "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
1954 "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
1955 "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
1956 "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
1957 "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
1958 .c_size = 128,
1959 .algo = OID_gost2012PKey512,
1960 .m =
1961 "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
1962 "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
1963 "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
1964 "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
1965 .m_size = 64,
1966 .public_key_vec = true,
1967 },
1968};
1969
1970/*
1971 * PKCS#1 RSA test vectors for hash algorithm "none"
1972 * (i.e. the hash in "m" is not prepended by a Full Hash Prefix)
1973 *
1974 * Obtained from:
1975 * https://vcsjones.dev/sometimes-valid-rsa-dotnet/
1976 * https://gist.github.com/vcsjones/ab4c2327b53ed018eada76b75ef4fd99
1977 */
1978static const struct sig_testvec pkcs1_rsa_none_tv_template[] = {
1979 {
1980 .key =
1981 "\x30\x82\x01\x0a\x02\x82\x01\x01\x00\xa2\x63\x0b\x39\x44\xb8\xbb"
1982 "\x23\xa7\x44\x49\xbb\x0e\xff\xa1\xf0\x61\x0a\x53\x93\xb0\x98\xdb"
1983 "\xad\x2c\x0f\x4a\xc5\x6e\xff\x86\x3c\x53\x55\x0f\x15\xce\x04\x3f"
1984 "\x2b\xfd\xa9\x96\x96\xd9\xbe\x61\x79\x0b\x5b\xc9\x4c\x86\x76\xe5"
1985 "\xe0\x43\x4b\x22\x95\xee\xc2\x2b\x43\xc1\x9f\xd8\x68\xb4\x8e\x40"
1986 "\x4f\xee\x85\x38\xb9\x11\xc5\x23\xf2\x64\x58\xf0\x15\x32\x6f\x4e"
1987 "\x57\xa1\xae\x88\xa4\x02\xd7\x2a\x1e\xcd\x4b\xe1\xdd\x63\xd5\x17"
1988 "\x89\x32\x5b\xb0\x5e\x99\x5a\xa8\x9d\x28\x50\x0e\x17\xee\x96\xdb"
1989 "\x61\x3b\x45\x51\x1d\xcf\x12\x56\x0b\x92\x47\xfc\xab\xae\xf6\x66"
1990 "\x3d\x47\xac\x70\x72\xe7\x92\xe7\x5f\xcd\x10\xb9\xc4\x83\x64\x94"
1991 "\x19\xbd\x25\x80\xe1\xe8\xd2\x22\xa5\xd0\xba\x02\x7a\xa1\x77\x93"
1992 "\x5b\x65\xc3\xee\x17\x74\xbc\x41\x86\x2a\xdc\x08\x4c\x8c\x92\x8c"
1993 "\x91\x2d\x9e\x77\x44\x1f\x68\xd6\xa8\x74\x77\xdb\x0e\x5b\x32\x8b"
1994 "\x56\x8b\x33\xbd\xd9\x63\xc8\x49\x9d\x3a\xc5\xc5\xea\x33\x0b\xd2"
1995 "\xf1\xa3\x1b\xf4\x8b\xbe\xd9\xb3\x57\x8b\x3b\xde\x04\xa7\x7a\x22"
1996 "\xb2\x24\xae\x2e\xc7\x70\xc5\xbe\x4e\x83\x26\x08\xfb\x0b\xbd\xa9"
1997 "\x4f\x99\x08\xe1\x10\x28\x72\xaa\xcd\x02\x03\x01\x00\x01",
1998 .key_len = 270,
1999 .m =
2000 "\x68\xb4\xf9\x26\x34\x31\x25\xdd\x26\x50\x13\x68\xc1\x99\x26\x71"
2001 "\x19\xa2\xde\x81",
2002 .m_size = 20,
2003 .c =
2004 "\x6a\xdb\x39\xe5\x63\xb3\x25\xde\x58\xca\xc3\xf1\x36\x9c\x0b\x36"
2005 "\xb7\xd6\x69\xf9\xba\xa6\x68\x14\x8c\x24\x52\xd3\x25\xa5\xf3\xad"
2006 "\xc9\x47\x44\xde\x06\xd8\x0f\x56\xca\x2d\xfb\x0f\xe9\x99\xe2\x9d"
2007 "\x8a\xe8\x7f\xfb\x9a\x99\x96\xf1\x2c\x4a\xe4\xc0\xae\x4d\x29\x47"
2008 "\x38\x96\x51\x2f\x6d\x8e\xb8\x88\xbd\x1a\x0a\x70\xbc\x23\x38\x67"
2009 "\x62\x22\x01\x23\x71\xe5\xbb\x95\xea\x6b\x8d\x31\x62\xbf\xf0\xc4"
2010 "\xb9\x46\xd6\x67\xfc\x4c\xe6\x1f\xd6\x5d\xf7\xa9\xad\x3a\xf1\xbf"
2011 "\xa2\xf9\x66\xde\xb6\x8e\xec\x8f\x81\x8d\x1e\x3a\x12\x27\x6a\xfc"
2012 "\xae\x92\x9f\xc3\x87\xc3\xba\x8d\x04\xb8\x8f\x0f\x61\x68\x9a\x96"
2013 "\x2c\x80\x2c\x32\x40\xde\x9d\xb9\x9b\xe2\xe4\x45\x2e\x91\x47\x5c"
2014 "\x47\xa4\x9d\x02\x57\x59\xf7\x75\x5d\x5f\x32\x82\x75\x5d\xe5\x78"
2015 "\xc9\x19\x61\x46\x06\x9d\xa5\x1d\xd6\x32\x48\x9a\xdb\x09\x29\x81"
2016 "\x14\x2e\xf0\x27\xe9\x37\x13\x74\xec\xa5\xcd\x67\x6b\x19\xf6\x88"
2017 "\xf0\xc2\x8b\xa8\x7f\x2f\x76\x5a\x3e\x0c\x47\x5d\xe8\x82\x50\x27"
2018 "\x40\xce\x27\x41\x45\xa0\xcf\xaa\x2f\xd3\xad\x3c\xbf\x73\xff\x93"
2019 "\xe3\x78\x49\xd9\xa9\x78\x22\x81\x9a\xe5\xe2\x94\xe9\x40\xab\xf1",
2020 .c_size = 256,
2021 .public_key_vec = true,
2022 },
2023};
2024
2025/*
2026 * PKCS#1 RSA test vectors. Obtained from CAVS testing.
2027 */
2028static const struct sig_testvec pkcs1_rsa_tv_template[] = {
2029 {
2030 .key =
2031 "\x30\x82\x04\xa5\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
2032 "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
2033 "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
2034 "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
2035 "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
2036 "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
2037 "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
2038 "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
2039 "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
2040 "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
2041 "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
2042 "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
2043 "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
2044 "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
2045 "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
2046 "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
2047 "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x03\x01\x00"
2048 "\x01\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac"
2049 "\x47\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4"
2050 "\xdc\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b"
2051 "\x12\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd"
2052 "\xef\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71"
2053 "\x9c\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5"
2054 "\x80\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f"
2055 "\x8d\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e"
2056 "\x28\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5"
2057 "\x95\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae"
2058 "\xf1\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52"
2059 "\x4c\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d"
2060 "\xd4\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88"
2061 "\x4e\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9"
2062 "\x7a\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f"
2063 "\xda\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d"
2064 "\x46\xb8\x35\xdf\x41\x02\x81\x81\x00\xe4\x4c\xae\xde\x16\xfd\x9f"
2065 "\x83\x55\x5b\x84\x4a\xcf\x1c\xf1\x37\x95\xad\xca\x29\x7f\x2d\x6e"
2066 "\x32\x81\xa4\x2b\x26\x14\x96\x1d\x40\x05\xec\x0c\xaf\x3f\x2c\x6f"
2067 "\x2c\xe8\xbf\x1d\xee\xd0\xb3\xef\x7c\x5b\x9e\x88\x4f\x2a\x8b\x0e"
2068 "\x4a\xbd\xb7\x8c\xfa\x10\x0e\x3b\xda\x68\xad\x41\x2b\xe4\x96\xfa"
2069 "\x7f\x80\x52\x5f\x07\x9f\x0e\x3b\x5e\x96\x45\x1a\x13\x2b\x94\xce"
2070 "\x1f\x07\x69\x85\x35\xfc\x69\x63\x5b\xf8\xf8\x3f\xce\x9d\x40\x1e"
2071 "\x7c\xad\xfb\x9e\xce\xe0\x01\xf8\xef\x59\x5d\xdc\x00\x79\xab\x8a"
2072 "\x3f\x80\xa2\x76\x32\x94\xa9\xea\x65\x02\x81\x81\x00\xf1\x38\x60"
2073 "\x90\x0d\x0c\x2e\x3d\x34\xe5\x90\xea\x21\x43\x1f\x68\x63\x16\x7b"
2074 "\x25\x8d\xde\x82\x2b\x52\xf8\xa3\xfd\x0f\x39\xe7\xe9\x5e\x32\x75"
2075 "\x15\x7d\xd0\xc9\xce\x06\xe5\xfb\xa9\xcb\x22\xe5\xdb\x49\x09\xf2"
2076 "\xe6\xb7\xa5\xa7\x75\x2e\x91\x2d\x2b\x5d\xf1\x48\x61\x45\x43\xd7"
2077 "\xbd\xfc\x11\x73\xb5\x11\x9f\xb2\x18\x3a\x6f\x36\xa7\xc2\xd3\x18"
2078 "\x4d\xf0\xc5\x1f\x70\x8c\x9b\xc5\x1d\x95\xa8\x5a\x9e\x8c\xb1\x4b"
2079 "\x6a\x2a\x84\x76\x2c\xd8\x4f\x47\xb0\x81\x84\x02\x45\xf0\x85\xf8"
2080 "\x0c\x6d\xa7\x0c\x4d\x2c\xb2\x5b\x81\x70\xfd\x6e\x17\x02\x81\x81"
2081 "\x00\x8d\x07\xc5\xfa\x92\x4f\x48\xcb\xd3\xdd\xfe\x02\x4c\xa1\x7f"
2082 "\x6d\xab\xfc\x38\xe7\x9b\x95\xcf\xfe\x49\x51\xc6\x09\xf7\x2b\xa8"
2083 "\x94\x15\x54\x75\x9d\x88\xb4\x05\x55\xc3\xcd\xd4\x4a\xe4\x08\x53"
2084 "\xc8\x09\xbd\x0c\x4d\x83\x65\x75\x85\xbc\x5e\xf8\x2a\xbd\xe2\x5d"
2085 "\x1d\x16\x0e\xf9\x34\x89\x38\xaf\x34\x36\x6c\x2c\x22\x44\x22\x81"
2086 "\x90\x73\xd9\xea\x3a\xaf\x70\x74\x48\x7c\xc6\xb5\xb0\xdc\xe5\xa9"
2087 "\xa8\x76\x4b\xbc\xf7\x00\xf3\x4c\x22\x0f\x44\x62\x1d\x40\x0a\x57"
2088 "\xe2\x5b\xdd\x7c\x7b\x9a\xad\xda\x70\x52\x21\x8a\x4c\xc2\xc3\x98"
2089 "\x75\x02\x81\x81\x00\xed\x24\x5c\xa2\x21\x81\xa1\x0f\xa1\x2a\x33"
2090 "\x0e\x49\xc7\x00\x60\x92\x51\x6e\x9d\x9b\xdc\x6d\x22\x04\x7e\xd6"
2091 "\x51\x19\x9f\xf6\xe3\x91\x2c\x8f\xb8\xa2\x29\x19\xcc\x47\x31\xdf"
2092 "\xf8\xab\xf0\xd2\x02\x83\xca\x99\x16\xc2\xe2\xc3\x3f\x4b\x99\x83"
2093 "\xcb\x87\x9e\x86\x66\xc2\x3e\x91\x21\x80\x66\xf3\xd6\xc5\xcd\xb6"
2094 "\xbb\x64\xef\x22\xcf\x48\x94\x58\xe7\x7e\xd5\x7c\x34\x1c\xb7\xa2"
2095 "\xd0\x93\xe9\x9f\xb5\x11\x61\xd7\x5f\x37\x0f\x64\x52\x70\x11\x78"
2096 "\xcc\x08\x77\xeb\xf8\x30\x1e\xb4\x9e\x1b\x4a\xc7\xa8\x33\x51\xe0"
2097 "\xed\xdf\x53\xf6\xdf\x02\x81\x81\x00\x86\xd9\x4c\xee\x65\x61\xc1"
2098 "\x19\xa9\xd5\x74\x9b\xd5\xca\xf6\x83\x2b\x06\xb4\x20\xfe\x45\x29"
2099 "\xe8\xe3\xfa\xe1\x4f\x28\x8e\x63\x2f\x74\xc3\x3a\x5c\x9a\xf5\x9e"
2100 "\x0e\x0d\xc5\xfe\xa0\x4c\x00\xce\x7b\xa4\x19\x17\x59\xaf\x13\x3a"
2101 "\x03\x8f\x54\xf5\x60\x39\x2e\xd9\x06\xb3\x7c\xd6\x90\x06\x41\x77"
2102 "\xf3\x93\xe1\x7a\x01\x41\xc1\x8f\xfe\x4c\x88\x39\xdb\xde\x71\x9e"
2103 "\x58\xd1\x49\x50\x80\xb2\x5a\x4f\x69\x8b\xb8\xfe\x63\xd4\x42\x3d"
2104 "\x37\x61\xa8\x4c\xff\xb6\x99\x4c\xf4\x51\xe0\x44\xaa\x69\x79\x3f"
2105 "\x81\xa4\x61\x3d\x26\xe9\x04\x52\x64",
2106 .key_len = 1193,
2107 /*
2108 * m is SHA256 hash of following message:
2109 * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
2110 * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
2111 * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
2112 * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
2113 * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
2114 * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
2115 * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
2116 * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
2117 */
2118 .m =
2119 "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
2120 "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
2121 .m_size = 32,
2122 .c =
2123 "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
2124 "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
2125 "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
2126 "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
2127 "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
2128 "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
2129 "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
2130 "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
2131 "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
2132 "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
2133 "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
2134 "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
2135 "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
2136 "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
2137 "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
2138 "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
2139 .c_size = 256,
2140 }
2141};
2142
2143static const struct kpp_testvec dh_tv_template[] = {
2144 {
2145 .secret =
2146#ifdef __LITTLE_ENDIAN
2147 "\x01\x00" /* type */
2148 "\x11\x02" /* len */
2149 "\x00\x01\x00\x00" /* key_size */
2150 "\x00\x01\x00\x00" /* p_size */
2151 "\x01\x00\x00\x00" /* g_size */
2152#else
2153 "\x00\x01" /* type */
2154 "\x02\x11" /* len */
2155 "\x00\x00\x01\x00" /* key_size */
2156 "\x00\x00\x01\x00" /* p_size */
2157 "\x00\x00\x00\x01" /* g_size */
2158#endif
2159 /* xa */
2160 "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
2161 "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
2162 "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
2163 "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
2164 "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
2165 "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
2166 "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
2167 "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
2168 "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
2169 "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
2170 "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
2171 "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
2172 "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
2173 "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
2174 "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
2175 "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
2176 /* p */
2177 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2178 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2179 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2180 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2181 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2182 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2183 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2184 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2185 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2186 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2187 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2188 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2189 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2190 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2191 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2192 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2193 /* g */
2194 "\x02",
2195 .b_public =
2196 "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
2197 "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
2198 "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
2199 "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
2200 "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
2201 "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
2202 "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
2203 "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
2204 "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
2205 "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
2206 "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
2207 "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
2208 "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
2209 "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
2210 "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
2211 "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
2212 .expected_a_public =
2213 "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
2214 "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
2215 "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
2216 "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
2217 "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
2218 "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
2219 "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
2220 "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
2221 "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
2222 "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
2223 "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
2224 "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
2225 "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
2226 "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
2227 "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
2228 "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
2229 .expected_ss =
2230 "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
2231 "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
2232 "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
2233 "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
2234 "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
2235 "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
2236 "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
2237 "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
2238 "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
2239 "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
2240 "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
2241 "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
2242 "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
2243 "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
2244 "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
2245 "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
2246 .secret_size = 529,
2247 .b_public_size = 256,
2248 .expected_a_public_size = 256,
2249 .expected_ss_size = 256,
2250 },
2251 {
2252 .secret =
2253#ifdef __LITTLE_ENDIAN
2254 "\x01\x00" /* type */
2255 "\x11\x02" /* len */
2256 "\x00\x01\x00\x00" /* key_size */
2257 "\x00\x01\x00\x00" /* p_size */
2258 "\x01\x00\x00\x00" /* g_size */
2259#else
2260 "\x00\x01" /* type */
2261 "\x02\x11" /* len */
2262 "\x00\x00\x01\x00" /* key_size */
2263 "\x00\x00\x01\x00" /* p_size */
2264 "\x00\x00\x00\x01" /* g_size */
2265#endif
2266 /* xa */
2267 "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
2268 "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
2269 "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
2270 "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
2271 "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
2272 "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
2273 "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
2274 "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
2275 "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
2276 "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
2277 "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
2278 "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
2279 "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
2280 "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
2281 "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
2282 "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
2283 /* p */
2284 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
2285 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
2286 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
2287 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
2288 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
2289 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
2290 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
2291 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
2292 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
2293 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
2294 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
2295 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
2296 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
2297 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
2298 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
2299 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
2300 /* g */
2301 "\x02",
2302 .b_public =
2303 "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
2304 "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
2305 "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
2306 "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
2307 "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
2308 "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
2309 "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
2310 "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
2311 "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
2312 "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
2313 "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
2314 "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
2315 "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
2316 "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
2317 "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
2318 "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
2319 .expected_a_public =
2320 "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
2321 "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
2322 "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
2323 "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
2324 "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
2325 "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
2326 "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
2327 "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
2328 "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
2329 "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
2330 "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
2331 "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
2332 "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
2333 "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
2334 "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
2335 "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
2336 .expected_ss =
2337 "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
2338 "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
2339 "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
2340 "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
2341 "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
2342 "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
2343 "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
2344 "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
2345 "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
2346 "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
2347 "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
2348 "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
2349 "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
2350 "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
2351 "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
2352 "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
2353 .secret_size = 529,
2354 .b_public_size = 256,
2355 .expected_a_public_size = 256,
2356 .expected_ss_size = 256,
2357 }
2358};
2359
2360static const struct kpp_testvec ffdhe2048_dh_tv_template[] __maybe_unused = {
2361 {
2362 .secret =
2363#ifdef __LITTLE_ENDIAN
2364 "\x01\x00" /* type */
2365 "\x10\x01" /* len */
2366 "\x00\x01\x00\x00" /* key_size */
2367 "\x00\x00\x00\x00" /* p_size */
2368 "\x00\x00\x00\x00" /* g_size */
2369#else
2370 "\x00\x01" /* type */
2371 "\x01\x10" /* len */
2372 "\x00\x00\x01\x00" /* key_size */
2373 "\x00\x00\x00\x00" /* p_size */
2374 "\x00\x00\x00\x00" /* g_size */
2375#endif
2376 /* xa */
2377 "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2378 "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2379 "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2380 "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2381 "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2382 "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2383 "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2384 "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2385 "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2386 "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2387 "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2388 "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2389 "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2390 "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2391 "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2392 "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2393 .b_public =
2394 "\x5c\x00\x6f\xda\xfe\x4c\x0c\xc2\x18\xff\xa9\xec\x7a\xbe\x8a\x51"
2395 "\x64\x6b\x57\xf8\xed\xe2\x36\x77\xc1\x23\xbf\x56\xa6\x48\x76\x34"
2396 "\x0e\xf3\x68\x05\x45\x6a\x98\x5b\x9e\x8b\xc0\x11\x29\xcb\x5b\x66"
2397 "\x2d\xc2\xeb\x4c\xf1\x7d\x85\x30\xaa\xd5\xf5\xb8\xd3\x62\x1e\x97"
2398 "\x1e\x34\x18\xf8\x76\x8c\x10\xca\x1f\xe4\x5d\x62\xe1\xbe\x61\xef"
2399 "\xaf\x2c\x8d\x97\x15\xa5\x86\xd5\xd3\x12\x6f\xec\xe2\xa4\xb2\x5a"
2400 "\x35\x1d\xd4\x91\xa6\xef\x13\x09\x65\x9c\x45\xc0\x12\xad\x7f\xee"
2401 "\x93\x5d\xfa\x89\x26\x7d\xae\xee\xea\x8c\xa3\xcf\x04\x2d\xa0\xc7"
2402 "\xd9\x14\x62\xaf\xdf\xa0\x33\xd7\x5e\x83\xa2\xe6\x0e\x0e\x5d\x77"
2403 "\xce\xe6\x72\xe4\xec\x9d\xff\x72\x9f\x38\x95\x19\x96\xba\x4c\xe3"
2404 "\x5f\xb8\x46\x4a\x1d\xe9\x62\x7b\xa8\xdc\xe7\x61\x90\x6b\xb9\xd4"
2405 "\xad\x0b\xa3\x06\xb3\x70\xfa\xea\x2b\xc4\x2c\xde\x43\x37\xf6\x8d"
2406 "\x72\xf0\x86\x9a\xbb\x3b\x8e\x7a\x71\x03\x30\x30\x2a\x5d\xcd\x1e"
2407 "\xe4\xd3\x08\x07\x75\x17\x17\x72\x1e\x77\x6c\x98\x0d\x29\x7f\xac"
2408 "\xe7\xb2\xee\xa9\x1c\x33\x9d\x08\x39\xe1\xd8\x5b\xe5\xbc\x48\xb2"
2409 "\xb6\xdf\xcd\xa0\x42\x06\xcc\xfb\xed\x60\x6f\xbc\x57\xac\x09\x45",
2410 .expected_a_public =
2411 "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2412 "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2413 "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2414 "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2415 "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2416 "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2417 "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2418 "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2419 "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2420 "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2421 "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2422 "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2423 "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2424 "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2425 "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2426 "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2427 .expected_ss =
2428 "\xf3\x0e\x64\x7b\x66\xd7\x82\x7e\xab\x7e\x4a\xbe\x13\x6f\x43\x3d"
2429 "\xea\x4f\x1f\x8b\x9d\x41\x56\x71\xe1\x06\x96\x02\x68\xfa\x44\x6e"
2430 "\xe7\xf2\x26\xd4\x01\x4a\xf0\x28\x25\x76\xad\xd7\xe0\x17\x74\xfe"
2431 "\xf9\xe1\x6d\xd3\xf7\xc7\xdf\xc0\x62\xa5\xf3\x4e\x1b\x5c\x77\x2a"
2432 "\xfb\x0b\x87\xc3\xde\x1e\xc1\xe0\xd3\x7a\xb8\x02\x02\xec\x9c\x97"
2433 "\xfb\x34\xa0\x20\x10\x23\x87\xb2\x9a\x72\xe3\x3d\xb2\x18\x50\xf3"
2434 "\x6a\xd3\xd3\x19\xc4\x36\xd5\x59\xd6\xd6\xa7\x5c\xc3\xf9\x09\x33"
2435 "\xa1\xf5\xb9\x4b\xf3\x0b\xe1\x4f\x79\x6b\x45\xf2\xec\x8b\xe5\x69"
2436 "\x9f\xc6\x05\x01\xfe\x3a\x13\xfd\x6d\xea\x03\x83\x29\x7c\x7f\xf5"
2437 "\x41\x55\x95\xde\x7e\x62\xae\xaf\x28\xdb\x7c\xa9\x90\x1e\xb2\xb1"
2438 "\x1b\xef\xf1\x2e\xde\x47\xaa\xa8\x92\x9a\x49\x3d\xc0\xe0\x8d\xbb"
2439 "\x0c\x42\x86\xaf\x00\xce\xb0\xab\x22\x7c\xe9\xbe\xb9\x72\x2f\xcf"
2440 "\x5e\x5d\x62\x52\x2a\xd1\xfe\xcc\xa2\xf3\x40\xfd\x01\xa7\x54\x0a"
2441 "\xa1\xfb\x1c\xf2\x44\xa6\x47\x30\x5a\xba\x2a\x05\xff\xd0\x6c\xab"
2442 "\xeb\xe6\x8f\xf6\xd7\x73\xa3\x0e\x6c\x0e\xcf\xfd\x8e\x16\x5d\xe0"
2443 "\x2c\x11\x05\x82\x3c\x22\x16\x6c\x52\x61\xcf\xbb\xff\xf8\x06\xd0",
2444 .secret_size = 272,
2445 .b_public_size = 256,
2446 .expected_a_public_size = 256,
2447 .expected_ss_size = 256,
2448 },
2449 {
2450 .secret =
2451#ifdef __LITTLE_ENDIAN
2452 "\x01\x00" /* type */
2453 "\x10\x00" /* len */
2454 "\x00\x00\x00\x00" /* key_size */
2455 "\x00\x00\x00\x00" /* p_size */
2456 "\x00\x00\x00\x00", /* g_size */
2457#else
2458 "\x00\x01" /* type */
2459 "\x00\x10" /* len */
2460 "\x00\x00\x00\x00" /* key_size */
2461 "\x00\x00\x00\x00" /* p_size */
2462 "\x00\x00\x00\x00", /* g_size */
2463#endif
2464 .b_secret =
2465#ifdef __LITTLE_ENDIAN
2466 "\x01\x00" /* type */
2467 "\x10\x01" /* len */
2468 "\x00\x01\x00\x00" /* key_size */
2469 "\x00\x00\x00\x00" /* p_size */
2470 "\x00\x00\x00\x00" /* g_size */
2471#else
2472 "\x00\x01" /* type */
2473 "\x01\x10" /* len */
2474 "\x00\x00\x01\x00" /* key_size */
2475 "\x00\x00\x00\x00" /* p_size */
2476 "\x00\x00\x00\x00" /* g_size */
2477#endif
2478 /* xa */
2479 "\x23\x7d\xd0\x06\xfd\x7a\xe5\x7a\x08\xda\x98\x31\xc0\xb3\xd5\x85"
2480 "\xe2\x0d\x2a\x91\x5f\x78\x4b\xa6\x62\xd0\xa6\x35\xd4\xef\x86\x39"
2481 "\xf1\xdb\x71\x5e\xb0\x11\x2e\xee\x91\x3a\xaa\xf9\xe3\xdf\x8d\x8b"
2482 "\x48\x41\xde\xe8\x78\x53\xc5\x5f\x93\xd2\x79\x0d\xbe\x8d\x83\xe8"
2483 "\x8f\x00\xd2\xde\x13\x18\x04\x05\x20\x6d\xda\xfa\x1d\x0b\x24\x52"
2484 "\x3a\x18\x2b\xe1\x1e\xae\x15\x3b\x0f\xaa\x09\x09\xf6\x01\x98\xe9"
2485 "\x81\x5d\x6b\x83\x6e\x55\xf1\x5d\x6f\x6f\x0d\x9d\xa8\x72\x32\x63"
2486 "\x60\xe6\x0b\xc5\x22\xe2\xf9\x46\x58\xa2\x1c\x2a\xb0\xd5\xaf\xe3"
2487 "\x5b\x03\xb7\x36\xb7\xba\x55\x20\x08\x7c\x51\xd4\x89\x42\x9c\x14"
2488 "\x23\xe2\x71\x3e\x15\x2a\x0d\x34\x8a\xde\xad\x84\x11\x15\x72\x18"
2489 "\x42\x43\x0a\xe2\x58\x29\xb3\x90\x0f\x56\xd8\x8a\x0f\x0e\xbc\x0e"
2490 "\x9c\xe7\xd5\xe6\x5b\xbf\x06\x64\x38\x12\xa5\x8d\x5b\x68\x34\xdd"
2491 "\x75\x48\xc9\xa7\xa3\x58\x5a\x1c\xe1\xb2\xc5\xe3\x39\x03\xcf\xab"
2492 "\xc2\x14\x07\xaf\x55\x80\xc7\x63\xe4\x03\xeb\xe9\x0a\x25\x61\x85"
2493 "\x1d\x0e\x81\x52\x7b\xbc\x4a\x0c\xc8\x59\x6a\xac\x18\xfb\x8c\x0c"
2494 "\xb4\x79\xbd\xa1\x4c\xbb\x02\xc9\xd5\x13\x88\x3d\x25\xaa\x77\x49",
2495 .b_public =
2496 "\x8b\xdb\xc1\xf7\xc6\xba\xa1\x38\x95\x6a\xa1\xb6\x04\x5e\xae\x52"
2497 "\x72\xfc\xef\x2d\x9d\x71\x05\x9c\xd3\x02\xa9\xfb\x55\x0f\xfa\xc9"
2498 "\xb4\x34\x51\xa3\x28\x89\x8d\x93\x92\xcb\xd9\xb5\xb9\x66\xfc\x67"
2499 "\x15\x92\x6f\x73\x85\x15\xe2\xfc\x11\x6b\x97\x8c\x4b\x0f\x12\xfa"
2500 "\x8d\x72\x76\x9b\x8f\x3b\xfe\x31\xbe\x42\x88\x4c\xd2\xb2\x70\xa6"
2501 "\xa5\xe3\x7e\x73\x07\x12\x36\xaa\xc9\x5c\x83\xe1\xf1\x46\x41\x4f"
2502 "\x7c\x52\xaf\xdc\xa4\xe6\x82\xa3\x86\x83\x47\x5a\x12\x3a\x0c\xe3"
2503 "\xdd\xdb\x94\x03\x2a\x59\x91\xa0\x19\xe5\xf8\x07\xdd\x54\x6a\x22"
2504 "\x43\xb7\xf3\x74\xd7\xb9\x30\xfe\x9c\xe8\xd1\xcf\x06\x43\x68\xb9"
2505 "\x54\x8f\x54\xa2\xe5\x3c\xf2\xc3\x4c\xee\xd4\x7c\x5d\x0e\xb1\x7b"
2506 "\x16\x68\xb5\xb3\x7d\xd4\x11\x83\x5c\x77\x17\xc4\xf0\x59\x76\x7a"
2507 "\x83\x40\xe5\xd9\x4c\x76\x23\x5b\x17\x6d\xee\x4a\x92\x68\x4b\x89"
2508 "\xa0\x6d\x23\x8c\x80\x31\x33\x3a\x12\xf4\x50\xa6\xcb\x13\x97\x01"
2509 "\xb8\x2c\xe6\xd2\x38\xdf\xd0\x7f\xc6\x27\x19\x0e\xb2\x07\xfd\x1f"
2510 "\x1b\x9c\x1b\x87\xf9\x73\x6a\x3f\x7f\xb0\xf9\x2f\x3c\x19\x9f\xc9"
2511 "\x8f\x97\x21\x0e\x8e\xbb\x1a\x17\x20\x15\xdd\xc6\x42\x60\xae\x4d",
2512 .secret_size = 16,
2513 .b_secret_size = 272,
2514 .b_public_size = 256,
2515 .expected_a_public_size = 256,
2516 .expected_ss_size = 256,
2517 .genkey = true,
2518 },
2519};
2520
2521static const struct kpp_testvec ffdhe3072_dh_tv_template[] __maybe_unused = {
2522 {
2523 .secret =
2524#ifdef __LITTLE_ENDIAN
2525 "\x01\x00" /* type */
2526 "\x90\x01" /* len */
2527 "\x80\x01\x00\x00" /* key_size */
2528 "\x00\x00\x00\x00" /* p_size */
2529 "\x00\x00\x00\x00" /* g_size */
2530#else
2531 "\x00\x01" /* type */
2532 "\x01\x90" /* len */
2533 "\x00\x00\x01\x80" /* key_size */
2534 "\x00\x00\x00\x00" /* p_size */
2535 "\x00\x00\x00\x00" /* g_size */
2536#endif
2537 /* xa */
2538 "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2539 "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2540 "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2541 "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2542 "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2543 "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2544 "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2545 "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2546 "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2547 "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2548 "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2549 "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2550 "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2551 "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2552 "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2553 "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2554 "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2555 "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2556 "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2557 "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2558 "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2559 "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2560 "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2561 "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2562 .b_public =
2563 "\x73\x40\x8b\xce\xe8\x6a\x1c\x03\x50\x54\x42\x36\x22\xc6\x1d\xe8"
2564 "\xe1\xef\x5c\x89\xa5\x55\xc1\xc4\x1c\xd7\x4f\xee\x5d\xba\x62\x60"
2565 "\xfe\x93\x2f\xfd\x93\x2c\x8f\x70\xc6\x47\x17\x25\xb2\x95\xd7\x7d"
2566 "\x41\x81\x4d\x52\x1c\xbe\x4d\x57\x3e\x26\x51\x28\x03\x8f\x67\xf5"
2567 "\x22\x16\x1c\x67\xf7\x62\xcb\xfd\xa3\xee\x8d\xe0\xfa\x15\x9a\x53"
2568 "\xbe\x7b\x9f\xc0\x12\x7a\xfc\x5e\x77\x2d\x60\x06\xba\x71\xc5\xca"
2569 "\xd7\x26\xaf\x3b\xba\x6f\xd3\xc4\x82\x57\x19\x26\xb0\x16\x7b\xbd"
2570 "\x83\xf2\x21\x03\x79\xff\x0a\x6f\xc5\x7b\x00\x15\xad\x5b\xf4\x42"
2571 "\x1f\xcb\x7f\x3d\x34\x77\x3c\xc3\xe0\x38\xa5\x40\x51\xbe\x6f\xd9"
2572 "\xc9\x77\x9c\xfc\x0d\xc1\x8e\xef\x0f\xaa\x5e\xa8\xbb\x16\x4a\x3e"
2573 "\x26\x55\xae\xc1\xb6\x3e\xfd\x73\xf7\x59\xd2\xe5\x4b\x91\x8e\x28"
2574 "\x77\x1e\x5a\xe2\xcd\xce\x92\x35\xbb\x1e\xbb\xcf\x79\x94\xdf\x31"
2575 "\xde\x31\xa8\x75\xf6\xe0\xaa\x2e\xe9\x4f\x44\xc8\xba\xb9\xab\x80"
2576 "\x29\xa1\xea\x58\x2e\x40\x96\xa0\x1a\xf5\x2c\x38\x47\x43\x5d\x26"
2577 "\x2c\xd8\xad\xea\xd3\xad\xe8\x51\x49\xad\x45\x2b\x25\x7c\xde\xe4"
2578 "\xaf\x03\x2a\x39\x26\x86\x66\x10\xbc\xa8\x71\xda\xe0\xe8\xf1\xdd"
2579 "\x50\xff\x44\xb2\xd3\xc7\xff\x66\x63\xf6\x42\xe3\x97\x9d\x9e\xf4"
2580 "\xa6\x89\xb9\xab\x12\x17\xf2\x85\x56\x9c\x6b\x24\x71\x83\x57\x7d"
2581 "\x3c\x7b\x2b\x88\x92\x19\xd7\x1a\x00\xd5\x38\x94\x43\x60\x4d\xa7"
2582 "\x12\x9e\x0d\xf6\x5c\x9a\xd3\xe2\x9e\xb1\x21\xe8\xe2\x9e\xe9\x1e"
2583 "\x9d\xa5\x94\x95\xa6\x3d\x12\x15\xd8\x8b\xac\xe0\x8c\xde\xe6\x40"
2584 "\x98\xaa\x5e\x55\x4f\x3d\x86\x87\x0d\xe3\xc6\x68\x15\xe6\xde\x17"
2585 "\x78\x21\xc8\x6c\x06\xc7\x94\x56\xb4\xaf\xa2\x35\x0b\x0c\x97\xd7"
2586 "\xa4\x12\xee\xf4\xd2\xef\x80\x28\xb3\xee\xe9\x15\x8b\x01\x32\x79",
2587 .expected_a_public =
2588 "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2589 "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2590 "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2591 "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2592 "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2593 "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2594 "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2595 "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2596 "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2597 "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2598 "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2599 "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2600 "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2601 "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2602 "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2603 "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2604 "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2605 "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2606 "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2607 "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2608 "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2609 "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2610 "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2611 "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2612 .expected_ss =
2613 "\x47\x8e\xb2\x19\x09\xf0\x46\x99\x6b\x41\x86\xf7\x34\xad\xbf\x2a"
2614 "\x18\x1b\x7d\xec\xa9\xb2\x47\x2f\x40\xfb\x9a\x64\x30\x44\xf3\x4c"
2615 "\x01\x67\xad\x57\x5a\xbc\xd4\xc8\xef\x7e\x8a\x14\x74\x1d\x6d\x8c"
2616 "\x7b\xce\xc5\x57\x5f\x95\xe8\x72\xba\xdf\xa3\xcd\x00\xbe\x09\x4c"
2617 "\x06\x72\xe7\x17\xb0\xe5\xe5\xb7\x20\xa5\xcb\xd9\x68\x99\xad\x3f"
2618 "\xde\xf3\xde\x1d\x1c\x00\x74\xd2\xd1\x57\x55\x5d\xce\x76\x0c\xc4"
2619 "\x7a\xc4\x65\x7c\x19\x17\x0a\x09\x66\x7d\x3a\xab\xf7\x61\x3a\xe3"
2620 "\x5b\xac\xcf\x69\xb0\x8b\xee\x5d\x28\x36\xbb\x3f\x74\xce\x6e\x38"
2621 "\x1e\x39\xab\x26\xca\x89\xdc\x58\x59\xcb\x95\xe4\xbc\xd6\x19\x48"
2622 "\xd0\x55\x68\x7b\xb4\x27\x95\x3c\xd9\x58\x10\x4f\x8f\x55\x1c\x3f"
2623 "\x04\xce\x89\x1f\x82\x28\xe9\x48\x17\x47\x8f\xee\xb7\x8f\xeb\xb1"
2624 "\x29\xa8\x23\x18\x73\x33\x9f\x83\x08\xca\xcd\x54\x6e\xca\xec\x78"
2625 "\x7b\x16\x83\x3f\xdb\x0a\xef\xfd\x87\x94\x19\x08\x6e\x6e\x22\x57"
2626 "\xd7\xd2\x79\xf9\xf6\xeb\xe0\x6c\x93\x9d\x95\xfa\x41\x7a\xa9\xd6"
2627 "\x2a\xa3\x26\x9b\x24\x1b\x8b\xa0\xed\x04\xb2\xe4\x6c\x4e\xc4\x3f"
2628 "\x61\xe5\xe0\x4d\x09\x28\xaf\x58\x35\x25\x0b\xd5\x38\x18\x69\x51"
2629 "\x18\x51\x73\x7b\x28\x19\x9f\xe4\x69\xfc\x2c\x25\x08\x99\x8f\x62"
2630 "\x65\x62\xa5\x28\xf1\xf4\xfb\x02\x29\x27\xb0\x5e\xbb\x4f\xf9\x1a"
2631 "\xa7\xc4\x38\x63\x5b\x01\xfe\x00\x66\xe3\x47\x77\x21\x85\x17\xd5"
2632 "\x34\x19\xd3\x87\xab\x44\x62\x08\x59\xb2\x6b\x1f\x21\x0c\x23\x84"
2633 "\xf7\xba\x92\x67\xf9\x16\x85\x6a\xe0\xeb\xe7\x4f\x06\x80\x81\x81"
2634 "\x28\x9c\xe8\x2e\x71\x97\x48\xe0\xd1\xbc\xce\xe9\x42\x2c\x89\xdf"
2635 "\x0b\xa9\xa1\x07\x84\x33\x78\x7f\x49\x2f\x1c\x55\xc3\x7f\xc3\x37"
2636 "\x40\xdf\x13\xf4\xa0\x21\x79\x6e\x3a\xe3\xb8\x23\x9e\x8a\x6e\x9c",
2637 .secret_size = 400,
2638 .b_public_size = 384,
2639 .expected_a_public_size = 384,
2640 .expected_ss_size = 384,
2641 },
2642 {
2643 .secret =
2644#ifdef __LITTLE_ENDIAN
2645 "\x01\x00" /* type */
2646 "\x10\x00" /* len */
2647 "\x00\x00\x00\x00" /* key_size */
2648 "\x00\x00\x00\x00" /* p_size */
2649 "\x00\x00\x00\x00", /* g_size */
2650#else
2651 "\x00\x01" /* type */
2652 "\x00\x10" /* len */
2653 "\x00\x00\x00\x00" /* key_size */
2654 "\x00\x00\x00\x00" /* p_size */
2655 "\x00\x00\x00\x00", /* g_size */
2656#endif
2657 .b_secret =
2658#ifdef __LITTLE_ENDIAN
2659 "\x01\x00" /* type */
2660 "\x90\x01" /* len */
2661 "\x80\x01\x00\x00" /* key_size */
2662 "\x00\x00\x00\x00" /* p_size */
2663 "\x00\x00\x00\x00" /* g_size */
2664#else
2665 "\x00\x01" /* type */
2666 "\x01\x90" /* len */
2667 "\x00\x00\x01\x80" /* key_size */
2668 "\x00\x00\x00\x00" /* p_size */
2669 "\x00\x00\x00\x00" /* g_size */
2670#endif
2671 /* xa */
2672 "\x6b\xb4\x97\x23\xfa\xc8\x5e\xa9\x7b\x63\xe7\x3e\x0e\x99\xc3\xb9"
2673 "\xda\xb7\x48\x0d\xc3\xb1\xbf\x4f\x17\xc7\xa9\x51\xf6\x64\xff\xc4"
2674 "\x31\x58\x87\x25\x83\x2c\x00\xf0\x41\x29\xf7\xee\xf9\xe6\x36\x76"
2675 "\xd6\x3a\x24\xbe\xa7\x07\x0b\x93\xc7\x9f\x6c\x75\x0a\x26\x75\x76"
2676 "\xe3\x0c\x42\xe0\x00\x04\x69\xd9\xec\x0b\x59\x54\x28\x8f\xd7\x9a"
2677 "\x63\xf4\x5b\xdf\x85\x65\xc4\xe1\x95\x27\x4a\x42\xad\x36\x47\xa9"
2678 "\x0a\xf8\x14\x1c\xf3\x94\x3b\x7e\x47\x99\x35\xa8\x18\xec\x70\x10"
2679 "\xdf\xcb\xd2\x78\x88\xc1\x2d\x59\x93\xc1\xa4\x6d\xd7\x1d\xb9\xd5"
2680 "\xf8\x30\x06\x7f\x98\x90\x0c\x74\x5e\x89\x2f\x64\x5a\xad\x5f\x53"
2681 "\xb2\xa3\xa8\x83\xbf\xfc\x37\xef\xb8\x36\x0a\x5c\x62\x81\x64\x74"
2682 "\x16\x2f\x45\x39\x2a\x91\x26\x87\xc0\x12\xcc\x75\x11\xa3\xa1\xc5"
2683 "\xae\x20\xcf\xcb\x20\x25\x6b\x7a\x31\x93\x9d\x38\xb9\x57\x72\x46"
2684 "\xd4\x84\x65\x87\xf1\xb5\xd3\xab\xfc\xc3\x4d\x40\x92\x94\x1e\xcd"
2685 "\x1c\x87\xec\x3f\xcd\xbe\xd0\x95\x6b\x40\x02\xdd\x62\xeb\x0a\xda"
2686 "\x4f\xbe\x8e\x32\x48\x8b\x6d\x83\xa0\x96\x62\x23\xec\x83\x91\x44"
2687 "\xf9\x72\x01\xac\xa0\xe4\x72\x1d\x5a\x75\x05\x57\x90\xae\x7e\xb4"
2688 "\x71\x39\x01\x05\xdc\xe9\xee\xcb\xf0\x61\x28\x91\x69\x8c\x31\x03"
2689 "\x7a\x92\x15\xa1\x58\x67\x3d\x70\x82\xa6\x2c\xfe\x10\x56\x58\xd3"
2690 "\x94\x67\xe1\xbe\xee\xc1\x64\x5c\x4b\xc8\x28\x3d\xc5\x66\x3a\xab"
2691 "\x22\xc1\x7e\xa1\xbb\xf3\x19\x3b\xda\x46\x82\x45\xd4\x3c\x7c\xc6"
2692 "\xce\x1f\x7f\x95\xa2\x17\xff\x88\xba\xd6\x4d\xdb\xd2\xea\xde\x39"
2693 "\xd6\xa5\x18\x73\xbb\x64\x6e\x79\xe9\xdc\x3f\x92\x7f\xda\x1f\x49"
2694 "\x33\x70\x65\x73\xa2\xd9\x06\xb8\x1b\x29\x29\x1a\xe0\xa3\xe6\x05"
2695 "\x9a\xa8\xc2\x4e\x7a\x78\x1d\x22\x57\x21\xc8\xa3\x8d\x66\x3e\x23",
2696 .b_public =
2697 "\x1b\x6a\xba\xea\xa3\xcc\x50\x69\xa9\x41\x89\xaf\x04\xe1\x44\x22"
2698 "\x97\x20\xd1\xf6\x1e\xcb\x64\x36\x6f\xee\x0b\x16\xc1\xd9\x91\xbe"
2699 "\x57\xc8\xd9\xf2\xa1\x96\x91\xec\x41\xc7\x79\x00\x1a\x48\x25\x55"
2700 "\xbe\xf3\x20\x8c\x38\xc6\x7b\xf2\x8b\x5a\xc3\xb5\x87\x0a\x86\x3d"
2701 "\xb7\xd6\xce\xb0\x96\x2e\x5d\xc4\x00\x5e\x42\xe4\xe5\x50\x4f\xb8"
2702 "\x6f\x18\xa4\xe1\xd3\x20\xfc\x3c\xf5\x0a\xff\x23\xa6\x5b\xb4\x17"
2703 "\x3e\x7b\xdf\xb9\xb5\x3c\x1b\x76\x29\xcd\xb4\x46\x4f\x27\x8f\xd2"
2704 "\xe8\x27\x66\xdb\xe8\xb3\xf5\xe1\xd0\x04\xcd\x89\xff\xba\x76\x67"
2705 "\xe8\x4d\xcf\x86\x1c\x8a\xd1\xcf\x99\x27\xfb\xa9\x78\xcc\x94\xaf"
2706 "\x3d\x04\xfd\x25\xc0\x47\xfa\x29\x80\x05\xf4\xde\xad\xdb\xab\x12"
2707 "\xb0\x2b\x8e\xca\x02\x06\x6d\xad\x3e\x09\xb1\x22\xa3\xf5\x4c\x6d"
2708 "\x69\x99\x58\x8b\xd8\x45\x2e\xe0\xc9\x3c\xf7\x92\xce\x21\x90\x6b"
2709 "\x3b\x65\x9f\x64\x79\x8d\x67\x22\x1a\x37\xd3\xee\x51\xe2\xe7\x5a"
2710 "\x93\x51\xaa\x3c\x4b\x04\x16\x32\xef\xe3\x66\xbe\x18\x94\x88\x64"
2711 "\x79\xce\x06\x3f\xb8\xd6\xee\xdc\x13\x79\x6f\x20\x14\xc2\x6b\xce"
2712 "\xc8\xda\x42\xa5\x93\x5b\xe4\x7f\x1a\xe6\xda\x0f\xb3\xc1\x5f\x30"
2713 "\x50\x76\xe8\x37\x3d\xca\x77\x2c\xa8\xe4\x3b\xf9\x6f\xe0\x17\xed"
2714 "\x0e\xef\xb7\x31\x14\xb5\xea\xd9\x39\x22\x89\xb6\x40\x57\xcc\x84"
2715 "\xef\x73\xa7\xe9\x27\x21\x85\x89\xfa\xaf\x03\xda\x9c\x8b\xfd\x52"
2716 "\x7d\xb0\xa4\xe4\xf9\xd8\x90\x55\xc4\x39\xd6\x9d\xaf\x3b\xce\xac"
2717 "\xaa\x36\x14\x7a\x9b\x8b\x12\x43\xe1\xca\x61\xae\x46\x5b\xe7\xe5"
2718 "\x88\x32\x80\xa0\x2d\x51\xbb\x2f\xea\xeb\x3c\x71\xb2\xae\xce\xca"
2719 "\x61\xd2\x76\xe0\x45\x46\x78\x4e\x09\x2d\xc2\x54\xc2\xa9\xc7\xa8"
2720 "\x55\x8e\x72\xa4\x8b\x8a\xc9\x01\xdb\xe9\x58\x11\xa1\xc4\xe7\x12",
2721 .secret_size = 16,
2722 .b_secret_size = 400,
2723 .b_public_size = 384,
2724 .expected_a_public_size = 384,
2725 .expected_ss_size = 384,
2726 .genkey = true,
2727 },
2728};
2729
2730static const struct kpp_testvec ffdhe4096_dh_tv_template[] __maybe_unused = {
2731 {
2732 .secret =
2733#ifdef __LITTLE_ENDIAN
2734 "\x01\x00" /* type */
2735 "\x10\x02" /* len */
2736 "\x00\x02\x00\x00" /* key_size */
2737 "\x00\x00\x00\x00" /* p_size */
2738 "\x00\x00\x00\x00" /* g_size */
2739#else
2740 "\x00\x01" /* type */
2741 "\x02\x10" /* len */
2742 "\x00\x00\x02\x00" /* key_size */
2743 "\x00\x00\x00\x00" /* p_size */
2744 "\x00\x00\x00\x00" /* g_size */
2745#endif
2746 /* xa */
2747 "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2748 "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2749 "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2750 "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2751 "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2752 "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2753 "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2754 "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2755 "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2756 "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2757 "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2758 "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2759 "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2760 "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2761 "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2762 "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2763 "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2764 "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2765 "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2766 "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2767 "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2768 "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2769 "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2770 "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2771 "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2772 "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2773 "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2774 "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2775 "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2776 "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2777 "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2778 "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2779 .b_public =
2780 "\x24\x38\x02\x02\x2f\xeb\x54\xdd\x73\x21\x91\x4a\xd8\xa4\x0a\xbf"
2781 "\xf4\xf5\x9a\x45\xb5\xcd\x42\xa3\x57\xcc\x65\x4a\x23\x2e\xee\x59"
2782 "\xba\x6f\x14\x89\xae\x2e\x14\x0a\x72\x77\x23\x7f\x6c\x2e\xba\x52"
2783 "\x3f\x71\xbf\xe4\x60\x03\x16\xaa\x61\xf5\x80\x1d\x8a\x45\x9e\x53"
2784 "\x7b\x07\xd9\x7e\xfe\xaf\xcb\xda\xff\x20\x71\xba\x89\x39\x75\xc3"
2785 "\xb3\x65\x0c\xb1\xa7\xfa\x4a\xe7\xe0\x85\xc5\x4e\x91\x47\x41\xf4"
2786 "\xdd\xcd\xc5\x3d\x17\x12\xed\xee\xc0\x31\xb1\xaf\xc1\xd5\x3c\x07"
2787 "\xa1\x5a\xc4\x05\x45\xe3\x10\x0c\xc3\x14\xae\x65\xca\x40\xae\x31"
2788 "\x5c\x13\x0d\x32\x85\xa7\x6e\xf4\x5e\x29\x3d\x4e\xd3\xd7\x49\x58"
2789 "\xe1\x73\xbb\x0a\x7b\xd6\x13\xea\x49\xd7\x20\x3d\x31\xaa\x77\xab"
2790 "\x21\x74\xe9\x2f\xe9\x5e\xbe\x2f\xb4\xa2\x79\xf2\xbc\xcc\x51\x94"
2791 "\xd2\x1d\xb2\xe6\xc5\x39\x66\xd7\xe5\x46\x75\x53\x76\xed\x49\xea"
2792 "\x3b\xdd\x01\x27\xdb\x83\xa5\x9f\xd2\xee\xc8\xde\x9e\xde\xd2\xe7"
2793 "\x99\xad\x9c\xe0\x71\x66\x29\xd8\x0d\xfe\xdc\xd1\xbc\xc7\x9a\xbe"
2794 "\x8b\x26\x46\x57\xb6\x79\xfa\xad\x8b\x45\x2e\xb5\xe5\x89\x34\x01"
2795 "\x93\x00\x9d\xe9\x58\x74\x8b\xda\x07\x92\xb5\x01\x4a\xe1\x44\x36"
2796 "\xc7\x6c\xde\xc8\x7a\x17\xd0\xde\xee\x68\x92\xb5\xde\x21\x2b\x1c"
2797 "\xbc\x65\x30\x1e\xae\x15\x3d\x9a\xaf\x20\xa3\xc4\x21\x70\xfb\x2f"
2798 "\x36\x72\x31\xc0\xe8\x85\xdf\xc5\x50\x4c\x90\x10\x32\xa4\xc7\xee"
2799 "\x59\x5a\x21\xf4\xf1\x33\xcf\xbe\xac\x67\xb1\x40\x7c\x0b\x3f\x64"
2800 "\xe5\xd2\x2d\xb7\x7d\x0f\xce\xf7\x9b\x05\xee\x37\x61\xd2\x61\x9e"
2801 "\x1a\x80\x2e\x79\xe6\x1b\x25\xb3\x61\x3d\x53\xe7\xe5\x97\x9a\xc2"
2802 "\x39\xb1\xe3\x91\xc6\xee\x96\x2e\xa9\xb4\xb8\xad\xd8\x04\x3e\x11"
2803 "\x31\x67\xb8\x6a\xcb\x6e\x1a\x4c\x7f\x74\xc7\x1f\x09\xd1\xd0\x6b"
2804 "\x17\xde\xea\xe8\x0b\xe6\x6a\xee\x2f\xe3\x5b\x9c\x59\x5d\x00\x57"
2805 "\xbf\x24\x25\xba\x22\x34\xb9\xc5\x3c\xc4\x57\x26\xd0\x6d\x89\xee"
2806 "\x67\x79\x3c\x70\xf9\xc3\xb4\x30\xf0\x2e\xca\xfa\x74\x00\xd1\x00"
2807 "\x6d\x03\x97\xd5\x08\x3f\x0b\x8e\xb8\x1d\xa3\x91\x7f\xa9\x3a\xf0"
2808 "\x37\x57\x46\x87\x82\xa3\xb5\x8f\x51\xaa\xc7\x7b\xfe\x86\x26\xb9"
2809 "\xfa\xe6\x1e\xee\x92\x9d\x3a\xed\x5b\x5e\x3f\xe5\xca\x5e\x13\x01"
2810 "\xdd\x4c\x8d\x85\xf0\x60\x61\xb7\x60\x24\x83\x9f\xbe\x72\x21\x81"
2811 "\x55\x7e\x7e\x6d\xf3\x28\xc8\x77\x5a\xae\x5a\x32\x86\xd5\x61\xad",
2812 .expected_a_public =
2813 "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2814 "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2815 "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2816 "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2817 "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2818 "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2819 "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2820 "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2821 "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2822 "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2823 "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2824 "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2825 "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2826 "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2827 "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2828 "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2829 "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2830 "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2831 "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2832 "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2833 "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2834 "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2835 "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2836 "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2837 "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2838 "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2839 "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2840 "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2841 "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2842 "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2843 "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2844 "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2845 .expected_ss =
2846 "\xe2\xce\x0e\x4b\x64\xf3\x84\x62\x38\xfd\xe3\x6f\x69\x40\x22\xb0"
2847 "\x73\x27\x03\x12\x82\xa4\x6e\x03\x57\xec\x3d\xa0\xc1\x4f\x4b\x09"
2848 "\xa1\xd4\xe0\x1a\x5d\x91\x2e\x08\xad\x57\xfa\xcc\x55\x90\x5f\xa0"
2849 "\x52\x27\x62\x8d\xe5\x2d\xa1\x5f\xf0\x30\x43\x77\x4e\x3f\x02\x58"
2850 "\xcb\xa0\x51\xae\x1d\x24\xf9\x0a\xd1\x36\x0b\x95\x0f\x07\xd9\xf7"
2851 "\xe2\x36\x14\x2f\xf0\x11\xc2\xc9\xaf\x66\x4e\x0d\xb4\x60\x01\x4e"
2852 "\xa8\x49\xc6\xec\x5f\xb2\xbc\x05\x48\x91\x4e\xe1\xc3\x99\x9f\xeb"
2853 "\x4a\xc1\xde\x05\x9a\x65\x39\x7d\x2f\x89\x85\xb2\xcf\xec\x25\x27"
2854 "\x5f\x1c\x11\x63\xcf\x7b\x86\x98\x39\xae\xc2\x16\x8f\x79\xd1\x20"
2855 "\xd0\xb4\xa0\xba\x44\xd8\xf5\x3a\x0a\x08\x4c\xd1\xb9\xdd\x0a\x5b"
2856 "\x9e\x62\xf3\x52\x0c\x84\x12\x43\x9b\xd7\xdf\x86\x71\x03\xdd\x04"
2857 "\x98\x55\x0c\x7b\xe2\xe8\x03\x17\x25\x84\xd9\xbd\xe1\xce\x64\xbe"
2858 "\xca\x55\xd4\x5b\xef\x61\x5b\x68\x4b\x80\x37\x40\xae\x28\x87\x81"
2859 "\x55\x34\x96\x50\x21\x47\x49\xc0\xda\x26\x46\xb8\xe8\xcc\x5a\x27"
2860 "\x9c\x9d\x0a\x3d\xcc\x4c\x63\x27\x81\x82\x2e\xf4\xa8\x91\x37\x3e"
2861 "\xa7\x34\x6a\x0f\x60\x44\xdd\x2e\xdc\xf9\x19\xf2\x2e\x81\x05\x51"
2862 "\x16\xbc\xc0\x85\xa5\xd5\x08\x09\x1f\xcd\xed\xa4\xc5\xdb\x16\x43"
2863 "\xb5\x7a\x71\x66\x19\x2e\xef\x13\xbc\x40\x39\x0a\x00\x45\x7e\x61"
2864 "\xe9\x68\x60\x83\x00\x70\xd1\x71\xd3\xa2\x61\x3e\x00\x46\x93\x0d"
2865 "\xbf\xe6\xa2\x07\xe6\x40\x1a\xf4\x57\xc6\x67\x39\xd8\xd7\x6b\xc5"
2866 "\xa5\xd8\x38\x78\x12\xb4\x97\x12\xbe\x97\x13\xef\xe4\x74\x0c\xe0"
2867 "\x75\x89\x64\xf4\xe8\x85\xda\x84\x7b\x1d\xfe\xdd\x21\xba\xda\x01"
2868 "\x52\xdc\x59\xe5\x47\x50\x7e\x15\x20\xd0\x43\x37\x6e\x48\x39\x00"
2869 "\xee\xd9\x54\x6d\x00\x65\xc9\x4b\x85\xa2\x8a\x40\x55\xd0\x63\x0c"
2870 "\xb5\x7a\x0d\x37\x67\x27\x73\x18\x7f\x5a\xf5\x0e\x22\xb9\xb0\x3f"
2871 "\xda\xf1\xec\x7c\x24\x01\x49\xa9\x09\x0e\x0f\xc4\xa9\xef\xc8\x2b"
2872 "\x13\xd1\x0a\x6f\xf8\x92\x4b\x1d\xdd\x6c\x9c\x35\xde\x75\x46\x32"
2873 "\xe6\xfb\xda\x58\xba\x81\x08\xca\xa9\xb6\x69\x71\x96\x2a\x1f\x2e"
2874 "\x25\xe0\x37\xfe\xee\x4d\x27\xaa\x04\xda\x95\xbb\x93\xcf\x8f\xa2"
2875 "\x1d\x67\x35\xe3\x51\x8f\x87\x3b\xa9\x62\x05\xee\x44\xb7\x2e\xd0"
2876 "\x07\x63\x32\xf5\xcd\x64\x18\x20\xcf\x22\x42\x28\x22\x1a\xa8\xbb"
2877 "\x74\x8a\x6f\x2a\xea\x8a\x48\x0a\xad\xd7\xed\xba\xa3\x89\x37\x01",
2878 .secret_size = 528,
2879 .b_public_size = 512,
2880 .expected_a_public_size = 512,
2881 .expected_ss_size = 512,
2882 },
2883 {
2884 .secret =
2885#ifdef __LITTLE_ENDIAN
2886 "\x01\x00" /* type */
2887 "\x10\x00" /* len */
2888 "\x00\x00\x00\x00" /* key_size */
2889 "\x00\x00\x00\x00" /* p_size */
2890 "\x00\x00\x00\x00", /* g_size */
2891#else
2892 "\x00\x01" /* type */
2893 "\x00\x10" /* len */
2894 "\x00\x00\x00\x00" /* key_size */
2895 "\x00\x00\x00\x00" /* p_size */
2896 "\x00\x00\x00\x00", /* g_size */
2897#endif
2898 .b_secret =
2899#ifdef __LITTLE_ENDIAN
2900 "\x01\x00" /* type */
2901 "\x10\x02" /* len */
2902 "\x00\x02\x00\x00" /* key_size */
2903 "\x00\x00\x00\x00" /* p_size */
2904 "\x00\x00\x00\x00" /* g_size */
2905#else
2906 "\x00\x01" /* type */
2907 "\x02\x10" /* len */
2908 "\x00\x00\x02\x00" /* key_size */
2909 "\x00\x00\x00\x00" /* p_size */
2910 "\x00\x00\x00\x00" /* g_size */
2911#endif
2912 /* xa */
2913 "\x1a\x48\xf3\x6c\x61\x03\x42\x43\xd7\x42\x3b\xfa\xdb\x55\x6f\xa2"
2914 "\xe1\x79\x52\x0b\x47\xc5\x03\x60\x2f\x26\xb9\x1a\x14\x15\x1a\xd9"
2915 "\xe0\xbb\xa7\x82\x63\x41\xec\x26\x55\x00\xab\xe5\x21\x9d\x31\x14"
2916 "\x0e\xe2\xc2\xb2\xb8\x37\xe6\xc3\x5a\xab\xae\x25\xdb\x71\x1e\xed"
2917 "\xe8\x75\x9a\x04\xa7\x92\x2a\x99\x7e\xc0\x5b\x64\x75\x7f\xe5\xb5"
2918 "\xdb\x6c\x95\x4f\xe9\xdc\x39\x76\x79\xb0\xf7\x00\x30\x8e\x86\xe7"
2919 "\x36\xd1\xd2\x0c\x68\x7b\x94\xe9\x91\x85\x08\x86\xbc\x64\x87\xd2"
2920 "\xf5\x5b\xaf\x03\xf6\x5f\x28\x25\xf1\xa3\x20\x5c\x1b\xb5\x26\x45"
2921 "\x9a\x47\xab\xd6\xad\x49\xab\x92\x8e\x62\x6f\x48\x31\xea\xf6\x76"
2922 "\xff\xa2\xb6\x28\x78\xef\x59\xc3\x71\x5d\xa8\xd9\x70\x89\xcc\xe2"
2923 "\x63\x58\x5e\x3a\xa2\xa2\x88\xbf\x77\x20\x84\x33\x65\x64\x4e\x73"
2924 "\xe5\x08\xd5\x89\x23\xd6\x07\xac\x29\x65\x2e\x02\xa8\x35\x96\x48"
2925 "\xe7\x5d\x43\x6a\x42\xcc\xda\x98\xc4\x75\x90\x2e\xf6\xc4\xbf\xd4"
2926 "\xbc\x31\x14\x0d\x54\x30\x11\xb2\xc9\xcf\xbb\xba\xbc\xc6\xf2\xcf"
2927 "\xfe\x4a\x9d\xf3\xec\x78\x5d\x5d\xb4\x99\xd0\x67\x0f\x5a\x21\x1c"
2928 "\x7b\x95\x2b\xcf\x49\x44\x94\x05\x1a\x21\x81\x25\x7f\xe3\x8a\x2a"
2929 "\xdd\x88\xac\x44\x94\x23\x20\x3b\x75\xf6\x2a\x8a\x45\xf8\xb5\x1f"
2930 "\xb9\x8b\xeb\xab\x9b\x38\x23\x26\xf1\x0f\x34\x47\x4f\x7f\xe1\x9e"
2931 "\x84\x84\x78\xe5\xe3\x49\xeb\xcc\x2f\x02\x85\xa4\x18\x91\xde\x1a"
2932 "\x60\x54\x33\x81\xd5\xae\xdb\x23\x9c\x4d\xa4\xdb\x22\x5b\xdf\xf4"
2933 "\x8e\x05\x2b\x60\xba\xe8\x75\xfc\x34\x99\xcf\x35\xe1\x06\xba\xdc"
2934 "\x79\x2a\x5e\xec\x1c\xbe\x79\x33\x63\x1c\xe7\x5f\x1e\x30\xd6\x1b"
2935 "\xdb\x11\xb8\xea\x63\xff\xfe\x1a\x3c\x24\xf4\x78\x9c\xcc\x5d\x9a"
2936 "\xc9\x2d\xc4\x9a\xd4\xa7\x65\x84\x98\xdb\x66\x76\xf0\x34\x31\x9f"
2937 "\xce\xb5\xfb\x28\x07\xde\x1e\x0d\x9b\x01\x64\xeb\x2a\x37\x2f\x20"
2938 "\xa5\x95\x72\x2b\x54\x51\x59\x91\xea\x50\x54\x0f\x2e\xb0\x1d\xf6"
2939 "\xb9\x46\x43\xf9\xd0\x13\x21\x20\x47\x61\x1a\x1c\x30\xc6\x9e\x75"
2940 "\x22\xe4\xf2\xb1\xab\x01\xdc\x5b\x3c\x1e\xa2\x6d\xc0\xb9\x9a\x2a"
2941 "\x84\x61\xea\x85\x63\xa0\x77\xd0\xeb\x20\x68\xd5\x95\x6a\x1b\x8f"
2942 "\x1f\x9a\xba\x44\x49\x8c\x77\xa6\xd9\xa0\x14\xf8\x7d\x9b\x4e\xfa"
2943 "\xdc\x4f\x1c\x4d\x60\x50\x26\x7f\xd6\xc1\x91\x2b\xa6\x37\x5d\x94"
2944 "\x69\xb2\x47\x59\xd6\xc3\x59\xbb\xd6\x9b\x71\x52\x85\x7a\xcb\x2d",
2945 .b_public =
2946 "\x1f\xff\xd6\xc4\x59\xf3\x4a\x9e\x81\x74\x4d\x27\xa7\xc6\x6b\x35"
2947 "\xd8\xf5\xb3\x24\x97\x82\xe7\x2e\xf3\x21\x91\x23\x2f\x3d\x57\x7f"
2948 "\x15\x8c\x84\x71\xe7\x25\x35\xe8\x07\x14\x06\x4c\x83\xdc\x55\x4a"
2949 "\xf8\x45\xc5\xe9\xfa\x6e\xae\x6e\xcf\x4d\x11\x91\x26\x16\x6f\x86"
2950 "\x89\x78\xaa\xb4\x25\x54\xb2\x74\x07\xe5\x26\x26\x0c\xad\xa4\x57"
2951 "\x59\x61\x66\x71\x43\x22\xff\x49\x51\xa4\x76\x0e\x55\x7b\x60\x45"
2952 "\x4f\xaf\xbd\x9c\xec\x64\x3f\x80\x0b\x0c\x31\x41\xf0\xfe\x2c\xb7"
2953 "\x0a\xbe\xa5\x71\x08\x0d\x8d\x1e\x8a\x77\x9a\xd2\x90\x31\x96\xd0"
2954 "\x3b\x31\xdc\xc6\x18\x59\x43\xa1\x19\x5a\x84\x68\x29\xad\x5e\x58"
2955 "\xa2\x50\x3e\x83\xf5\x7a\xbd\x88\x17\x60\x89\x98\x9c\x19\x89\x27"
2956 "\x89\xfc\x33\x87\x42\xd5\xde\x19\x14\xf2\x95\x82\x10\x87\xad\x82"
2957 "\xdd\x6b\x51\x2d\x8d\x0e\x81\x4b\xde\xb3\x35\x6c\x0f\x4b\x56\x45"
2958 "\x48\x87\xe9\x5a\xf9\x70\x10\x30\x8e\xa1\xbb\xa4\x70\xbf\xa0\xab"
2959 "\x10\x31\x3c\x2c\xdc\xc4\xed\xe3\x51\xdc\xee\xd2\xa5\x5c\x4e\x6e"
2960 "\xf6\xed\x60\x5a\xeb\xf3\x02\x19\x2a\x95\xe9\x46\xff\x37\x1b\xf0"
2961 "\x1d\x10\x4a\x8f\x4f\x3a\x6e\xf5\xfc\x02\x6d\x09\x7d\xea\x69\x7b"
2962 "\x13\xb0\xb6\x80\x5c\x15\x20\xa8\x4d\x15\x56\x11\x72\x49\xdb\x48"
2963 "\x54\x40\x66\xd5\xcd\x17\x3a\x26\x95\xf6\xd7\xf2\x59\xa3\xda\xbb"
2964 "\x26\xd0\xe5\x46\xbf\xee\x0e\x7d\xf1\xe0\x11\x02\x4d\xd3\xdc\xe2"
2965 "\x3f\xc2\x51\x7e\xc7\x90\x33\x3c\x1c\xa0\x4c\x69\xcc\x1e\xc7\xac"
2966 "\x17\xe0\xe5\xf4\x8c\x05\x64\x34\xfe\x84\x70\xd7\x6b\xed\xab\xf5"
2967 "\x88\x9d\x3e\x4c\x5a\x9e\xd4\x74\xfd\xdd\x91\xd5\xd4\xcb\xbf\xf8"
2968 "\xb7\x56\xb5\xe9\x22\xa6\x6d\x7a\x44\x05\x41\xbf\xdb\x61\x28\xc6"
2969 "\x99\x49\x87\x3d\x28\x77\xf8\x83\x23\x7e\xa9\xa7\xee\x20\xdb\x6d"
2970 "\x21\x50\xb7\xc9\x52\x57\x53\xa3\xcf\xdf\xd0\xf9\xb9\x62\x96\x89"
2971 "\xf5\x5c\xa9\x8a\x11\x95\x01\x25\xc9\x81\x15\x76\xae\xf0\xc7\xc5"
2972 "\x50\xae\x6f\xb5\xd2\x8a\x8e\x9a\xd4\x30\x55\xc6\xe9\x2c\x81\x6e"
2973 "\x95\xf6\x45\x89\x55\x28\x34\x7b\xe5\x72\x9a\x2a\xe2\x98\x09\x35"
2974 "\xe0\xe9\x75\x94\xe9\x34\x95\xb9\x13\x6e\xd5\xa1\x62\x5a\x1c\x94"
2975 "\x28\xed\x84\x46\x76\x6d\x10\x37\x71\xa3\x31\x46\x64\xe4\x59\x44"
2976 "\x17\x70\x1c\x23\xc9\x7e\xf6\xab\x8a\x24\xae\x25\xe2\xb2\x5f\x33"
2977 "\xe4\xd7\xd3\x34\x2a\x49\x22\x16\x15\x9b\x90\x40\xda\x99\xd5\xaf",
2978 .secret_size = 16,
2979 .b_secret_size = 528,
2980 .b_public_size = 512,
2981 .expected_a_public_size = 512,
2982 .expected_ss_size = 512,
2983 .genkey = true,
2984 },
2985};
2986
2987static const struct kpp_testvec ffdhe6144_dh_tv_template[] __maybe_unused = {
2988 {
2989 .secret =
2990#ifdef __LITTLE_ENDIAN
2991 "\x01\x00" /* type */
2992 "\x10\x03" /* len */
2993 "\x00\x03\x00\x00" /* key_size */
2994 "\x00\x00\x00\x00" /* p_size */
2995 "\x00\x00\x00\x00" /* g_size */
2996#else
2997 "\x00\x01" /* type */
2998 "\x03\x10" /* len */
2999 "\x00\x00\x03\x00" /* key_size */
3000 "\x00\x00\x00\x00" /* p_size */
3001 "\x00\x00\x00\x00" /* g_size */
3002#endif
3003 /* xa */
3004 "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3005 "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3006 "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3007 "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3008 "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3009 "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3010 "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3011 "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3012 "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3013 "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3014 "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3015 "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3016 "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3017 "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3018 "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3019 "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3020 "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3021 "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3022 "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3023 "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3024 "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3025 "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3026 "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3027 "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3028 "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3029 "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3030 "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3031 "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3032 "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3033 "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3034 "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3035 "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3036 "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3037 "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3038 "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3039 "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3040 "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3041 "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3042 "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3043 "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3044 "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3045 "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3046 "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3047 "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3048 "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3049 "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3050 "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3051 "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3052 .b_public =
3053 "\x30\x31\xbe\x43\xd0\x14\x22\x6b\x4b\x8c\x9a\xca\xc6\xdd\xe5\x99"
3054 "\xce\xb8\x30\x23\xb6\xa8\x8c\x4d\xfa\xef\xad\xa6\x6a\x21\x50\xa6"
3055 "\x45\x2d\x19\x2a\x29\x81\xc5\xac\xb4\xa8\x5f\x6d\x5b\xc8\x5f\x12"
3056 "\x35\x21\xfb\x37\xaa\x0c\x79\xeb\xd4\x83\x01\xda\xa3\xf3\x51\x6e"
3057 "\x17\xf9\xef\x3f\xbd\x2f\xd2\x43\x82\x12\x48\xeb\x61\x4c\x8e\xf2"
3058 "\x6c\x76\xf9\x6d\x42\x2a\xcb\x10\x13\x3b\xf6\x9b\xcd\x46\x1e\xa2"
3059 "\xa7\x2c\x08\x56\xd2\x42\xf5\x03\xf0\x3e\xef\xa2\xa2\xf2\x4c\xf2"
3060 "\xdb\x4f\xeb\x40\x15\x53\x27\xf7\xd4\x8e\x58\x23\xf5\x2c\x88\x04"
3061 "\x1e\xb1\xb6\xe3\xd6\x9c\x49\x08\xa1\x4b\xb8\x33\xe4\x75\x85\xa1"
3062 "\x86\x97\xce\x1d\xe9\x9f\xe2\xd8\xf2\x7e\xad\xdc\x8a\x4d\xbd\x06"
3063 "\x52\x00\x9a\x2c\x69\xdd\x02\x0c\x69\x5a\xf9\x1d\xfd\xdc\xfb\x82"
3064 "\xb2\xe5\xf3\x24\xba\xd1\x09\x76\x90\xb5\x7a\x92\xa6\x6b\x97\xc0"
3065 "\xce\x13\x9b\x4b\xbc\x30\x91\xb2\x13\x8b\x57\x6c\x8b\x66\x6e\x58"
3066 "\x3e\x91\x50\xc7\x6c\xe1\x18\xec\xbf\x69\xcd\xcb\xa0\xbc\x0d\x05"
3067 "\xc4\xf8\x45\x92\xe0\x05\xd3\x08\xb3\x30\x19\xc8\x80\xf8\x17\x9f"
3068 "\x1e\x6a\x49\x8e\x43\xef\x7a\x49\xa5\x93\xd9\xed\xd1\x07\x03\xe4"
3069 "\xa3\x55\xeb\x1e\x2f\x69\xd7\x40\x8f\x6e\x1c\xb6\x94\xfb\xba\x4e"
3070 "\x46\xd0\x38\x71\x00\x88\x93\x6a\x55\xfc\x16\x95\x1f\xb1\xf6\x2f"
3071 "\x26\x45\x50\x54\x30\x62\x62\xe8\x80\xe5\x24\x0b\xe4\x15\x6b\x32"
3072 "\x16\xc2\x30\x9b\x56\xb4\xc9\x5e\x50\xb4\x27\x82\x86\x01\xda\x68"
3073 "\x44\x4b\x15\x81\x31\x13\x52\xd8\x08\xbc\xae\xf3\xa5\x94\x1c\x81"
3074 "\xe8\x42\xd6\x42\xd6\xff\x99\x58\x0f\x61\x3e\x82\x9e\x2d\x13\x03"
3075 "\x54\x02\x74\xf4\x6b\x43\x43\xce\x54\x44\x36\x3f\x55\xfa\xb2\x56"
3076 "\xdc\xac\xb5\x65\x89\xbe\x36\xd2\x58\x65\x79\x4c\xf3\xe2\x01\xf1"
3077 "\x69\x96\x29\x20\x5d\xee\xf5\x8a\x8b\x9f\x72\xf7\x27\x02\xde\x3b"
3078 "\xc7\x52\x19\xdc\x8e\x22\x36\x09\x14\x59\x07\xbb\x1e\x49\x69\x4f"
3079 "\x00\x7b\x9a\x5d\x23\xe9\xbe\x0d\x52\x90\xa3\x0d\xde\xe7\x80\x57"
3080 "\x53\x69\x39\xe6\xf8\x33\xeb\x92\x0d\x9e\x04\x8b\x16\x16\x16\x1c"
3081 "\xa9\xe6\xe3\x0e\x0a\xc6\xf6\x61\xd1\x44\x2b\x3e\x5e\x02\xfe\xaa"
3082 "\xe3\xf3\x8f\xf9\xc8\x20\x37\xad\xbc\x95\xb8\xc5\xe7\x95\xda\xfb"
3083 "\x80\x5b\xf6\x40\x28\xae\xc1\x4c\x09\xde\xff\x1e\xbf\x51\xd2\xfe"
3084 "\x08\xdc\xb0\x48\x21\xf5\x4c\x43\xdc\x7b\x69\x83\xc8\x69\x5c\xc4"
3085 "\xa9\x98\x76\x4b\xc4\x4a\xac\x1d\xa5\x52\xe3\x35\x43\xdd\x30\xd4"
3086 "\xa0\x51\x9c\xc2\x62\x4c\x7e\xa5\xfb\xd3\x2c\x8a\x09\x7f\x53\xa3"
3087 "\xcd\xca\x58\x1b\x4c\xaf\xba\x21\x8b\x88\x1d\xc0\xe9\x0a\x17\x30"
3088 "\x33\xd6\xa2\xa5\x49\x50\x61\x3b\xff\x37\x71\x66\xef\x61\xbc\xb2"
3089 "\x53\x82\xe5\x70\xef\x32\xff\x9d\x97\xe0\x82\xe0\xbb\x49\xc2\x29"
3090 "\x58\x89\xdd\xe9\x62\x52\xfb\xba\x22\xa6\xd9\x16\xfa\x55\xb3\x06"
3091 "\xed\x6d\x70\x6e\xdc\x47\x7c\x67\x1a\xcc\x27\x98\xd4\xd7\xe6\xf0"
3092 "\xf8\x9f\x51\x3e\xf0\xee\xad\xb6\x78\x69\x71\xb5\xcb\x09\xa3\xa6"
3093 "\x3f\x29\x24\x46\xe0\x65\xbc\x9f\x6c\xe9\xf9\x49\x49\x96\x75\xe5"
3094 "\xe1\xff\x82\x70\xf4\x7e\xff\x8f\xec\x47\x98\x6d\x5b\x88\x60\xee"
3095 "\x43\xb1\xe2\x14\xc1\x49\x95\x74\x46\xd3\x3f\x73\xb2\xe9\x88\xe0"
3096 "\xd3\xb1\xc4\x2c\xef\xee\xdd\x6c\xc5\xa1\x29\xef\x86\xd2\x36\x8a"
3097 "\x2f\x7c\x9d\x28\x0a\x6d\xc9\x5a\xdb\xd4\x04\x06\x36\x96\x09\x03"
3098 "\x71\x5d\x38\x67\xa2\x08\x2a\x04\xe7\xd6\x51\x5a\x19\x9d\xe7\xf1"
3099 "\x5d\x6f\xe2\xff\x48\x37\xb7\x8b\xb1\x14\xb4\x96\xcd\xf0\xa7\xbd"
3100 "\xef\x20\xff\x0a\x8d\x08\xb7\x15\x98\x5a\x13\xd2\xda\x2a\x27\x75",
3101 .expected_a_public =
3102 "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3103 "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3104 "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3105 "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3106 "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3107 "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3108 "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3109 "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3110 "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3111 "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3112 "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3113 "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3114 "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3115 "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3116 "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3117 "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3118 "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3119 "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3120 "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3121 "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3122 "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3123 "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3124 "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3125 "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3126 "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3127 "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3128 "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3129 "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3130 "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3131 "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3132 "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3133 "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3134 "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3135 "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3136 "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3137 "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3138 "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3139 "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3140 "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3141 "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3142 "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3143 "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3144 "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3145 "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3146 "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3147 "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3148 "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3149 "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3150 .expected_ss =
3151 "\x9a\x9c\x1c\xb7\x73\x2f\xf2\x12\xed\x59\x01\xbb\x75\xf7\xf5\xe4"
3152 "\xa0\xa8\xbc\x3f\x3f\xb6\xf7\x74\x6e\xc4\xba\x6d\x6c\x4d\x93\x31"
3153 "\x2b\xa7\xa4\xb3\x47\x8f\x77\x04\xb5\xa5\xab\xca\x6b\x5a\xe2\x86"
3154 "\x02\x60\xca\xb4\xd7\x5e\xe0\x0f\x73\xdd\xa2\x38\x7c\xae\x0f\x5a"
3155 "\x1a\xd7\xfd\xb6\xc8\x6f\xdd\xe0\x98\xd5\x07\xea\x1f\x2a\xbb\x9e"
3156 "\xef\x01\x24\x04\xee\xf5\x89\xb1\x12\x26\x54\x95\xef\xcb\x84\xe9"
3157 "\xae\x05\xef\x63\x25\x15\x65\x79\x79\x79\x91\xc3\x76\x72\xb4\x85"
3158 "\x86\xd9\xd3\x03\xb0\xff\x04\x96\x05\x3c\xde\xbf\x47\x34\x76\x70"
3159 "\x17\xd2\x24\x83\xb9\xbb\xcf\x70\x7c\xb8\xc6\x7b\x4e\x01\x86\x36"
3160 "\xc7\xc5\xe5\x8b\x7c\x69\x74\x9a\xfe\x1f\x58\x85\x0f\x00\xf8\x4e"
3161 "\xf1\x56\xdc\xd1\x11\x28\x2c\xcf\x6c\xb9\xc9\x57\x17\x2e\x19\x19"
3162 "\x55\xb3\x4c\xd8\xfb\xe7\x6f\x70\x63\xf9\x53\x45\xdd\xd5\x62\x95"
3163 "\xd3\x7d\x7e\xa0\x00\x1a\x62\x9f\x96\x0a\x5d\x0a\x25\x02\xbb\xff"
3164 "\x5a\xe8\x9e\x5a\x66\x08\x93\xbc\x92\xaf\xd2\x28\x04\x97\xc1\x54"
3165 "\xfe\xcc\x0a\x25\xa2\xf4\x1d\x5a\x9a\xb1\x3e\x9c\xba\x78\xe2\xcf"
3166 "\x71\x70\xe3\x40\xea\xba\x69\x9b\x03\xdd\x99\x26\x09\x84\x9d\x69"
3167 "\x4d\x3d\x0b\xe9\x3f\x51\xcd\x05\xe5\x00\xaf\x2c\xd3\xf6\xc0\x68"
3168 "\xb5\x23\x53\x33\x14\xbd\x39\x1c\xbd\x1b\xe6\x72\x90\xcc\xc2\x86"
3169 "\x1a\x42\x83\x55\xb3\xed\x0b\x62\x6d\x0e\xbb\x9e\x2a\x42\x32\x05"
3170 "\x3f\xf2\x2c\xc8\x9f\x3c\xd2\xb1\x0b\xb6\x4c\xa0\x22\x36\xee\xb9"
3171 "\x55\x23\x3e\x80\xc7\x28\x7c\x39\x11\xd3\x4a\x96\x2e\xef\x52\x34"
3172 "\xf2\xda\xb1\xc6\xf5\x02\x10\xbf\x56\x6b\x50\x56\xcd\x2c\xfe\xe1"
3173 "\x94\x14\x19\x24\x6e\x9a\xdf\x0c\xb8\xe2\xb8\xd5\xa3\xc1\x22\x8e"
3174 "\x84\x92\x00\x16\xf1\x3f\x83\xf6\x36\x31\xa5\x38\xc6\xcf\xf8\x9b"
3175 "\x03\xc7\x6f\xb9\xa1\x04\xdf\x20\x0f\x0b\x0f\x70\xff\x57\x36\x7f"
3176 "\xb3\x6b\xcb\x8f\x48\xf7\xb2\xdb\x85\x05\xd1\xfe\x34\x05\xf6\x57"
3177 "\xb4\x5b\xcc\x3f\x0e\xba\x36\x59\xb0\xfd\x4d\xf6\xf4\x5e\xd2\x65"
3178 "\x1d\x98\x87\xb4\x5e\xff\x29\xaa\x84\x9b\x44\x0f\x06\x36\x61\xbd"
3179 "\xdb\x51\xda\x56\xc2\xd6\x19\xe2\x57\x4f\xd0\x29\x71\xc8\xe4\xd6"
3180 "\xfb\x8c\xd0\xfc\x4f\x25\x09\xa6\xfc\x67\xe2\xb8\xac\xd3\x88\x8f"
3181 "\x1f\xf6\xa1\xe3\x45\xa6\x34\xe3\xb1\x6b\xb7\x37\x0e\x06\xc7\x63"
3182 "\xde\xac\x3b\xac\x07\x91\x64\xcc\x12\x10\x46\x85\x14\x0b\x6b\x03"
3183 "\xba\x4a\x85\xae\xc5\x8c\xa5\x9d\x36\x38\x33\xca\x42\x9c\x4b\x0c"
3184 "\x46\xe1\x77\xe9\x1f\x80\xfe\xb7\x1d\x5a\xf4\xc6\x11\x26\x78\xea"
3185 "\x81\x25\x77\x47\xed\x8b\x59\xc2\x6b\x49\xff\x83\x56\xec\xa5\xf0"
3186 "\xe0\x8b\x15\xd4\x99\x40\x2a\x65\x2a\x98\xf4\x71\x35\x63\x84\x08"
3187 "\x4d\xcd\x71\x85\x55\xbc\xa4\x1c\x90\x93\x03\x41\xde\xed\x78\x62"
3188 "\x07\x30\x50\xac\x60\x21\x06\xc3\xab\xa4\x04\xc0\xc2\x32\x07\xc4"
3189 "\x1f\x2f\xec\xe2\x32\xbf\xbe\x5e\x50\x5b\x2a\x19\x71\x44\x37\x76"
3190 "\x8b\xbc\xdb\x73\x98\x65\x78\xc9\x33\x97\x7e\xdc\x60\xa8\x87\xf2"
3191 "\xb5\x96\x55\x7f\x44\x07\xcb\x3b\xf3\xd7\x82\xfd\x77\x21\x82\x21"
3192 "\x1a\x8b\xa2\xf5\x1f\x66\xd0\x57\x00\x4f\xa9\xa5\x33\xb8\x69\x91"
3193 "\xe8\x2e\xf7\x73\x47\x89\x30\x9b\xb1\xfd\xe1\x5d\x11\xfd\x84\xd9"
3194 "\xa2\x91\x1f\x8a\xa7\x7a\x77\x8e\x3b\x10\x1d\x0a\x59\x50\x34\xb0"
3195 "\xc3\x90\x9f\x56\xb7\x43\xeb\x51\x99\x2b\x8e\x6d\x7b\x58\xe7\xc0"
3196 "\x7f\x3d\xa0\x27\x50\xf2\x6e\xc8\x1e\x7f\x84\xb3\xe1\xf7\x09\x85"
3197 "\xd2\x9b\x56\x6b\xba\xa5\x19\x2e\xec\xd8\x5c\xf5\x4e\x43\x36\x2e"
3198 "\x89\x85\x41\x7f\x9c\x91\x2e\x62\xc3\x41\xcf\x0e\xa1\x7f\xeb\x50",
3199 .secret_size = 784,
3200 .b_public_size = 768,
3201 .expected_a_public_size = 768,
3202 .expected_ss_size = 768,
3203 },
3204 {
3205 .secret =
3206#ifdef __LITTLE_ENDIAN
3207 "\x01\x00" /* type */
3208 "\x10\x00" /* len */
3209 "\x00\x00\x00\x00" /* key_size */
3210 "\x00\x00\x00\x00" /* p_size */
3211 "\x00\x00\x00\x00", /* g_size */
3212#else
3213 "\x00\x01" /* type */
3214 "\x00\x10" /* len */
3215 "\x00\x00\x00\x00" /* key_size */
3216 "\x00\x00\x00\x00" /* p_size */
3217 "\x00\x00\x00\x00", /* g_size */
3218#endif
3219 .b_secret =
3220#ifdef __LITTLE_ENDIAN
3221 "\x01\x00" /* type */
3222 "\x10\x03" /* len */
3223 "\x00\x03\x00\x00" /* key_size */
3224 "\x00\x00\x00\x00" /* p_size */
3225 "\x00\x00\x00\x00" /* g_size */
3226#else
3227 "\x00\x01" /* type */
3228 "\x03\x10" /* len */
3229 "\x00\x00\x03\x00" /* key_size */
3230 "\x00\x00\x00\x00" /* p_size */
3231 "\x00\x00\x00\x00" /* g_size */
3232#endif
3233 /* xa */
3234 "\x63\x3e\x6f\xe0\xfe\x9f\x4a\x01\x62\x77\xce\xf1\xc7\xcc\x49\x4d"
3235 "\x92\x53\x56\xe3\x39\x15\x81\xb2\xcd\xdc\xaf\x5e\xbf\x31\x1f\x69"
3236 "\xce\x41\x35\x24\xaa\x46\x53\xb5\xb7\x3f\x2b\xad\x95\x14\xfb\xe4"
3237 "\x9a\x61\xcd\x0f\x1f\x02\xee\xa4\x79\x2c\x9d\x1a\x7c\x62\x82\x39"
3238 "\xdd\x43\xcc\x58\x9f\x62\x47\x56\x1d\x0f\xc2\x67\xbc\x24\xd0\xf9"
3239 "\x0a\x50\x1b\x10\xe7\xbb\xd1\xc2\x01\xbb\xc4\x4c\xda\x12\x60\x0e"
3240 "\x95\x2b\xde\x09\xd6\x67\xe1\xbc\x4c\xb9\x67\xdf\xd0\x1f\x97\xb4"
3241 "\xde\xcb\x6b\x78\x83\x51\x74\x33\x01\x7f\xf6\x0a\x95\x69\x93\x00"
3242 "\x2a\xc3\x75\x8e\xef\xbe\x53\x11\x6d\xc4\xd0\x9f\x6d\x63\x48\xc1"
3243 "\x91\x1f\x7d\x88\xa7\x90\x78\xd1\x7e\x52\x42\x10\x01\xb4\x27\x95"
3244 "\x91\x43\xcc\x82\x91\x86\x62\xa0\x9d\xef\x65\x6e\x67\xcf\x19\x11"
3245 "\x35\x37\x5e\x94\x97\x83\xa6\x83\x1c\x7e\x8a\x3e\x32\xb0\xce\xff"
3246 "\x20\xdc\x7b\x6e\x18\xd9\x6b\x27\x31\xfc\xc3\xef\x47\x8d\xbe\x34"
3247 "\x2b\xc7\x60\x74\x3c\x93\xb3\x8e\x54\x77\x4e\x73\xe6\x40\x72\x35"
3248 "\xb0\xf0\x06\x53\x43\xbe\xd0\xc3\x87\xcc\x38\x96\xa9\x10\xa0\xd6"
3249 "\x17\xed\xa5\x6a\xf4\xf6\xaa\x77\x40\xed\x7d\x2e\x58\x0f\x5b\x04"
3250 "\x5a\x41\x12\x95\x22\xcb\xa3\xce\x8b\x6d\x6d\x89\xec\x7c\x1d\x25"
3251 "\x27\x52\x50\xa0\x5b\x93\x8c\x5d\x3f\x56\xb9\xa6\x5e\xe5\xf7\x9b"
3252 "\xc7\x9a\x4a\x2e\x79\xb5\xca\x29\x58\x52\xa0\x63\xe4\x9d\xeb\x4c"
3253 "\x4c\xa8\x37\x0b\xe9\xa0\x18\xf1\x86\xf6\x4d\x32\xfb\x9e\x4f\xb3"
3254 "\x7b\x5d\x58\x78\x70\xbd\x56\xac\x99\x75\x25\x71\x66\x76\x4e\x5e"
3255 "\x67\x4f\xb1\x17\xa7\x8b\x55\x12\x87\x01\x4e\xd1\x66\xef\xd0\x70"
3256 "\xaf\x14\x34\xee\x2a\x76\x49\x25\xa6\x2e\x43\x37\x75\x7d\x1a\xad"
3257 "\x08\xd5\x01\x85\x9c\xe1\x20\xd8\x38\x5c\x57\xa5\xed\x9d\x46\x3a"
3258 "\xb7\x46\x60\x29\x8b\xc4\x21\x50\x0a\x30\x9c\x57\x42\xe4\x35\xf8"
3259 "\x12\x5c\x4f\xa2\x20\xc2\xc9\x43\xe3\x6d\x20\xbc\xdf\xb8\x37\x33"
3260 "\x45\x43\x06\x4e\x08\x6f\x8a\xcd\x61\xc3\x1b\x05\x28\x82\xbe\xf0"
3261 "\x48\x33\xe5\x93\xc9\x1a\x61\x16\x67\x03\x9d\x47\x9d\x74\xeb\xae"
3262 "\x13\xf2\xb4\x1b\x09\x11\xf5\x15\xcb\x28\xfd\x50\xe0\xbc\x58\x36"
3263 "\x38\x91\x2c\x07\x27\x1f\x49\x68\xf4\xce\xad\xf7\xba\xec\x5d\x3d"
3264 "\xfd\x27\xe2\xcf\xf4\x56\xfe\x08\xa6\x11\x61\xcb\x6c\x9f\xf9\x3c"
3265 "\x57\x0b\x8b\xaa\x00\x16\x18\xba\x1f\xe8\x4f\x01\xe2\x79\x2a\x0b"
3266 "\xc1\xbd\x52\xef\xe6\xf7\x5a\x66\xfe\x07\x3b\x50\x6b\xbb\xcb\x39"
3267 "\x3c\x94\xf6\x21\x0d\x68\x69\xa4\xed\x2e\xb5\x85\x03\x11\x38\x79"
3268 "\xec\xb5\x22\x23\xdf\x9e\xad\xb4\xbe\xd7\xc7\xdf\xea\x30\x23\x8a"
3269 "\xb7\x21\x0a\x9d\xbd\x99\x13\x7d\x5f\x7e\xaf\x28\x54\x3f\xca\x5e"
3270 "\xf4\xfc\x05\x0d\x65\x67\xd8\xf6\x8e\x90\x9d\x0d\xcf\x62\x82\xd6"
3271 "\x9f\x02\xf8\xca\xfa\x42\x24\x7f\x4d\xb7\xfc\x92\xa6\x4a\x51\xc4"
3272 "\xd8\xae\x19\x87\xc6\xa3\x83\xbe\x7b\x6d\xc3\xf5\xb8\xad\x4a\x05"
3273 "\x78\x84\x3a\x15\x2e\x40\xbe\x79\xa9\xc0\x12\xa1\x48\x39\xc3\xdb"
3274 "\x47\x4f\x7d\xea\x6d\xc7\xfa\x2c\x4e\xe9\xa5\x85\x81\xea\x6c\xcd"
3275 "\x8a\xe5\x74\x17\x76\x31\x31\x75\x96\x83\xca\x81\xbb\x5c\xa9\x79"
3276 "\x2c\xbd\x09\xfe\xe4\x86\x0d\x8c\x76\x9c\xbc\xe8\x93\xe4\xd0\xe4"
3277 "\x0f\xf8\xff\x24\x7e\x66\x61\x69\xfb\xe4\x46\x08\x94\x99\xa5\x53"
3278 "\xd7\xe4\x29\x72\x86\x86\xe8\x1d\x37\xfa\xcb\xd0\x8d\x51\xd0\xbf"
3279 "\x81\xcf\x55\xb9\xc5\x78\x8c\x74\xa0\x16\x3a\xd2\x19\x94\x29\x6a"
3280 "\x5e\xec\xd3\x20\xa0\xb2\xfd\xce\xd4\x14\xa3\x39\x10\xa9\xf4\x4e"
3281 "\xba\x21\x09\x5c\xe6\x61\x43\x51\xae\xc4\x71\xd7\x21\xef\x98\x39",
3282 .b_public =
3283 "\x45\x96\x5a\xb7\x78\x5c\xa4\x4d\x39\xb2\x5f\xc8\xc2\xaa\x1a\xf4"
3284 "\xa6\x68\xf6\x6f\x7e\xa8\x4a\x5b\x0e\xba\x0a\x99\x85\xf9\x63\xd4"
3285 "\x58\x21\x6d\xa8\x3c\xf4\x05\x10\xb0\x0d\x6f\x1c\xa0\x17\x85\xae"
3286 "\x68\xbf\xcc\x00\xc8\x86\x1b\x24\x31\xc9\x49\x23\x91\xe0\x71\x29"
3287 "\x06\x39\x39\x93\x49\x9c\x75\x18\x1a\x8b\x61\x73\x1c\x7f\x37\xd5"
3288 "\xf1\xab\x20\x5e\x62\x25\xeb\x58\xd5\xfa\xc9\x7f\xad\x57\xd5\xcc"
3289 "\x0d\xc1\x7a\x2b\x33\x2a\x76\x84\x33\x26\x97\xcf\x47\x9d\x72\x2a"
3290 "\xc9\x39\xde\xa8\x42\x27\x2d\xdc\xee\x00\x60\xd2\x4f\x13\xe0\xde"
3291 "\xd5\xc7\xf6\x7d\x8b\x2a\x43\x49\x40\x99\xc2\x61\x84\x8e\x57\x09"
3292 "\x7c\xcc\x19\x46\xbd\x4c\xd2\x7c\x7d\x02\x4d\x88\xdf\x58\x24\x80"
3293 "\xeb\x19\x3b\x2a\x13\x2b\x19\x85\x3c\xd8\x31\x03\x00\xa4\xd4\x57"
3294 "\x23\x2c\x24\x37\xb3\x62\xea\x35\x29\xd0\x2c\xac\xfd\xbd\xdf\x3d"
3295 "\xa6\xce\xfa\x0d\x5b\xb6\x15\x8b\xe3\x58\xe9\xad\x99\x87\x29\x51"
3296 "\x8d\x97\xd7\xa9\x55\xf0\x72\x6e\x4e\x58\xcb\x2b\x4d\xbd\xd0\x48"
3297 "\x7d\x14\x86\xdb\x3f\xa2\x5f\x6e\x35\x4a\xe1\x70\xb1\x53\x72\xb7"
3298 "\xbc\xe9\x3d\x1b\x33\xc0\x54\x6f\x43\x55\x76\x85\x7f\x9b\xa5\xb3"
3299 "\xc1\x1d\xd3\xfe\xe2\xd5\x96\x3d\xdd\x92\x04\xb1\xad\x75\xdb\x13"
3300 "\x4e\x49\xfc\x35\x34\xc5\xda\x13\x98\xb8\x12\xbe\xda\x90\x55\x7c"
3301 "\x11\x6c\xbe\x2b\x8c\x51\x29\x23\xc1\x51\xbc\x0c\x1c\xe2\x20\xfc"
3302 "\xfe\xf2\xaa\x71\x9b\x21\xdf\x25\x1f\x68\x21\x7e\xe1\xc9\x87\xa0"
3303 "\x20\xf6\x8d\x4f\x27\x8c\x3c\x0f\x9d\xf4\x69\x25\xaa\x49\xab\x94"
3304 "\x22\x5a\x92\x3a\xba\xb4\xc2\x8c\x5a\xaa\x04\xbf\x46\xc5\xaa\x93"
3305 "\xab\x0d\xe9\x54\x6c\x3a\x64\xa6\xa2\x21\x66\xee\x1c\x10\x21\x84"
3306 "\xf2\x9e\xcc\x57\xac\xc2\x25\x62\xad\xbb\x59\xef\x25\x61\x6c\x81"
3307 "\x38\x8a\xdc\x8c\xeb\x7b\x18\x1d\xaf\xa9\xc5\x9a\xf4\x49\x26\x8a"
3308 "\x25\xc4\x3e\x31\x95\x28\xef\xf7\x72\xe9\xc5\xaa\x59\x72\x2b\x67"
3309 "\x47\xe8\x6b\x51\x05\x24\xb8\x18\xb3\x34\x0f\x8c\x2b\x80\xba\x61"
3310 "\x1c\xbe\x9e\x9a\x7c\xe3\x60\x5e\x49\x02\xff\x50\x8a\x64\x28\x64"
3311 "\x46\x7b\x83\x14\x72\x6e\x59\x9b\x56\x09\xb4\xf0\xde\x52\xc3\xf3"
3312 "\x58\x17\x6a\xae\xb1\x0f\xf4\x39\xcc\xd8\xce\x4d\xe1\x51\x17\x88"
3313 "\xe4\x98\xd9\xd1\xa9\x55\xbc\xbf\x7e\xc4\x51\x96\xdb\x44\x1d\xcd"
3314 "\x8d\x74\xad\xa7\x8f\x87\x83\x75\xfc\x36\xb7\xd2\xd4\x89\x16\x97"
3315 "\xe4\xc6\x2a\xe9\x65\xc8\xca\x1c\xbd\x86\xaf\x57\x80\xf7\xdd\x42"
3316 "\xc0\x3b\x3f\x87\x51\x02\x2f\xf8\xd8\x68\x0f\x3d\x95\x2d\xf1\x67"
3317 "\x09\xa6\x5d\x0b\x7e\x01\xb4\xb2\x32\x01\xa8\xd0\x58\x0d\xe6\xa2"
3318 "\xd8\x4b\x22\x10\x7d\x11\xf3\xc2\x4e\xb8\x43\x8e\x31\x79\x59\xe2"
3319 "\xc4\x96\x29\x17\x40\x06\x0d\xdf\xdf\xc3\x02\x30\x2a\xd1\x8e\xf2"
3320 "\xee\x2d\xd2\x12\x63\x5a\x1d\x3c\xba\x4a\xc4\x56\x90\xc6\x12\x0b"
3321 "\xe0\x04\x3f\x35\x59\x8e\x40\x75\xf4\x4c\x10\x61\xb9\x30\x89\x7c"
3322 "\x8d\x0e\x25\xb7\x5a\x6b\x97\x05\xc6\x37\x80\x6e\x94\x56\xa8\x5f"
3323 "\x03\x94\x59\xc8\xc5\x3e\xdc\x23\xe5\x68\x4f\xd7\xbb\x6d\x7e\xc1"
3324 "\x8d\xf9\xcc\x3f\x38\xad\x77\xb3\x18\x61\xed\x04\xc0\x71\xa7\x96"
3325 "\xb1\xaf\x1d\x69\x78\xda\x6d\x89\x8b\x50\x75\x99\x44\xb3\xb2\x75"
3326 "\xd1\xc8\x14\x40\xa1\x0a\xbf\xc4\x45\xc4\xee\x12\x90\x76\x26\x64"
3327 "\xb7\x73\x2e\x0b\x0c\xfa\xc3\x55\x29\x24\x1b\x7a\x00\x27\x07\x26"
3328 "\x36\xf0\x38\x1a\xe3\xb7\xc4\x8d\x1c\x9c\xa9\xc0\xc1\x45\x91\x9e"
3329 "\x86\xdd\x82\x94\x45\xfa\xcd\x5a\x19\x12\x7d\xef\xda\x17\xad\x21"
3330 "\x17\x89\x8b\x45\xa7\xf5\xed\x51\x9e\x58\x13\xdc\x84\xa4\xe6\x37",
3331 .secret_size = 16,
3332 .b_secret_size = 784,
3333 .b_public_size = 768,
3334 .expected_a_public_size = 768,
3335 .expected_ss_size = 768,
3336 .genkey = true,
3337 },
3338};
3339
3340static const struct kpp_testvec ffdhe8192_dh_tv_template[] __maybe_unused = {
3341 {
3342 .secret =
3343#ifdef __LITTLE_ENDIAN
3344 "\x01\x00" /* type */
3345 "\x10\x04" /* len */
3346 "\x00\x04\x00\x00" /* key_size */
3347 "\x00\x00\x00\x00" /* p_size */
3348 "\x00\x00\x00\x00" /* g_size */
3349#else
3350 "\x00\x01" /* type */
3351 "\x04\x10" /* len */
3352 "\x00\x00\x04\x00" /* key_size */
3353 "\x00\x00\x00\x00" /* p_size */
3354 "\x00\x00\x00\x00" /* g_size */
3355#endif
3356 /* xa */
3357 "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3358 "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3359 "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3360 "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3361 "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3362 "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3363 "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3364 "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3365 "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3366 "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3367 "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3368 "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3369 "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3370 "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3371 "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3372 "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3373 "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3374 "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3375 "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3376 "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3377 "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3378 "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3379 "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3380 "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3381 "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3382 "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3383 "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3384 "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3385 "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3386 "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3387 "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3388 "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3389 "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3390 "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3391 "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3392 "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3393 "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3394 "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3395 "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3396 "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3397 "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3398 "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3399 "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3400 "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3401 "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3402 "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3403 "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3404 "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3405 "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3406 "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3407 "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3408 "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3409 "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3410 "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3411 "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3412 "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3413 "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3414 "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3415 "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3416 "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3417 "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3418 "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3419 "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3420 "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3421 .b_public =
3422 "\x26\xa8\x3a\x97\xe0\x52\x76\x07\x26\xa7\xbb\x21\xfd\xe5\x69\xde"
3423 "\xe6\xe0\xb5\xa0\xf1\xaa\x51\x2b\x56\x1c\x3c\x6c\xe5\x9f\x8f\x75"
3424 "\x71\x04\x86\xf6\x43\x2f\x20\x7f\x45\x4f\x5c\xb9\xf3\x90\xbe\xa9"
3425 "\xa0\xd7\xe8\x03\x0e\xfe\x99\x9b\x8a\x1c\xbe\xa7\x63\xe8\x2b\x45"
3426 "\xd4\x2c\x65\x25\x4c\x33\xda\xc5\x85\x77\x5d\x62\xea\x93\xe4\x45"
3427 "\x59\xff\xa1\xd2\xf1\x73\x11\xed\x02\x64\x8a\x1a\xfb\xe1\x88\xa6"
3428 "\x50\x6f\xff\x87\x12\xbb\xfc\x10\xcf\x19\x41\xb0\x35\x44\x7d\x51"
3429 "\xe9\xc0\x77\xf2\x73\x21\x2e\x62\xbf\x65\xa5\xd1\x3b\xb1\x3e\x19"
3430 "\x75\x4b\xb7\x8e\x03\xc3\xdf\xc8\xb2\xe6\xec\x2d\x7d\xa5\x6a\xba"
3431 "\x93\x47\x50\xeb\x6e\xdb\x88\x05\x45\xad\x03\x8c\xf7\x9a\xe1\xc9"
3432 "\x1e\x16\x96\x37\xa5\x3e\xe9\xb9\xa8\xdc\xb9\xa9\xf6\xa1\x3d\xed"
3433 "\xbe\x12\x29\x8a\x3d\x3d\x90\xfc\x94\xfe\x66\x28\x1c\x1b\xa4\x89"
3434 "\x47\x66\x4f\xac\x14\x00\x22\x2d\x5c\x03\xea\x71\x4d\x19\x7d\xd6"
3435 "\x58\x39\x4c\x3d\x06\x2b\x30\xa6\xdc\x2c\x8d\xd1\xde\x79\x77\xfa"
3436 "\x9c\x6b\x72\x11\x8a\x7f\x7d\x37\x28\x2a\x88\xbf\x0a\xdb\xac\x3b"
3437 "\xc5\xa5\xd5\x7e\x25\xec\xa6\x7f\x5b\x53\x75\x83\x49\xd4\x77\xcc"
3438 "\x7d\x7e\xd3\x3d\x30\x2c\x98\x3f\x18\x9a\x11\x8a\x37\xda\x99\x0f"
3439 "\x3b\x06\xe1\x87\xd5\xe9\x4e\xe0\x9c\x0e\x39\x34\xe2\xdd\xf6\x58"
3440 "\x60\x63\xa6\xea\xe8\xc0\xb4\xde\xdf\xa0\xbc\x21\xc3\x2d\xf4\xa4"
3441 "\xc8\x6f\x62\x6c\x0f\x71\x88\xf9\xda\x2d\x30\xd5\x95\xe1\xfc\x6d"
3442 "\x88\xc5\xc3\x95\x51\x83\xde\x41\x46\x6f\x7e\x1b\x10\x48\xad\x2b"
3443 "\x82\x88\xa2\x6f\x57\x4d\x4a\xbd\x90\xc8\x06\x8f\x52\x5d\x6e\xee"
3444 "\x09\xe6\xa3\xcb\x30\x9c\x14\xf6\xac\x66\x9b\x81\x0a\x75\x42\x6b"
3445 "\xab\x27\xec\x76\xfb\x8d\xc5\xbf\x0e\x93\x81\x7b\x81\xd4\x85\xa6"
3446 "\x90\x5a\xa6\xa2\x8b\xa9\xb7\x34\xe6\x15\x36\x93\x8b\xe2\x99\xc7"
3447 "\xad\x66\x7e\xd6\x89\xa9\xc8\x15\xcb\xc5\xeb\x06\x85\xd4\x2f\x6e"
3448 "\x9b\x95\x7a\x06\x6c\xfa\x31\x1d\xc4\xe5\x7d\xfb\x10\x35\x88\xc2"
3449 "\xbe\x1c\x16\x5d\xc2\xf4\x0d\xf3\xc9\x94\xb2\x7e\xa7\xbd\x9c\x03"
3450 "\x32\xaf\x8b\x1a\xc8\xcc\x82\xd8\x87\x96\x6e\x3d\xcc\x93\xd2\x43"
3451 "\x73\xf9\xde\xec\x49\x49\xf4\x56\x2a\xc8\x6e\x32\x70\x48\xf8\x70"
3452 "\xa3\x96\x31\xf4\xf2\x08\xc5\x12\xd2\xeb\xb6\xea\xa3\x07\x05\x61"
3453 "\x74\xa3\x04\x2f\x17\x82\x40\x5e\x4c\xd1\x51\xb8\x10\x5b\xc8\x9f"
3454 "\x87\x73\x80\x0d\x6f\xc6\xb9\xf6\x7c\x31\x0a\xcc\xd9\x03\x0f\x7a"
3455 "\x47\x69\xb1\x55\xab\xe9\xb5\x75\x62\x9e\x95\xbe\x7b\xa9\x53\x6e"
3456 "\x28\x73\xdc\xb3\xa4\x8a\x1c\x91\xf5\x8a\xf9\x32\x2b\xbd\xa5\xdc"
3457 "\x07\xb5\xaf\x49\xdb\x9c\x35\xc9\x69\xde\xac\xb1\xd0\x86\xcb\x31"
3458 "\x0b\xc4\x4f\x63\x4e\x70\xa7\x80\xe3\xbc\x0b\x73\x0e\xf2\x8c\x87"
3459 "\x88\x7b\xa9\x6d\xde\x8a\x73\x14\xb9\x80\x55\x03\x2b\x29\x64\x6a"
3460 "\xda\x48\x0e\x78\x07\x40\x48\x46\x58\xa9\x4e\x68\x1d\xd1\xc1\xc8"
3461 "\x3b\x35\x53\x61\xd5\xe3\x0d\x4c\x42\x74\x10\x67\x85\x9f\x66\x2a"
3462 "\xf7\x2b\x7b\x77\x8b\x6e\xda\x2c\xc1\x5a\x20\x34\x3f\xf5\x8b\x6f"
3463 "\xe4\x61\xf5\x58\xab\x72\x1a\xf1\x8d\x28\xcc\xa5\x30\x68\xb5\x50"
3464 "\x7b\x81\x43\x89\x8e\xa9\xac\x63\x3a\x4a\x78\x7b\xd2\x45\xe6\xe0"
3465 "\xdc\x5d\xf2\x1a\x2b\x54\x50\xa5\x9d\xf6\xe7\x9f\x25\xaf\x56\x6a"
3466 "\x84\x2a\x75\xa3\x9a\xc7\xfa\x94\xec\x83\xab\xa5\xaa\xe1\xf9\x89"
3467 "\x29\xa9\xf6\x53\x24\x24\xae\x4a\xe8\xbc\xe8\x9e\x5c\xd7\x54\x7c"
3468 "\x65\x20\x97\x28\x94\x76\xf9\x9e\x81\xcf\x98\x6a\x3a\x7b\xec\xf3"
3469 "\x09\x60\x2e\x43\x18\xb5\xf6\x8c\x44\x0f\xf2\x0a\x17\x5b\xac\x98"
3470 "\x30\xab\x6e\xd5\xb3\xef\x25\x68\x50\xb6\xe1\xc0\xe4\x5a\x63\x43"
3471 "\xea\xca\xda\x23\xc1\xc2\xe9\x30\xec\xb3\x9f\xbf\x1f\x09\x76\xaf"
3472 "\x65\xbc\xb5\xab\x30\xac\x0b\x05\xef\x5c\xa3\x65\x77\x33\x1c\xc5"
3473 "\xdf\xc9\x39\xab\xca\xf4\x3b\x88\x25\x6d\x50\x87\xb1\x79\xc2\x23"
3474 "\x9d\xb5\x21\x01\xaa\xa3\xb7\x61\xa3\x48\x91\x72\x3d\x54\x85\x86"
3475 "\x91\x81\x35\x78\xbf\x8f\x27\x57\xcb\x9b\x34\xab\x63\x40\xf1\xbc"
3476 "\x23\x5a\x26\x6a\xba\x57\xe2\x8f\x2a\xdc\x82\xe0\x3b\x7f\xec\xd3"
3477 "\xd8\x9d\xd3\x13\x54\x70\x64\xc3\xfd\xbf\xa3\x46\xa7\x53\x42\x7f"
3478 "\xc1\xbd\x7b\xb3\x13\x47\x2a\x45\x1e\x76\x2c\x0d\x6d\x46\x26\x24"
3479 "\xa8\xc7\x00\x2b\x10\x7f\x2a\x6c\xfc\x68\x4e\x6e\x85\x53\x00\xaf"
3480 "\xd5\xfb\x59\x64\xc7\x9b\x24\xd1\x05\xdc\x34\x53\x6d\x27\xa9\x79"
3481 "\xff\xd7\x5e\x7a\x40\x81\x8e\xc3\xf2\x38\xc9\x8d\x87\xb5\x38\xda"
3482 "\x43\x64\x1b\x59\x62\x88\xc1\x6e\x85\x84\x33\xcd\x6d\x7b\x62\x1d"
3483 "\x60\xf9\x98\xf7\xd1\xb1\xd4\xbe\x56\x6e\xa8\x6f\xff\xe7\x8b\x60"
3484 "\x53\x80\xc7\x7c\xe0\x78\x89\xa9\xab\x42\x8f\x8e\x4d\x92\xac\xa7"
3485 "\xfd\x47\x11\xc7\xdb\x7c\x77\xfb\xa4\x1d\x70\xaf\x56\x14\x52\xb0",
3486 .expected_a_public =
3487 "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3488 "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3489 "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3490 "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3491 "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3492 "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3493 "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3494 "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3495 "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3496 "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3497 "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3498 "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3499 "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3500 "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3501 "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3502 "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3503 "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3504 "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3505 "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3506 "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3507 "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3508 "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3509 "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3510 "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3511 "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3512 "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3513 "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3514 "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3515 "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3516 "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3517 "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3518 "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3519 "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3520 "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3521 "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3522 "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3523 "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3524 "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3525 "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3526 "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3527 "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3528 "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3529 "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3530 "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3531 "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3532 "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3533 "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3534 "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3535 "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3536 "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3537 "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3538 "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3539 "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3540 "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3541 "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3542 "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3543 "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3544 "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3545 "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3546 "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3547 "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3548 "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3549 "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3550 "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3551 .expected_ss =
3552 "\xf9\x55\x4f\x48\x38\x74\xb7\x46\xa3\xc4\x2e\x88\xf0\x34\xab\x1d"
3553 "\xcd\xa5\x58\xa7\x95\x88\x36\x62\x6f\x8a\xbd\xf2\xfb\x6f\x3e\xb9"
3554 "\x91\x65\x58\xef\x70\x2f\xd5\xc2\x97\x70\xcb\xce\x8b\x78\x1c\xe0"
3555 "\xb9\xfa\x77\x34\xd2\x4a\x19\x58\x11\xfd\x93\x84\x40\xc0\x8c\x19"
3556 "\x8b\x98\x50\x83\xba\xfb\xe2\xad\x8b\x81\x84\x63\x90\x41\x4b\xf8"
3557 "\xe8\x78\x86\x04\x09\x8d\x84\xd1\x43\xfd\xa3\x58\x21\x2a\x3b\xb1"
3558 "\xa2\x5b\x48\x74\x3c\xa9\x16\x34\x28\xf0\x8e\xde\xe2\xcf\x8e\x68"
3559 "\x53\xab\x65\x06\xb7\x86\xb1\x08\x4f\x73\x97\x00\x10\x95\xd1\x84"
3560 "\x72\xcf\x14\xdb\xff\xa7\x80\xd8\xe5\xf2\x2c\x89\x37\xb0\x81\x2c"
3561 "\xf5\xd6\x7d\x1b\xb0\xe2\x8e\x87\x32\x3d\x37\x6a\x79\xaa\xe7\x08"
3562 "\xc9\x67\x55\x5f\x1c\xae\xa6\xf5\xef\x79\x3a\xaf\x3f\x82\x14\xe2"
3563 "\xf3\x69\x91\xed\xb7\x9e\xc9\xde\xd0\x29\x70\xd9\xeb\x0f\xf5\xc7"
3564 "\xf6\x7c\xa7\x7f\xec\xed\xe1\xbd\x13\xe1\x43\xe4\x42\x30\xe3\x5f"
3565 "\xe0\xf3\x15\x55\x2f\x7a\x42\x17\x67\xcb\xc2\x4f\xd0\x85\xfc\x6c"
3566 "\xec\xe8\xfc\x25\x78\x4b\xe4\x0f\xd4\x3d\x78\x28\xd3\x53\x79\xcb"
3567 "\x2c\x82\x67\x9a\xdc\x32\x55\xd2\xda\xae\xd8\x61\xce\xd6\x59\x0b"
3568 "\xc5\x44\xeb\x08\x81\x8c\x65\xb2\xb7\xa6\xff\xf7\xbf\x99\xc6\x8a"
3569 "\xbe\xde\xc2\x17\x56\x05\x6e\xd2\xf1\x1e\xa2\x04\xeb\x02\x74\xaa"
3570 "\x04\xfc\xf0\x6b\xd4\xfc\xf0\x7a\x5f\xfe\xe2\x74\x7f\xeb\x9b\x6a"
3571 "\x8a\x09\x96\x5d\xe1\x91\xb6\x9e\x37\xd7\x63\xd7\xb3\x5c\xb5\xa3"
3572 "\x5f\x62\x00\xdf\xc5\xbf\x85\xba\xa7\xa9\xb6\x1f\x76\x78\x65\x01"
3573 "\xfe\x1d\x6c\xfe\x15\x9e\xf4\xb1\xbc\x8d\xad\x3c\xec\x69\x27\x57"
3574 "\xa4\x89\x77\x46\xe1\x49\xc7\x22\xde\x79\xe0\xf7\x3a\xa1\x59\x8b"
3575 "\x59\x71\xcc\xd6\x18\x24\xc1\x8a\x2f\xe3\xdf\xdd\x6c\xf7\x62\xaa"
3576 "\x15\xaa\x39\x37\x3b\xaf\x7d\x6e\x88\xeb\x19\xa8\xa0\x26\xd3\xaa"
3577 "\x2d\xcc\x5f\x56\x99\x86\xa9\xed\x4d\x02\x31\x40\x97\x70\x83\xa7"
3578 "\x08\x98\x7e\x49\x46\xd9\x75\xb5\x7a\x6a\x40\x69\xa0\x6d\xb2\x18"
3579 "\xc0\xad\x88\x05\x02\x95\x6f\xf7\x8f\xcb\xa2\xe4\x7b\xab\x4a\x0f"
3580 "\x9a\x1b\xef\xcc\xd1\x6a\x5d\x1e\x6a\x2a\x8b\x5b\x80\xbc\x5f\x38"
3581 "\xdd\xaf\xad\x44\x15\xb4\xaf\x26\x1c\x1a\x4d\xa7\x4b\xec\x88\x33"
3582 "\x24\x42\xb5\x0c\x9c\x56\xd4\xba\xa7\xb9\x65\xd5\x76\xb2\xbc\x16"
3583 "\x8e\xfa\x0c\x7a\xc0\xa2\x2c\x5a\x39\x56\x7d\xe6\xf8\xa9\xf4\x49"
3584 "\xd0\x50\xf2\x5e\x4b\x0a\x43\xe4\x9a\xbb\xea\x35\x28\x99\x84\x83"
3585 "\xec\xc1\xa0\x68\x15\x9a\x2b\x01\x04\x48\x09\x11\x1b\xb6\xa4\xd8"
3586 "\x03\xad\xb6\x4c\x9e\x1d\x90\xae\x88\x0f\x75\x95\x25\xa0\x27\x13"
3587 "\xb7\x4f\xe2\x3e\xd5\x59\x1a\x7c\xde\x95\x14\x28\xd1\xde\x84\xe4"
3588 "\x07\x7c\x5b\x06\xd6\xe6\x9c\x8a\xbe\xd2\xb4\x62\xd1\x67\x8a\x9c"
3589 "\xac\x4f\xfa\x70\xd6\xc8\xc0\xeb\x5e\xf6\x3e\xdc\x48\x8e\xce\x3f"
3590 "\x92\x3e\x60\x77\x63\x60\x6b\x76\x04\xa5\xba\xc9\xab\x92\x4e\x0d"
3591 "\xdc\xca\x82\x44\x5f\x3a\x42\xeb\x01\xe7\xe0\x33\xb3\x32\xaf\x4b"
3592 "\x81\x35\x2d\xb6\x57\x15\xfe\x52\xc7\x54\x2e\x41\x3b\x22\x6b\x12"
3593 "\x72\xdb\x5c\x66\xd0\xb6\xb4\xfe\x90\xc0\x20\x34\x95\xf9\xe4\xc7"
3594 "\x7e\x71\x89\x4f\x6f\xfb\x2a\xf3\xdf\x3f\xe3\xcf\x0e\x1a\xd9\xf2"
3595 "\xc1\x02\x67\x5d\xdc\xf1\x7d\xe8\xcf\x64\x77\x4d\x12\x03\x77\x2c"
3596 "\xfb\xe1\x59\xf7\x2c\x96\x9c\xaf\x46\x9c\xc7\x67\xcf\xee\x94\x50"
3597 "\xc7\xa1\x23\xe6\x9f\x4d\x73\x92\xad\xf9\x4a\xce\xdb\x44\xd5\xe3"
3598 "\x17\x05\x37\xdb\x9c\x6c\xc5\x7e\xb7\xd4\x11\x4a\x8c\x51\x03\xaa"
3599 "\x73\x4b\x16\xd9\x79\xf5\xf1\x67\x20\x9b\x25\xe5\x41\x52\x59\x06"
3600 "\x8b\xf2\x23\x2f\x6e\xea\xf3\x24\x0a\x94\xbb\xb8\x7e\xd9\x23\x4a"
3601 "\x9f\x1f\xe1\x13\xb5\xfe\x85\x2f\x4c\xbe\x6a\x66\x02\x1d\x90\xd2"
3602 "\x01\x25\x8a\xfd\x78\x3a\x28\xb8\x18\xc1\x38\x16\x21\x6b\xb4\xf9"
3603 "\x64\x0f\xf1\x73\xc4\x5c\xd1\x41\xf2\xfe\xe7\x26\xad\x79\x12\x75"
3604 "\x49\x48\xdb\x21\x71\x35\xf7\xb7\x46\x5a\xa1\x81\x25\x47\x31\xea"
3605 "\x1d\x76\xbb\x32\x5a\x90\xb0\x42\x1a\x47\xe8\x0c\x82\x92\x43\x1c"
3606 "\x0b\xdd\xe5\x25\xce\xd3\x06\xcc\x59\x5a\xc9\xa0\x01\xac\x29\x12"
3607 "\x31\x2e\x3d\x1a\xed\x3b\xf3\xa7\xef\x52\xc2\x0d\x18\x1f\x03\x28"
3608 "\xc9\x2b\x38\x61\xa4\x01\xc9\x3c\x11\x08\x14\xd4\xe5\x31\xe9\x3c"
3609 "\x1d\xad\xf8\x76\xc4\x84\x9f\xea\x16\x61\x3d\x6d\xa3\x32\x31\xcd"
3610 "\x1c\xca\xb8\x74\xc2\x45\xf3\x01\x9c\x7a\xaf\xfd\xe7\x1e\x5a\x18"
3611 "\xb1\x9d\xbb\x7a\x2d\x34\x40\x17\x49\xad\x1f\xeb\x2d\xa2\x26\xb8"
3612 "\x16\x28\x4b\x72\xdd\xd0\x8d\x85\x4c\xdd\xf8\x57\x48\xd5\x1d\xfb"
3613 "\xbd\xec\x11\x5d\x1e\x9c\x26\x81\xbf\xf1\x16\x12\x32\xc3\xf3\x07"
3614 "\x0e\x6e\x7f\x17\xec\xfb\xf4\x5d\xe2\xb1\xca\x97\xca\x46\x20\x2d"
3615 "\x09\x85\x19\x25\x89\xa8\x9b\x51\x74\xae\xc9\x1b\x4c\xb6\x80\x62",
3616 .secret_size = 1040,
3617 .b_public_size = 1024,
3618 .expected_a_public_size = 1024,
3619 .expected_ss_size = 1024,
3620 },
3621 {
3622 .secret =
3623#ifdef __LITTLE_ENDIAN
3624 "\x01\x00" /* type */
3625 "\x10\x00" /* len */
3626 "\x00\x00\x00\x00" /* key_size */
3627 "\x00\x00\x00\x00" /* p_size */
3628 "\x00\x00\x00\x00", /* g_size */
3629#else
3630 "\x00\x01" /* type */
3631 "\x00\x10" /* len */
3632 "\x00\x00\x00\x00" /* key_size */
3633 "\x00\x00\x00\x00" /* p_size */
3634 "\x00\x00\x00\x00", /* g_size */
3635#endif
3636 .b_secret =
3637#ifdef __LITTLE_ENDIAN
3638 "\x01\x00" /* type */
3639 "\x10\x04" /* len */
3640 "\x00\x04\x00\x00" /* key_size */
3641 "\x00\x00\x00\x00" /* p_size */
3642 "\x00\x00\x00\x00" /* g_size */
3643#else
3644 "\x00\x01" /* type */
3645 "\x04\x10" /* len */
3646 "\x00\x00\x04\x00" /* key_size */
3647 "\x00\x00\x00\x00" /* p_size */
3648 "\x00\x00\x00\x00" /* g_size */
3649#endif
3650 /* xa */
3651 "\x76\x6e\xeb\xf9\xeb\x76\xae\x37\xcb\x19\x49\x8b\xeb\xaf\xb0\x4b"
3652 "\x6d\xe9\x15\xad\xda\xf2\xef\x58\xe9\xd6\xdd\x4c\xb3\x56\xd0\x3b"
3653 "\x00\xb0\x65\xed\xae\xe0\x2e\xdf\x8f\x45\x3f\x3c\x5d\x2f\xfa\x96"
3654 "\x36\x33\xb2\x01\x8b\x0f\xe8\x46\x15\x6d\x60\x5b\xec\x32\xc3\x3b"
3655 "\x06\xf3\xb4\x1b\x9a\xef\x3c\x03\x0e\xcc\xce\x1d\x24\xa0\xc9\x08"
3656 "\x65\xf9\x45\xe5\xd2\x43\x08\x88\x58\xd6\x46\xe7\xbb\x25\xac\xed"
3657 "\x3b\xac\x6f\x5e\xfb\xd6\x19\xa6\x20\x3a\x1d\x0c\xe8\x00\x72\x54"
3658 "\xd7\xd9\xc9\x26\x49\x18\xc6\xb8\xbc\xdd\xf3\xce\xf3\x7b\x69\x04"
3659 "\x5c\x6f\x11\xdb\x44\x42\x72\xb6\xb7\x84\x17\x86\x47\x3f\xc5\xa1"
3660 "\xd8\x86\xef\xe2\x27\x49\x2b\x8f\x3e\x91\x12\xd9\x45\x96\xf7\xe6"
3661 "\x77\x76\x36\x58\x71\x9a\xb1\xdb\xcf\x24\x9e\x7e\xad\xce\x45\xba"
3662 "\xb5\xec\x8e\xb9\xd6\x7b\x3d\x76\xa4\x85\xad\xd8\x49\x9b\x80\x9d"
3663 "\x7f\x9f\x85\x09\x9e\x86\x5b\x6b\xf3\x8d\x39\x5e\x6f\xe4\x30\xc8"
3664 "\xa5\xf3\xdf\x68\x73\x6b\x2e\x9a\xcb\xac\x0a\x0d\x44\xc1\xaf\xb2"
3665 "\x11\x1b\x7c\x43\x08\x44\x43\xe2\x4e\xfd\x93\x30\x99\x09\x12\xbb"
3666 "\xf6\x31\x34\xa5\x3d\x45\x98\xee\xd7\x2a\x1a\x89\xf5\x37\x92\x33"
3667 "\xa0\xdd\xf5\xfb\x1f\x90\x42\x55\x5a\x0b\x82\xff\xf0\x96\x92\x15"
3668 "\x65\x5a\x55\x96\xca\x1b\xd5\xe5\xb5\x94\xde\x2e\xa6\x03\x57\x9e"
3669 "\x15\xe4\x32\x2b\x1f\xb2\x22\x21\xe9\xa0\x05\xd3\x65\x6c\x11\x66"
3670 "\x25\x38\xbb\xa3\x6c\xc2\x0b\x2b\xd0\x7a\x20\x26\x29\x37\x5d\x5f"
3671 "\xd8\xff\x2a\xcd\x46\x6c\xd6\x6e\xe5\x77\x1a\xe6\x33\xf1\x8e\xc8"
3672 "\x10\x30\x11\x00\x27\xf9\x7d\x0e\x28\x43\xa7\x67\x38\x7f\x16\xda"
3673 "\xd0\x01\x8e\xa4\xe8\x6f\xcd\x23\xaf\x77\x52\x34\xad\x7e\xc3\xed"
3674 "\x2d\x10\x0a\x33\xdc\xcf\x1b\x88\x0f\xcc\x48\x7f\x42\xf0\x9e\x13"
3675 "\x1f\xf5\xd1\xe9\x90\x87\xbd\xfa\x5f\x1d\x77\x55\xcb\xc3\x05\xaf"
3676 "\x71\xd0\xe0\xab\x46\x31\xd7\xea\x89\x54\x2d\x39\xaf\xf6\x4f\x74"
3677 "\xaf\x46\x58\x89\x78\x95\x2e\xe6\x90\xb7\xaa\x00\x73\x9f\xed\xb9"
3678 "\x00\xd6\xf6\x6d\x26\x59\xcd\x56\xdb\xf7\x3d\x5f\xeb\x6e\x46\x33"
3679 "\xb1\x23\xed\x9f\x8d\x58\xdc\xb4\x28\x3b\x90\x09\xc4\x61\x02\x1f"
3680 "\xf8\x62\xf2\x6e\xc1\x94\x71\x66\x93\x11\xdf\xaa\x3e\xd7\xb5\xe5"
3681 "\xc1\x78\xe9\x14\xcd\x55\x16\x51\xdf\x8d\xd0\x94\x8c\x43\xe9\xb8"
3682 "\x1d\x42\x7f\x76\xbc\x6f\x87\x42\x88\xde\xd7\x52\x78\x00\x4f\x18"
3683 "\x02\xe7\x7b\xe2\x8a\xc3\xd1\x43\xa5\xac\xda\xb0\x8d\x19\x96\xd4"
3684 "\x81\xe0\x75\xe9\xca\x41\x7e\x1f\x93\x0b\x26\x24\xb3\xaa\xdd\x10"
3685 "\x20\xd3\xf2\x9f\x3f\xdf\x65\xde\x67\x79\xdc\x76\x9f\x3c\x72\x75"
3686 "\x65\x8a\x30\xcc\xd2\xcc\x06\xb1\xab\x62\x86\x78\x5d\xb8\xce\x72"
3687 "\xb3\x12\xc7\x9f\x07\xd0\x6b\x98\x82\x9b\x6c\xbb\x15\xe5\xcc\xf4"
3688 "\xc8\xf4\x60\x81\xdc\xd3\x09\x1b\x5e\xd4\xf3\x55\xcf\x1c\x16\x83"
3689 "\x61\xb4\x2e\xcc\x08\x67\x58\xfd\x46\x64\xbc\x29\x4b\xdd\xda\xec"
3690 "\xdc\xc6\xa9\xa5\x73\xfb\xf8\xf3\xaf\x89\xa8\x9e\x25\x14\xfa\xac"
3691 "\xeb\x1c\x7c\x80\x96\x66\x4d\x41\x67\x9b\x07\x4f\x0a\x97\x17\x1c"
3692 "\x4d\x61\xc7\x2e\x6f\x36\x98\x29\x50\x39\x6d\xe7\x70\xda\xf0\xc8"
3693 "\x05\x80\x7b\x32\xff\xfd\x12\xde\x61\x0d\xf9\x4c\x21\xf1\x56\x72"
3694 "\x3d\x61\x46\xc0\x2d\x07\xd1\x6c\xd3\xbe\x9a\x21\x83\x85\xf7\xed"
3695 "\x53\x95\x44\x40\x8f\x75\x12\x18\xc2\x9a\xfd\x5e\xce\x66\xa6\x7f"
3696 "\x57\xc0\xd7\x73\x76\xb3\x13\xda\x2e\x58\xc6\x27\x40\xb2\x2d\xef"
3697 "\x7d\x72\xb4\xa8\x75\x6f\xcc\x5f\x42\x3e\x2c\x90\x36\x59\xa0\x34"
3698 "\xaa\xce\xbc\x04\x4c\xe6\x56\xc2\xcd\xa6\x1c\x59\x04\x56\x53\xcf"
3699 "\x6d\xd7\xf0\xb1\x4f\x91\xfa\x84\xcf\x4b\x8d\x50\x4c\xf8\x2a\x31"
3700 "\x5f\xe3\xba\x79\xb4\xcc\x59\x64\xe3\x7a\xfa\xf6\x06\x9d\x04\xbb"
3701 "\xce\x61\xbf\x9e\x59\x0a\x09\x51\x6a\xbb\x0b\x80\xe0\x91\xc1\x51"
3702 "\x04\x58\x67\x67\x4b\x42\x4f\x95\x68\x75\xe2\x1f\x9c\x14\x70\xfd"
3703 "\x3a\x8a\xce\x8b\x04\xa1\x89\xe7\xb4\xbf\x70\xfe\xf3\x0c\x48\x04"
3704 "\x3a\xd2\x85\x68\x03\xe7\xfa\xec\x5b\x55\xb7\x95\xfd\x5b\x19\x35"
3705 "\xad\xcb\x4a\x63\x03\x44\x64\x2a\x48\x59\x9a\x26\x43\x96\x8c\xe6"
3706 "\xbd\xb7\x90\xd4\x5f\x8d\x08\x28\xa8\xc5\x89\x70\xb9\x6e\xd3\x3b"
3707 "\x76\x0e\x37\x98\x15\x27\xca\xc9\xb0\xe0\xfd\xf3\xc6\xdf\x69\xce"
3708 "\xe1\x5f\x6a\x3e\x5c\x86\xe2\x58\x41\x11\xf0\x7e\x56\xec\xe4\xc9"
3709 "\x0d\x87\x91\xfb\xb9\xc8\x0d\x34\xab\xb0\xc6\xf2\xa6\x00\x7b\x18"
3710 "\x92\xf4\x43\x7f\x01\x85\x2e\xef\x8c\x72\x50\x10\xdb\xf1\x37\x62"
3711 "\x16\x85\x71\x01\xa8\x2b\xf0\x13\xd3\x7c\x0b\xaf\xf1\xf3\xd1\xee"
3712 "\x90\x41\x5f\x7d\x5b\xa9\x83\x4b\xfa\x80\x59\x50\x73\xe1\xc4\xf9"
3713 "\x5e\x4b\xde\xd9\xf5\x22\x68\x5e\x65\xd9\x37\xe4\x1a\x08\x0e\xb1"
3714 "\x28\x2f\x40\x9e\x37\xa8\x12\x56\xb7\xb8\x64\x94\x68\x94\xff\x9f",
3715 .b_public =
3716 "\xa1\x6c\x9e\xda\x45\x4d\xf6\x59\x04\x00\xc1\xc6\x8b\x12\x3b\xcd"
3717 "\x07\xe4\x3e\xec\xac\x9b\xfc\xf7\x6d\x73\x39\x9e\x52\xf8\xbe\x33"
3718 "\xe2\xca\xea\x99\x76\xc7\xc9\x94\x5c\xf3\x1b\xea\x6b\x66\x4b\x51"
3719 "\x90\xf6\x4f\x75\xd5\x85\xf4\x28\xfd\x74\xa5\x57\xb1\x71\x0c\xb6"
3720 "\xb6\x95\x70\x2d\xfa\x4b\x56\xe0\x56\x10\x21\xe5\x60\xa6\x18\xa4"
3721 "\x78\x8c\x07\xc0\x2b\x59\x9c\x84\x5b\xe9\xb9\x74\xbf\xbc\x65\x48"
3722 "\x27\x82\x40\x53\x46\x32\xa2\x92\x91\x9d\xf6\xd1\x07\x0e\x1d\x07"
3723 "\x1b\x41\x04\xb1\xd4\xce\xae\x6e\x46\xf1\x72\x50\x7f\xff\xa8\xa2"
3724 "\xbc\x3a\xc1\xbb\x28\xd7\x7d\xcd\x7a\x22\x01\xaf\x57\xb0\xa9\x02"
3725 "\xd4\x8a\x92\xd5\xe6\x8e\x6f\x11\x39\xfe\x36\x87\x89\x42\x25\x42"
3726 "\xd9\xbe\x67\x15\xe1\x82\x8a\x5e\x98\xc2\xd5\xde\x9e\x13\x1a\xe7"
3727 "\xf9\x9f\x8e\x2d\x49\xdc\x4d\x98\x8c\xdd\xfd\x24\x7c\x46\xa9\x69"
3728 "\x3b\x31\xb3\x12\xce\x54\xf6\x65\x75\x40\xc2\xf1\x04\x92\xe3\x83"
3729 "\xeb\x02\x3d\x79\xc0\xf9\x7c\x28\xb3\x97\x03\xf7\x61\x1c\xce\x95"
3730 "\x1a\xa0\xb3\x77\x1b\xc1\x9f\xf8\xf6\x3f\x4d\x0a\xfb\xfa\x64\x1c"
3731 "\xcb\x37\x5b\xc3\x28\x60\x9f\xd1\xf2\xc4\xee\x77\xaa\x1f\xe9\xa2"
3732 "\x89\x4c\xc6\xb7\xb3\xe4\xa5\xed\xa7\xe8\xac\x90\xdc\xc3\xfb\x56"
3733 "\x9c\xda\x2c\x1d\x1a\x9a\x8c\x82\x92\xee\xdc\xa0\xa4\x01\x6e\x7f"
3734 "\xc7\x0e\xc2\x73\x7d\xa6\xac\x12\x01\xc0\xc0\xc8\x7c\x84\x86\xc7"
3735 "\xa5\x94\xe5\x33\x84\x71\x6e\x36\xe3\x3b\x81\x30\xe0\xc8\x51\x52"
3736 "\x2b\x9e\x68\xa2\x6e\x09\x95\x8c\x7f\x78\x82\xbd\x53\x26\xe7\x95"
3737 "\xe0\x03\xda\xc0\xc3\x6e\xcf\xdc\xb3\x14\xfc\xe9\x5b\x9b\x70\x6c"
3738 "\x93\x04\xab\x13\xf7\x17\x6d\xee\xad\x32\x48\xe9\xa0\x94\x1b\x14"
3739 "\x64\x4f\xa1\xb3\x8d\x6a\xca\x28\xfe\x4a\xf4\xf0\xc5\xb7\xf9\x8a"
3740 "\x8e\xff\xfe\x57\x6f\x20\xdb\x04\xab\x02\x31\x22\x42\xfd\xbd\x77"
3741 "\xea\xce\xe8\xc7\x5d\xe0\x8e\xd6\x66\xd0\xe4\x04\x2f\x5f\x71\xc7"
3742 "\x61\x2d\xa5\x3f\x2f\x46\xf2\xd8\x5b\x25\x82\xf0\x52\x88\xc0\x59"
3743 "\xd3\xa3\x90\x17\xc2\x04\x13\xc3\x13\x69\x4f\x17\xb1\xb3\x46\x4f"
3744 "\xa7\xe6\x8b\x5e\x3e\x95\x0e\xf5\x42\x17\x7f\x4d\x1f\x1b\x7d\x65"
3745 "\x86\xc5\xc8\xae\xae\xd8\x4f\xe7\x89\x41\x69\xfd\x06\xce\x5d\xed"
3746 "\x44\x55\xad\x51\x98\x15\x78\x8d\x68\xfc\x93\x72\x9d\x22\xe5\x1d"
3747 "\x21\xc3\xbe\x3a\x44\x34\xc0\xa3\x1f\xca\xdf\x45\xd0\x5c\xcd\xb7"
3748 "\x72\xeb\xae\x7a\xad\x3f\x05\xa0\xe3\x6e\x5a\xd8\x52\xa7\xf1\x1e"
3749 "\xb4\xf2\xcf\xe7\xdf\xa7\xf2\x22\x00\xb2\xc4\x17\x3d\x2c\x15\x04"
3750 "\x71\x28\x69\x5c\x69\x21\xc8\xf1\x9b\xd8\xc7\xbc\x27\xa3\x85\xe9"
3751 "\x53\x77\xd3\x65\xc3\x86\xdd\xb3\x76\x13\xfb\xa1\xd4\xee\x9d\xe4"
3752 "\x51\x3f\x83\x59\xe4\x47\xa8\xa6\x0d\x68\xd5\xf6\xf4\xca\x31\xcd"
3753 "\x30\x48\x34\x90\x11\x8e\x87\xe9\xea\xc9\xd0\xc3\xba\x28\xf9\xc0"
3754 "\xc9\x8e\x23\xe5\xc2\xee\xf2\x47\x9c\x41\x1c\x10\x33\x27\x23\x49"
3755 "\xe5\x0d\x18\xbe\x19\xc1\xba\x6c\xdc\xb7\xa1\xe7\xc5\x0d\x6f\xf0"
3756 "\x8c\x62\x6e\x0d\x14\xef\xef\xf2\x8e\x01\xd2\x76\xf5\xc1\xe1\x92"
3757 "\x3c\xb3\x76\xcd\xd8\xdd\x9b\xe0\x8e\xdc\x24\x34\x13\x65\x0f\x11"
3758 "\xaf\x99\x7a\x2f\xe6\x1f\x7d\x17\x3e\x8a\x68\x9a\x37\xc8\x8d\x3e"
3759 "\xa3\xfe\xfe\x57\x22\xe6\x0e\x50\xb5\x98\x0b\x71\xd8\x01\xa2\x8d"
3760 "\x51\x96\x50\xc2\x41\x31\xd8\x23\x98\xfc\xd1\x9d\x7e\x27\xbb\x69"
3761 "\x78\xe0\x87\xf7\xe4\xdd\x58\x13\x9d\xec\x00\xe4\xb9\x70\xa2\x94"
3762 "\x5d\x52\x4e\xf2\x5c\xd1\xbc\xfd\xee\x9b\xb9\xe5\xc4\xc0\xa8\x77"
3763 "\x67\xa4\xd1\x95\x34\xe4\x6d\x5f\x25\x02\x8d\x65\xdd\x11\x63\x55"
3764 "\x04\x01\x21\x60\xc1\x5c\xef\x77\x33\x01\x1c\xa2\x11\x2b\xdd\x2b"
3765 "\x74\x99\x23\x38\x05\x1b\x7e\x2e\x01\x52\xfe\x9c\x23\xde\x3e\x1a"
3766 "\x72\xf4\xff\x7b\x02\xaa\x08\xcf\xe0\x5b\x83\xbe\x85\x5a\xe8\x9d"
3767 "\x11\x3e\xff\x2f\xc6\x97\x67\x36\x6c\x0f\x81\x9c\x26\x29\xb1\x0f"
3768 "\xbb\x53\xbd\xf4\xec\x2a\x84\x41\x28\x3b\x86\x40\x95\x69\x55\x5f"
3769 "\x30\xee\xda\x1e\x6c\x4b\x25\xd6\x2f\x2c\x0e\x3c\x1a\x26\xa0\x3e"
3770 "\xef\x09\xc6\x2b\xe5\xa1\x0c\x03\xa8\xf5\x39\x70\x31\xc4\x32\x79"
3771 "\xd1\xd9\xc2\xcc\x32\x4a\xf1\x2f\x57\x5a\xcc\xe5\xc3\xc5\xd5\x4e"
3772 "\x86\x56\xca\x64\xdb\xab\x61\x85\x8f\xf9\x20\x02\x40\x66\x76\x9e"
3773 "\x5e\xd4\xac\xf0\x47\xa6\x50\x5f\xc2\xaf\x55\x9b\xa3\xc9\x8b\xf8"
3774 "\x42\xd5\xcf\x1a\x95\x22\xd9\xd1\x0b\x92\x51\xca\xde\x46\x02\x0d"
3775 "\x8b\xee\xd9\xa0\x04\x74\xf5\x0e\xb0\x3a\x62\xec\x3c\x91\x29\x33"
3776 "\xa7\x78\x22\x92\xac\x27\xe6\x2d\x6f\x56\x8a\x5d\x72\xc2\xf1\x5c"
3777 "\x54\x11\x97\x24\x61\xcb\x0c\x52\xd4\x57\x56\x22\x86\xf0\x19\x27"
3778 "\x76\x30\x04\xf4\x39\x7b\x1a\x5a\x04\x0d\xec\x59\x9a\x31\x4c\x40"
3779 "\x19\x6d\x3c\x41\x1b\x0c\xca\xeb\x25\x39\x6c\x96\xf8\x55\xd0\xec",
3780 .secret_size = 16,
3781 .b_secret_size = 1040,
3782 .b_public_size = 1024,
3783 .expected_a_public_size = 1024,
3784 .expected_ss_size = 1024,
3785 .genkey = true,
3786 },
3787};
3788
3789static const struct kpp_testvec ecdh_p192_tv_template[] = {
3790 {
3791 .secret =
3792#ifdef __LITTLE_ENDIAN
3793 "\x02\x00" /* type */
3794 "\x1e\x00" /* len */
3795 "\x18\x00" /* key_size */
3796#else
3797 "\x00\x02" /* type */
3798 "\x00\x1e" /* len */
3799 "\x00\x18" /* key_size */
3800#endif
3801 "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
3802 "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
3803 "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
3804 .b_public =
3805 "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
3806 "\x7a\x99\x75\x64\x36\x13\x9a\x94"
3807 "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
3808 "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
3809 "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
3810 "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
3811 .expected_a_public =
3812 "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
3813 "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
3814 "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
3815 "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
3816 "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
3817 "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
3818 .expected_ss =
3819 "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
3820 "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
3821 "\x99\x80\x81\x28\xaf\xc5\x51\x74",
3822 .secret_size = 30,
3823 .b_public_size = 48,
3824 .expected_a_public_size = 48,
3825 .expected_ss_size = 24
3826 }
3827};
3828
3829static const struct kpp_testvec ecdh_p256_tv_template[] = {
3830 {
3831 .secret =
3832#ifdef __LITTLE_ENDIAN
3833 "\x02\x00" /* type */
3834 "\x26\x00" /* len */
3835 "\x20\x00" /* key_size */
3836#else
3837 "\x00\x02" /* type */
3838 "\x00\x26" /* len */
3839 "\x00\x20" /* key_size */
3840#endif
3841 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
3842 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
3843 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
3844 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
3845 .expected_a_public =
3846 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
3847 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
3848 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
3849 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
3850 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
3851 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
3852 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
3853 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
3854 .expected_ss =
3855 "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
3856 "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
3857 "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
3858 "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
3859 .b_public =
3860 "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
3861 "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
3862 "\x29\xb2\x47\x03\x19\xab\xdd\x34"
3863 "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
3864 "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
3865 "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
3866 "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
3867 "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
3868 .secret_size = 38,
3869 .b_public_size = 64,
3870 .expected_a_public_size = 64,
3871 .expected_ss_size = 32
3872 }, {
3873 .secret =
3874#ifdef __LITTLE_ENDIAN
3875 "\x02\x00" /* type */
3876 "\x06\x00" /* len */
3877 "\x00\x00", /* key_size */
3878#else
3879 "\x00\x02" /* type */
3880 "\x00\x06" /* len */
3881 "\x00\x00", /* key_size */
3882#endif
3883 .b_secret =
3884#ifdef __LITTLE_ENDIAN
3885 "\x02\x00" /* type */
3886 "\x26\x00" /* len */
3887 "\x20\x00" /* key_size */
3888#else
3889 "\x00\x02" /* type */
3890 "\x00\x26" /* len */
3891 "\x00\x20" /* key_size */
3892#endif
3893 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
3894 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
3895 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
3896 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
3897 .b_public =
3898 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
3899 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
3900 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
3901 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
3902 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
3903 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
3904 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
3905 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
3906 .secret_size = 6,
3907 .b_secret_size = 38,
3908 .b_public_size = 64,
3909 .expected_a_public_size = 64,
3910 .expected_ss_size = 32,
3911 .genkey = true,
3912 }
3913};
3914
3915/*
3916 * NIST P384 test vectors from RFC5903
3917 */
3918static const struct kpp_testvec ecdh_p384_tv_template[] = {
3919 {
3920 .secret =
3921#ifdef __LITTLE_ENDIAN
3922 "\x02\x00" /* type */
3923 "\x36\x00" /* len */
3924 "\x30\x00" /* key_size */
3925#else
3926 "\x00\x02" /* type */
3927 "\x00\x36" /* len */
3928 "\x00\x30" /* key_size */
3929#endif
3930 "\x09\x9F\x3C\x70\x34\xD4\xA2\xC6"
3931 "\x99\x88\x4D\x73\xA3\x75\xA6\x7F"
3932 "\x76\x24\xEF\x7C\x6B\x3C\x0F\x16"
3933 "\x06\x47\xB6\x74\x14\xDC\xE6\x55"
3934 "\xE3\x5B\x53\x80\x41\xE6\x49\xEE"
3935 "\x3F\xAE\xF8\x96\x78\x3A\xB1\x94",
3936 .b_public =
3937 "\xE5\x58\xDB\xEF\x53\xEE\xCD\xE3"
3938 "\xD3\xFC\xCF\xC1\xAE\xA0\x8A\x89"
3939 "\xA9\x87\x47\x5D\x12\xFD\x95\x0D"
3940 "\x83\xCF\xA4\x17\x32\xBC\x50\x9D"
3941 "\x0D\x1A\xC4\x3A\x03\x36\xDE\xF9"
3942 "\x6F\xDA\x41\xD0\x77\x4A\x35\x71"
3943 "\xDC\xFB\xEC\x7A\xAC\xF3\x19\x64"
3944 "\x72\x16\x9E\x83\x84\x30\x36\x7F"
3945 "\x66\xEE\xBE\x3C\x6E\x70\xC4\x16"
3946 "\xDD\x5F\x0C\x68\x75\x9D\xD1\xFF"
3947 "\xF8\x3F\xA4\x01\x42\x20\x9D\xFF"
3948 "\x5E\xAA\xD9\x6D\xB9\xE6\x38\x6C",
3949 .expected_a_public =
3950 "\x66\x78\x42\xD7\xD1\x80\xAC\x2C"
3951 "\xDE\x6F\x74\xF3\x75\x51\xF5\x57"
3952 "\x55\xC7\x64\x5C\x20\xEF\x73\xE3"
3953 "\x16\x34\xFE\x72\xB4\xC5\x5E\xE6"
3954 "\xDE\x3A\xC8\x08\xAC\xB4\xBD\xB4"
3955 "\xC8\x87\x32\xAE\xE9\x5F\x41\xAA"
3956 "\x94\x82\xED\x1F\xC0\xEE\xB9\xCA"
3957 "\xFC\x49\x84\x62\x5C\xCF\xC2\x3F"
3958 "\x65\x03\x21\x49\xE0\xE1\x44\xAD"
3959 "\xA0\x24\x18\x15\x35\xA0\xF3\x8E"
3960 "\xEB\x9F\xCF\xF3\xC2\xC9\x47\xDA"
3961 "\xE6\x9B\x4C\x63\x45\x73\xA8\x1C",
3962 .expected_ss =
3963 "\x11\x18\x73\x31\xC2\x79\x96\x2D"
3964 "\x93\xD6\x04\x24\x3F\xD5\x92\xCB"
3965 "\x9D\x0A\x92\x6F\x42\x2E\x47\x18"
3966 "\x75\x21\x28\x7E\x71\x56\xC5\xC4"
3967 "\xD6\x03\x13\x55\x69\xB9\xE9\xD0"
3968 "\x9C\xF5\xD4\xA2\x70\xF5\x97\x46",
3969 .secret_size = 54,
3970 .b_public_size = 96,
3971 .expected_a_public_size = 96,
3972 .expected_ss_size = 48
3973 }
3974};
3975
3976/*
3977 * MD4 test vectors from RFC1320
3978 */
3979static const struct hash_testvec md4_tv_template[] = {
3980 {
3981 .plaintext = "",
3982 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
3983 "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
3984 }, {
3985 .plaintext = "a",
3986 .psize = 1,
3987 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
3988 "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
3989 }, {
3990 .plaintext = "abc",
3991 .psize = 3,
3992 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
3993 "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
3994 }, {
3995 .plaintext = "message digest",
3996 .psize = 14,
3997 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
3998 "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
3999 }, {
4000 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4001 .psize = 26,
4002 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
4003 "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
4004 }, {
4005 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4006 .psize = 62,
4007 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
4008 "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
4009 }, {
4010 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
4011 "45678901234567890",
4012 .psize = 80,
4013 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
4014 "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
4015 },
4016};
4017
4018static const struct hash_testvec sha3_224_tv_template[] = {
4019 {
4020 .plaintext = "",
4021 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
4022 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
4023 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
4024 "\x5b\x5a\x6b\xc7",
4025 }, {
4026 .plaintext = "a",
4027 .psize = 1,
4028 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
4029 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
4030 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
4031 "\x48\x2b\x6a\x8b",
4032 }, {
4033 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4034 "jklmklmnlmnomnopnopq",
4035 .psize = 56,
4036 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
4037 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
4038 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
4039 "\xd0\xfc\xce\x33",
4040 }, {
4041 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4042 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4043 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4044 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4045 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4046 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4047 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4048 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4049 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4050 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4051 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4052 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4053 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4054 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4055 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4056 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4057 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4058 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4059 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4060 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4061 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4062 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4063 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4064 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4065 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4066 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4067 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4068 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4069 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4070 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4071 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4072 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4073 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4074 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4075 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4076 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4077 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4078 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4079 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4080 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4081 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4082 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4083 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4084 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4085 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4086 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4087 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4088 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4089 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4090 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4091 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4092 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4093 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4094 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4095 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4096 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4097 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4098 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4099 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4100 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4101 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4102 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4103 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4104 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4105 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4106 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4107 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4108 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4109 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4110 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4111 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4112 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4113 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4114 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4115 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4116 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4117 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4118 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4119 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4120 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4121 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4122 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4123 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4124 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4125 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4126 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4127 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4128 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4129 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4130 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4131 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4132 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4133 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4134 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4135 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4136 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4137 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4138 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4139 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4140 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4141 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4142 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4143 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4144 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4145 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4146 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4147 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4148 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4149 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4150 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4151 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4152 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4153 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4154 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4155 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4156 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4157 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4158 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4159 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4160 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4161 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4162 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4163 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4164 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4165 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4166 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4167 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4168 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4169 .psize = 1023,
4170 .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
4171 "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
4172 "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
4173 "\xb6\x79\x10\x72",
4174 },
4175};
4176
4177static const struct hash_testvec sha3_256_tv_template[] = {
4178 {
4179 .plaintext = "",
4180 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
4181 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
4182 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
4183 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
4184 }, {
4185 .plaintext = "a",
4186 .psize = 1,
4187 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
4188 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
4189 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
4190 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
4191 }, {
4192 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4193 "jklmklmnlmnomnopnopq",
4194 .psize = 56,
4195 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
4196 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
4197 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
4198 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
4199 }, {
4200 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4201 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4202 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4203 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4204 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4205 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4206 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4207 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4208 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4209 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4210 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4211 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4212 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4213 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4214 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4215 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4216 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4217 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4218 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4219 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4220 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4221 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4222 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4223 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4224 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4225 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4226 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4227 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4228 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4229 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4230 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4231 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4232 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4233 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4234 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4235 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4236 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4237 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4238 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4239 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4240 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4241 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4242 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4243 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4244 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4245 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4246 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4247 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4248 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4249 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4250 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4251 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4252 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4253 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4254 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4255 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4256 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4257 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4258 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4259 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4260 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4261 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4262 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4263 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4264 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4265 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4266 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4267 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4268 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4269 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4270 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4271 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4272 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4273 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4274 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4275 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4276 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4277 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4278 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4279 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4280 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4281 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4282 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4283 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4284 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4285 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4286 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4287 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4288 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4289 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4290 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4291 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4292 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4293 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4294 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4295 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4296 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4297 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4298 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4299 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4300 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4301 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4302 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4303 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4304 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4305 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4306 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4307 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4308 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4309 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4310 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4311 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4312 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4313 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4314 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4315 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4316 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4317 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4318 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4319 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4320 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4321 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4322 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4323 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4324 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4325 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4326 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4327 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4328 .psize = 1023,
4329 .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
4330 "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
4331 "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
4332 "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
4333 },
4334};
4335
4336
4337static const struct hash_testvec sha3_384_tv_template[] = {
4338 {
4339 .plaintext = "",
4340 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
4341 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
4342 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
4343 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
4344 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
4345 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
4346 }, {
4347 .plaintext = "a",
4348 .psize = 1,
4349 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
4350 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
4351 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
4352 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
4353 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
4354 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
4355 }, {
4356 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4357 "jklmklmnlmnomnopnopq",
4358 .psize = 56,
4359 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
4360 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
4361 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
4362 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
4363 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
4364 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
4365 }, {
4366 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4367 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4368 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4369 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4370 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4371 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4372 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4373 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4374 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4375 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4376 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4377 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4378 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4379 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4380 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4381 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4382 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4383 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4384 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4385 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4386 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4387 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4388 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4389 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4390 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4391 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4392 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4393 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4394 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4395 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4396 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4397 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4398 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4399 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4400 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4401 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4402 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4403 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4404 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4405 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4406 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4407 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4408 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4409 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4410 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4411 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4412 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4413 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4414 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4415 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4416 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4417 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4418 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4419 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4420 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4421 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4422 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4423 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4424 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4425 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4426 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4427 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4428 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4429 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4430 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4431 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4432 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4433 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4434 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4435 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4436 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4437 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4438 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4439 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4440 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4441 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4442 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4443 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4444 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4445 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4446 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4447 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4448 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4449 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4450 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4451 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4452 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4453 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4454 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4455 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4456 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4457 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4458 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4459 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4460 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4461 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4462 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4463 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4464 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4465 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4466 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4467 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4468 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4469 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4470 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4471 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4472 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4473 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4474 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4475 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4476 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4477 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4478 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4479 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4480 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4481 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4482 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4483 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4484 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4485 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4486 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4487 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4488 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4489 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4490 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4491 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4492 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4493 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4494 .psize = 1023,
4495 .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
4496 "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
4497 "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
4498 "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
4499 "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
4500 "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
4501 },
4502};
4503
4504
4505static const struct hash_testvec sha3_512_tv_template[] = {
4506 {
4507 .plaintext = "",
4508 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
4509 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
4510 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
4511 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
4512 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
4513 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
4514 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
4515 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
4516 }, {
4517 .plaintext = "a",
4518 .psize = 1,
4519 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
4520 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
4521 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
4522 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
4523 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
4524 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
4525 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
4526 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
4527 }, {
4528 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
4529 "jklmklmnlmnomnopnopq",
4530 .psize = 56,
4531 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
4532 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
4533 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
4534 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
4535 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
4536 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
4537 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
4538 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
4539 }, {
4540 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
4541 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
4542 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
4543 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
4544 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
4545 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
4546 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
4547 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
4548 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
4549 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
4550 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
4551 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
4552 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
4553 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
4554 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
4555 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
4556 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
4557 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
4558 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
4559 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
4560 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
4561 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
4562 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
4563 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
4564 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
4565 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
4566 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
4567 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
4568 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
4569 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
4570 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
4571 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
4572 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
4573 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
4574 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
4575 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
4576 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
4577 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
4578 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
4579 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
4580 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
4581 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
4582 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
4583 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
4584 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
4585 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
4586 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
4587 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
4588 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
4589 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
4590 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
4591 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
4592 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
4593 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
4594 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
4595 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
4596 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
4597 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
4598 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
4599 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
4600 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
4601 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
4602 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
4603 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
4604 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
4605 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
4606 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
4607 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
4608 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
4609 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
4610 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
4611 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
4612 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
4613 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
4614 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
4615 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
4616 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
4617 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
4618 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
4619 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
4620 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
4621 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
4622 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
4623 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
4624 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
4625 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
4626 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
4627 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
4628 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
4629 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
4630 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
4631 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
4632 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
4633 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
4634 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
4635 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
4636 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
4637 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
4638 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
4639 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
4640 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
4641 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
4642 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
4643 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
4644 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
4645 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
4646 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
4647 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
4648 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
4649 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
4650 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
4651 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
4652 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
4653 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
4654 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
4655 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
4656 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
4657 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
4658 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
4659 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
4660 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
4661 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
4662 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
4663 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
4664 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
4665 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
4666 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
4667 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
4668 .psize = 1023,
4669 .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
4670 "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
4671 "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
4672 "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
4673 "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
4674 "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
4675 "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
4676 "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
4677 },
4678};
4679
4680
4681/*
4682 * MD5 test vectors from RFC1321
4683 */
4684static const struct hash_testvec md5_tv_template[] = {
4685 {
4686 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
4687 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
4688 }, {
4689 .plaintext = "a",
4690 .psize = 1,
4691 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
4692 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
4693 }, {
4694 .plaintext = "abc",
4695 .psize = 3,
4696 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
4697 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
4698 }, {
4699 .plaintext = "message digest",
4700 .psize = 14,
4701 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
4702 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
4703 }, {
4704 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4705 .psize = 26,
4706 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
4707 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
4708 }, {
4709 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
4710 .psize = 62,
4711 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
4712 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
4713 }, {
4714 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
4715 "345678901234567890",
4716 .psize = 80,
4717 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
4718 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
4719 }
4720
4721};
4722
4723/*
4724 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
4725 */
4726static const struct hash_testvec rmd160_tv_template[] = {
4727 {
4728 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
4729 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
4730 }, {
4731 .plaintext = "a",
4732 .psize = 1,
4733 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
4734 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
4735 }, {
4736 .plaintext = "abc",
4737 .psize = 3,
4738 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
4739 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
4740 }, {
4741 .plaintext = "message digest",
4742 .psize = 14,
4743 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
4744 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
4745 }, {
4746 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4747 .psize = 26,
4748 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
4749 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
4750 }, {
4751 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
4752 "fghijklmnopqrstuvwxyz0123456789",
4753 .psize = 62,
4754 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
4755 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
4756 }, {
4757 .plaintext = "1234567890123456789012345678901234567890"
4758 "1234567890123456789012345678901234567890",
4759 .psize = 80,
4760 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
4761 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
4762 }, {
4763 .plaintext = "abcdbcdecdefdefgefghfghighij"
4764 "hijkijkljklmklmnlmnomnopnopq",
4765 .psize = 56,
4766 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
4767 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
4768 }, {
4769 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
4770 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
4771 "lmnopqrsmnopqrstnopqrstu",
4772 .psize = 112,
4773 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
4774 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
4775 }, {
4776 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
4777 .psize = 32,
4778 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
4779 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
4780 }
4781};
4782
4783/*
4784 * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
4785 */
4786static const struct hash_testvec streebog256_tv_template[] = {
4787 { /* M1 */
4788 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
4789 .psize = 63,
4790 .digest =
4791 "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
4792 "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
4793 "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
4794 "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
4795 },
4796 { /* M2 */
4797 .plaintext =
4798 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
4799 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
4800 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
4801 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
4802 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
4803 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
4804 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
4805 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
4806 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
4807 .psize = 72,
4808 .digest =
4809 "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
4810 "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
4811 "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
4812 "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
4813 },
4814};
4815
4816static const struct hash_testvec streebog512_tv_template[] = {
4817 { /* M1 */
4818 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
4819 .psize = 63,
4820 .digest =
4821 "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
4822 "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
4823 "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
4824 "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
4825 "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
4826 "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
4827 "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
4828 "\x41\x79\x78\x91\xc1\x64\x6f\x48",
4829 },
4830 { /* M2 */
4831 .plaintext =
4832 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
4833 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
4834 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
4835 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
4836 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
4837 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
4838 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
4839 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
4840 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
4841 .psize = 72,
4842 .digest =
4843 "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
4844 "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
4845 "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
4846 "\x53\x00\xee\xe4\x6d\x96\x13\x76"
4847 "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
4848 "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
4849 "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
4850 "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
4851 },
4852};
4853
4854/*
4855 * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
4856 */
4857static const struct hash_testvec hmac_streebog256_tv_template[] = {
4858 {
4859 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4860 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4861 "\x10\x11\x12\x13\x14\x15\x16\x17"
4862 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4863 .ksize = 32,
4864 .plaintext =
4865 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
4866 "\x43\x41\x45\x65\x63\x78\x01\x00",
4867 .psize = 16,
4868 .digest =
4869 "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
4870 "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
4871 "\x01\x31\x37\x01\x0a\x83\x75\x4f"
4872 "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
4873 },
4874};
4875
4876static const struct hash_testvec hmac_streebog512_tv_template[] = {
4877 {
4878 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4879 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4880 "\x10\x11\x12\x13\x14\x15\x16\x17"
4881 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4882 .ksize = 32,
4883 .plaintext =
4884 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
4885 "\x43\x41\x45\x65\x63\x78\x01\x00",
4886 .psize = 16,
4887 .digest =
4888 "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
4889 "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
4890 "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
4891 "\x90\x55\x00\xe1\x71\x92\x3a\x77"
4892 "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
4893 "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
4894 "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
4895 "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
4896 },
4897};
4898
4899/* Example vectors below taken from
4900 * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
4901 *
4902 * The rest taken from
4903 * https://github.com/adamws/oscca-sm3
4904 */
4905static const struct hash_testvec sm3_tv_template[] = {
4906 {
4907 .plaintext = "",
4908 .psize = 0,
4909 .digest = (u8 *)(u8 []) {
4910 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
4911 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
4912 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
4913 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
4914 }, {
4915 .plaintext = "a",
4916 .psize = 1,
4917 .digest = (u8 *)(u8 []) {
4918 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
4919 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
4920 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
4921 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
4922 }, {
4923 /* A.1. Example 1 */
4924 .plaintext = "abc",
4925 .psize = 3,
4926 .digest = (u8 *)(u8 []) {
4927 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
4928 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
4929 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
4930 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
4931 }, {
4932 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4933 .psize = 26,
4934 .digest = (u8 *)(u8 []) {
4935 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
4936 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
4937 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
4938 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
4939 }, {
4940 /* A.1. Example 2 */
4941 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
4942 "cdabcdabcdabcdabcd",
4943 .psize = 64,
4944 .digest = (u8 *)(u8 []) {
4945 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
4946 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
4947 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
4948 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
4949 }, {
4950 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4951 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4952 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4953 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4954 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4955 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
4956 "abcdabcdabcdabcdabcdabcdabcdabcd",
4957 .psize = 256,
4958 .digest = (u8 *)(u8 []) {
4959 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
4960 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
4961 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
4962 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
4963 }
4964};
4965
4966/* Example vectors below taken from
4967 * GM/T 0042-2015 Appendix D.3
4968 */
4969static const struct hash_testvec hmac_sm3_tv_template[] = {
4970 {
4971 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4972 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4973 "\x11\x12\x13\x14\x15\x16\x17\x18"
4974 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4975 .ksize = 32,
4976 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
4977 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4978 .psize = 112,
4979 .digest = "\xca\x05\xe1\x44\xed\x05\xd1\x85"
4980 "\x78\x40\xd1\xf3\x18\xa4\xa8\x66"
4981 "\x9e\x55\x9f\xc8\x39\x1f\x41\x44"
4982 "\x85\xbf\xdf\x7b\xb4\x08\x96\x3a",
4983 }, {
4984 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4985 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4986 "\x11\x12\x13\x14\x15\x16\x17\x18"
4987 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
4988 "\x21\x22\x23\x24\x25",
4989 .ksize = 37,
4990 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4991 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4992 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4993 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4994 .psize = 50,
4995 .digest = "\x22\x0b\xf5\x79\xde\xd5\x55\x39"
4996 "\x3f\x01\x59\xf6\x6c\x99\x87\x78"
4997 "\x22\xa3\xec\xf6\x10\xd1\x55\x21"
4998 "\x54\xb4\x1d\x44\xb9\x4d\xb3\xae",
4999 }, {
5000 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5001 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5002 "\x0b\x0b\x0b\x0b\x0b\x0b",
5003 .ksize = 32,
5004 .plaintext = "Hi There",
5005 .psize = 8,
5006 .digest = "\xc0\xba\x18\xc6\x8b\x90\xc8\x8b"
5007 "\xc0\x7d\xe7\x94\xbf\xc7\xd2\xc8"
5008 "\xd1\x9e\xc3\x1e\xd8\x77\x3b\xc2"
5009 "\xb3\x90\xc9\x60\x4e\x0b\xe1\x1e",
5010 }, {
5011 .key = "Jefe",
5012 .ksize = 4,
5013 .plaintext = "what do ya want for nothing?",
5014 .psize = 28,
5015 .digest = "\x2e\x87\xf1\xd1\x68\x62\xe6\xd9"
5016 "\x64\xb5\x0a\x52\x00\xbf\x2b\x10"
5017 "\xb7\x64\xfa\xa9\x68\x0a\x29\x6a"
5018 "\x24\x05\xf2\x4b\xec\x39\xf8\x82",
5019 },
5020};
5021
5022/*
5023 * SHA1 test vectors from FIPS PUB 180-1
5024 * Long vector from CAVS 5.0
5025 */
5026static const struct hash_testvec sha1_tv_template[] = {
5027 {
5028 .plaintext = "",
5029 .psize = 0,
5030 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
5031 "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
5032 }, {
5033 .plaintext = "abc",
5034 .psize = 3,
5035 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
5036 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
5037 }, {
5038 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5039 .psize = 56,
5040 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
5041 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
5042 }, {
5043 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
5044 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
5045 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
5046 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
5047 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
5048 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
5049 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
5050 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
5051 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
5052 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
5053 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
5054 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
5055 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
5056 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
5057 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
5058 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
5059 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
5060 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
5061 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
5062 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
5063 "\x5a\x90\x11",
5064 .psize = 163,
5065 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
5066 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
5067 }, {
5068 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5069 .psize = 64,
5070 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
5071 "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
5072 }, {
5073 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5074 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5075 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5076 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5077 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5078 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5079 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5080 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5081 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5082 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5083 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5084 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5085 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5086 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5087 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5088 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5089 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5090 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5091 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5092 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5093 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5094 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5095 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5096 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5097 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5098 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5099 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5100 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5101 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5102 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5103 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5104 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5105 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5106 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5107 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5108 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5109 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5110 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5111 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5112 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5113 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5114 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5115 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5116 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5117 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5118 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5119 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5120 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5121 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5122 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5123 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5124 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5125 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5126 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5127 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5128 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5129 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5130 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5131 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5132 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5133 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5134 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5135 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5136 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5137 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5138 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5139 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5140 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5141 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5142 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5143 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5144 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5145 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5146 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5147 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5148 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5149 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5150 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5151 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5152 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5153 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5154 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5155 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5156 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5157 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5158 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5159 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5160 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5161 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5162 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5163 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5164 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5165 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5166 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5167 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5168 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5169 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5170 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5171 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5172 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5173 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5174 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5175 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5176 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5177 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5178 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5179 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5180 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5181 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5182 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5183 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5184 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5185 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5186 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5187 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5188 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5189 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5190 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5191 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5192 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5193 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5194 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5195 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5196 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5197 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5198 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5199 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5200 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5201 .psize = 1023,
5202 .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
5203 "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
5204 "\x30\xd6\xc9\x85",
5205 }
5206};
5207
5208
5209/*
5210 * SHA224 test vectors from FIPS PUB 180-2
5211 */
5212static const struct hash_testvec sha224_tv_template[] = {
5213 {
5214 .plaintext = "",
5215 .psize = 0,
5216 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
5217 "\x47\x61\x02\xbb\x28\x82\x34\xc4"
5218 "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
5219 "\xc5\xb3\xe4\x2f",
5220 }, {
5221 .plaintext = "abc",
5222 .psize = 3,
5223 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
5224 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
5225 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
5226 "\xE3\x6C\x9D\xA7",
5227 }, {
5228 .plaintext =
5229 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5230 .psize = 56,
5231 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
5232 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
5233 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
5234 "\x52\x52\x25\x25",
5235 }, {
5236 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5237 .psize = 64,
5238 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
5239 "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
5240 "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
5241 "\xef\x3b\xcb\x0e",
5242 }, {
5243 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5244 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5245 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5246 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5247 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5248 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5249 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5250 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5251 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5252 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5253 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5254 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5255 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5256 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5257 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5258 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5259 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5260 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5261 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5262 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5263 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5264 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5265 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5266 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5267 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5268 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5269 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5270 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5271 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5272 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5273 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5274 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5275 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5276 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5277 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5278 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5279 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5280 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5281 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5282 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5283 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5284 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5285 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5286 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5287 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5288 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5289 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5290 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5291 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5292 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5293 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5294 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5295 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5296 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5297 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5298 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5299 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5300 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5301 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5302 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5303 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5304 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5305 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5306 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5307 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5308 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5309 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5310 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5311 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5312 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5313 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5314 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5315 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5316 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5317 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5318 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5319 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5320 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5321 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5322 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5323 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5324 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5325 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5326 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5327 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5328 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5329 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5330 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5331 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5332 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5333 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5334 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5335 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5336 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5337 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5338 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5339 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5340 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5341 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5342 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5343 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5344 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5345 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5346 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5347 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5348 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5349 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5350 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5351 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5352 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5353 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5354 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5355 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5356 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5357 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5358 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5359 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5360 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5361 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5362 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5363 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5364 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5365 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5366 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5367 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5368 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5369 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5370 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5371 .psize = 1023,
5372 .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
5373 "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
5374 "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
5375 "\xe6\xf9\x4f\xcc",
5376 }
5377};
5378
5379/*
5380 * SHA256 test vectors from NIST
5381 */
5382static const struct hash_testvec sha256_tv_template[] = {
5383 {
5384 .plaintext = "",
5385 .psize = 0,
5386 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
5387 "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
5388 "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
5389 "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
5390 }, {
5391 .plaintext = "abc",
5392 .psize = 3,
5393 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
5394 "\x41\x41\x40\xde\x5d\xae\x22\x23"
5395 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
5396 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
5397 }, {
5398 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5399 .psize = 56,
5400 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
5401 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
5402 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
5403 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
5404 }, {
5405 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
5406 .psize = 64,
5407 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
5408 "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
5409 "\xd6\xff\x94\xa3\x72\x91\x85\x66"
5410 "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
5411 }, {
5412 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5413 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5414 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5415 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5416 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5417 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5418 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5419 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5420 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5421 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5422 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5423 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5424 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5425 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5426 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5427 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5428 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5429 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5430 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5431 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5432 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5433 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5434 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5435 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5436 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5437 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5438 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5439 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5440 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5441 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5442 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5443 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5444 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5445 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5446 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5447 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5448 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5449 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5450 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5451 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5452 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5453 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5454 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5455 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5456 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5457 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5458 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5459 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5460 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5461 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5462 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5463 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5464 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5465 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5466 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5467 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5468 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5469 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5470 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5471 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5472 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5473 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5474 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5475 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5476 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5477 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5478 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5479 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5480 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5481 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5482 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5483 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5484 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5485 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5486 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5487 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5488 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5489 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5490 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5491 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5492 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5493 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5494 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5495 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5496 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5497 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5498 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5499 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5500 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5501 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5502 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5503 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5504 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5505 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5506 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5507 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5508 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5509 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5510 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5511 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5512 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5513 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5514 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5515 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5516 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5517 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5518 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5519 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5520 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5521 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5522 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5523 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5524 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5525 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5526 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5527 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5528 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5529 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5530 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5531 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5532 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5533 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5534 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5535 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5536 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5537 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5538 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5539 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5540 .psize = 1023,
5541 .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
5542 "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
5543 "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
5544 "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
5545 }
5546};
5547
5548/*
5549 * SHA384 test vectors from NIST and kerneli
5550 */
5551static const struct hash_testvec sha384_tv_template[] = {
5552 {
5553 .plaintext = "",
5554 .psize = 0,
5555 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
5556 "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
5557 "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
5558 "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
5559 "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
5560 "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
5561 }, {
5562 .plaintext= "abc",
5563 .psize = 3,
5564 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
5565 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
5566 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
5567 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
5568 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
5569 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
5570 }, {
5571 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5572 .psize = 56,
5573 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
5574 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
5575 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
5576 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
5577 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
5578 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
5579 }, {
5580 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
5581 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
5582 .psize = 112,
5583 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
5584 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
5585 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
5586 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
5587 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
5588 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
5589 }, {
5590 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
5591 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
5592 .psize = 104,
5593 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
5594 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
5595 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
5596 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
5597 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
5598 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
5599 }, {
5600 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5601 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5602 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5603 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5604 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5605 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5606 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5607 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5608 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5609 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5610 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5611 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5612 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5613 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5614 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5615 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5616 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5617 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5618 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5619 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5620 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5621 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5622 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5623 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5624 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5625 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5626 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5627 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5628 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5629 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5630 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5631 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5632 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5633 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5634 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5635 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5636 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5637 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5638 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5639 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5640 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5641 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5642 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5643 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5644 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5645 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5646 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5647 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5648 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5649 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5650 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5651 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5652 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5653 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5654 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5655 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5656 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5657 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5658 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5659 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5660 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5661 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5662 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5663 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5664 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5665 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5666 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5667 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5668 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5669 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5670 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5671 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5672 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5673 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5674 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5675 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5676 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5677 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5678 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5679 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5680 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5681 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5682 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5683 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5684 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5685 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5686 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5687 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5688 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5689 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5690 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5691 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5692 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5693 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5694 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5695 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5696 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5697 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5698 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5699 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5700 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5701 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5702 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5703 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5704 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5705 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5706 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5707 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5708 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5709 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5710 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5711 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5712 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5713 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5714 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5715 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5716 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5717 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5718 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5719 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5720 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5721 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5722 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5723 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5724 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5725 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5726 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5727 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5728 .psize = 1023,
5729 .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
5730 "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
5731 "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
5732 "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
5733 "\x75\x29\x62\x83\xae\x3f\x17\xab"
5734 "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
5735 }
5736};
5737
5738/*
5739 * SHA512 test vectors from NIST and kerneli
5740 */
5741static const struct hash_testvec sha512_tv_template[] = {
5742 {
5743 .plaintext = "",
5744 .psize = 0,
5745 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
5746 "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
5747 "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
5748 "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
5749 "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
5750 "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
5751 "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
5752 "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
5753 }, {
5754 .plaintext = "abc",
5755 .psize = 3,
5756 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
5757 "\xcc\x41\x73\x49\xae\x20\x41\x31"
5758 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
5759 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
5760 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
5761 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
5762 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
5763 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
5764 }, {
5765 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
5766 .psize = 56,
5767 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
5768 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
5769 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
5770 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
5771 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
5772 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
5773 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
5774 "\x54\xec\x63\x12\x38\xca\x34\x45",
5775 }, {
5776 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
5777 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
5778 .psize = 112,
5779 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
5780 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
5781 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
5782 "\x72\x99\xae\xad\xb6\x88\x90\x18"
5783 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
5784 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
5785 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
5786 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
5787 }, {
5788 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
5789 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
5790 .psize = 104,
5791 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
5792 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
5793 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
5794 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
5795 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
5796 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
5797 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
5798 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
5799 }, {
5800 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
5801 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
5802 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
5803 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
5804 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
5805 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
5806 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
5807 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
5808 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
5809 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
5810 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
5811 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
5812 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
5813 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
5814 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
5815 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
5816 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
5817 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
5818 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
5819 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
5820 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
5821 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
5822 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
5823 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
5824 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
5825 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
5826 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
5827 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
5828 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
5829 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
5830 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
5831 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
5832 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
5833 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
5834 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
5835 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
5836 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
5837 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
5838 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
5839 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
5840 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
5841 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
5842 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
5843 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
5844 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
5845 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
5846 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
5847 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
5848 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
5849 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
5850 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
5851 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
5852 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
5853 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
5854 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
5855 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
5856 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
5857 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
5858 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
5859 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
5860 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
5861 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
5862 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
5863 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
5864 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
5865 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
5866 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
5867 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
5868 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
5869 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
5870 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
5871 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
5872 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
5873 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
5874 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
5875 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
5876 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
5877 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
5878 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
5879 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
5880 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
5881 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
5882 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
5883 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
5884 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
5885 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
5886 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
5887 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
5888 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
5889 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
5890 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
5891 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
5892 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
5893 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
5894 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
5895 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
5896 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
5897 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
5898 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
5899 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
5900 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
5901 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
5902 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
5903 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
5904 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
5905 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
5906 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
5907 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
5908 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
5909 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
5910 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
5911 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
5912 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
5913 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
5914 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
5915 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
5916 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
5917 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
5918 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
5919 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
5920 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
5921 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
5922 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
5923 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
5924 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
5925 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
5926 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
5927 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
5928 .psize = 1023,
5929 .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
5930 "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
5931 "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
5932 "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
5933 "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
5934 "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
5935 "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
5936 "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
5937 }
5938};
5939
5940
5941/*
5942 * WHIRLPOOL test vectors from Whirlpool package
5943 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
5944 * submission
5945 */
5946static const struct hash_testvec wp512_tv_template[] = {
5947 {
5948 .plaintext = "",
5949 .psize = 0,
5950 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
5951 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
5952 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
5953 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
5954 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
5955 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
5956 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
5957 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
5958
5959
5960 }, {
5961 .plaintext = "a",
5962 .psize = 1,
5963 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
5964 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
5965 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
5966 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
5967 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
5968 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
5969 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
5970 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
5971 }, {
5972 .plaintext = "abc",
5973 .psize = 3,
5974 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
5975 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
5976 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
5977 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
5978 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
5979 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
5980 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
5981 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
5982 }, {
5983 .plaintext = "message digest",
5984 .psize = 14,
5985 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
5986 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
5987 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
5988 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
5989 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
5990 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
5991 "\x92\xED\x92\x00\x52\x83\x8F\x33"
5992 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
5993 }, {
5994 .plaintext = "abcdefghijklmnopqrstuvwxyz",
5995 .psize = 26,
5996 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
5997 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
5998 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
5999 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6000 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6001 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
6002 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
6003 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
6004 }, {
6005 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6006 "abcdefghijklmnopqrstuvwxyz0123456789",
6007 .psize = 62,
6008 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6009 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6010 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6011 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6012 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6013 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
6014 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
6015 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
6016 }, {
6017 .plaintext = "1234567890123456789012345678901234567890"
6018 "1234567890123456789012345678901234567890",
6019 .psize = 80,
6020 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6021 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6022 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6023 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6024 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6025 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
6026 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
6027 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
6028 }, {
6029 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6030 .psize = 32,
6031 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6032 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6033 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6034 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6035 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6036 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
6037 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
6038 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
6039 },
6040};
6041
6042static const struct hash_testvec wp384_tv_template[] = {
6043 {
6044 .plaintext = "",
6045 .psize = 0,
6046 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6047 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6048 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6049 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
6050 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
6051 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
6052
6053
6054 }, {
6055 .plaintext = "a",
6056 .psize = 1,
6057 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6058 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6059 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6060 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
6061 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
6062 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
6063 }, {
6064 .plaintext = "abc",
6065 .psize = 3,
6066 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6067 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6068 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6069 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
6070 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
6071 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
6072 }, {
6073 .plaintext = "message digest",
6074 .psize = 14,
6075 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6076 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6077 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6078 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
6079 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
6080 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
6081 }, {
6082 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6083 .psize = 26,
6084 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6085 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6086 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6087 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
6088 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
6089 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
6090 }, {
6091 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6092 "abcdefghijklmnopqrstuvwxyz0123456789",
6093 .psize = 62,
6094 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6095 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6096 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6097 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
6098 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
6099 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
6100 }, {
6101 .plaintext = "1234567890123456789012345678901234567890"
6102 "1234567890123456789012345678901234567890",
6103 .psize = 80,
6104 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6105 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6106 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6107 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
6108 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
6109 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
6110 }, {
6111 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6112 .psize = 32,
6113 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6114 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6115 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6116 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
6117 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
6118 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
6119 },
6120};
6121
6122static const struct hash_testvec wp256_tv_template[] = {
6123 {
6124 .plaintext = "",
6125 .psize = 0,
6126 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
6127 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
6128 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
6129 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
6130
6131
6132 }, {
6133 .plaintext = "a",
6134 .psize = 1,
6135 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
6136 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
6137 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
6138 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
6139 }, {
6140 .plaintext = "abc",
6141 .psize = 3,
6142 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
6143 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
6144 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
6145 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
6146 }, {
6147 .plaintext = "message digest",
6148 .psize = 14,
6149 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
6150 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
6151 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
6152 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
6153 }, {
6154 .plaintext = "abcdefghijklmnopqrstuvwxyz",
6155 .psize = 26,
6156 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
6157 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
6158 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
6159 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
6160 }, {
6161 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
6162 "abcdefghijklmnopqrstuvwxyz0123456789",
6163 .psize = 62,
6164 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
6165 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
6166 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
6167 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
6168 }, {
6169 .plaintext = "1234567890123456789012345678901234567890"
6170 "1234567890123456789012345678901234567890",
6171 .psize = 80,
6172 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
6173 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
6174 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
6175 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
6176 }, {
6177 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
6178 .psize = 32,
6179 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
6180 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
6181 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
6182 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
6183 },
6184};
6185
6186static const struct hash_testvec ghash_tv_template[] =
6187{
6188 {
6189 .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
6190 "\xff\xca\xff\x95\xf8\x30\xf0\x61",
6191 .ksize = 16,
6192 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
6193 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
6194 .psize = 16,
6195 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
6196 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6197 }, {
6198 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6199 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6200 .ksize = 16,
6201 .plaintext = "what do ya want for nothing?",
6202 .psize = 28,
6203 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
6204 "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
6205 }, {
6206 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6207 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6208 .ksize = 16,
6209 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6210 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6211 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6212 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6213 .psize = 50,
6214 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
6215 "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
6216 }, {
6217 .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
6218 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6219 .ksize = 16,
6220 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6221 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6222 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6223 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6224 .psize = 50,
6225 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
6226 "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
6227 }, {
6228 .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
6229 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
6230 .ksize = 16,
6231 .plaintext = "Test With Truncation",
6232 .psize = 20,
6233 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
6234 "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
6235 }, {
6236 .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
6237 "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
6238 .ksize = 16,
6239 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
6240 "\x65\x72\x20\x4c\x61\x75\x73\x63"
6241 "\x68\x65\x6e\x20\x75\x6e\x64\x20"
6242 "\x53\x74\x61\x75\x6e\x65\x6e\x20"
6243 "\x73\x65\x69\x20\x73\x74\x69\x6c"
6244 "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
6245 "\x69\x6e\x20\x74\x69\x65\x66\x74"
6246 "\x69\x65\x66\x65\x73\x20\x4c\x65"
6247 "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
6248 "\x73\x20\x64\x75\x20\x77\x65\x69"
6249 "\xc3\x9f\x74\x20\x77\x61\x73\x20"
6250 "\x64\x65\x72\x20\x57\x69\x6e\x64"
6251 "\x20\x64\x69\x72\x20\x77\x69\x6c"
6252 "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
6253 "\x63\x68\x20\x64\x69\x65\x20\x42"
6254 "\x69\x72\x6b\x65\x6e\x20\x62\x65"
6255 "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
6256 "\x64\x20\x77\x65\x6e\x6e\x20\x64"
6257 "\x69\x72\x20\x65\x69\x6e\x6d\x61"
6258 "\x6c\x20\x64\x61\x73\x20\x53\x63"
6259 "\x68\x77\x65\x69\x67\x65\x6e\x20"
6260 "\x73\x70\x72\x61\x63\x68\x2c\x0a"
6261 "\x6c\x61\x73\x73\x20\x64\x65\x69"
6262 "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
6263 "\x20\x62\x65\x73\x69\x65\x67\x65"
6264 "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
6265 "\x20\x48\x61\x75\x63\x68\x65\x20"
6266 "\x67\x69\x62\x74\x20\x64\x69\x63"
6267 "\x68\x2c\x20\x67\x69\x62\x20\x6e"
6268 "\x61\x63\x68\x2c\x0a\x65\x72\x20"
6269 "\x77\x69\x72\x64\x20\x64\x69\x63"
6270 "\x68\x20\x6c\x69\x65\x62\x65\x6e"
6271 "\x20\x75\x6e\x64\x20\x77\x69\x65"
6272 "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
6273 "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
6274 "\x65\x69\x6e\x65\x20\x53\x65\x65"
6275 "\x6c\x65\x20\x73\x65\x69\x74\x20"
6276 "\x77\x65\x69\x74\x2c\x20\x73\x65"
6277 "\x69\x20\x77\x65\x69\x74\x2c\x0a"
6278 "\x64\x61\x73\x73\x20\x64\x69\x72"
6279 "\x20\x64\x61\x73\x20\x4c\x65\x62"
6280 "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
6281 "\x67\x65\x2c\x0a\x62\x72\x65\x69"
6282 "\x74\x65\x20\x64\x69\x63\x68\x20"
6283 "\x77\x69\x65\x20\x65\x69\x6e\x20"
6284 "\x46\x65\x69\x65\x72\x6b\x6c\x65"
6285 "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
6286 "\x20\x64\x69\x65\x20\x73\x69\x6e"
6287 "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
6288 "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
6289 .psize = 400,
6290 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
6291 "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
6292 },
6293};
6294
6295/*
6296 * HMAC-MD5 test vectors from RFC2202
6297 * (These need to be fixed to not use strlen).
6298 */
6299static const struct hash_testvec hmac_md5_tv_template[] =
6300{
6301 {
6302 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6303 .ksize = 16,
6304 .plaintext = "Hi There",
6305 .psize = 8,
6306 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
6307 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
6308 }, {
6309 .key = "Jefe",
6310 .ksize = 4,
6311 .plaintext = "what do ya want for nothing?",
6312 .psize = 28,
6313 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
6314 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
6315 }, {
6316 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6317 .ksize = 16,
6318 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6319 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6320 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6321 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6322 .psize = 50,
6323 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
6324 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
6325 }, {
6326 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6327 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6328 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6329 .ksize = 25,
6330 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6331 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6332 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6333 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6334 .psize = 50,
6335 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
6336 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
6337 }, {
6338 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6339 .ksize = 16,
6340 .plaintext = "Test With Truncation",
6341 .psize = 20,
6342 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
6343 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
6344 }, {
6345 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6346 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6347 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6348 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6349 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6350 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6351 "\xaa\xaa",
6352 .ksize = 80,
6353 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6354 .psize = 54,
6355 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
6356 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
6357 }, {
6358 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6359 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6360 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6361 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6362 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6363 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6364 "\xaa\xaa",
6365 .ksize = 80,
6366 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6367 "Block-Size Data",
6368 .psize = 73,
6369 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
6370 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
6371 },
6372};
6373
6374/*
6375 * HMAC-RIPEMD160 test vectors from RFC2286
6376 */
6377static const struct hash_testvec hmac_rmd160_tv_template[] = {
6378 {
6379 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6380 .ksize = 20,
6381 .plaintext = "Hi There",
6382 .psize = 8,
6383 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
6384 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
6385 }, {
6386 .key = "Jefe",
6387 .ksize = 4,
6388 .plaintext = "what do ya want for nothing?",
6389 .psize = 28,
6390 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
6391 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
6392 }, {
6393 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6394 .ksize = 20,
6395 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6396 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6397 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6398 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6399 .psize = 50,
6400 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
6401 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
6402 }, {
6403 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6404 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6405 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6406 .ksize = 25,
6407 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6408 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6409 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6410 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6411 .psize = 50,
6412 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
6413 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
6414 }, {
6415 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6416 .ksize = 20,
6417 .plaintext = "Test With Truncation",
6418 .psize = 20,
6419 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
6420 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
6421 }, {
6422 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6423 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6424 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6425 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6426 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6427 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6428 "\xaa\xaa",
6429 .ksize = 80,
6430 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6431 .psize = 54,
6432 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
6433 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
6434 }, {
6435 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6436 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6437 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6438 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6439 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6440 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6441 "\xaa\xaa",
6442 .ksize = 80,
6443 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6444 "Block-Size Data",
6445 .psize = 73,
6446 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
6447 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
6448 },
6449};
6450
6451/*
6452 * HMAC-SHA1 test vectors from RFC2202
6453 */
6454static const struct hash_testvec hmac_sha1_tv_template[] = {
6455 {
6456 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
6457 .ksize = 20,
6458 .plaintext = "Hi There",
6459 .psize = 8,
6460 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
6461 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
6462 "\x46\xbe",
6463 }, {
6464 .key = "Jefe",
6465 .ksize = 4,
6466 .plaintext = "what do ya want for nothing?",
6467 .psize = 28,
6468 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
6469 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
6470 .fips_skip = 1,
6471 }, {
6472 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6473 .ksize = 20,
6474 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6475 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6476 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6477 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6478 .psize = 50,
6479 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
6480 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
6481 }, {
6482 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6483 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6484 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
6485 .ksize = 25,
6486 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6487 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6488 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6489 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6490 .psize = 50,
6491 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
6492 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
6493 }, {
6494 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
6495 .ksize = 20,
6496 .plaintext = "Test With Truncation",
6497 .psize = 20,
6498 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
6499 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
6500 }, {
6501 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6502 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6503 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6504 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6505 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6506 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6507 "\xaa\xaa",
6508 .ksize = 80,
6509 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6510 .psize = 54,
6511 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
6512 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
6513 }, {
6514 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6515 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6516 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6517 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6518 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6519 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6520 "\xaa\xaa",
6521 .ksize = 80,
6522 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
6523 "Block-Size Data",
6524 .psize = 73,
6525 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
6526 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
6527 },
6528};
6529
6530
6531/*
6532 * SHA224 HMAC test vectors from RFC4231
6533 */
6534static const struct hash_testvec hmac_sha224_tv_template[] = {
6535 {
6536 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6537 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6538 "\x0b\x0b\x0b\x0b",
6539 .ksize = 20,
6540 /* ("Hi There") */
6541 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
6542 .psize = 8,
6543 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
6544 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
6545 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
6546 "\x53\x68\x4b\x22",
6547 }, {
6548 .key = "Jefe",
6549 .ksize = 4,
6550 /* ("what do ya want for nothing?") */
6551 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
6552 "\x79\x61\x20\x77\x61\x6e\x74\x20"
6553 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
6554 "\x69\x6e\x67\x3f",
6555 .psize = 28,
6556 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
6557 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
6558 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
6559 "\x8f\xd0\x5e\x44",
6560 .fips_skip = 1,
6561 }, {
6562 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6563 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6564 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6565 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6566 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6567 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6568 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6569 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6570 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6571 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6572 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6573 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6574 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6575 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6576 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6577 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6578 "\xaa\xaa\xaa",
6579 .ksize = 131,
6580 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
6581 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
6582 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
6583 "\x72\x20\x54\x68\x61\x6e\x20\x42"
6584 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
6585 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
6586 "\x48\x61\x73\x68\x20\x4b\x65\x79"
6587 "\x20\x46\x69\x72\x73\x74",
6588 .psize = 54,
6589 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
6590 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
6591 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
6592 "\x3f\xa6\x87\x0e",
6593 }, {
6594 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6595 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6596 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6597 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6598 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6599 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6600 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6601 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6602 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6603 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6604 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6605 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6606 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6607 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6608 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6609 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6610 "\xaa\xaa\xaa",
6611 .ksize = 131,
6612 /* ("This is a test using a larger than block-size key and a")
6613 (" larger than block-size data. The key needs to be")
6614 (" hashed before being used by the HMAC algorithm.") */
6615 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
6616 "\x61\x20\x74\x65\x73\x74\x20\x75"
6617 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
6618 "\x61\x72\x67\x65\x72\x20\x74\x68"
6619 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
6620 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
6621 "\x79\x20\x61\x6e\x64\x20\x61\x20"
6622 "\x6c\x61\x72\x67\x65\x72\x20\x74"
6623 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
6624 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
6625 "\x61\x74\x61\x2e\x20\x54\x68\x65"
6626 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
6627 "\x64\x73\x20\x74\x6f\x20\x62\x65"
6628 "\x20\x68\x61\x73\x68\x65\x64\x20"
6629 "\x62\x65\x66\x6f\x72\x65\x20\x62"
6630 "\x65\x69\x6e\x67\x20\x75\x73\x65"
6631 "\x64\x20\x62\x79\x20\x74\x68\x65"
6632 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
6633 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
6634 .psize = 152,
6635 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
6636 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
6637 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
6638 "\xf6\xf5\x65\xd1",
6639 },
6640};
6641
6642/*
6643 * HMAC-SHA256 test vectors from
6644 * draft-ietf-ipsec-ciph-sha-256-01.txt
6645 */
6646static const struct hash_testvec hmac_sha256_tv_template[] = {
6647 {
6648 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6649 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6650 "\x11\x12\x13\x14\x15\x16\x17\x18"
6651 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6652 .ksize = 32,
6653 .plaintext = "abc",
6654 .psize = 3,
6655 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
6656 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
6657 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
6658 "\x92\x75\x90\x21\xcf\xab\x81\x81",
6659 }, {
6660 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6661 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6662 "\x11\x12\x13\x14\x15\x16\x17\x18"
6663 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6664 .ksize = 32,
6665 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6666 .psize = 56,
6667 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
6668 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
6669 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
6670 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
6671 }, {
6672 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6673 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6674 "\x11\x12\x13\x14\x15\x16\x17\x18"
6675 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
6676 .ksize = 32,
6677 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
6678 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
6679 .psize = 112,
6680 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
6681 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
6682 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
6683 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
6684 }, {
6685 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6686 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
6687 "\x0b\x0b\x0b\x0b\x0b\x0b",
6688 .ksize = 32,
6689 .plaintext = "Hi There",
6690 .psize = 8,
6691 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
6692 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
6693 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
6694 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
6695 }, {
6696 .key = "Jefe",
6697 .ksize = 4,
6698 .plaintext = "what do ya want for nothing?",
6699 .psize = 28,
6700 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
6701 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
6702 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
6703 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
6704 .fips_skip = 1,
6705 }, {
6706 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6707 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6708 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
6709 .ksize = 32,
6710 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6711 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6712 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
6713 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
6714 .psize = 50,
6715 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
6716 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
6717 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
6718 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
6719 }, {
6720 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
6721 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
6722 "\x11\x12\x13\x14\x15\x16\x17\x18"
6723 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
6724 "\x21\x22\x23\x24\x25",
6725 .ksize = 37,
6726 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6727 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6728 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
6729 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
6730 .psize = 50,
6731 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
6732 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
6733 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
6734 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
6735 }, {
6736 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
6737 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
6738 "\x0c\x0c\x0c\x0c\x0c\x0c",
6739 .ksize = 32,
6740 .plaintext = "Test With Truncation",
6741 .psize = 20,
6742 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
6743 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
6744 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
6745 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
6746 }, {
6747 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6748 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6749 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6750 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6751 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6752 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6753 "\xaa\xaa",
6754 .ksize = 80,
6755 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
6756 .psize = 54,
6757 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
6758 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
6759 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
6760 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
6761 }, {
6762 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6763 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6764 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6765 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6766 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6767 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
6768 "\xaa\xaa",
6769 .ksize = 80,
6770 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
6771 "One Block-Size Data",
6772 .psize = 73,
6773 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
6774 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
6775 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
6776 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
6777 },
6778};
6779
6780static const struct hash_testvec aes_cmac128_tv_template[] = {
6781 { /* From NIST Special Publication 800-38B, AES-128 */
6782 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6783 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6784 .plaintext = zeroed_string,
6785 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
6786 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
6787 .psize = 0,
6788 .ksize = 16,
6789 }, {
6790 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6791 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6792 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6793 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
6794 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
6795 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
6796 .psize = 16,
6797 .ksize = 16,
6798 }, {
6799 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6800 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6801 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6802 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6803 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6804 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6805 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
6806 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
6807 "\x30\xca\x32\x61\x14\x97\xc8\x27",
6808 .psize = 40,
6809 .ksize = 16,
6810 }, {
6811 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6812 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6813 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6814 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6815 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6816 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6817 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6818 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6819 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6820 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
6821 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
6822 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
6823 .psize = 64,
6824 .ksize = 16,
6825 }, { /* From NIST Special Publication 800-38B, AES-256 */
6826 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6827 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6828 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6829 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6830 .plaintext = zeroed_string,
6831 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
6832 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
6833 .psize = 0,
6834 .ksize = 32,
6835 }, {
6836 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6837 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6838 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6839 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6840 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6841 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6842 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6843 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6844 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6845 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6846 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6847 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
6848 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
6849 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
6850 .psize = 64,
6851 .ksize = 32,
6852 }
6853};
6854
6855static const struct hash_testvec aes_cbcmac_tv_template[] = {
6856 {
6857 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6858 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6859 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6860 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
6861 .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
6862 "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
6863 .psize = 16,
6864 .ksize = 16,
6865 }, {
6866 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6867 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6868 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6869 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6870 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6871 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6872 "\x30",
6873 .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
6874 "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
6875 .psize = 33,
6876 .ksize = 16,
6877 }, {
6878 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
6879 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
6880 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6881 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6882 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6883 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6884 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6885 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6886 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6887 "\xad\x2b\x41\x7b\xe6\x6c\x37",
6888 .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
6889 "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
6890 .psize = 63,
6891 .ksize = 16,
6892 }, {
6893 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
6894 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
6895 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
6896 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
6897 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6898 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6899 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6900 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
6901 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
6902 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
6903 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
6904 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
6905 "\x1c",
6906 .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
6907 "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
6908 .psize = 65,
6909 .ksize = 32,
6910 }
6911};
6912
6913static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
6914/*
6915 * From NIST Special Publication 800-38B, Three Key TDEA
6916 * Corrected test vectors from:
6917 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
6918 */
6919 {
6920 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6921 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6922 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6923 .plaintext = zeroed_string,
6924 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
6925 .psize = 0,
6926 .ksize = 24,
6927 }, {
6928 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6929 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6930 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6931 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
6932 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
6933 .psize = 8,
6934 .ksize = 24,
6935 }, {
6936 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6937 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6938 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6939 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6940 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6941 "\xae\x2d\x8a\x57",
6942 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
6943 .psize = 20,
6944 .ksize = 24,
6945 }, {
6946 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
6947 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
6948 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
6949 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
6950 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
6951 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
6952 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
6953 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
6954 .psize = 32,
6955 .ksize = 24,
6956 }
6957};
6958
6959static const struct hash_testvec aes_xcbc128_tv_template[] = {
6960 {
6961 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6962 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6963 .plaintext = zeroed_string,
6964 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
6965 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
6966 .psize = 0,
6967 .ksize = 16,
6968 }, {
6969 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6970 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6971 .plaintext = "\x00\x01\x02",
6972 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
6973 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
6974 .psize = 3,
6975 .ksize = 16,
6976 } , {
6977 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6978 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6979 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6980 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6981 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
6982 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
6983 .psize = 16,
6984 .ksize = 16,
6985 }, {
6986 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6987 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6988 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6989 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
6990 "\x10\x11\x12\x13",
6991 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
6992 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
6993 .psize = 20,
6994 .ksize = 16,
6995 }, {
6996 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
6997 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
6998 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
6999 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7000 "\x10\x11\x12\x13\x14\x15\x16\x17"
7001 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
7002 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
7003 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
7004 .psize = 32,
7005 .ksize = 16,
7006 }, {
7007 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
7008 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
7009 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
7010 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7011 "\x10\x11\x12\x13\x14\x15\x16\x17"
7012 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
7013 "\x20\x21",
7014 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
7015 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
7016 .psize = 34,
7017 .ksize = 16,
7018 }
7019};
7020
7021/*
7022 * SHA384 HMAC test vectors from RFC4231
7023 */
7024
7025static const struct hash_testvec hmac_sha384_tv_template[] = {
7026 {
7027 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7028 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7029 "\x0b\x0b\x0b\x0b",
7030 .ksize = 20,
7031 .plaintext = "Hi There",
7032 .psize = 8,
7033 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
7034 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
7035 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
7036 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
7037 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
7038 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
7039 }, {
7040 .key = "Jefe",
7041 .ksize = 4,
7042 .plaintext = "what do ya want for nothing?",
7043 .psize = 28,
7044 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
7045 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
7046 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
7047 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
7048 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
7049 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
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 Larger Than Block-Siz"
7071 "e Key - Hash Key First",
7072 .psize = 54,
7073 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
7074 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
7075 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
7076 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
7077 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
7078 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
7079 }, {
7080 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7081 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7082 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7083 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7084 "\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",
7097 .ksize = 131,
7098 .plaintext = "This is a test u"
7099 "sing a larger th"
7100 "an block-size ke"
7101 "y and a larger t"
7102 "han block-size d"
7103 "ata. The key nee"
7104 "ds to be hashed "
7105 "before being use"
7106 "d by the HMAC al"
7107 "gorithm.",
7108 .psize = 152,
7109 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
7110 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
7111 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
7112 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
7113 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
7114 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
7115 },
7116};
7117
7118/*
7119 * SHA512 HMAC test vectors from RFC4231
7120 */
7121
7122static const struct hash_testvec hmac_sha512_tv_template[] = {
7123 {
7124 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7125 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7126 "\x0b\x0b\x0b\x0b",
7127 .ksize = 20,
7128 .plaintext = "Hi There",
7129 .psize = 8,
7130 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
7131 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
7132 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
7133 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
7134 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
7135 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
7136 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
7137 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
7138 }, {
7139 .key = "Jefe",
7140 .ksize = 4,
7141 .plaintext = "what do ya want for nothing?",
7142 .psize = 28,
7143 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
7144 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
7145 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
7146 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
7147 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
7148 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
7149 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
7150 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
7151 .fips_skip = 1,
7152 }, {
7153 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7165 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7166 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7167 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7168 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7169 "\xaa\xaa\xaa",
7170 .ksize = 131,
7171 .plaintext = "Test Using Large"
7172 "r Than Block-Siz"
7173 "e Key - Hash Key"
7174 " First",
7175 .psize = 54,
7176 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
7177 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
7178 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
7179 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
7180 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
7181 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
7182 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
7183 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
7184 }, {
7185 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7193 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7194 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7195 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7196 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7197 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7198 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7199 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7200 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7201 "\xaa\xaa\xaa",
7202 .ksize = 131,
7203 .plaintext =
7204 "This is a test u"
7205 "sing a larger th"
7206 "an block-size ke"
7207 "y and a larger t"
7208 "han block-size d"
7209 "ata. The key nee"
7210 "ds to be hashed "
7211 "before being use"
7212 "d by the HMAC al"
7213 "gorithm.",
7214 .psize = 152,
7215 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
7216 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
7217 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
7218 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
7219 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
7220 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
7221 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
7222 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
7223 },
7224};
7225
7226static const struct hash_testvec hmac_sha3_224_tv_template[] = {
7227 {
7228 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7229 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7230 "\x0b\x0b\x0b\x0b",
7231 .ksize = 20,
7232 .plaintext = "Hi There",
7233 .psize = 8,
7234 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
7235 "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
7236 "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
7237 "\xf3\xc8\x60\xf7",
7238 }, {
7239 .key = "Jefe",
7240 .ksize = 4,
7241 .plaintext = "what do ya want for nothing?",
7242 .psize = 28,
7243 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
7244 "\x1b\x79\x86\x34\xad\x38\x68\x11"
7245 "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
7246 "\xba\xce\x5e\x66",
7247 .fips_skip = 1,
7248 }, {
7249 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7253 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7254 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7255 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7256 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7257 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7258 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7259 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7260 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7261 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7262 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7263 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7264 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7265 "\xaa\xaa\xaa",
7266 .ksize = 131,
7267 .plaintext = "Test Using Large"
7268 "r Than Block-Siz"
7269 "e Key - Hash Key"
7270 " First",
7271 .psize = 54,
7272 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
7273 "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
7274 "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
7275 "\x5f\xb9\x99\x5f",
7276 }, {
7277 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7281 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7282 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7283 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7284 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7285 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7286 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7287 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7288 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7289 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7290 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7291 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7292 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7293 "\xaa\xaa\xaa",
7294 .ksize = 131,
7295 .plaintext =
7296 "This is a test u"
7297 "sing a larger th"
7298 "an block-size ke"
7299 "y and a larger t"
7300 "han block-size d"
7301 "ata. The key nee"
7302 "ds to be hashed "
7303 "before being use"
7304 "d by the HMAC al"
7305 "gorithm.",
7306 .psize = 152,
7307 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
7308 "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
7309 "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
7310 "\x29\xcd\x62\xa0",
7311 },
7312};
7313
7314static const struct hash_testvec hmac_sha3_256_tv_template[] = {
7315 {
7316 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7317 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7318 "\x0b\x0b\x0b\x0b",
7319 .ksize = 20,
7320 .plaintext = "Hi There",
7321 .psize = 8,
7322 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
7323 "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
7324 "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
7325 "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
7326 }, {
7327 .key = "Jefe",
7328 .ksize = 4,
7329 .plaintext = "what do ya want for nothing?",
7330 .psize = 28,
7331 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
7332 "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
7333 "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
7334 "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
7335 .fips_skip = 1,
7336 }, {
7337 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7345 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7346 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7347 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7348 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7349 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7350 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7351 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7352 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7353 "\xaa\xaa\xaa",
7354 .ksize = 131,
7355 .plaintext = "Test Using Large"
7356 "r Than Block-Siz"
7357 "e Key - Hash Key"
7358 " First",
7359 .psize = 54,
7360 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
7361 "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
7362 "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
7363 "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
7364 }, {
7365 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7375 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7376 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7377 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7378 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7379 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7380 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7381 "\xaa\xaa\xaa",
7382 .ksize = 131,
7383 .plaintext =
7384 "This is a test u"
7385 "sing a larger th"
7386 "an block-size ke"
7387 "y and a larger t"
7388 "han block-size d"
7389 "ata. The key nee"
7390 "ds to be hashed "
7391 "before being use"
7392 "d by the HMAC al"
7393 "gorithm.",
7394 .psize = 152,
7395 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
7396 "\x7a\xef\x87\x63\x26\x1e\x49\xad"
7397 "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
7398 "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
7399 },
7400};
7401
7402static const struct hash_testvec hmac_sha3_384_tv_template[] = {
7403 {
7404 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7405 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7406 "\x0b\x0b\x0b\x0b",
7407 .ksize = 20,
7408 .plaintext = "Hi There",
7409 .psize = 8,
7410 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
7411 "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
7412 "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
7413 "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
7414 "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
7415 "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
7416 }, {
7417 .key = "Jefe",
7418 .ksize = 4,
7419 .plaintext = "what do ya want for nothing?",
7420 .psize = 28,
7421 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
7422 "\x67\x64\xd2\xed\x61\x90\x3f\x21"
7423 "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
7424 "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
7425 "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
7426 "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
7427 .fips_skip = 1,
7428 }, {
7429 .key = "\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\xaa\xaa\xaa\xaa\xaa"
7445 "\xaa\xaa\xaa",
7446 .ksize = 131,
7447 .plaintext = "Test Using Large"
7448 "r Than Block-Siz"
7449 "e Key - Hash Key"
7450 " First",
7451 .psize = 54,
7452 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
7453 "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
7454 "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
7455 "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
7456 "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
7457 "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
7458 }, {
7459 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7460 "\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",
7476 .ksize = 131,
7477 .plaintext =
7478 "This is a test u"
7479 "sing a larger th"
7480 "an block-size ke"
7481 "y and a larger t"
7482 "han block-size d"
7483 "ata. The key nee"
7484 "ds to be hashed "
7485 "before being use"
7486 "d by the HMAC al"
7487 "gorithm.",
7488 .psize = 152,
7489 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
7490 "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
7491 "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
7492 "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
7493 "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
7494 "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
7495 },
7496};
7497
7498static const struct hash_testvec hmac_sha3_512_tv_template[] = {
7499 {
7500 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7501 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
7502 "\x0b\x0b\x0b\x0b",
7503 .ksize = 20,
7504 .plaintext = "Hi There",
7505 .psize = 8,
7506 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
7507 "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
7508 "\xec\x15\x77\x0a\x7c\xab\xac\x53"
7509 "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
7510 "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
7511 "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
7512 "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
7513 "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
7514 }, {
7515 .key = "Jefe",
7516 .ksize = 4,
7517 .plaintext = "what do ya want for nothing?",
7518 .psize = 28,
7519 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
7520 "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
7521 "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
7522 "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
7523 "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
7524 "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
7525 "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
7526 "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
7527 .fips_skip = 1,
7528 }, {
7529 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7530 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7531 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7532 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7533 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7534 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7535 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7536 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7537 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7538 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7539 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7540 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7541 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7542 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7543 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7544 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7545 "\xaa\xaa\xaa",
7546 .ksize = 131,
7547 .plaintext = "Test Using Large"
7548 "r Than Block-Siz"
7549 "e Key - Hash Key"
7550 " First",
7551 .psize = 54,
7552 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
7553 "\x90\xed\x69\x11\xa4\xb6\x55\x24"
7554 "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
7555 "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
7556 "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
7557 "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
7558 "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
7559 "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
7560 }, {
7561 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7562 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7563 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7564 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7565 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7566 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7567 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7568 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7569 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7570 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7571 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7572 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7573 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7574 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7575 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7576 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
7577 "\xaa\xaa\xaa",
7578 .ksize = 131,
7579 .plaintext =
7580 "This is a test u"
7581 "sing a larger th"
7582 "an block-size ke"
7583 "y and a larger t"
7584 "han block-size d"
7585 "ata. The key nee"
7586 "ds to be hashed "
7587 "before being use"
7588 "d by the HMAC al"
7589 "gorithm.",
7590 .psize = 152,
7591 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
7592 "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
7593 "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
7594 "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
7595 "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
7596 "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
7597 "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
7598 "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
7599 },
7600};
7601
7602/* NHPoly1305 test vectors from https://github.com/google/adiantum */
7603static const struct hash_testvec nhpoly1305_tv_template[] = {
7604 {
7605 .key = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
7606 "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
7607 "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
7608 "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
7609 "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
7610 "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
7611 "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
7612 "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
7613 "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
7614 "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
7615 "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
7616 "\x91\x55\x29\x65\x86\x28\x5e\x45"
7617 "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
7618 "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
7619 "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
7620 "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
7621 "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
7622 "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
7623 "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
7624 "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
7625 "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
7626 "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
7627 "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
7628 "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
7629 "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
7630 "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
7631 "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
7632 "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
7633 "\x93\x01\xca\x95\xfc\x2b\x36\x04"
7634 "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
7635 "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
7636 "\xaf\x66\x11\x13\x02\x88\xd5\x27"
7637 "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
7638 "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
7639 "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
7640 "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
7641 "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
7642 "\x80\x05\x40\xe4\x33\x03\xfb\x10"
7643 "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
7644 "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
7645 "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
7646 "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
7647 "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
7648 "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
7649 "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
7650 "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
7651 "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
7652 "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
7653 "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
7654 "\x48\x44\x13\x61\xdc\x8c\x76\x17"
7655 "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
7656 "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
7657 "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
7658 "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
7659 "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
7660 "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
7661 "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
7662 "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
7663 "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
7664 "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
7665 "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
7666 "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
7667 "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
7668 "\x95\x03\x49\x05\xed\xe0\x90\x29"
7669 "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
7670 "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
7671 "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
7672 "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
7673 "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
7674 "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
7675 "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
7676 "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
7677 "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
7678 "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
7679 "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
7680 "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
7681 "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
7682 "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
7683 "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
7684 "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
7685 "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
7686 "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
7687 "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
7688 "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
7689 "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
7690 "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
7691 "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
7692 "\x10\x48\x9c\xff\xc2\x69\x55\x24"
7693 "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
7694 "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
7695 "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
7696 "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
7697 "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
7698 "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
7699 "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
7700 "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
7701 "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
7702 "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
7703 "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
7704 "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
7705 "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
7706 "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
7707 "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
7708 "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
7709 "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
7710 "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
7711 "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
7712 "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
7713 "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
7714 "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
7715 "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
7716 "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
7717 "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
7718 "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
7719 "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
7720 "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
7721 "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
7722 "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
7723 "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
7724 "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
7725 "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
7726 "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
7727 "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
7728 "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
7729 "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
7730 "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
7731 "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
7732 "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
7733 "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
7734 "\x33\x73\x8b\x59\x03\xad\x05\xdf"
7735 "\x25\x98\x31\xde\xef\x13\xf1\x9b"
7736 "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
7737 "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
7738 "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
7739 "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
7740 "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
7741 .ksize = 1088,
7742 .plaintext = "",
7743 .psize = 0,
7744 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
7745 "\x00\x00\x00\x00\x00\x00\x00\x00",
7746 }, {
7747 .key = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
7748 "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
7749 "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
7750 "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
7751 "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
7752 "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
7753 "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
7754 "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
7755 "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
7756 "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
7757 "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
7758 "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
7759 "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
7760 "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
7761 "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
7762 "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
7763 "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
7764 "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
7765 "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
7766 "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
7767 "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
7768 "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
7769 "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
7770 "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
7771 "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
7772 "\xba\x78\x69\x5b\x65\xab\x1f\x81"
7773 "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
7774 "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
7775 "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
7776 "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
7777 "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
7778 "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
7779 "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
7780 "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
7781 "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
7782 "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
7783 "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
7784 "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
7785 "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
7786 "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
7787 "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
7788 "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
7789 "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
7790 "\xb2\x57\xaf\x78\x99\x05\x12\xab"
7791 "\x48\x90\x80\xf0\x12\x9b\x20\x64"
7792 "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
7793 "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
7794 "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
7795 "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
7796 "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
7797 "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
7798 "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
7799 "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
7800 "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
7801 "\x03\x13\x60\x41\x28\x09\xec\xcc"
7802 "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
7803 "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
7804 "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
7805 "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
7806 "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
7807 "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
7808 "\x46\x58\x53\xf7\x17\xd5\xad\x11"
7809 "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
7810 "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
7811 "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
7812 "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
7813 "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
7814 "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
7815 "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
7816 "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
7817 "\x75\xef\x02\x36\x75\x08\x14\xfd"
7818 "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
7819 "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
7820 "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
7821 "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
7822 "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
7823 "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
7824 "\xba\x81\xd2\xca\x2c\x38\xac\x76"
7825 "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
7826 "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
7827 "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
7828 "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
7829 "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
7830 "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
7831 "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
7832 "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
7833 "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
7834 "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
7835 "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
7836 "\x89\x06\x3a\x34\x85\x48\x89\x86"
7837 "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
7838 "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
7839 "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
7840 "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
7841 "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
7842 "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
7843 "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
7844 "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
7845 "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
7846 "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
7847 "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
7848 "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
7849 "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
7850 "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
7851 "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
7852 "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
7853 "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
7854 "\x31\x16\x89\xba\xd6\xad\x18\x5e"
7855 "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
7856 "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
7857 "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
7858 "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
7859 "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
7860 "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
7861 "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
7862 "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
7863 "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
7864 "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
7865 "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
7866 "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
7867 "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
7868 "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
7869 "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
7870 "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
7871 "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
7872 "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
7873 "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
7874 "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
7875 "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
7876 "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
7877 "\x86\x90\x85\x68\x6b\x7b\x03\x53"
7878 "\xda\x52\x52\x51\x68\xc8\xf3\xec"
7879 "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
7880 "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
7881 "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
7882 "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
7883 .ksize = 1088,
7884 .plaintext = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
7885 "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
7886 .psize = 16,
7887 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
7888 "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
7889 }, {
7890 .key = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
7891 "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
7892 "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
7893 "\x72\x41\x11\x15\x14\x72\x50\x8a"
7894 "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
7895 "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
7896 "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
7897 "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
7898 "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
7899 "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
7900 "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
7901 "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
7902 "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
7903 "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
7904 "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
7905 "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
7906 "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
7907 "\x51\x45\x68\x38\x51\xdb\x30\x74"
7908 "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
7909 "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
7910 "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
7911 "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
7912 "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
7913 "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
7914 "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
7915 "\x14\x58\x54\x2b\xba\x22\x31\xba"
7916 "\xef\x66\xc9\x49\x69\x69\x83\x0d"
7917 "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
7918 "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
7919 "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
7920 "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
7921 "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
7922 "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
7923 "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
7924 "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
7925 "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
7926 "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
7927 "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
7928 "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
7929 "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
7930 "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
7931 "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
7932 "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
7933 "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
7934 "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
7935 "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
7936 "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
7937 "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
7938 "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
7939 "\x81\xdf\x46\x55\x0d\x22\x06\x77"
7940 "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
7941 "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
7942 "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
7943 "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
7944 "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
7945 "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
7946 "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
7947 "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
7948 "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
7949 "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
7950 "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
7951 "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
7952 "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
7953 "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
7954 "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
7955 "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
7956 "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
7957 "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
7958 "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
7959 "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
7960 "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
7961 "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
7962 "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
7963 "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
7964 "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
7965 "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
7966 "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
7967 "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
7968 "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
7969 "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
7970 "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
7971 "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
7972 "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
7973 "\x21\x44\x68\xe1\x5d\x84\x25\xae"
7974 "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
7975 "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
7976 "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
7977 "\x22\x43\x52\xed\x67\x49\x13\xdd"
7978 "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
7979 "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
7980 "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
7981 "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
7982 "\x44\x90\x85\xe7\x57\x23\x22\x41"
7983 "\x2e\xda\x24\x28\x65\x7f\x96\x85"
7984 "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
7985 "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
7986 "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
7987 "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
7988 "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
7989 "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
7990 "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
7991 "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
7992 "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
7993 "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
7994 "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
7995 "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
7996 "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
7997 "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
7998 "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
7999 "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
8000 "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
8001 "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
8002 "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
8003 "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
8004 "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
8005 "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
8006 "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
8007 "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
8008 "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
8009 "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
8010 "\x39\x27\x68\x63\xd3\x8e\x61\x39"
8011 "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
8012 "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
8013 "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
8014 "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
8015 "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
8016 "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
8017 "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
8018 "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
8019 "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
8020 "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
8021 "\xda\x80\xb2\x29\xff\x28\x96\xb3"
8022 "\x46\x50\x5b\x15\x80\x97\xee\x1f"
8023 "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
8024 "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
8025 "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
8026 .ksize = 1088,
8027 .plaintext = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
8028 "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
8029 "\x05\x5b\x97",
8030 .psize = 19,
8031 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
8032 "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
8033 }, {
8034 .key = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
8035 "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
8036 "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
8037 "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
8038 "\x55\x63\xd3\x52\x97\x88\xd6\x19"
8039 "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
8040 "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
8041 "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
8042 "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
8043 "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
8044 "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
8045 "\x44\x18\x07\x7d\xca\x60\x1f\x73"
8046 "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
8047 "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
8048 "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
8049 "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
8050 "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
8051 "\xaf\x92\x82\x06\x91\x04\x09\xf4"
8052 "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
8053 "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
8054 "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
8055 "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
8056 "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
8057 "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
8058 "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
8059 "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
8060 "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
8061 "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
8062 "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
8063 "\x82\x04\xfe\x71\x51\x71\xb1\x49"
8064 "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
8065 "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
8066 "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
8067 "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
8068 "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
8069 "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
8070 "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
8071 "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
8072 "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
8073 "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
8074 "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
8075 "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
8076 "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
8077 "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
8078 "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
8079 "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
8080 "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
8081 "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
8082 "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
8083 "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
8084 "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
8085 "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
8086 "\x47\xda\x18\x93\x63\xda\xbe\x9e"
8087 "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
8088 "\xee\x73\xa1\x42\x96\xf9\x66\x41"
8089 "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
8090 "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
8091 "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
8092 "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
8093 "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
8094 "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
8095 "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
8096 "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
8097 "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
8098 "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
8099 "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
8100 "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
8101 "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
8102 "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
8103 "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
8104 "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
8105 "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
8106 "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
8107 "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
8108 "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
8109 "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
8110 "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
8111 "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
8112 "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
8113 "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
8114 "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
8115 "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
8116 "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
8117 "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
8118 "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
8119 "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
8120 "\x22\xa8\xcf\x27\x01\x01\x88\x93"
8121 "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
8122 "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
8123 "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
8124 "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
8125 "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
8126 "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
8127 "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
8128 "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
8129 "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
8130 "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
8131 "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
8132 "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
8133 "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
8134 "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
8135 "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
8136 "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
8137 "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
8138 "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
8139 "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
8140 "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
8141 "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
8142 "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
8143 "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
8144 "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
8145 "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
8146 "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
8147 "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
8148 "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
8149 "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
8150 "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
8151 "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
8152 "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
8153 "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
8154 "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
8155 "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
8156 "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
8157 "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
8158 "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
8159 "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
8160 "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
8161 "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
8162 "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
8163 "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
8164 "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
8165 "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
8166 "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
8167 "\xae\x09\x03\x45\x74\x51\x4d\xc4"
8168 "\xb8\x23\x87\x4a\x99\x27\x20\x87"
8169 "\x62\x44\x0a\x4a\xce\x78\x47\x22",
8170 .ksize = 1088,
8171 .plaintext = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
8172 "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
8173 "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
8174 "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
8175 "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
8176 "\x16\xbc\xdf\x19\x89\x52\x71\x31"
8177 "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
8178 "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
8179 "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
8180 "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
8181 "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
8182 "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
8183 "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
8184 "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
8185 "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
8186 "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
8187 "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
8188 "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
8189 "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
8190 "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
8191 "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
8192 "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
8193 "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
8194 "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
8195 "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
8196 "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
8197 "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
8198 "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
8199 "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
8200 "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
8201 "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
8202 "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
8203 "\x40\x99\x50\x88\x01\x09\x64\x4f"
8204 "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
8205 "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
8206 "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
8207 "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
8208 "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
8209 "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
8210 "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
8211 "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
8212 "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
8213 "\xea\x2b\x21\xbf\x74\x59\x82\x97"
8214 "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
8215 "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
8216 "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
8217 "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
8218 "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
8219 "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
8220 "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
8221 "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
8222 "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
8223 "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
8224 "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
8225 "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
8226 "\xab\x98\x01\x72\xfe\x80\x87\x5f"
8227 "\x46\xba\xef\x81\x24\xee\xbf\xb0"
8228 "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
8229 "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
8230 "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
8231 "\x86\xed\xfb\x8c\x66\x33\xda\x63"
8232 "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
8233 "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
8234 "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
8235 "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
8236 "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
8237 "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
8238 "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
8239 "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
8240 "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
8241 "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
8242 "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
8243 "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
8244 "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
8245 "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
8246 "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
8247 "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
8248 "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
8249 "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
8250 "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
8251 "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
8252 "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
8253 "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
8254 "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
8255 "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
8256 "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
8257 "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
8258 "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
8259 "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
8260 "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
8261 "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
8262 "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
8263 "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
8264 "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
8265 "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
8266 "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
8267 "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
8268 "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
8269 "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
8270 "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
8271 "\xbb\x77\x38\x18\x61\xaf\x85\x76"
8272 "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
8273 "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
8274 "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
8275 "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
8276 "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
8277 "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
8278 "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
8279 "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
8280 "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
8281 "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
8282 "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
8283 "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
8284 "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
8285 "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
8286 "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
8287 "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
8288 "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
8289 "\x51\x76\x21\x80\xa2\xbe\x93\x03"
8290 "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
8291 "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
8292 "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
8293 "\x74\x14\x4b\x46\xd2\xce\xac\x39"
8294 "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
8295 "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
8296 "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
8297 "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
8298 "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
8299 .psize = 1024,
8300 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
8301 "\x6e\x56\x01\x1a\x51\xec\x36\xde",
8302 }, {
8303 .key = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
8304 "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
8305 "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
8306 "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
8307 "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
8308 "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
8309 "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
8310 "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
8311 "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
8312 "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
8313 "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
8314 "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
8315 "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
8316 "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
8317 "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
8318 "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
8319 "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
8320 "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
8321 "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
8322 "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
8323 "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
8324 "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
8325 "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
8326 "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
8327 "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
8328 "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
8329 "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
8330 "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
8331 "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
8332 "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
8333 "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
8334 "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
8335 "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
8336 "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
8337 "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
8338 "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
8339 "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
8340 "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
8341 "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
8342 "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
8343 "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
8344 "\x16\x24\x01\xce\x67\x55\x51\xd1"
8345 "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
8346 "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
8347 "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
8348 "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
8349 "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
8350 "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
8351 "\x05\x84\xda\x53\x71\xf8\x80\xd3"
8352 "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
8353 "\x00\x75\x50\x9e\x43\x22\x00\x0b"
8354 "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
8355 "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
8356 "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
8357 "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
8358 "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
8359 "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
8360 "\x3d\x34\xc2\x29\x13\x86\x36\x42"
8361 "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
8362 "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
8363 "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
8364 "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
8365 "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
8366 "\xa6\xab\x3b\x83\x64\x52\xca\x66"
8367 "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
8368 "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
8369 "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
8370 "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
8371 "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
8372 "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
8373 "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
8374 "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
8375 "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
8376 "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
8377 "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
8378 "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
8379 "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
8380 "\x96\x06\x65\x90\xa1\x28\x64\x4b"
8381 "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
8382 "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
8383 "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
8384 "\x83\x81\x1f\x76\xde\x15\x64\x7a"
8385 "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
8386 "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
8387 "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
8388 "\x86\x56\xbe\xab\xa1\x37\x08\x01"
8389 "\x50\x85\x69\x29\xee\x9f\xdf\x21"
8390 "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
8391 "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
8392 "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
8393 "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
8394 "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
8395 "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
8396 "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
8397 "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
8398 "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
8399 "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
8400 "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
8401 "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
8402 "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
8403 "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
8404 "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
8405 "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
8406 "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
8407 "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
8408 "\x43\x24\x15\x8d\xd2\xed\x80\x68"
8409 "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
8410 "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
8411 "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
8412 "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
8413 "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
8414 "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
8415 "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
8416 "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
8417 "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
8418 "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
8419 "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
8420 "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
8421 "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
8422 "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
8423 "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
8424 "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
8425 "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
8426 "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
8427 "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
8428 "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
8429 "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
8430 "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
8431 "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
8432 "\x3e\x9d\x10\xef\x27\x35\x43\x64"
8433 "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
8434 "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
8435 "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
8436 "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
8437 "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
8438 "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
8439 .ksize = 1088,
8440 .plaintext = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
8441 "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
8442 "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
8443 "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
8444 "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
8445 "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
8446 "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
8447 "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
8448 "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
8449 "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
8450 "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
8451 "\xea\x63\x2e\x80\x37\x83\xb0\x58"
8452 "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
8453 "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
8454 "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
8455 "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
8456 "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
8457 "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
8458 "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
8459 "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
8460 "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
8461 "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
8462 "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
8463 "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
8464 "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
8465 "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
8466 "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
8467 "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
8468 "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
8469 "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
8470 "\xaa\xb8\x74\xda\x54\x23\x51\x12"
8471 "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
8472 "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
8473 "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
8474 "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
8475 "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
8476 "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
8477 "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
8478 "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
8479 "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
8480 "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
8481 "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
8482 "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
8483 "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
8484 "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
8485 "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
8486 "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
8487 "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
8488 "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
8489 "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
8490 "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
8491 "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
8492 "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
8493 "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
8494 "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
8495 "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
8496 "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
8497 "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
8498 "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
8499 "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
8500 "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
8501 "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
8502 "\xa3\x1e\x95\x69\xad\x78\x95\x06"
8503 "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
8504 "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
8505 "\x79\xbc\x08\x4e\x97\x00\x98\x63"
8506 "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
8507 "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
8508 "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
8509 "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
8510 "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
8511 "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
8512 "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
8513 "\x97\x32\x62\x71\x3a\x29\x54\xb9"
8514 "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
8515 "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
8516 "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
8517 "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
8518 "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
8519 "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
8520 "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
8521 "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
8522 "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
8523 "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
8524 "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
8525 "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
8526 "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
8527 "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
8528 "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
8529 "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
8530 "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
8531 "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
8532 "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
8533 "\x75\x18\x77\xaa\x29\x38\x96\xed"
8534 "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
8535 "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
8536 "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
8537 "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
8538 "\xac\x53\x4c\xa3\xde\x42\x92\x95"
8539 "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
8540 "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
8541 "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
8542 "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
8543 "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
8544 "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
8545 "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
8546 "\xf2\x06\x01\x62\x25\x15\x99\x74"
8547 "\x33\x51\x52\x57\x3f\x57\x87\x61"
8548 "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
8549 "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
8550 "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
8551 "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
8552 "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
8553 "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
8554 "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
8555 "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
8556 "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
8557 "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
8558 "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
8559 "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
8560 "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
8561 "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
8562 "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
8563 "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
8564 "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
8565 "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
8566 "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
8567 "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
8568 "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
8569 "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
8570 .psize = 1040,
8571 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
8572 "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
8573 }, {
8574 .key = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
8575 "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
8576 "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
8577 "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
8578 "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
8579 "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
8580 "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
8581 "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
8582 "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
8583 "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
8584 "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
8585 "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
8586 "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
8587 "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
8588 "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
8589 "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
8590 "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
8591 "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
8592 "\x27\x67\x8c\x01\xea\x42\x1a\x66"
8593 "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
8594 "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
8595 "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
8596 "\x00\x99\x58\xee\x76\x09\x64\xaa"
8597 "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
8598 "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
8599 "\xd2\x65\x69\x41\x70\x12\xdc\x25"
8600 "\x41\x03\x99\x81\x41\x19\x62\x13"
8601 "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
8602 "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
8603 "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
8604 "\x08\x04\x73\x1a\x84\x40\xf5\x64"
8605 "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
8606 "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
8607 "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
8608 "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
8609 "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
8610 "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
8611 "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
8612 "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
8613 "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
8614 "\x21\xfe\xab\xea\x20\xc4\x03\x58"
8615 "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
8616 "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
8617 "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
8618 "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
8619 "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
8620 "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
8621 "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
8622 "\x80\xd5\x81\x14\x93\x16\x7e\x46"
8623 "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
8624 "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
8625 "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
8626 "\x77\x77\x5e\x64\xce\x78\x1b\x85"
8627 "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
8628 "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
8629 "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
8630 "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
8631 "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
8632 "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
8633 "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
8634 "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
8635 "\x39\x01\xe5\x73\x15\x5e\x99\xec"
8636 "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
8637 "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
8638 "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
8639 "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
8640 "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
8641 "\x9d\x16\x13\x80\x5e\x59\x62\x62"
8642 "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
8643 "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
8644 "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
8645 "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
8646 "\x18\x45\xab\x36\x03\x59\xa8\xbd"
8647 "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
8648 "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
8649 "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
8650 "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
8651 "\x45\x15\x5b\x40\x42\xc4\x09\x92"
8652 "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
8653 "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
8654 "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
8655 "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
8656 "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
8657 "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
8658 "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
8659 "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
8660 "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
8661 "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
8662 "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
8663 "\x42\x28\xd0\x26\x30\x78\x01\x9b"
8664 "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
8665 "\x03\x07\xff\x16\xff\x3c\x6e\x48"
8666 "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
8667 "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
8668 "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
8669 "\x77\x0a\x78\x82\x75\xf8\x63\x51"
8670 "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
8671 "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
8672 "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
8673 "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
8674 "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
8675 "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
8676 "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
8677 "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
8678 "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
8679 "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
8680 "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
8681 "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
8682 "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
8683 "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
8684 "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
8685 "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
8686 "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
8687 "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
8688 "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
8689 "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
8690 "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
8691 "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
8692 "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
8693 "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
8694 "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
8695 "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
8696 "\x58\xd6\x28\x34\x93\x3a\x25\x97"
8697 "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
8698 "\x10\xb3\x54\x35\x23\x8c\x64\xee"
8699 "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
8700 "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
8701 "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
8702 "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
8703 "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
8704 "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
8705 "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
8706 "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
8707 "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
8708 "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
8709 "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
8710 .ksize = 1088,
8711 .plaintext = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
8712 "\x45\x87\x70\x51\x8a\x66\x7a\x33"
8713 "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
8714 "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
8715 "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
8716 "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
8717 "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
8718 "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
8719 "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
8720 "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
8721 "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
8722 "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
8723 "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
8724 "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
8725 "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
8726 "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
8727 "\x34\x73\xda\x87\x87\x3d\x6f\x97"
8728 "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
8729 "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
8730 "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
8731 "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
8732 "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
8733 "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
8734 "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
8735 "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
8736 "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
8737 "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
8738 "\x78\xfd\x69\x79\x74\x78\x43\x26"
8739 "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
8740 "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
8741 "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
8742 "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
8743 "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
8744 "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
8745 "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
8746 "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
8747 "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
8748 "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
8749 "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
8750 "\x26\x10\xb9\x89\x37\x68\x26\xbf"
8751 "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
8752 "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
8753 "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
8754 "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
8755 "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
8756 "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
8757 "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
8758 "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
8759 "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
8760 "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
8761 "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
8762 "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
8763 "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
8764 "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
8765 "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
8766 "\x39\x72\xf5\x94\x61\x05\x51\xec"
8767 "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
8768 "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
8769 "\x04\x85\xe9\x04\x49\x82\x91\xff"
8770 "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
8771 "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
8772 "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
8773 "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
8774 "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
8775 "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
8776 "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
8777 "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
8778 "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
8779 "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
8780 "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
8781 "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
8782 "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
8783 "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
8784 "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
8785 "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
8786 "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
8787 "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
8788 "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
8789 "\xca\x54\x99\x63\x05\x6c\xb1\xac"
8790 "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
8791 "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
8792 "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
8793 "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
8794 "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
8795 "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
8796 "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
8797 "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
8798 "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
8799 "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
8800 "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
8801 "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
8802 "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
8803 "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
8804 "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
8805 "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
8806 "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
8807 "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
8808 "\x56\x40\x16\x84\xe7\x22\x53\x3a"
8809 "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
8810 "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
8811 "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
8812 "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
8813 "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
8814 "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
8815 "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
8816 "\x1d\x59\x52\x50\xaa\x16\x02\x82"
8817 "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
8818 "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
8819 "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
8820 "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
8821 "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
8822 "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
8823 "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
8824 "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
8825 "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
8826 "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
8827 "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
8828 "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
8829 "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
8830 "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
8831 "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
8832 "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
8833 "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
8834 "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
8835 "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
8836 "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
8837 "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
8838 "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
8839 "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
8840 "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
8841 "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
8842 "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
8843 "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
8844 "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
8845 "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
8846 "\x61\x12\x69\xb0\x5f\x28\x99\xda"
8847 "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
8848 "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
8849 "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
8850 "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
8851 "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
8852 "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
8853 "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
8854 "\x54\x32\x77\x01\xed\x9d\x8a\x43"
8855 "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
8856 "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
8857 "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
8858 "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
8859 "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
8860 "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
8861 "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
8862 "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
8863 "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
8864 "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
8865 "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
8866 "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
8867 "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
8868 "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
8869 "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
8870 "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
8871 "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
8872 "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
8873 "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
8874 "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
8875 "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
8876 "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
8877 "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
8878 "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
8879 "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
8880 "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
8881 "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
8882 "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
8883 "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
8884 "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
8885 "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
8886 "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
8887 "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
8888 "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
8889 "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
8890 "\x9e\x69\x83\x41\x11\xfe\x73\x22"
8891 "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
8892 "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
8893 "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
8894 "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
8895 "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
8896 "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
8897 "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
8898 "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
8899 "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
8900 "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
8901 "\x27\xab\xc6\x67\x16\x65\x68\x64"
8902 "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
8903 "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
8904 "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
8905 "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
8906 "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
8907 "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
8908 "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
8909 "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
8910 "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
8911 "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
8912 "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
8913 "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
8914 "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
8915 "\xc0\xd5\x78\x41\x00\x80\x80\x03"
8916 "\x2a\xb1\xde\x26\x03\x48\x49\xee"
8917 "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
8918 "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
8919 "\x38\xbf\x66\xc9\x75\x12\x18\x75"
8920 "\x34\x2d\x93\x22\x96\x51\x24\x6e"
8921 "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
8922 "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
8923 "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
8924 "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
8925 "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
8926 "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
8927 "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
8928 "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
8929 "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
8930 "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
8931 "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
8932 "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
8933 "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
8934 "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
8935 "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
8936 "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
8937 "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
8938 "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
8939 "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
8940 "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
8941 "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
8942 "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
8943 "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
8944 "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
8945 "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
8946 "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
8947 "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
8948 "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
8949 "\x50\x80\x59\xb9\xec\x13\x66\xa8"
8950 "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
8951 "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
8952 "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
8953 "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
8954 "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
8955 "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
8956 "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
8957 "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
8958 "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
8959 "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
8960 "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
8961 "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
8962 "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
8963 "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
8964 "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
8965 "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
8966 "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
8967 .psize = 2048,
8968 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
8969 "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
8970 }
8971};
8972
8973
8974/*
8975 * DES test vectors.
8976 */
8977static const struct cipher_testvec des_tv_template[] = {
8978 { /* From Applied Cryptography */
8979 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8980 .klen = 8,
8981 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
8982 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
8983 .len = 8,
8984 }, { /* Same key, different plaintext block */
8985 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8986 .klen = 8,
8987 .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
8988 .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
8989 .len = 8,
8990 }, { /* Sbox test from NBS */
8991 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
8992 .klen = 8,
8993 .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
8994 .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
8995 .len = 8,
8996 }, { /* Three blocks */
8997 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8998 .klen = 8,
8999 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
9000 "\x22\x33\x44\x55\x66\x77\x88\x99"
9001 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
9002 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
9003 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
9004 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
9005 .len = 24,
9006 }, { /* Weak key */
9007 .setkey_error = -EINVAL,
9008 .wk = 1,
9009 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
9010 .klen = 8,
9011 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9012 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9013 .len = 8,
9014 }, { /* Weak key */
9015 .setkey_error = -EINVAL,
9016 .wk = 1,
9017 .key = "\xe0\xe0\xe0\xe0\xf1\xf1\xf1\xf1",
9018 .klen = 8,
9019 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9020 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9021 .len = 8,
9022 }, { /* Weak key */
9023 .setkey_error = -EINVAL,
9024 .wk = 1,
9025 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
9026 .klen = 8,
9027 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9028 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9029 .len = 8,
9030 }, { /* Weak key */
9031 .setkey_error = -EINVAL,
9032 .wk = 1,
9033 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
9034 .klen = 8,
9035 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9036 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9037 .len = 8,
9038 }, { /* Semi-weak key pair 1a */
9039 .setkey_error = -EINVAL,
9040 .wk = 1,
9041 .key = "\x01\xfe\x01\xfe\x01\xfe\x01\xfe",
9042 .klen = 8,
9043 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9044 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9045 .len = 8,
9046 }, { /* Semi-weak key pair 1b */
9047 .setkey_error = -EINVAL,
9048 .wk = 1,
9049 .key = "\xfe\x01\xfe\x01\xfe\x01\xfe\x01",
9050 .klen = 8,
9051 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9052 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9053 .len = 8,
9054 }, { /* Semi-weak key pair 2a */
9055 .setkey_error = -EINVAL,
9056 .wk = 1,
9057 .key = "\x1f\xe0\x1f\xe0\x0e\xf1\x0e\xf1",
9058 .klen = 8,
9059 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9060 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9061 .len = 8,
9062 }, { /* Semi-weak key pair 2b */
9063 .setkey_error = -EINVAL,
9064 .wk = 1,
9065 .key = "\xe0\x1f\xe0\x1f\xf1\x0e\xf1\x0e",
9066 .klen = 8,
9067 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9068 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9069 .len = 8,
9070 }, { /* Semi-weak key pair 3a */
9071 .setkey_error = -EINVAL,
9072 .wk = 1,
9073 .key = "\x01\xe0\x01\xe0\x01\xf1\x01\xf1",
9074 .klen = 8,
9075 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9076 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9077 .len = 8,
9078 }, { /* Semi-weak key pair 3b */
9079 .setkey_error = -EINVAL,
9080 .wk = 1,
9081 .key = "\xe0\x01\xe0\x01\xf1\x01\xf1\x01",
9082 .klen = 8,
9083 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9084 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9085 .len = 8,
9086 }, { /* Semi-weak key pair 4a */
9087 .setkey_error = -EINVAL,
9088 .wk = 1,
9089 .key = "\x1f\xfe\x1f\xfe\x0e\xfe\x0e\xfe",
9090 .klen = 8,
9091 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9092 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9093 .len = 8,
9094 }, { /* Semi-weak key pair 4b */
9095 .setkey_error = -EINVAL,
9096 .wk = 1,
9097 .key = "\xfe\x1f\xfe\x1f\xfe\x0e\xfe\x0e",
9098 .klen = 8,
9099 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9100 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9101 .len = 8,
9102 }, { /* Semi-weak key pair 5a */
9103 .setkey_error = -EINVAL,
9104 .wk = 1,
9105 .key = "\x01\x1f\x01\x1f\x01\x0e\x01\x0e",
9106 .klen = 8,
9107 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9108 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9109 .len = 8,
9110 }, { /* Semi-weak key pair 5b */
9111 .setkey_error = -EINVAL,
9112 .wk = 1,
9113 .key = "\x1f\x01\x1f\x01\x0e\x01\x0e\x01",
9114 .klen = 8,
9115 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9116 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9117 .len = 8,
9118 }, { /* Semi-weak key pair 6a */
9119 .setkey_error = -EINVAL,
9120 .wk = 1,
9121 .key = "\xe0\xfe\xe0\xfe\xf1\xfe\xf1\xfe",
9122 .klen = 8,
9123 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9124 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9125 .len = 8,
9126 }, { /* Semi-weak key pair 6b */
9127 .setkey_error = -EINVAL,
9128 .wk = 1,
9129 .key = "\xfe\xe0\xfe\xe0\xfe\xf1\xfe\xf1",
9130 .klen = 8,
9131 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
9132 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
9133 .len = 8,
9134 }, { /* Two blocks -- for testing encryption across pages */
9135 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9136 .klen = 8,
9137 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
9138 "\x22\x33\x44\x55\x66\x77\x88\x99",
9139 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
9140 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
9141 .len = 16,
9142 }, {
9143 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9144 .klen = 8,
9145 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
9146 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
9147 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
9148 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
9149 .len = 16,
9150 }, { /* Four blocks -- for testing encryption with chunking */
9151 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9152 .klen = 8,
9153 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
9154 "\x22\x33\x44\x55\x66\x77\x88\x99"
9155 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
9156 "\x22\x33\x44\x55\x66\x77\x88\x99",
9157 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
9158 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
9159 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
9160 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
9161 .len = 32,
9162 }, { /* Generated with Crypto++ */
9163 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
9164 .klen = 8,
9165 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
9166 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
9167 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
9168 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
9169 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
9170 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
9171 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
9172 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
9173 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
9174 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
9175 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
9176 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
9177 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
9178 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
9179 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
9180 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
9181 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
9182 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
9183 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
9184 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
9185 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
9186 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
9187 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
9188 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
9189 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
9190 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
9191 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
9192 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
9193 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
9194 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
9195 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
9196 .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
9197 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
9198 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
9199 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
9200 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
9201 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
9202 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
9203 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
9204 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
9205 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
9206 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
9207 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
9208 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
9209 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
9210 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
9211 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
9212 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
9213 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
9214 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
9215 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
9216 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
9217 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
9218 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
9219 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
9220 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
9221 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
9222 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
9223 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
9224 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
9225 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
9226 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
9227 .len = 248,
9228 },
9229};
9230
9231static const struct cipher_testvec des_cbc_tv_template[] = {
9232 { /* From OpenSSL */
9233 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9234 .klen = 8,
9235 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9236 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
9237 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
9238 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
9239 "\x68\x65\x20\x74\x69\x6d\x65\x20",
9240 .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
9241 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
9242 "\x46\x8e\x91\x15\x78\x88\xba\x68",
9243 .len = 24,
9244 }, { /* FIPS Pub 81 */
9245 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9246 .klen = 8,
9247 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
9248 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
9249 .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
9250 .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
9251 .len = 8,
9252 }, {
9253 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9254 .klen = 8,
9255 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
9256 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
9257 .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
9258 .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
9259 .len = 8,
9260 }, {
9261 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
9262 .klen = 8,
9263 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
9264 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
9265 .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
9266 .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
9267 .len = 8,
9268 }, { /* Generated with Crypto++ */
9269 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
9270 .klen = 8,
9271 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
9272 .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
9273 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
9274 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
9275 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
9276 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
9277 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
9278 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
9279 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
9280 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
9281 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
9282 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
9283 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
9284 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
9285 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
9286 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
9287 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
9288 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
9289 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
9290 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
9291 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
9292 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
9293 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
9294 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
9295 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
9296 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
9297 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
9298 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
9299 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
9300 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
9301 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
9302 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
9303 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
9304 .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
9305 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
9306 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
9307 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
9308 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
9309 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
9310 "\x81\x72\x74\xDE\x30\x19\x69\x49"
9311 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
9312 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
9313 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
9314 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
9315 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
9316 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
9317 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
9318 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
9319 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
9320 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
9321 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
9322 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
9323 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
9324 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
9325 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
9326 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
9327 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
9328 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
9329 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
9330 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
9331 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
9332 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
9333 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
9334 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
9335 .len = 248,
9336 },
9337};
9338
9339static const struct cipher_testvec des_ctr_tv_template[] = {
9340 { /* Generated with Crypto++ */
9341 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
9342 .klen = 8,
9343 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9344 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
9345 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
9346 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
9347 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
9348 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
9349 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
9350 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
9351 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
9352 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
9353 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
9354 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
9355 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
9356 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
9357 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
9358 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
9359 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
9360 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
9361 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
9362 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
9363 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
9364 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
9365 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
9366 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
9367 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
9368 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
9369 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
9370 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
9371 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
9372 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
9373 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
9374 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
9375 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
9376 .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
9377 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
9378 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
9379 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
9380 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
9381 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
9382 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
9383 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
9384 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
9385 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
9386 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
9387 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
9388 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
9389 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
9390 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
9391 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
9392 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
9393 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
9394 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
9395 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
9396 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
9397 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
9398 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
9399 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
9400 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
9401 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
9402 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
9403 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
9404 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
9405 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
9406 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
9407 .len = 248,
9408 }, { /* Generated with Crypto++ */
9409 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
9410 .klen = 8,
9411 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
9412 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
9413 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
9414 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
9415 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
9416 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
9417 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
9418 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
9419 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
9420 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
9421 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
9422 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
9423 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
9424 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
9425 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
9426 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
9427 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
9428 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
9429 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
9430 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
9431 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
9432 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
9433 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
9434 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
9435 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
9436 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
9437 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
9438 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
9439 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
9440 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
9441 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
9442 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
9443 "\xC6\x2F\xBB\x24\x8D\x19\x82",
9444 .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
9445 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
9446 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
9447 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
9448 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
9449 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
9450 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
9451 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
9452 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
9453 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
9454 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
9455 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
9456 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
9457 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
9458 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
9459 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
9460 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
9461 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
9462 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
9463 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
9464 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
9465 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
9466 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
9467 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
9468 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
9469 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
9470 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
9471 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
9472 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
9473 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
9474 "\x91\x45\x05\x3E\x58\xBF\x32",
9475 .len = 247,
9476 },
9477};
9478
9479static const struct cipher_testvec des3_ede_tv_template[] = {
9480 { /* These are from openssl */
9481 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
9482 "\x55\x55\x55\x55\x55\x55\x55\x55"
9483 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
9484 .klen = 24,
9485 .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
9486 .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
9487 .len = 8,
9488 }, {
9489 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
9490 "\x86\x02\x87\x66\x59\x08\x21\x98"
9491 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
9492 .klen = 24,
9493 .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
9494 .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
9495 .len = 8,
9496 }, {
9497 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
9498 "\x91\x07\xd0\x15\x89\x19\x01\x01"
9499 "\x19\x07\x92\x10\x98\x1a\x01\x01",
9500 .klen = 24,
9501 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
9502 .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
9503 .len = 8,
9504 }, { /* Generated with Crypto++ */
9505 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
9506 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
9507 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
9508 .klen = 24,
9509 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9510 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9511 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9512 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9513 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9514 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9515 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9516 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9517 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9518 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9519 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9520 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9521 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9522 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9523 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9524 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9525 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9526 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9527 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9528 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9529 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9530 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9531 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9532 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9533 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9534 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9535 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9536 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9537 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9538 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9539 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9540 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9541 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9542 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9543 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9544 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9545 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9546 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9547 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9548 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9549 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9550 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9551 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9552 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9553 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9554 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9555 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9556 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9557 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9558 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9559 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9560 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9561 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9562 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9563 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9564 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9565 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9566 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9567 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9568 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9569 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9570 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
9571 .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
9572 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
9573 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
9574 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
9575 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
9576 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
9577 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
9578 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
9579 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
9580 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
9581 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
9582 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
9583 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
9584 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
9585 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
9586 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
9587 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
9588 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
9589 "\x45\x86\x50\x01\x70\x35\x99\x92"
9590 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
9591 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
9592 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
9593 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
9594 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
9595 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
9596 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
9597 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
9598 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
9599 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
9600 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
9601 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
9602 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
9603 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
9604 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
9605 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
9606 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
9607 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
9608 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
9609 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
9610 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
9611 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
9612 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
9613 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
9614 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
9615 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
9616 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
9617 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
9618 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
9619 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
9620 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
9621 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
9622 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
9623 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
9624 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
9625 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
9626 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
9627 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
9628 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
9629 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
9630 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
9631 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
9632 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
9633 .len = 496,
9634 },
9635};
9636
9637static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
9638 { /* Generated from openssl */
9639 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
9640 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
9641 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
9642 .klen = 24,
9643 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
9644 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
9645 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
9646 "\x53\x20\x63\x65\x65\x72\x73\x74"
9647 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
9648 "\x20\x79\x65\x53\x72\x63\x74\x65"
9649 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
9650 "\x79\x6e\x53\x20\x63\x65\x65\x72"
9651 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
9652 "\x6e\x61\x20\x79\x65\x53\x72\x63"
9653 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
9654 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
9655 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
9656 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
9657 "\x72\x63\x74\x65\x20\x73\x6f\x54"
9658 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
9659 "\x63\x65\x65\x72\x73\x74\x54\x20"
9660 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
9661 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
9662 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
9663 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
9664 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
9665 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
9666 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
9667 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
9668 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
9669 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
9670 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
9671 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
9672 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
9673 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
9674 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
9675 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
9676 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
9677 .len = 128,
9678 }, { /* Generated with Crypto++ */
9679 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9680 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9681 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9682 .klen = 24,
9683 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
9684 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
9685 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
9686 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9687 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9688 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9689 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9690 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9691 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9692 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9693 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9694 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9695 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9696 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9697 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9698 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9699 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9700 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9701 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9702 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9703 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9704 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9705 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9706 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9707 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9708 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9709 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9710 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9711 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9712 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9713 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9714 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9715 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9716 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9717 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9718 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9719 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9720 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9721 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9722 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9723 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9724 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9725 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9726 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9727 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9728 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9729 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9730 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9731 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9732 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9733 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9734 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9735 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9736 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9737 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9738 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9739 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9740 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9741 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9742 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9743 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9744 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9745 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9746 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9747 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
9748 .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
9749 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
9750 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
9751 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
9752 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
9753 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
9754 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
9755 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
9756 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
9757 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
9758 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
9759 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
9760 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
9761 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
9762 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
9763 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
9764 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
9765 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
9766 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
9767 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
9768 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
9769 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
9770 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
9771 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
9772 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
9773 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
9774 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
9775 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
9776 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
9777 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
9778 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
9779 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
9780 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
9781 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
9782 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
9783 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
9784 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
9785 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
9786 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
9787 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
9788 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
9789 "\x73\x50\x08\x56\x20\x9B\x94\x23"
9790 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
9791 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
9792 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
9793 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
9794 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
9795 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
9796 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
9797 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
9798 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
9799 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
9800 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
9801 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
9802 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
9803 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
9804 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
9805 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
9806 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
9807 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
9808 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
9809 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
9810 .len = 496,
9811 },
9812};
9813
9814static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
9815 { /* Generated with Crypto++ */
9816 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9817 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9818 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9819 .klen = 24,
9820 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
9821 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
9822 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9823 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9824 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9825 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9826 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9827 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9828 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9829 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9830 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9831 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9832 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9833 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9834 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9835 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9836 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9837 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9838 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9839 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9840 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9841 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9842 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9843 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9844 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9845 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9846 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9847 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9848 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9849 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9850 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9851 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9852 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9853 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9854 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9855 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9856 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9857 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9858 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9859 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9860 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9861 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9862 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9863 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9864 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9865 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9866 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9867 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
9868 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
9869 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
9870 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
9871 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
9872 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
9873 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
9874 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
9875 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
9876 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
9877 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
9878 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
9879 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
9880 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
9881 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
9882 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
9883 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
9884 .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
9885 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
9886 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
9887 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
9888 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
9889 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
9890 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
9891 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
9892 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
9893 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
9894 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
9895 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
9896 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
9897 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
9898 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
9899 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
9900 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
9901 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
9902 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
9903 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
9904 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
9905 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
9906 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
9907 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
9908 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
9909 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
9910 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
9911 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
9912 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
9913 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
9914 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
9915 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
9916 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
9917 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
9918 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
9919 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
9920 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
9921 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
9922 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
9923 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
9924 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
9925 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
9926 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
9927 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
9928 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
9929 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
9930 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
9931 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
9932 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
9933 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
9934 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
9935 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
9936 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
9937 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
9938 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
9939 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
9940 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
9941 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
9942 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
9943 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
9944 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
9945 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
9946 .len = 496,
9947 }, { /* Generated with Crypto++ */
9948 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
9949 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
9950 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
9951 .klen = 24,
9952 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
9953 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
9954 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
9955 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
9956 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
9957 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
9958 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
9959 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
9960 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
9961 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
9962 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
9963 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
9964 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
9965 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
9966 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
9967 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
9968 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
9969 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
9970 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
9971 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
9972 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
9973 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
9974 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
9975 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
9976 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
9977 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
9978 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
9979 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
9980 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
9981 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
9982 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
9983 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
9984 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
9985 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
9986 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
9987 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
9988 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
9989 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
9990 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
9991 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
9992 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
9993 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
9994 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
9995 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
9996 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
9997 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
9998 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
9999 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
10000 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
10001 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
10002 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
10003 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
10004 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
10005 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
10006 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
10007 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
10008 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
10009 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
10010 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
10011 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
10012 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
10013 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
10014 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
10015 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
10016 "\x2E\xB1\x18",
10017 .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
10018 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
10019 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
10020 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
10021 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
10022 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
10023 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
10024 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
10025 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
10026 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
10027 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
10028 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
10029 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
10030 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
10031 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
10032 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
10033 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
10034 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
10035 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
10036 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
10037 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
10038 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
10039 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
10040 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
10041 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
10042 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
10043 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
10044 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
10045 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
10046 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
10047 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
10048 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
10049 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
10050 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
10051 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
10052 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
10053 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
10054 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
10055 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
10056 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
10057 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
10058 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
10059 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
10060 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
10061 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
10062 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
10063 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
10064 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
10065 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
10066 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
10067 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
10068 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
10069 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
10070 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
10071 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
10072 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
10073 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
10074 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
10075 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
10076 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
10077 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
10078 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
10079 "\xF2\x79\xD9",
10080 .len = 499,
10081 },
10082};
10083
10084/*
10085 * Blowfish test vectors.
10086 */
10087static const struct cipher_testvec bf_tv_template[] = {
10088 { /* DES test vectors from OpenSSL */
10089 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
10090 .klen = 8,
10091 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
10092 .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
10093 .len = 8,
10094 }, {
10095 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
10096 .klen = 8,
10097 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
10098 .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
10099 .len = 8,
10100 }, {
10101 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
10102 .klen = 8,
10103 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10104 .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
10105 .len = 8,
10106 }, { /* Vary the keylength... */
10107 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
10108 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
10109 .klen = 16,
10110 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10111 .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
10112 .len = 8,
10113 }, {
10114 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
10115 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
10116 "\x00\x11\x22\x33\x44",
10117 .klen = 21,
10118 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10119 .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
10120 .len = 8,
10121 }, { /* Generated with bf488 */
10122 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
10123 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
10124 "\x00\x11\x22\x33\x44\x55\x66\x77"
10125 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
10126 "\x58\x40\x23\x64\x1a\xba\x61\x76"
10127 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
10128 "\xff\xff\xff\xff\xff\xff\xff\xff",
10129 .klen = 56,
10130 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10131 .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
10132 .len = 8,
10133 }, { /* Generated with Crypto++ */
10134 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10135 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10136 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10137 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10138 .klen = 32,
10139 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10140 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10141 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10142 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10143 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10144 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10145 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10146 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10147 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10148 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10149 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10150 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10151 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10152 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10153 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10154 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10155 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10156 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10157 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10158 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10159 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10160 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10161 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10162 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10163 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10164 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10165 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10166 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10167 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10168 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10169 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10170 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10171 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10172 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10173 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10174 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10175 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10176 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10177 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10178 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10179 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10180 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10181 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10182 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10183 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10184 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10185 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10186 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10187 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10188 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10189 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10190 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10191 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10192 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10193 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10194 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10195 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10196 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10197 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10198 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10199 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10200 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10201 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
10202 .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
10203 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
10204 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
10205 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
10206 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
10207 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
10208 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
10209 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
10210 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
10211 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
10212 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
10213 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
10214 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
10215 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
10216 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
10217 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
10218 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
10219 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
10220 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
10221 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
10222 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
10223 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
10224 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
10225 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
10226 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
10227 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
10228 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
10229 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
10230 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
10231 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
10232 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
10233 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
10234 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
10235 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
10236 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
10237 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
10238 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
10239 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
10240 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
10241 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
10242 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
10243 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
10244 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
10245 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
10246 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
10247 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
10248 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
10249 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
10250 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
10251 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
10252 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
10253 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
10254 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
10255 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
10256 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
10257 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
10258 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
10259 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
10260 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
10261 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
10262 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
10263 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
10264 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
10265 .len = 504,
10266 },
10267};
10268
10269static const struct cipher_testvec bf_cbc_tv_template[] = {
10270 { /* From OpenSSL */
10271 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10272 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
10273 .klen = 16,
10274 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
10275 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
10276 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
10277 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
10278 "\x68\x65\x20\x74\x69\x6d\x65\x20"
10279 "\x66\x6f\x72\x20\x00\x00\x00\x00",
10280 .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
10281 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
10282 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
10283 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
10284 .len = 32,
10285 }, { /* Generated with Crypto++ */
10286 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10287 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10288 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10289 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10290 .klen = 32,
10291 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
10292 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
10293 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10294 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10295 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10296 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10297 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10298 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10299 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10300 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10301 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10302 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10303 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10304 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10305 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10306 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10307 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10308 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10309 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10310 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10311 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10312 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10313 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10314 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10315 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10316 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10317 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10318 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10319 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10320 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10321 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10322 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10323 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10324 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10325 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10326 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10327 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10328 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10329 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10330 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10331 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10332 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10333 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10334 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10335 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10336 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10337 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10338 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10339 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10340 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10341 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10342 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10343 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10344 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10345 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10346 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10347 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10348 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10349 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10350 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10351 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10352 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10353 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10354 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10355 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
10356 .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
10357 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
10358 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
10359 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
10360 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
10361 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
10362 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
10363 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
10364 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
10365 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
10366 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
10367 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
10368 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
10369 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
10370 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
10371 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
10372 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
10373 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
10374 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
10375 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
10376 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
10377 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
10378 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
10379 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
10380 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
10381 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
10382 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
10383 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
10384 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
10385 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
10386 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
10387 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
10388 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
10389 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
10390 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
10391 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
10392 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
10393 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
10394 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
10395 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
10396 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
10397 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
10398 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
10399 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
10400 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
10401 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
10402 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
10403 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
10404 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
10405 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
10406 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
10407 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
10408 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
10409 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
10410 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
10411 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
10412 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
10413 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
10414 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
10415 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
10416 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
10417 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
10418 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
10419 .len = 504,
10420 },
10421};
10422
10423static const struct cipher_testvec bf_ctr_tv_template[] = {
10424 { /* Generated with Crypto++ */
10425 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10426 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10427 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10428 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10429 .klen = 32,
10430 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
10431 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
10432 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10433 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10434 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10435 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10436 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10437 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10438 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10439 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10440 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10441 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10442 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10443 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10444 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10445 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10446 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10447 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10448 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10449 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10450 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10451 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10452 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10453 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10454 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10455 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10456 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10457 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10458 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10459 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10460 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10461 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10462 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10463 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10464 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10465 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10466 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10467 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10468 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10469 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10470 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10471 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10472 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10473 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10474 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10475 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10476 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10477 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10478 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10479 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10480 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10481 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10482 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10483 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10484 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10485 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10486 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10487 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10488 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10489 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10490 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10491 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10492 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10493 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10494 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
10495 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
10496 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
10497 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
10498 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
10499 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
10500 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
10501 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
10502 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
10503 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
10504 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
10505 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
10506 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
10507 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
10508 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
10509 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
10510 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
10511 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
10512 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
10513 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
10514 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
10515 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
10516 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
10517 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
10518 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
10519 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
10520 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
10521 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
10522 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
10523 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
10524 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
10525 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
10526 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
10527 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
10528 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
10529 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
10530 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
10531 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
10532 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
10533 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
10534 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
10535 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
10536 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
10537 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
10538 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
10539 "\x82\x63\x11\xB3\x54\x49\x00\x08"
10540 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
10541 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
10542 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
10543 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
10544 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
10545 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
10546 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
10547 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
10548 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
10549 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
10550 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
10551 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
10552 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
10553 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
10554 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
10555 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
10556 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
10557 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
10558 .len = 504,
10559 }, { /* Generated with Crypto++ */
10560 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10561 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10562 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10563 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10564 .klen = 32,
10565 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
10566 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
10567 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10568 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10569 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10570 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10571 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10572 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10573 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10574 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10575 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10576 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10577 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10578 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10579 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10580 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10581 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10582 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10583 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10584 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10585 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10586 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10587 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10588 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10589 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10590 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10591 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10592 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10593 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10594 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10595 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10596 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10597 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10598 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10599 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10600 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10601 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10602 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10603 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10604 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10605 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10606 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10607 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10608 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10609 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10610 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10611 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10612 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10613 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10614 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10615 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10616 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10617 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10618 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10619 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10620 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10621 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10622 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10623 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10624 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10625 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10626 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10627 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10628 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10629 "\x2B\xC2\x59\xF0\x64\xFB\x92",
10630 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
10631 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
10632 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
10633 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
10634 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
10635 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
10636 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
10637 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
10638 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
10639 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
10640 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
10641 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
10642 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
10643 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
10644 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
10645 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
10646 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
10647 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
10648 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
10649 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
10650 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
10651 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
10652 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
10653 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
10654 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
10655 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
10656 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
10657 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
10658 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
10659 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
10660 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
10661 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
10662 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
10663 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
10664 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
10665 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
10666 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
10667 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
10668 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
10669 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
10670 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
10671 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
10672 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
10673 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
10674 "\x82\x63\x11\xB3\x54\x49\x00\x08"
10675 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
10676 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
10677 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
10678 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
10679 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
10680 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
10681 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
10682 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
10683 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
10684 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
10685 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
10686 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
10687 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
10688 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
10689 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
10690 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
10691 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
10692 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
10693 .len = 503,
10694 }, { /* Generated with Crypto++ */
10695 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10696 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10697 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10698 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10699 .klen = 32,
10700 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
10701 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
10702 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10703 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10704 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10705 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10706 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10707 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10708 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10709 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10710 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10711 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10712 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10713 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10714 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10715 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10716 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10717 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10718 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10719 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10720 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10721 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10722 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10723 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10724 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10725 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10726 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10727 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10728 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10729 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10730 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10731 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10732 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10733 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10734 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10735 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10736 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10737 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10738 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10739 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10740 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10741 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10742 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10743 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10744 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10745 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10746 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10747 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10748 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10749 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10750 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10751 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10752 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10753 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10754 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10755 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10756 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10757 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10758 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10759 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10760 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10761 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10762 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10763 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10764 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
10765 .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
10766 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
10767 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
10768 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
10769 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
10770 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
10771 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
10772 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
10773 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
10774 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
10775 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
10776 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
10777 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
10778 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
10779 "\x0B\x82\x59\x14\x26\x67\x08\x09"
10780 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
10781 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
10782 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
10783 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
10784 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
10785 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
10786 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
10787 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
10788 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
10789 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
10790 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
10791 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
10792 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
10793 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
10794 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
10795 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
10796 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
10797 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
10798 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
10799 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
10800 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
10801 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
10802 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
10803 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
10804 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
10805 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
10806 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
10807 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
10808 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
10809 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
10810 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
10811 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
10812 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
10813 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
10814 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
10815 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
10816 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
10817 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
10818 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
10819 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
10820 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
10821 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
10822 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
10823 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
10824 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
10825 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
10826 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
10827 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
10828 .len = 504,
10829 },
10830};
10831
10832/*
10833 * Twofish test vectors.
10834 */
10835static const struct cipher_testvec tf_tv_template[] = {
10836 {
10837 .key = zeroed_string,
10838 .klen = 16,
10839 .ptext = zeroed_string,
10840 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
10841 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
10842 .len = 16,
10843 }, {
10844 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10845 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
10846 "\x00\x11\x22\x33\x44\x55\x66\x77",
10847 .klen = 24,
10848 .ptext = zeroed_string,
10849 .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
10850 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
10851 .len = 16,
10852 }, {
10853 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
10854 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
10855 "\x00\x11\x22\x33\x44\x55\x66\x77"
10856 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
10857 .klen = 32,
10858 .ptext = zeroed_string,
10859 .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
10860 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
10861 .len = 16,
10862 }, { /* Generated with Crypto++ */
10863 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
10864 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
10865 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
10866 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
10867 .klen = 32,
10868 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10869 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10870 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10871 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10872 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10873 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10874 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10875 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10876 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10877 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10878 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10879 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10880 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10881 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10882 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10883 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10884 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10885 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10886 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10887 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10888 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10889 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10890 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10891 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10892 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10893 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10894 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10895 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10896 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10897 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10898 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10899 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10900 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10901 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10902 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10903 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10904 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10905 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10906 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10907 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10908 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10909 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10910 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10911 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10912 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10913 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10914 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10915 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10916 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10917 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10918 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10919 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10920 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10921 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10922 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10923 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10924 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10925 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10926 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10927 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10928 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10929 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10930 .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
10931 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
10932 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
10933 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
10934 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
10935 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
10936 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
10937 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
10938 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
10939 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
10940 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
10941 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
10942 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
10943 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
10944 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
10945 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
10946 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
10947 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
10948 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
10949 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
10950 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
10951 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
10952 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
10953 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
10954 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
10955 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
10956 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
10957 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
10958 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
10959 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
10960 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
10961 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
10962 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
10963 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
10964 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
10965 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
10966 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
10967 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
10968 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
10969 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
10970 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
10971 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
10972 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
10973 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
10974 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
10975 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
10976 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
10977 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
10978 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
10979 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
10980 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
10981 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
10982 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
10983 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
10984 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
10985 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
10986 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
10987 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
10988 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
10989 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
10990 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
10991 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
10992 .len = 496,
10993 },
10994};
10995
10996static const struct cipher_testvec tf_cbc_tv_template[] = {
10997 { /* Generated with Nettle */
10998 .key = zeroed_string,
10999 .klen = 16,
11000 .iv = zeroed_string,
11001 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11002 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
11003 .ptext = zeroed_string,
11004 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11005 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
11006 .len = 16,
11007 }, {
11008 .key = zeroed_string,
11009 .klen = 16,
11010 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11011 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
11012 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
11013 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
11014 .ptext = zeroed_string,
11015 .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
11016 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
11017 .len = 16,
11018 }, {
11019 .key = zeroed_string,
11020 .klen = 16,
11021 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
11022 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
11023 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
11024 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
11025 .ptext = zeroed_string,
11026 .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
11027 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
11028 .len = 16,
11029 }, {
11030 .key = zeroed_string,
11031 .klen = 16,
11032 .iv = zeroed_string,
11033 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
11034 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
11035 .ptext = zeroed_string,
11036 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
11037 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
11038 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
11039 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
11040 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
11041 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
11042 .len = 48,
11043 }, { /* Generated with Crypto++ */
11044 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11045 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11046 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11047 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11048 .klen = 32,
11049 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11050 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11051 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
11052 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
11053 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11054 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11055 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11056 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11057 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11058 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11059 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11060 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11061 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11062 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11063 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11064 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11065 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11066 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11067 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11068 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11069 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11070 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11071 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11072 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11073 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11074 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11075 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11076 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11077 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11078 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11079 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11080 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11081 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11082 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11083 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11084 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11085 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11086 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11087 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11088 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11089 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11090 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11091 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11092 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11093 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11094 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11095 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11096 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11097 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11098 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11099 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11100 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11101 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11102 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11103 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11104 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11105 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11106 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11107 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11108 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11109 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11110 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11111 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11112 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11113 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11114 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11115 .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
11116 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
11117 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
11118 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
11119 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
11120 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
11121 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
11122 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
11123 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
11124 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
11125 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
11126 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
11127 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
11128 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
11129 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
11130 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
11131 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
11132 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
11133 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
11134 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
11135 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
11136 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
11137 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
11138 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
11139 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
11140 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
11141 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
11142 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
11143 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
11144 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
11145 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
11146 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
11147 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
11148 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
11149 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
11150 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
11151 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
11152 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
11153 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
11154 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
11155 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
11156 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
11157 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
11158 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
11159 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
11160 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
11161 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
11162 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
11163 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
11164 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
11165 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
11166 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
11167 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
11168 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
11169 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
11170 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
11171 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
11172 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
11173 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
11174 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
11175 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
11176 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
11177 .len = 496,
11178 },
11179};
11180
11181static const struct cipher_testvec tf_ctr_tv_template[] = {
11182 { /* Generated with Crypto++ */
11183 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11184 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11185 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11186 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11187 .klen = 32,
11188 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11189 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11190 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11191 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
11192 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11193 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11194 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11195 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11196 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11197 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11198 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11199 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11200 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11201 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11202 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11203 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11204 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11205 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11206 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11207 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11208 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11209 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11210 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11211 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11212 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11213 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11214 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11215 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11216 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11217 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11218 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11219 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11220 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11221 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11222 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11223 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11224 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11225 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11226 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11227 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11228 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11229 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11230 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11231 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11232 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11233 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11234 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11235 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11236 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11237 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11238 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11239 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11240 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11241 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11242 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11243 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11244 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11245 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11246 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11247 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11248 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11249 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11250 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11251 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11252 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11253 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11254 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
11255 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
11256 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
11257 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
11258 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
11259 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
11260 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
11261 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
11262 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
11263 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
11264 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
11265 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
11266 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
11267 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
11268 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
11269 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
11270 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
11271 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
11272 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
11273 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
11274 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
11275 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
11276 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
11277 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
11278 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
11279 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
11280 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
11281 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
11282 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
11283 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
11284 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
11285 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
11286 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
11287 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
11288 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
11289 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
11290 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
11291 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
11292 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
11293 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
11294 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
11295 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
11296 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
11297 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
11298 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
11299 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
11300 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
11301 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
11302 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
11303 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
11304 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
11305 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
11306 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
11307 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
11308 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
11309 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
11310 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
11311 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
11312 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
11313 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
11314 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
11315 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
11316 .len = 496,
11317 }, { /* Generated with Crypto++ */
11318 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11319 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11320 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11321 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11322 .klen = 32,
11323 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
11324 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11325 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
11326 "\x00\x00\x00\x00\x00\x00\x00\x1C",
11327 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11328 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11329 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11330 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11331 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11332 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11333 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11334 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11335 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11336 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11337 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11338 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11339 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11340 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11341 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11342 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11343 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11344 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11345 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11346 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11347 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11348 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11349 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11350 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11351 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11352 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11353 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11354 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11355 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11356 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11357 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11358 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11359 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11360 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11361 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11362 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11363 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11364 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11365 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11366 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11367 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11368 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11369 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11370 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11371 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11372 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11373 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11374 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11375 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11376 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11377 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11378 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11379 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11380 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11381 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11382 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11383 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11384 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11385 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11386 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11387 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11388 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11389 .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
11390 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
11391 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
11392 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
11393 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
11394 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
11395 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
11396 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
11397 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
11398 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
11399 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
11400 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
11401 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
11402 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
11403 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
11404 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
11405 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
11406 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
11407 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
11408 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
11409 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
11410 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
11411 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
11412 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
11413 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
11414 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
11415 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
11416 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
11417 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
11418 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
11419 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
11420 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
11421 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
11422 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
11423 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
11424 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
11425 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
11426 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
11427 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
11428 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
11429 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
11430 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
11431 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
11432 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
11433 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
11434 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
11435 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
11436 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
11437 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
11438 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
11439 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
11440 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
11441 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
11442 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
11443 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
11444 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
11445 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
11446 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
11447 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
11448 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
11449 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
11450 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
11451 .len = 496,
11452 }, { /* Generated with Crypto++ */
11453 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11454 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11455 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11456 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11457 .klen = 32,
11458 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11459 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11460 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11461 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
11462 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11463 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11464 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11465 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11466 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11467 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11468 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11469 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11470 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11471 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11472 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11473 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11474 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11475 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11476 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11477 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11478 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11479 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11480 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11481 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11482 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11483 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11484 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11485 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11486 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11487 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11488 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11489 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11490 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11491 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11492 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11493 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11494 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11495 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11496 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11497 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11498 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11499 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11500 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11501 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11502 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11503 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11504 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11505 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11506 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11507 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11508 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11509 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11510 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11511 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11512 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11513 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11514 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11515 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11516 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11517 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11518 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11519 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11520 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11521 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11522 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11523 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11524 "\x2B\xC2\x59",
11525 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
11526 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
11527 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
11528 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
11529 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
11530 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
11531 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
11532 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
11533 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
11534 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
11535 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
11536 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
11537 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
11538 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
11539 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
11540 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
11541 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
11542 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
11543 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
11544 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
11545 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
11546 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
11547 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
11548 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
11549 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
11550 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
11551 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
11552 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
11553 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
11554 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
11555 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
11556 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
11557 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
11558 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
11559 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
11560 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
11561 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
11562 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
11563 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
11564 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
11565 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
11566 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
11567 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
11568 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
11569 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
11570 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
11571 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
11572 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
11573 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
11574 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
11575 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
11576 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
11577 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
11578 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
11579 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
11580 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
11581 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
11582 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
11583 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
11584 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
11585 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
11586 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
11587 "\x6C\x82\x9D",
11588 .len = 499,
11589 },
11590};
11591
11592static const struct cipher_testvec tf_lrw_tv_template[] = {
11593 /* Generated from AES-LRW test vectors */
11594 {
11595 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
11596 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
11597 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
11598 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
11599 .klen = 32,
11600 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11601 "\x00\x00\x00\x00\x00\x00\x00\x01",
11602 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11603 "\x38\x39\x41\x42\x43\x44\x45\x46",
11604 .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
11605 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
11606 .len = 16,
11607 }, {
11608 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
11609 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
11610 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
11611 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
11612 .klen = 32,
11613 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11614 "\x00\x00\x00\x00\x00\x00\x00\x02",
11615 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11616 "\x38\x39\x41\x42\x43\x44\x45\x46",
11617 .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
11618 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
11619 .len = 16,
11620 }, {
11621 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
11622 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
11623 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
11624 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
11625 .klen = 32,
11626 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11627 "\x00\x00\x00\x02\x00\x00\x00\x00",
11628 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11629 "\x38\x39\x41\x42\x43\x44\x45\x46",
11630 .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
11631 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
11632 .len = 16,
11633 }, {
11634 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
11635 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
11636 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
11637 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
11638 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
11639 .klen = 40,
11640 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11641 "\x00\x00\x00\x00\x00\x00\x00\x01",
11642 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11643 "\x38\x39\x41\x42\x43\x44\x45\x46",
11644 .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
11645 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
11646 .len = 16,
11647 }, {
11648 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
11649 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
11650 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
11651 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
11652 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
11653 .klen = 40,
11654 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11655 "\x00\x00\x00\x02\x00\x00\x00\x00",
11656 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11657 "\x38\x39\x41\x42\x43\x44\x45\x46",
11658 .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
11659 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
11660 .len = 16,
11661 }, {
11662 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11663 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11664 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11665 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11666 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11667 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11668 .klen = 48,
11669 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11670 "\x00\x00\x00\x00\x00\x00\x00\x01",
11671 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11672 "\x38\x39\x41\x42\x43\x44\x45\x46",
11673 .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
11674 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
11675 .len = 16,
11676 }, {
11677 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
11678 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
11679 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
11680 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
11681 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
11682 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
11683 .klen = 48,
11684 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11685 "\x00\x00\x00\x02\x00\x00\x00\x00",
11686 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
11687 "\x38\x39\x41\x42\x43\x44\x45\x46",
11688 .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
11689 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
11690 .len = 16,
11691 }, {
11692 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11693 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11694 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11695 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11696 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11697 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11698 .klen = 48,
11699 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11700 "\x00\x00\x00\x00\x00\x00\x00\x01",
11701 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
11702 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
11703 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
11704 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
11705 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
11706 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
11707 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
11708 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
11709 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
11710 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
11711 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
11712 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
11713 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
11714 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
11715 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
11716 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
11717 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
11718 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
11719 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
11720 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
11721 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
11722 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
11723 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
11724 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
11725 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
11726 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
11727 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
11728 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
11729 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
11730 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
11731 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
11732 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
11733 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
11734 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
11735 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
11736 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
11737 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
11738 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
11739 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
11740 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
11741 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
11742 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
11743 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
11744 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
11745 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
11746 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
11747 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
11748 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
11749 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
11750 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
11751 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
11752 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
11753 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
11754 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
11755 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
11756 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
11757 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
11758 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
11759 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
11760 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
11761 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
11762 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
11763 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
11764 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
11765 .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
11766 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
11767 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
11768 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
11769 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
11770 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
11771 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
11772 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
11773 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
11774 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
11775 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
11776 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
11777 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
11778 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
11779 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
11780 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
11781 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
11782 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
11783 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
11784 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
11785 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
11786 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
11787 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
11788 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
11789 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
11790 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
11791 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
11792 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
11793 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
11794 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
11795 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
11796 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
11797 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
11798 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
11799 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
11800 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
11801 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
11802 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
11803 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
11804 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
11805 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
11806 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
11807 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
11808 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
11809 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
11810 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
11811 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
11812 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
11813 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
11814 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
11815 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
11816 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
11817 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
11818 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
11819 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
11820 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
11821 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
11822 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
11823 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
11824 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
11825 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
11826 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
11827 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
11828 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
11829 .len = 512,
11830 },
11831};
11832
11833static const struct cipher_testvec tf_xts_tv_template[] = {
11834 /* Generated from AES-XTS test vectors */
11835{
11836 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
11837 "\x00\x00\x00\x00\x00\x00\x00\x00"
11838 "\x00\x00\x00\x00\x00\x00\x00\x00"
11839 "\x00\x00\x00\x00\x00\x00\x00\x00",
11840 .klen = 32,
11841 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11842 "\x00\x00\x00\x00\x00\x00\x00\x00",
11843 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
11844 "\x00\x00\x00\x00\x00\x00\x00\x00"
11845 "\x00\x00\x00\x00\x00\x00\x00\x00"
11846 "\x00\x00\x00\x00\x00\x00\x00\x00",
11847 .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
11848 "\x30\x74\xe4\x44\x52\x77\x97\x43"
11849 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
11850 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
11851 .len = 32,
11852 }, {
11853 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
11854 "\x11\x11\x11\x11\x11\x11\x11\x11"
11855 "\x22\x22\x22\x22\x22\x22\x22\x22"
11856 "\x22\x22\x22\x22\x22\x22\x22\x22",
11857 .klen = 32,
11858 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11859 "\x00\x00\x00\x00\x00\x00\x00\x00",
11860 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
11861 "\x44\x44\x44\x44\x44\x44\x44\x44"
11862 "\x44\x44\x44\x44\x44\x44\x44\x44"
11863 "\x44\x44\x44\x44\x44\x44\x44\x44",
11864 .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
11865 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
11866 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
11867 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
11868 .len = 32,
11869 }, {
11870 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
11871 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
11872 "\x22\x22\x22\x22\x22\x22\x22\x22"
11873 "\x22\x22\x22\x22\x22\x22\x22\x22",
11874 .klen = 32,
11875 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11876 "\x00\x00\x00\x00\x00\x00\x00\x00",
11877 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
11878 "\x44\x44\x44\x44\x44\x44\x44\x44"
11879 "\x44\x44\x44\x44\x44\x44\x44\x44"
11880 "\x44\x44\x44\x44\x44\x44\x44\x44",
11881 .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
11882 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
11883 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
11884 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
11885 .len = 32,
11886 }, {
11887 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11888 "\x23\x53\x60\x28\x74\x71\x35\x26"
11889 "\x31\x41\x59\x26\x53\x58\x97\x93"
11890 "\x23\x84\x62\x64\x33\x83\x27\x95",
11891 .klen = 32,
11892 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11893 "\x00\x00\x00\x00\x00\x00\x00\x00",
11894 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
11895 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11896 "\x10\x11\x12\x13\x14\x15\x16\x17"
11897 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11898 "\x20\x21\x22\x23\x24\x25\x26\x27"
11899 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11900 "\x30\x31\x32\x33\x34\x35\x36\x37"
11901 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11902 "\x40\x41\x42\x43\x44\x45\x46\x47"
11903 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11904 "\x50\x51\x52\x53\x54\x55\x56\x57"
11905 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11906 "\x60\x61\x62\x63\x64\x65\x66\x67"
11907 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11908 "\x70\x71\x72\x73\x74\x75\x76\x77"
11909 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11910 "\x80\x81\x82\x83\x84\x85\x86\x87"
11911 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11912 "\x90\x91\x92\x93\x94\x95\x96\x97"
11913 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11914 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11915 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11916 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11917 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11918 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11919 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11920 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11921 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11922 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11923 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11924 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11925 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11926 "\x00\x01\x02\x03\x04\x05\x06\x07"
11927 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11928 "\x10\x11\x12\x13\x14\x15\x16\x17"
11929 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11930 "\x20\x21\x22\x23\x24\x25\x26\x27"
11931 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11932 "\x30\x31\x32\x33\x34\x35\x36\x37"
11933 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11934 "\x40\x41\x42\x43\x44\x45\x46\x47"
11935 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11936 "\x50\x51\x52\x53\x54\x55\x56\x57"
11937 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11938 "\x60\x61\x62\x63\x64\x65\x66\x67"
11939 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11940 "\x70\x71\x72\x73\x74\x75\x76\x77"
11941 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11942 "\x80\x81\x82\x83\x84\x85\x86\x87"
11943 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11944 "\x90\x91\x92\x93\x94\x95\x96\x97"
11945 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11946 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11947 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11948 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11949 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11950 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11951 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11952 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11953 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11954 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11955 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11956 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11957 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11958 .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
11959 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
11960 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
11961 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
11962 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
11963 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
11964 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
11965 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
11966 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
11967 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
11968 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
11969 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
11970 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
11971 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
11972 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
11973 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
11974 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
11975 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
11976 "\x39\x80\x39\x09\x97\x65\xf2\x83"
11977 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
11978 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
11979 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
11980 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
11981 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
11982 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
11983 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
11984 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
11985 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
11986 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
11987 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
11988 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
11989 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
11990 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
11991 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
11992 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
11993 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
11994 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
11995 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
11996 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
11997 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
11998 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
11999 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
12000 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
12001 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
12002 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
12003 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
12004 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
12005 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
12006 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
12007 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
12008 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
12009 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
12010 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
12011 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
12012 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
12013 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
12014 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
12015 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
12016 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
12017 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
12018 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
12019 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
12020 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
12021 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
12022 .len = 512,
12023 }, {
12024 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
12025 "\x23\x53\x60\x28\x74\x71\x35\x26"
12026 "\x62\x49\x77\x57\x24\x70\x93\x69"
12027 "\x99\x59\x57\x49\x66\x96\x76\x27"
12028 "\x31\x41\x59\x26\x53\x58\x97\x93"
12029 "\x23\x84\x62\x64\x33\x83\x27\x95"
12030 "\x02\x88\x41\x97\x16\x93\x99\x37"
12031 "\x51\x05\x82\x09\x74\x94\x45\x92",
12032 .klen = 64,
12033 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
12034 "\x00\x00\x00\x00\x00\x00\x00\x00",
12035 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12036 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12037 "\x10\x11\x12\x13\x14\x15\x16\x17"
12038 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12039 "\x20\x21\x22\x23\x24\x25\x26\x27"
12040 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12041 "\x30\x31\x32\x33\x34\x35\x36\x37"
12042 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12043 "\x40\x41\x42\x43\x44\x45\x46\x47"
12044 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12045 "\x50\x51\x52\x53\x54\x55\x56\x57"
12046 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12047 "\x60\x61\x62\x63\x64\x65\x66\x67"
12048 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12049 "\x70\x71\x72\x73\x74\x75\x76\x77"
12050 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12051 "\x80\x81\x82\x83\x84\x85\x86\x87"
12052 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12053 "\x90\x91\x92\x93\x94\x95\x96\x97"
12054 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12055 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12056 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12057 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12058 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12059 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12060 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12061 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12062 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12063 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12064 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12065 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12066 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12067 "\x00\x01\x02\x03\x04\x05\x06\x07"
12068 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12069 "\x10\x11\x12\x13\x14\x15\x16\x17"
12070 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12071 "\x20\x21\x22\x23\x24\x25\x26\x27"
12072 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12073 "\x30\x31\x32\x33\x34\x35\x36\x37"
12074 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12075 "\x40\x41\x42\x43\x44\x45\x46\x47"
12076 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12077 "\x50\x51\x52\x53\x54\x55\x56\x57"
12078 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12079 "\x60\x61\x62\x63\x64\x65\x66\x67"
12080 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12081 "\x70\x71\x72\x73\x74\x75\x76\x77"
12082 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12083 "\x80\x81\x82\x83\x84\x85\x86\x87"
12084 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12085 "\x90\x91\x92\x93\x94\x95\x96\x97"
12086 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12087 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12088 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12089 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12090 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12091 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12092 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12093 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12094 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12095 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12096 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12097 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12098 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12099 .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
12100 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
12101 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
12102 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
12103 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
12104 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
12105 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
12106 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
12107 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
12108 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
12109 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
12110 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
12111 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
12112 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
12113 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
12114 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
12115 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
12116 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
12117 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
12118 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
12119 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
12120 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
12121 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
12122 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
12123 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
12124 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
12125 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
12126 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
12127 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
12128 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
12129 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
12130 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
12131 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
12132 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
12133 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
12134 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
12135 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
12136 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
12137 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
12138 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
12139 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
12140 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
12141 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
12142 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
12143 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
12144 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
12145 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
12146 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
12147 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
12148 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
12149 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
12150 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
12151 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
12152 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
12153 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
12154 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
12155 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
12156 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
12157 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
12158 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
12159 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
12160 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
12161 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
12162 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
12163 .len = 512,
12164 },
12165};
12166
12167/*
12168 * Serpent test vectors. These are backwards because Serpent writes
12169 * octet sequences in right-to-left mode.
12170 */
12171static const struct cipher_testvec serpent_tv_template[] = {
12172 {
12173 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12174 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12175 .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
12176 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
12177 .len = 16,
12178 }, {
12179 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12180 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12181 .klen = 16,
12182 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12183 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12184 .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
12185 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
12186 .len = 16,
12187 }, {
12188 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12189 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12190 "\x10\x11\x12\x13\x14\x15\x16\x17"
12191 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12192 .klen = 32,
12193 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
12194 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12195 .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
12196 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
12197 .len = 16,
12198 }, {
12199 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
12200 .klen = 16,
12201 .ptext = zeroed_string,
12202 .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
12203 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
12204 .len = 16,
12205 }, { /* Generated with Crypto++ */
12206 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12207 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12208 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12209 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12210 .klen = 32,
12211 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12212 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12213 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12214 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12215 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12216 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12217 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12218 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12219 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12220 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12221 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12222 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12223 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12224 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12225 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12226 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12227 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12228 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12229 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12230 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12231 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12232 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12233 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12234 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12235 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12236 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12237 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12238 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12239 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12240 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12241 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12242 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12243 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12244 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12245 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12246 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12247 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12248 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12249 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12250 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12251 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12252 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12253 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12254 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12255 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12256 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12257 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12258 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12259 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12260 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12261 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12262 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12263 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12264 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12265 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12266 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12267 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12268 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12269 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12270 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12271 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12272 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12273 .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
12274 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
12275 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
12276 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
12277 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
12278 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
12279 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
12280 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
12281 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
12282 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
12283 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
12284 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
12285 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
12286 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
12287 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
12288 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
12289 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
12290 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
12291 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
12292 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
12293 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
12294 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
12295 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
12296 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
12297 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
12298 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
12299 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
12300 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
12301 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
12302 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
12303 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
12304 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
12305 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
12306 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
12307 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
12308 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
12309 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
12310 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
12311 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
12312 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
12313 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
12314 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
12315 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
12316 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
12317 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
12318 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
12319 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
12320 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
12321 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
12322 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
12323 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
12324 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
12325 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
12326 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
12327 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
12328 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
12329 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
12330 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
12331 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
12332 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
12333 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
12334 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
12335 .len = 496,
12336 },
12337};
12338
12339static const struct cipher_testvec serpent_cbc_tv_template[] = {
12340 { /* Generated with Crypto++ */
12341 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12342 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12343 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12344 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12345 .klen = 32,
12346 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12347 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12348 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
12349 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
12350 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12351 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12352 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12353 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12354 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12355 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12356 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12357 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12358 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12359 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12360 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12361 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12362 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12363 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12364 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12365 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12366 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12367 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12368 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12369 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12370 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12371 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12372 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12373 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12374 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12375 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12376 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12377 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12378 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12379 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12380 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12381 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12382 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12383 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12384 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12385 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12386 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12387 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12388 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12389 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12390 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12391 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12392 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12393 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12394 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12395 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12396 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12397 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12398 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12399 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12400 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12401 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12402 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12403 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12404 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12405 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12406 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12407 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12408 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12409 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12410 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12411 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12412 .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
12413 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
12414 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
12415 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
12416 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
12417 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
12418 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
12419 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
12420 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
12421 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
12422 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
12423 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
12424 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
12425 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
12426 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
12427 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
12428 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
12429 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
12430 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
12431 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
12432 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
12433 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
12434 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
12435 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
12436 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
12437 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
12438 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
12439 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
12440 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
12441 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
12442 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
12443 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
12444 "\x81\x92\x66\x67\x15\x1E\x39\x98"
12445 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
12446 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
12447 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
12448 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
12449 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
12450 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
12451 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
12452 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
12453 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
12454 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
12455 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
12456 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
12457 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
12458 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
12459 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
12460 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
12461 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
12462 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
12463 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
12464 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
12465 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
12466 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
12467 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
12468 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
12469 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
12470 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
12471 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
12472 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
12473 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
12474 .len = 496,
12475 },
12476};
12477
12478static const struct cipher_testvec serpent_ctr_tv_template[] = {
12479 { /* Generated with Crypto++ */
12480 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12481 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12482 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12483 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12484 .klen = 32,
12485 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12486 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12487 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12488 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
12489 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12490 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12491 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12492 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12493 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12494 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12495 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12496 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12497 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12498 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12499 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12500 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12501 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12502 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12503 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12504 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12505 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12506 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12507 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12508 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12509 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12510 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12511 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12512 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12513 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12514 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12515 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12516 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12517 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12518 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12519 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12520 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12521 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12522 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12523 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12524 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12525 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12526 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12527 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12528 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12529 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12530 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12531 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12532 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12533 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12534 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12535 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12536 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12537 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12538 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12539 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12540 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12541 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12542 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12543 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12544 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12545 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12546 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12547 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12548 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12549 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12550 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12551 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12552 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12553 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12554 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12555 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12556 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12557 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12558 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12559 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12560 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12561 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12562 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12563 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12564 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12565 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12566 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12567 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12568 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12569 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12570 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12571 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12572 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12573 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12574 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12575 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12576 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12577 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12578 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12579 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12580 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12581 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12582 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12583 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12584 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12585 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12586 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12587 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12588 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12589 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12590 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12591 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12592 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12593 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12594 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12595 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12596 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12597 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12598 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12599 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12600 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12601 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12602 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12603 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12604 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12605 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12606 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12607 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12608 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12609 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12610 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12611 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12612 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12613 .len = 496,
12614 }, { /* Generated with Crypto++ */
12615 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12616 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12617 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12618 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12619 .klen = 32,
12620 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12621 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12622 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12623 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
12624 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12625 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12626 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12627 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12628 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12629 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12630 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12631 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12632 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12633 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12634 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12635 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12636 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12637 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12638 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12639 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12640 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12641 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12642 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12643 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12644 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12645 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12646 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12647 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12648 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12649 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12650 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12651 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12652 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12653 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12654 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12655 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12656 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12657 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12658 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12659 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12660 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12661 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12662 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12663 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12664 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12665 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12666 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12667 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12668 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12669 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12670 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12671 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12672 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12673 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12674 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12675 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12676 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12677 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12678 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12679 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12680 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12681 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12682 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12683 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12684 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12685 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12686 "\x2B\xC2\x59",
12687 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12688 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12689 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12690 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12691 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12692 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12693 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12694 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12695 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12696 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12697 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12698 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12699 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12700 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12701 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12702 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12703 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12704 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12705 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12706 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12707 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12708 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12709 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12710 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12711 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12712 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12713 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12714 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12715 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12716 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12717 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12718 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12719 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12720 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12721 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12722 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12723 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12724 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12725 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12726 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12727 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12728 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12729 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12730 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12731 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12732 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12733 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12734 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12735 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12736 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12737 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12738 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12739 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12740 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12741 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12742 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12743 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12744 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12745 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12746 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12747 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12748 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12749 "\x38\xE2\xE5",
12750 .len = 499,
12751 }, { /* Generated with Crypto++ */
12752 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12753 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12754 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12755 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12756 .klen = 32,
12757 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12758 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12759 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
12760 "\x00\x00\x00\x00\x00\x00\x00\x1C",
12761 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12762 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12763 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12764 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12765 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12766 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12767 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12768 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12769 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12770 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12771 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12772 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12773 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12774 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12775 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12776 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12777 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12778 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12779 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12780 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12781 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12782 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12783 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12784 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12785 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12786 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12787 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12788 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12789 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12790 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12791 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12792 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12793 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12794 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12795 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12796 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12797 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12798 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12799 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12800 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12801 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12802 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12803 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12804 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12805 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12806 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12807 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12808 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12809 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12810 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12811 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12812 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12813 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12814 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12815 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12816 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12817 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12818 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12819 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12820 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12821 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12822 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12823 .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12824 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12825 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12826 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12827 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12828 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12829 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12830 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12831 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12832 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12833 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12834 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12835 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12836 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12837 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12838 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12839 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12840 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12841 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12842 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12843 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12844 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12845 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12846 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12847 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12848 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12849 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12850 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12851 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12852 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12853 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12854 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12855 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12856 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12857 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12858 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12859 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12860 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12861 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12862 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12863 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12864 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12865 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12866 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12867 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12868 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12869 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12870 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12871 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12872 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12873 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12874 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12875 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12876 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12877 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12878 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12879 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12880 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12881 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12882 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12883 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12884 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12885 .len = 496,
12886 },
12887};
12888
12889static const struct cipher_testvec serpent_lrw_tv_template[] = {
12890 /* Generated from AES-LRW test vectors */
12891 {
12892 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12893 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12894 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12895 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12896 .klen = 32,
12897 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12898 "\x00\x00\x00\x00\x00\x00\x00\x01",
12899 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12900 "\x38\x39\x41\x42\x43\x44\x45\x46",
12901 .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12902 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12903 .len = 16,
12904 }, {
12905 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12906 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12907 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12908 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12909 .klen = 32,
12910 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12911 "\x00\x00\x00\x00\x00\x00\x00\x02",
12912 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12913 "\x38\x39\x41\x42\x43\x44\x45\x46",
12914 .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12915 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12916 .len = 16,
12917 }, {
12918 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12919 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12920 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12921 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12922 .klen = 32,
12923 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12924 "\x00\x00\x00\x02\x00\x00\x00\x00",
12925 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12926 "\x38\x39\x41\x42\x43\x44\x45\x46",
12927 .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12928 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12929 .len = 16,
12930 }, {
12931 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12932 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12933 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12934 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12935 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12936 .klen = 40,
12937 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12938 "\x00\x00\x00\x00\x00\x00\x00\x01",
12939 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12940 "\x38\x39\x41\x42\x43\x44\x45\x46",
12941 .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12942 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12943 .len = 16,
12944 }, {
12945 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12946 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12947 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12948 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12949 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12950 .klen = 40,
12951 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12952 "\x00\x00\x00\x02\x00\x00\x00\x00",
12953 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12954 "\x38\x39\x41\x42\x43\x44\x45\x46",
12955 .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12956 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12957 .len = 16,
12958 }, {
12959 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12960 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12961 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12962 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12963 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12964 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12965 .klen = 48,
12966 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12967 "\x00\x00\x00\x00\x00\x00\x00\x01",
12968 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12969 "\x38\x39\x41\x42\x43\x44\x45\x46",
12970 .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12971 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12972 .len = 16,
12973 }, {
12974 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12975 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12976 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12977 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12978 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12979 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12980 .klen = 48,
12981 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12982 "\x00\x00\x00\x02\x00\x00\x00\x00",
12983 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
12984 "\x38\x39\x41\x42\x43\x44\x45\x46",
12985 .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12986 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12987 .len = 16,
12988 }, {
12989 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12990 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12991 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12992 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12993 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12994 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12995 .klen = 48,
12996 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12997 "\x00\x00\x00\x00\x00\x00\x00\x01",
12998 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12999 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13000 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13001 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13002 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13003 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13004 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13005 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13006 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13007 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13008 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13009 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13010 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13011 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13012 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13013 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13014 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13015 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13016 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13017 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13018 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13019 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13020 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13021 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13022 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13023 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13024 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13025 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13026 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13027 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13028 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13029 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13030 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13031 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13032 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13033 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13034 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13035 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13036 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13037 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13038 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13039 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13040 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13041 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13042 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13043 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13044 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13045 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13046 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13047 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13048 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13049 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13050 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13051 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13052 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13053 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13054 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13055 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13056 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13057 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13058 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13059 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13060 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13061 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13062 .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
13063 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
13064 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
13065 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
13066 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
13067 "\xce\xab\xda\x33\x30\x20\x12\xfa"
13068 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
13069 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
13070 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
13071 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
13072 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
13073 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
13074 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
13075 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
13076 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
13077 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
13078 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
13079 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
13080 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
13081 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
13082 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
13083 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
13084 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
13085 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
13086 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
13087 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
13088 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
13089 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
13090 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
13091 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
13092 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
13093 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
13094 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
13095 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
13096 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
13097 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
13098 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
13099 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
13100 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
13101 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
13102 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
13103 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
13104 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
13105 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
13106 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
13107 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
13108 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
13109 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
13110 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
13111 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
13112 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
13113 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
13114 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
13115 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
13116 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
13117 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
13118 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
13119 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
13120 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
13121 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
13122 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
13123 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
13124 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
13125 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
13126 .len = 512,
13127 },
13128};
13129
13130static const struct cipher_testvec serpent_xts_tv_template[] = {
13131 /* Generated from AES-XTS test vectors */
13132 {
13133 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
13134 "\x00\x00\x00\x00\x00\x00\x00\x00"
13135 "\x00\x00\x00\x00\x00\x00\x00\x00"
13136 "\x00\x00\x00\x00\x00\x00\x00\x00",
13137 .klen = 32,
13138 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13139 "\x00\x00\x00\x00\x00\x00\x00\x00",
13140 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
13141 "\x00\x00\x00\x00\x00\x00\x00\x00"
13142 "\x00\x00\x00\x00\x00\x00\x00\x00"
13143 "\x00\x00\x00\x00\x00\x00\x00\x00",
13144 .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13145 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13146 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13147 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13148 .len = 32,
13149 }, {
13150 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
13151 "\x11\x11\x11\x11\x11\x11\x11\x11"
13152 "\x22\x22\x22\x22\x22\x22\x22\x22"
13153 "\x22\x22\x22\x22\x22\x22\x22\x22",
13154 .klen = 32,
13155 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13156 "\x00\x00\x00\x00\x00\x00\x00\x00",
13157 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13158 "\x44\x44\x44\x44\x44\x44\x44\x44"
13159 "\x44\x44\x44\x44\x44\x44\x44\x44"
13160 "\x44\x44\x44\x44\x44\x44\x44\x44",
13161 .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13162 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13163 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13164 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13165 .len = 32,
13166 }, {
13167 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13168 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13169 "\x22\x22\x22\x22\x22\x22\x22\x22"
13170 "\x22\x22\x22\x22\x22\x22\x22\x22",
13171 .klen = 32,
13172 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13173 "\x00\x00\x00\x00\x00\x00\x00\x00",
13174 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13175 "\x44\x44\x44\x44\x44\x44\x44\x44"
13176 "\x44\x44\x44\x44\x44\x44\x44\x44"
13177 "\x44\x44\x44\x44\x44\x44\x44\x44",
13178 .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13179 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13180 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13181 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13182 .len = 32,
13183 }, {
13184 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13185 "\x23\x53\x60\x28\x74\x71\x35\x26"
13186 "\x31\x41\x59\x26\x53\x58\x97\x93"
13187 "\x23\x84\x62\x64\x33\x83\x27\x95",
13188 .klen = 32,
13189 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13190 "\x00\x00\x00\x00\x00\x00\x00\x00",
13191 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13192 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13193 "\x10\x11\x12\x13\x14\x15\x16\x17"
13194 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13195 "\x20\x21\x22\x23\x24\x25\x26\x27"
13196 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13197 "\x30\x31\x32\x33\x34\x35\x36\x37"
13198 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13199 "\x40\x41\x42\x43\x44\x45\x46\x47"
13200 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13201 "\x50\x51\x52\x53\x54\x55\x56\x57"
13202 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13203 "\x60\x61\x62\x63\x64\x65\x66\x67"
13204 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13205 "\x70\x71\x72\x73\x74\x75\x76\x77"
13206 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13207 "\x80\x81\x82\x83\x84\x85\x86\x87"
13208 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13209 "\x90\x91\x92\x93\x94\x95\x96\x97"
13210 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13211 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13212 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13213 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13214 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13215 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13216 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13217 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13218 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13219 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13220 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13221 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13222 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13223 "\x00\x01\x02\x03\x04\x05\x06\x07"
13224 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13225 "\x10\x11\x12\x13\x14\x15\x16\x17"
13226 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13227 "\x20\x21\x22\x23\x24\x25\x26\x27"
13228 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13229 "\x30\x31\x32\x33\x34\x35\x36\x37"
13230 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13231 "\x40\x41\x42\x43\x44\x45\x46\x47"
13232 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13233 "\x50\x51\x52\x53\x54\x55\x56\x57"
13234 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13235 "\x60\x61\x62\x63\x64\x65\x66\x67"
13236 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13237 "\x70\x71\x72\x73\x74\x75\x76\x77"
13238 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13239 "\x80\x81\x82\x83\x84\x85\x86\x87"
13240 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13241 "\x90\x91\x92\x93\x94\x95\x96\x97"
13242 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13243 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13244 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13245 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13246 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13247 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13248 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13249 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13250 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13251 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13252 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13253 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13254 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13255 .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13256 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13257 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13258 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13259 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13260 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13261 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13262 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13263 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13264 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13265 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13266 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13267 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13268 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13269 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13270 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13271 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13272 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13273 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13274 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13275 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13276 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13277 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13278 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13279 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13280 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13281 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13282 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13283 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13284 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13285 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13286 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13287 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13288 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13289 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13290 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13291 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13292 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13293 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13294 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13295 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13296 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13297 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13298 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13299 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13300 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13301 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13302 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13303 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13304 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13305 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13306 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13307 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13308 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13309 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13310 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13311 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13312 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13313 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13314 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13315 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13316 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13317 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13318 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13319 .len = 512,
13320 }, {
13321 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13322 "\x23\x53\x60\x28\x74\x71\x35\x26"
13323 "\x62\x49\x77\x57\x24\x70\x93\x69"
13324 "\x99\x59\x57\x49\x66\x96\x76\x27"
13325 "\x31\x41\x59\x26\x53\x58\x97\x93"
13326 "\x23\x84\x62\x64\x33\x83\x27\x95"
13327 "\x02\x88\x41\x97\x16\x93\x99\x37"
13328 "\x51\x05\x82\x09\x74\x94\x45\x92",
13329 .klen = 64,
13330 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13331 "\x00\x00\x00\x00\x00\x00\x00\x00",
13332 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13333 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13334 "\x10\x11\x12\x13\x14\x15\x16\x17"
13335 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13336 "\x20\x21\x22\x23\x24\x25\x26\x27"
13337 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13338 "\x30\x31\x32\x33\x34\x35\x36\x37"
13339 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13340 "\x40\x41\x42\x43\x44\x45\x46\x47"
13341 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13342 "\x50\x51\x52\x53\x54\x55\x56\x57"
13343 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13344 "\x60\x61\x62\x63\x64\x65\x66\x67"
13345 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13346 "\x70\x71\x72\x73\x74\x75\x76\x77"
13347 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13348 "\x80\x81\x82\x83\x84\x85\x86\x87"
13349 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13350 "\x90\x91\x92\x93\x94\x95\x96\x97"
13351 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13352 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13353 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13354 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13355 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13356 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13357 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13358 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13359 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13360 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13361 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13362 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13363 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13364 "\x00\x01\x02\x03\x04\x05\x06\x07"
13365 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13366 "\x10\x11\x12\x13\x14\x15\x16\x17"
13367 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13368 "\x20\x21\x22\x23\x24\x25\x26\x27"
13369 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13370 "\x30\x31\x32\x33\x34\x35\x36\x37"
13371 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13372 "\x40\x41\x42\x43\x44\x45\x46\x47"
13373 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13374 "\x50\x51\x52\x53\x54\x55\x56\x57"
13375 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13376 "\x60\x61\x62\x63\x64\x65\x66\x67"
13377 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13378 "\x70\x71\x72\x73\x74\x75\x76\x77"
13379 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13380 "\x80\x81\x82\x83\x84\x85\x86\x87"
13381 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13382 "\x90\x91\x92\x93\x94\x95\x96\x97"
13383 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13384 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13385 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13386 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13387 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13388 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13389 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13390 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13391 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13392 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13393 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13394 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13395 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13396 .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13397 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13398 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13399 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13400 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13401 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13402 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13403 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13404 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13405 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13406 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13407 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13408 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13409 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13410 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13411 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13412 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13413 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13414 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13415 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13416 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13417 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13418 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13419 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13420 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13421 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13422 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13423 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13424 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13425 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13426 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13427 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13428 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13429 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13430 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13431 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13432 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13433 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13434 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13435 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13436 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13437 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13438 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13439 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13440 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13441 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13442 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13443 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13444 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13445 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13446 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13447 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13448 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13449 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13450 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13451 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13452 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13453 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13454 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13455 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13456 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13457 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13458 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13459 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13460 .len = 512,
13461 },
13462};
13463
13464/*
13465 * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
13466 * Modes Of Operations" draft RFC
13467 * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
13468 */
13469
13470static const struct cipher_testvec sm4_tv_template[] = {
13471 { /* GB/T 32907-2016 Example 1. */
13472 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13473 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13474 .klen = 16,
13475 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13476 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13477 .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
13478 "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
13479 .len = 16,
13480 }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
13481 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13482 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13483 .klen = 16,
13484 .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
13485 "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
13486 "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
13487 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
13488 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
13489 "\xad\x57\x15\xab\x31\x5d\xc\xef"
13490 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
13491 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
13492 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
13493 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
13494 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
13495 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
13496 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
13497 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
13498 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
13499 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
13500 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
13501 "\xed\xce\x0\x19\xe\x16\x2\x6e"
13502 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
13503 "\x31\x51\xec\x47\xc3\x51\x83\xc1",
13504 .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
13505 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
13506 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
13507 "\xad\x57\x15\xab\x31\x5d\xc\xef"
13508 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
13509 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
13510 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
13511 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
13512 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
13513 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
13514 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
13515 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
13516 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
13517 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
13518 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
13519 "\xed\xce\x0\x19\xe\x16\x2\x6e"
13520 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
13521 "\x31\x51\xec\x47\xc3\x51\x83\xc1"
13522 "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
13523 "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
13524 .len = 160
13525 }, { /* A.2.1.1 SM4-ECB Example 1 */
13526 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13527 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13528 .klen = 16,
13529 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13530 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13531 "\xee\xee\xee\xee\xff\xff\xff\xff"
13532 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13533 .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
13534 "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
13535 "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
13536 "\x85\xf8\x1c\x84\x82\x19\x23\x04",
13537 .len = 32,
13538 }, { /* A.2.1.2 SM4-ECB Example 2 */
13539 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13540 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13541 .klen = 16,
13542 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13543 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13544 "\xee\xee\xee\xee\xff\xff\xff\xff"
13545 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13546 .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
13547 "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
13548 "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
13549 "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
13550 .len = 32,
13551 }
13552};
13553
13554static const struct cipher_testvec sm4_cbc_tv_template[] = {
13555 { /* A.2.2.1 SM4-CBC Example 1 */
13556 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13557 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13558 .klen = 16,
13559 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13560 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13561 "\xee\xee\xee\xee\xff\xff\xff\xff"
13562 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13563 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13564 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13565 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
13566 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
13567 .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
13568 "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
13569 "\x4C\xB7\x01\x69\x51\x90\x92\x26"
13570 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
13571 .len = 32,
13572 }, { /* A.2.2.2 SM4-CBC Example 2 */
13573 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13574 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13575 .klen = 16,
13576 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
13577 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
13578 "\xee\xee\xee\xee\xff\xff\xff\xff"
13579 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
13580 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13581 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13582 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
13583 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
13584 .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
13585 "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
13586 "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
13587 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
13588 .len = 32,
13589 }
13590};
13591
13592static const struct cipher_testvec sm4_ctr_tv_template[] = {
13593 { /* A.2.5.1 SM4-CTR Example 1 */
13594 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
13595 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
13596 .klen = 16,
13597 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13598 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13599 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13600 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13601 "\xee\xee\xee\xee\xee\xee\xee\xee"
13602 "\xff\xff\xff\xff\xff\xff\xff\xff"
13603 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13604 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
13605 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13606 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13607 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
13608 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
13609 .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
13610 "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
13611 "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
13612 "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
13613 "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
13614 "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
13615 "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
13616 "\x8b\x29\x33\x85\x1d\x82\x45\x14",
13617 .len = 64,
13618 }, { /* A.2.5.2 SM4-CTR Example 2 */
13619 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
13620 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
13621 .klen = 16,
13622 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13623 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
13624 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
13625 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
13626 "\xee\xee\xee\xee\xee\xee\xee\xee"
13627 "\xff\xff\xff\xff\xff\xff\xff\xff"
13628 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
13629 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
13630 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13631 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
13632 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
13633 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
13634 .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
13635 "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
13636 "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
13637 "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
13638 "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
13639 "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
13640 "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
13641 "\x28\x4b\xde\x9e\x16\xea\x29\x06",
13642 .len = 64,
13643 }
13644};
13645
13646static const struct cipher_testvec sm4_ctr_rfc3686_tv_template[] = {
13647 {
13648 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
13649 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
13650 "\x00\x00\x00\x30",
13651 .klen = 20,
13652 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
13653 .ptext = "Single block msg",
13654 .ctext = "\x20\x9b\x77\x31\xd3\x65\xdb\xab"
13655 "\x9e\x48\x74\x7e\xbd\x13\x83\xeb",
13656 .len = 16,
13657 }, {
13658 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
13659 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
13660 "\x00\x6c\xb6\xdb",
13661 .klen = 20,
13662 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
13663 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13664 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13665 "\x10\x11\x12\x13\x14\x15\x16\x17"
13666 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13667 .ctext = "\x33\xe0\x28\x01\x92\xed\xc9\x1e"
13668 "\x97\x35\xd9\x4a\xec\xd4\xbc\x23"
13669 "\x4f\x35\x9f\x1c\x55\x1f\xe0\x27"
13670 "\xe0\xdf\xc5\x43\xbc\xb0\x23\x94",
13671 .len = 32,
13672 }
13673};
13674
13675static const struct cipher_testvec sm4_cts_tv_template[] = {
13676 /* Generated from AES-CTS test vectors */
13677 {
13678 .klen = 16,
13679 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13680 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13681 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13682 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13683 "\x20",
13684 .len = 17,
13685 .ctext = "\x05\xfe\x23\xee\x17\xa2\x89\x98"
13686 "\xbc\x97\x0a\x0b\x54\x67\xca\xd7"
13687 "\xd6",
13688 }, {
13689 .klen = 16,
13690 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13691 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13692 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13693 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13694 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
13695 "\x20\x47\x61\x75\x27\x73\x20",
13696 .len = 31,
13697 .ctext = "\x15\x46\xe4\x95\xa4\xec\xf0\xb8"
13698 "\x49\xd6\x6a\x9d\x89\xc7\xfd\x70"
13699 "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
13700 "\x93\xf7\x70\xbb\xa8\x3f\xa3",
13701 }, {
13702 .klen = 16,
13703 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13704 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13705 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13706 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13707 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
13708 "\x20\x47\x61\x75\x27\x73\x20\x43",
13709 .len = 32,
13710 .ctext = "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
13711 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
13712 "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
13713 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf",
13714 }, {
13715 .klen = 16,
13716 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13717 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13718 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13719 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13720 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
13721 "\x20\x47\x61\x75\x27\x73\x20\x43"
13722 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
13723 "\x70\x6c\x65\x61\x73\x65\x2c",
13724 .len = 47,
13725 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
13726 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
13727 "\xd3\xe1\xdc\xeb\xfa\x04\x11\x99"
13728 "\xde\xcf\x6f\x4d\x7b\x09\x92\x7f"
13729 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
13730 "\x01\x6a\xbf\xd4\x3f\x79\x02",
13731 }, {
13732 .klen = 16,
13733 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13734 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13735 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13736 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13737 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
13738 "\x20\x47\x61\x75\x27\x73\x20\x43"
13739 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
13740 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
13741 .len = 48,
13742 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
13743 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
13744 "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
13745 "\xbd\x99\x21\x0c\x5e\x4d\xed\x20"
13746 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
13747 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3",
13748 }, {
13749 .klen = 16,
13750 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
13751 "\x74\x65\x72\x69\x79\x61\x6b\x69",
13752 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
13753 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
13754 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
13755 "\x20\x47\x61\x75\x27\x73\x20\x43"
13756 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
13757 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
13758 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
13759 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
13760 .len = 64,
13761 .ctext = "\xd6\x71\xc8\xc0\x4d\x52\x7c\x66"
13762 "\x93\xf7\x70\xbb\xa8\x3f\xa3\xcf"
13763 "\x89\xc7\x99\x3f\x87\x69\x5c\xd3"
13764 "\x01\x6a\xbf\xd4\x3f\x79\x02\xa3"
13765 "\x58\x19\xa4\x8f\xa9\x68\x5e\x6b"
13766 "\x2c\x0f\x81\x60\x15\x98\x27\x4f"
13767 "\x9a\xbd\x7b\xfe\x82\xab\xcc\x7f"
13768 "\xbd\x99\x21\x0c\x5e\x4d\xed\x20",
13769 }
13770};
13771
13772static const struct cipher_testvec sm4_xts_tv_template[] = {
13773 /* Generated from AES-XTS test vectors */
13774 {
13775 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
13776 "\x00\x00\x00\x00\x00\x00\x00\x00"
13777 "\x00\x00\x00\x00\x00\x00\x00\x00"
13778 "\x00\x00\x00\x00\x00\x00\x00\x00",
13779 .klen = 32,
13780 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13781 "\x00\x00\x00\x00\x00\x00\x00\x00",
13782 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
13783 "\x00\x00\x00\x00\x00\x00\x00\x00"
13784 "\x00\x00\x00\x00\x00\x00\x00\x00"
13785 "\x00\x00\x00\x00\x00\x00\x00\x00",
13786 .ctext = "\xd9\xb4\x21\xf7\x31\xc8\x94\xfd"
13787 "\xc3\x5b\x77\x29\x1f\xe4\xe3\xb0"
13788 "\x2a\x1f\xb7\x66\x98\xd5\x9f\x0e"
13789 "\x51\x37\x6c\x4a\xda\x5b\xc7\x5d",
13790 .len = 32,
13791 }, {
13792 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
13793 "\x11\x11\x11\x11\x11\x11\x11\x11"
13794 "\x22\x22\x22\x22\x22\x22\x22\x22"
13795 "\x22\x22\x22\x22\x22\x22\x22\x22",
13796 .klen = 32,
13797 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13798 "\x00\x00\x00\x00\x00\x00\x00\x00",
13799 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13800 "\x44\x44\x44\x44\x44\x44\x44\x44"
13801 "\x44\x44\x44\x44\x44\x44\x44\x44"
13802 "\x44\x44\x44\x44\x44\x44\x44\x44",
13803 .ctext = "\xa7\x4d\x72\x6c\x11\x19\x6a\x32"
13804 "\xbe\x04\xe0\x01\xff\x29\xd0\xc7"
13805 "\x93\x2f\x9f\x3e\xc2\x9b\xfc\xb6"
13806 "\x4d\xd1\x7f\x63\xcb\xd3\xea\x31",
13807 .len = 32,
13808 }, {
13809 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13810 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13811 "\x22\x22\x22\x22\x22\x22\x22\x22"
13812 "\x22\x22\x22\x22\x22\x22\x22\x22",
13813 .klen = 32,
13814 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13815 "\x00\x00\x00\x00\x00\x00\x00\x00",
13816 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13817 "\x44\x44\x44\x44\x44\x44\x44\x44"
13818 "\x44\x44\x44\x44\x44\x44\x44\x44"
13819 "\x44\x44\x44\x44\x44\x44\x44\x44",
13820 .ctext = "\x7f\x76\x08\x8e\xff\xad\xf7\x0c"
13821 "\x02\xea\x9f\x95\xda\x06\x28\xd3"
13822 "\x51\xbf\xcb\x9e\xac\x05\x63\xbc"
13823 "\xf1\x7b\x71\x0d\xab\x0a\x98\x26",
13824 .len = 32,
13825 }, {
13826 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13827 "\x23\x53\x60\x28\x74\x71\x35\x26"
13828 "\x31\x41\x59\x26\x53\x58\x97\x93"
13829 "\x23\x84\x62\x64\x33\x83\x27\x95",
13830 .klen = 32,
13831 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13832 "\x00\x00\x00\x00\x00\x00\x00\x00",
13833 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13834 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13835 "\x10\x11\x12\x13\x14\x15\x16\x17"
13836 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13837 "\x20\x21\x22\x23\x24\x25\x26\x27"
13838 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13839 "\x30\x31\x32\x33\x34\x35\x36\x37"
13840 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13841 "\x40\x41\x42\x43\x44\x45\x46\x47"
13842 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13843 "\x50\x51\x52\x53\x54\x55\x56\x57"
13844 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13845 "\x60\x61\x62\x63\x64\x65\x66\x67"
13846 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13847 "\x70\x71\x72\x73\x74\x75\x76\x77"
13848 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13849 "\x80\x81\x82\x83\x84\x85\x86\x87"
13850 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13851 "\x90\x91\x92\x93\x94\x95\x96\x97"
13852 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13853 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13854 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13855 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13856 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13857 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13858 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13859 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13860 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13861 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13862 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13863 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13864 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13865 "\x00\x01\x02\x03\x04\x05\x06\x07"
13866 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13867 "\x10\x11\x12\x13\x14\x15\x16\x17"
13868 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13869 "\x20\x21\x22\x23\x24\x25\x26\x27"
13870 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13871 "\x30\x31\x32\x33\x34\x35\x36\x37"
13872 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13873 "\x40\x41\x42\x43\x44\x45\x46\x47"
13874 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13875 "\x50\x51\x52\x53\x54\x55\x56\x57"
13876 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13877 "\x60\x61\x62\x63\x64\x65\x66\x67"
13878 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13879 "\x70\x71\x72\x73\x74\x75\x76\x77"
13880 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13881 "\x80\x81\x82\x83\x84\x85\x86\x87"
13882 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13883 "\x90\x91\x92\x93\x94\x95\x96\x97"
13884 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13885 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13886 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13887 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13888 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13889 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13890 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13891 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13892 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13893 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13894 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13895 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13896 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13897 .ctext = "\x54\xdd\x65\xb6\x32\x6f\xae\xa8"
13898 "\xfa\xd1\xa8\x3c\x63\x61\x4a\xf3"
13899 "\x9f\x72\x1d\x8d\xfe\x17\x7a\x30"
13900 "\xb6\x6a\xbf\x6a\x44\x99\x80\xe1"
13901 "\xcd\xbe\x06\xaf\xb7\x33\x36\xf3"
13902 "\x7a\x4d\x39\xde\x96\x4a\x30\xd7"
13903 "\xd0\x4a\x37\x99\x16\x9c\x60\x25"
13904 "\x8f\x6b\x74\x8a\x61\x86\x1a\xa5"
13905 "\xec\x92\xa2\xc1\x5b\x2b\x7c\x61"
13906 "\x5a\x42\xab\xa4\x99\xbb\xd6\xb7"
13907 "\x1d\xb9\xc7\x89\xb2\x18\x20\x89"
13908 "\xa2\x5d\xd3\xdf\x80\x0e\xd1\x86"
13909 "\x4d\x19\xf7\xed\x45\xfd\x17\xa9"
13910 "\x48\x0b\x0f\xb8\x2d\x9b\x7f\xc3"
13911 "\xed\x57\xe9\xa1\x14\x0e\xaa\x77"
13912 "\x8d\xd2\xdd\x67\x9e\x3e\xdc\x3d"
13913 "\xc4\xd5\x5c\x95\x0e\xbc\x53\x1d"
13914 "\x95\x92\xf7\xc4\x63\x82\x56\xd5"
13915 "\x65\x18\x29\x2a\x20\xaf\x98\xfd"
13916 "\xd3\xa6\x36\x00\x35\x0a\x70\xab"
13917 "\x5a\x40\xf4\xc2\x85\x03\x7c\xa0"
13918 "\x1f\x25\x1f\x19\xec\xae\x03\x29"
13919 "\xff\x77\xad\x88\xcd\x5a\x4c\xde"
13920 "\xa2\xae\xab\xc2\x21\x48\xff\xbd"
13921 "\x23\x9b\xd1\x05\x15\xbd\xe1\x13"
13922 "\x1d\xec\x84\x04\xe4\x43\xdc\x76"
13923 "\x31\x40\xd5\xf2\x2b\xf3\x3e\x0c"
13924 "\x68\x72\xd6\xb8\x1d\x63\x0f\x6f"
13925 "\x00\xcd\xd0\x58\xfe\x80\xf9\xcb"
13926 "\xfb\x77\x70\x7f\x93\xce\xe2\xca"
13927 "\x92\xb9\x15\xb8\x30\x40\x27\xc1"
13928 "\x90\xa8\x4e\x2d\x65\xe0\x18\xcc"
13929 "\x6a\x38\x7d\x37\x66\xac\xdb\x28"
13930 "\x25\x32\x84\xe8\xdb\x9a\xcf\x8f"
13931 "\x52\x28\x0d\xdc\x6d\x00\x33\xd2"
13932 "\xcc\xaa\xa4\xf9\xae\xff\x12\x36"
13933 "\x69\xbc\x02\x4f\xd6\x76\x8e\xdf"
13934 "\x8b\xc1\xf8\xd6\x22\xc1\x9c\x60"
13935 "\x9e\xf9\x7f\x60\x91\x90\xcd\x11"
13936 "\x02\x41\xe7\xfb\x08\x4e\xd8\x94"
13937 "\x2d\xa1\xf9\xb9\xcf\x1b\x51\x4b"
13938 "\x61\xa3\x88\xb3\x0e\xa6\x1a\x4a"
13939 "\x74\x5b\x38\x1e\xe7\xad\x6c\x4d"
13940 "\xb1\x27\x54\x53\xb8\x41\x3f\x98"
13941 "\xdf\x6e\x4a\x40\x98\x6e\xe4\xb5"
13942 "\x9a\xf5\xdf\xae\xcd\x30\x12\x65"
13943 "\x17\x90\x67\xa0\x0d\x7c\xa3\x5a"
13944 "\xb9\x5a\xbd\x61\x7a\xde\xa2\x8e"
13945 "\xc1\xc2\x6a\x97\xde\x28\xb8\xbf"
13946 "\xe3\x01\x20\xd6\xae\xfb\xd2\x58"
13947 "\xc5\x9e\x42\xd1\x61\xe8\x06\x5a"
13948 "\x78\x10\x6b\xdc\xa5\xcd\x90\xfb"
13949 "\x3a\xac\x4e\x93\x86\x6c\x8a\x7f"
13950 "\x96\x76\x86\x0a\x79\x14\x5b\xd9"
13951 "\x2e\x02\xe8\x19\xa9\x0b\xe0\xb9"
13952 "\x7c\xc5\x22\xb3\x21\x06\x85\x6f"
13953 "\xdf\x0e\x54\xd8\x8e\x46\x24\x15"
13954 "\x5a\x2f\x1c\x14\xea\xea\xa1\x63"
13955 "\xf8\x58\xe9\x9a\x80\x6e\x79\x1a"
13956 "\xcd\x82\xf1\xb0\xe2\x9f\x00\x28"
13957 "\xa4\xc3\x8e\x97\x6f\x57\x1a\x93"
13958 "\xf4\xfd\x57\xd7\x87\xc2\x4d\xb0"
13959 "\xe0\x1c\xa3\x04\xe5\xa5\xc4\xdd"
13960 "\x50\xcf\x8b\xdb\xf4\x91\xe5\x7c",
13961 .len = 512,
13962 }, {
13963 .key = "\x62\x49\x77\x57\x24\x70\x93\x69"
13964 "\x99\x59\x57\x49\x66\x96\x76\x27"
13965 "\x02\x88\x41\x97\x16\x93\x99\x37"
13966 "\x51\x05\x82\x09\x74\x94\x45\x92",
13967 .klen = 32,
13968 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13969 "\x00\x00\x00\x00\x00\x00\x00\x00",
13970 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13971 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13972 "\x10\x11\x12\x13\x14\x15\x16\x17"
13973 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13974 "\x20\x21\x22\x23\x24\x25\x26\x27"
13975 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13976 "\x30\x31\x32\x33\x34\x35\x36\x37"
13977 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13978 "\x40\x41\x42\x43\x44\x45\x46\x47"
13979 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13980 "\x50\x51\x52\x53\x54\x55\x56\x57"
13981 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13982 "\x60\x61\x62\x63\x64\x65\x66\x67"
13983 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13984 "\x70\x71\x72\x73\x74\x75\x76\x77"
13985 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13986 "\x80\x81\x82\x83\x84\x85\x86\x87"
13987 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13988 "\x90\x91\x92\x93\x94\x95\x96\x97"
13989 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13990 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13991 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13992 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13993 "\xf8\xf9\xfa\xfb\xfc",
13994 .ctext = "\xa2\x9f\x9e\x4e\x71\xdb\x28\x3c"
13995 "\x80\x0e\xf6\xb7\x8e\x57\x1c\xba"
13996 "\x90\xda\x3b\x6c\x22\x00\x68\x30"
13997 "\x1d\x63\x0d\x9e\x6a\xad\x37\x55"
13998 "\xbc\x77\x1e\xc9\xad\x83\x30\xd5"
13999 "\x27\xb2\x66\x77\x18\x3c\xa6\x39"
14000 "\x9c\x0a\xaa\x1f\x02\xe1\xd5\x65"
14001 "\x9b\x8d\xc5\x97\x3d\xc5\x04\x53"
14002 "\x78\x00\xe3\xb0\x1a\x43\x4e\xb7"
14003 "\xc4\x9f\x38\xc5\x7b\xa4\x70\x64"
14004 "\x78\xe6\x32\xd9\x65\x44\xc5\x64"
14005 "\xb8\x42\x35\x99\xff\x66\x75\xb0"
14006 "\x22\xd3\x9b\x6e\x8d\xcf\x6a\x24"
14007 "\xfd\x92\xb7\x1b\x04\x28\x2a\x61"
14008 "\xdc\x96\x2a\x20\x7a\x2c\xf1\xf9"
14009 "\x12\x15\xf0\x4d\xcf\x2b\xde\x33"
14010 "\x41\xbc\xe7\x85\x87\x22\xb7\x16"
14011 "\x02\x1c\xd8\xa2\x0f\x1f\xa3\xe9"
14012 "\xd8\x45\x48\xe7\xbe\x08\x4e\x4e"
14013 "\x23\x79\x84\xdb\x40\x76\xf5\x13"
14014 "\x78\x92\x4a\x2f\xf9\x1b\xf2\x80"
14015 "\x25\x74\x51\x45\x9a\x77\x78\x97"
14016 "\xd3\xe0\xc7\xc4\x35\x67\x2a\xe6"
14017 "\xb3\x0d\x62\x9f\x8b",
14018 .len = 189,
14019 },
14020};
14021
14022static const struct aead_testvec sm4_gcm_tv_template[] = {
14023 { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.1 */
14024 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14025 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14026 .klen = 16,
14027 .iv = "\x00\x00\x12\x34\x56\x78\x00\x00"
14028 "\x00\x00\xAB\xCD",
14029 .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
14030 "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
14031 "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
14032 "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
14033 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14034 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
14035 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14036 "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
14037 .plen = 64,
14038 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14039 "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14040 "\xAB\xAD\xDA\xD2",
14041 .alen = 20,
14042 .ctext = "\x17\xF3\x99\xF0\x8C\x67\xD5\xEE"
14043 "\x19\xD0\xDC\x99\x69\xC4\xBB\x7D"
14044 "\x5F\xD4\x6F\xD3\x75\x64\x89\x06"
14045 "\x91\x57\xB2\x82\xBB\x20\x07\x35"
14046 "\xD8\x27\x10\xCA\x5C\x22\xF0\xCC"
14047 "\xFA\x7C\xBF\x93\xD4\x96\xAC\x15"
14048 "\xA5\x68\x34\xCB\xCF\x98\xC3\x97"
14049 "\xB4\x02\x4A\x26\x91\x23\x3B\x8D"
14050 "\x83\xDE\x35\x41\xE4\xC2\xB5\x81"
14051 "\x77\xE0\x65\xA9\xBF\x7B\x62\xEC",
14052 .clen = 80,
14053 }, { /* Generated from AES-GCM test vectors */
14054 .key = zeroed_string,
14055 .klen = 16,
14056 .ctext = "\x23\x2f\x0c\xfe\x30\x8b\x49\xea"
14057 "\x6f\xc8\x82\x29\xb5\xdc\x85\x8d",
14058 .clen = 16,
14059 }, {
14060 .key = zeroed_string,
14061 .klen = 16,
14062 .ptext = zeroed_string,
14063 .plen = 16,
14064 .ctext = "\x7d\xe2\xaa\x7f\x11\x10\x18\x82"
14065 "\x18\x06\x3b\xe1\xbf\xeb\x6d\x89"
14066 "\xb8\x51\xb5\xf3\x94\x93\x75\x2b"
14067 "\xe5\x08\xf1\xbb\x44\x82\xc5\x57",
14068 .clen = 32,
14069 }, {
14070 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
14071 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
14072 .klen = 16,
14073 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
14074 "\xde\xca\xf8\x88",
14075 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
14076 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
14077 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
14078 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
14079 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
14080 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
14081 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
14082 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
14083 .plen = 64,
14084 .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
14085 "\x76\x21\x6a\x33\x83\x10\x41\xeb"
14086 "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
14087 "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
14088 "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
14089 "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
14090 "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
14091 "\xe3\x63\x36\x83\x23\xf7\x5b\x80"
14092 "\x7d\xfe\x77\xef\x71\xb1\x5e\xc9"
14093 "\x52\x6b\x09\xab\x84\x28\x4b\x8a",
14094 .clen = 80,
14095 }, {
14096 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
14097 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
14098 .klen = 16,
14099 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
14100 "\xde\xca\xf8\x88",
14101 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
14102 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
14103 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
14104 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
14105 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
14106 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
14107 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
14108 "\xba\x63\x7b\x39",
14109 .plen = 60,
14110 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
14111 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
14112 "\xab\xad\xda\xd2",
14113 .alen = 20,
14114 .ctext = "\xe4\x11\x0f\xf1\xc1\x41\x97\xe6"
14115 "\x76\x21\x6a\x33\x83\x10\x41\xeb"
14116 "\x09\x58\x00\x11\x7b\xdc\x3f\x75"
14117 "\x1a\x49\x6e\xfc\xf2\xbb\xdf\xdb"
14118 "\x3a\x2e\x13\xfd\xc5\xc1\x9d\x07"
14119 "\x1a\xe5\x48\x3f\xed\xde\x98\x5d"
14120 "\x3f\x2d\x5b\x4e\xee\x0b\xb6\xdf"
14121 "\xe3\x63\x36\x83"
14122 "\x89\xf6\xba\x35\xb8\x18\xd3\xcc"
14123 "\x38\x6c\x05\xb3\x8a\xcb\xc9\xde",
14124 .clen = 76,
14125 }, {
14126 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
14127 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
14128 .klen = 16,
14129 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
14130 "\xde\xca\xf8\x88",
14131 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
14132 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
14133 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
14134 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
14135 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
14136 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
14137 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
14138 "\xba\x63\x7b\x39",
14139 .plen = 60,
14140 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
14141 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
14142 "\xab\xad\xda\xd2",
14143 .alen = 20,
14144 .ctext = "\xc1\x11\x44\x51\xd9\x25\x87\x5b"
14145 "\x0f\xd9\x06\xf3\x33\x44\xbb\x87"
14146 "\x8b\xa3\x77\xd2\x0c\x60\xfa\xcc"
14147 "\x85\x50\x6f\x96\x0c\x54\x54\xc1"
14148 "\x58\x04\x88\x6e\xf4\x26\x35\x7e"
14149 "\x94\x80\x48\x6c\xf2\xf4\x88\x1f"
14150 "\x19\x63\xea\xae\xba\x81\x1a\x5d"
14151 "\x0e\x6f\x59\x08"
14152 "\x33\xac\x5b\xa8\x19\x60\xdb\x1d"
14153 "\xdd\x2e\x22\x2e\xe0\x87\x51\x5d",
14154 .clen = 76,
14155 }, {
14156 .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
14157 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
14158 .klen = 16,
14159 .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
14160 "\xff\xff\x00\xff",
14161 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
14162 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
14163 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
14164 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
14165 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
14166 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
14167 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
14168 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
14169 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
14170 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
14171 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
14172 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
14173 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
14174 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
14175 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
14176 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
14177 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
14178 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
14179 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
14180 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
14181 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
14182 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
14183 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
14184 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
14185 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
14186 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
14187 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
14188 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
14189 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
14190 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
14191 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
14192 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
14193 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
14194 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
14195 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
14196 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
14197 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
14198 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
14199 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
14200 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
14201 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
14202 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
14203 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
14204 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
14205 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
14206 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
14207 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
14208 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
14209 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
14210 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
14211 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
14212 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
14213 "\x87\x79\x60\x38\x46\xb4\x25\x57"
14214 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
14215 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
14216 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
14217 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
14218 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
14219 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
14220 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
14221 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
14222 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
14223 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
14224 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
14225 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
14226 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
14227 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
14228 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
14229 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
14230 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
14231 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
14232 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
14233 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
14234 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
14235 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
14236 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
14237 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
14238 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
14239 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
14240 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
14241 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
14242 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
14243 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
14244 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
14245 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
14246 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
14247 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
14248 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
14249 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
14250 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
14251 .plen = 719,
14252 .ctext = "\xdc\xb1\x0f\x2a\xe8\x2d\x1c\x57"
14253 "\xc4\x82\xfa\xd6\x87\xe6\x2f\x50"
14254 "\xbd\x9e\x0a\x42\x31\xf2\xc7\xbb"
14255 "\x21\x63\xa7\x05\x43\x33\xef\x33"
14256 "\x5c\xd3\x47\x55\xce\x5c\xe4\xd4"
14257 "\xe5\x07\x62\x22\xac\x01\xa8\x35"
14258 "\x9c\x59\x34\x30\x8e\xff\x9f\xb4"
14259 "\xd2\x4e\x74\x90\x64\xf2\x78\x5e"
14260 "\x63\xb7\xc5\x08\x1b\x37\xa5\x9e"
14261 "\xc0\xde\xff\xa9\x7f\x0b\xd3\x02"
14262 "\x83\x6e\x33\xfa\x43\x11\xd3\xda"
14263 "\x02\xcf\xcd\x4a\xc0\x78\x1f\x39"
14264 "\x62\xcb\xa3\x95\x7e\x13\x92\x28"
14265 "\xb2\xc4\x7a\xba\xd1\xc6\xf6\x1f"
14266 "\xda\x0b\xf1\xd1\x99\x54\xd8\x3b"
14267 "\x16\xf8\xe6\x97\x1e\xa7\xcf\x49"
14268 "\x69\x84\x01\x4c\xdc\x7a\x34\xff"
14269 "\x01\x08\xa3\x0b\x39\xac\x21\x37"
14270 "\xd8\xb4\x04\x19\x8b\x7a\x7d\x17"
14271 "\x44\xd1\x18\xaf\x1f\xa9\x29\xfe"
14272 "\xfa\x77\xe0\x40\x42\x0c\x79\xb7"
14273 "\xc3\x15\x1b\xd9\x0c\x82\xfc\x16"
14274 "\x70\xd6\x2a\xe9\x94\x72\xc5\xa5"
14275 "\x8a\x58\xbc\xfa\xe0\x88\x39\x4a"
14276 "\x80\xe8\xec\xaf\x60\xac\xe7\xf8"
14277 "\x9c\xf0\xfc\x61\x39\x07\x98\x6b"
14278 "\x88\xe3\x98\x22\x28\x18\x4a\x2d"
14279 "\x25\xef\x10\xe3\x83\x66\x3f\xfd"
14280 "\xc7\x0b\xa3\xfd\x97\xa9\xf4\xbd"
14281 "\xd8\x2a\xee\x4a\x50\xad\xcc\xb5"
14282 "\xc7\xab\xb8\x79\x9c\xd1\xf1\x27"
14283 "\x08\xf5\xf5\xe8\x1b\x66\xce\x41"
14284 "\x56\x60\x94\x86\xf0\x78\xc2\xfa"
14285 "\x5b\x63\x40\xb1\xd1\x1a\x38\x69"
14286 "\x0b\x8c\xb2\xf5\xa2\xbe\x90\x9d"
14287 "\x46\x23\x79\x8b\x3b\x4a\xf4\xbb"
14288 "\x55\xf7\x58\x9d\xaf\x59\xff\x74"
14289 "\xf3\xb9\xc4\x26\xb1\xf8\xe1\x28"
14290 "\x8b\x5e\x8f\x6d\x64\xe7\xe8\x63"
14291 "\xd2\x9e\xcb\xee\xae\x19\x04\x1d"
14292 "\x05\xf0\x9d\x99\x7b\x33\x33\xae"
14293 "\x6e\xe5\x09\xdd\x67\x51\xc4\xc8"
14294 "\x6a\xc7\x36\x35\xc9\x93\x76\xa1"
14295 "\xa8\x1c\xfa\x75\x92\x34\x0e\x7d"
14296 "\x3d\x1d\xef\x00\xfd\xa5\x25\x12"
14297 "\x7c\x91\x21\x41\xcc\x50\x47\xa9"
14298 "\x22\x50\x24\x96\x34\x79\x3d\xe8"
14299 "\x3f\xa0\x56\xaf\x98\x53\x55\xc3"
14300 "\x46\x1b\x17\x54\xb8\xb0\xb7\xe0"
14301 "\xe0\xab\x47\x6f\x06\xda\xcc\x75"
14302 "\xa7\x96\xb7\x92\xf3\xa0\x5f\xe6"
14303 "\xba\x97\xe3\x2f\x97\x05\xb2\x99"
14304 "\xa0\x09\x10\x98\x9c\xd3\x2e\xd1"
14305 "\x7e\x2a\x30\x54\x3c\xb9\x33\xe3"
14306 "\xf2\xaf\xd3\xa5\xee\xd0\x0b\x8a"
14307 "\x19\x54\x0f\x02\x51\x1f\x91\xdf"
14308 "\x71\x9c\xad\x77\x35\x28\x55\x6d"
14309 "\xcd\x7a\xd9\xa3\x41\x98\x6b\x37"
14310 "\x19\x0f\xbe\xae\x69\xb2\x25\x01"
14311 "\xee\x0e\x51\x4b\x53\xea\x0f\x5f"
14312 "\x85\x74\x79\x36\x32\x0a\x2a\x40"
14313 "\xad\x6b\x78\x41\x54\x99\xe9\xc1"
14314 "\x2b\x6c\x9b\x42\x21\xef\xe2\x50"
14315 "\x56\x8d\x78\xdf\x58\xbe\x0a\x0f"
14316 "\xfc\xfc\x0d\x2e\xd0\xcb\xa6\x0a"
14317 "\xa8\xd9\x1e\xa9\xd4\x7c\x99\x88"
14318 "\xcf\x11\xad\x1c\xd3\x04\x63\x55"
14319 "\xef\x85\x0b\x69\xa1\x40\xf1\x75"
14320 "\x24\xf4\xe5\x2c\xd4\x7a\x24\x50"
14321 "\x8f\xa2\x71\xc9\x92\x20\xcd\xcf"
14322 "\xda\x40\xbe\xf6\xfe\x1a\xca\xc7"
14323 "\x4a\x80\x45\x55\xcb\xdd\xb7\x01"
14324 "\xb0\x8d\xcb\xd2\xae\xbd\xa4\xd0"
14325 "\x5c\x10\x05\x66\x7b\xd4\xff\xd9"
14326 "\xc4\x23\x9d\x8d\x6b\x24\xf8\x3f"
14327 "\x73\x4d\x5c\x2b\x33\x4c\x5e\x63"
14328 "\x74\x6d\x03\xa1\x7a\x35\x65\x17"
14329 "\x38\x7f\x3b\xc1\x69\xcf\x61\x34"
14330 "\x30\x21\xaf\x97\x47\x12\x3f\xa1"
14331 "\xa7\x50\xc5\x87\xfb\x3f\x70\x32"
14332 "\x86\x17\x5f\x25\xe4\x74\xc6\xd0"
14333 "\x9b\x39\xe6\xe1\x5a\xec\x8f\x40"
14334 "\xce\xcc\x37\x3b\xd8\x72\x1c\x31"
14335 "\x75\xa4\xa6\x89\x8c\xdd\xd6\xd2"
14336 "\x32\x3d\xe8\xc3\x54\xab\x1f\x35"
14337 "\x52\xb4\x94\x81\xb0\x37\x3a\x03"
14338 "\xbb\xb1\x99\x30\xa5\xf8\x21\xcd"
14339 "\x93\x5d\xa7\x13\xed\xc7\x49\x09"
14340 "\x70\xda\x08\x39\xaa\x15\x9e\x45"
14341 "\x35\x2b\x0f\x5c\x8c\x8b\xc9"
14342 "\xa8\xb8\x9f\xfd\x37\x36\x31\x7e"
14343 "\x34\x4f\xc1\xc0\xca\x8a\x22\xfd",
14344 .clen = 735,
14345 }
14346};
14347
14348static const struct aead_testvec sm4_ccm_tv_template[] = {
14349 { /* From https://datatracker.ietf.org/doc/html/rfc8998#appendix-A.2 */
14350 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
14351 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
14352 .klen = 16,
14353 .iv = "\x02\x00\x00\x12\x34\x56\x78\x00"
14354 "\x00\x00\x00\xAB\xCD\x00\x00\x00",
14355 .ptext = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
14356 "\xBB\xBB\xBB\xBB\xBB\xBB\xBB\xBB"
14357 "\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC"
14358 "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
14359 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14360 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
14361 "\xEE\xEE\xEE\xEE\xEE\xEE\xEE\xEE"
14362 "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
14363 .plen = 64,
14364 .assoc = "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14365 "\xFE\xED\xFA\xCE\xDE\xAD\xBE\xEF"
14366 "\xAB\xAD\xDA\xD2",
14367 .alen = 20,
14368 .ctext = "\x48\xAF\x93\x50\x1F\xA6\x2A\xDB"
14369 "\xCD\x41\x4C\xCE\x60\x34\xD8\x95"
14370 "\xDD\xA1\xBF\x8F\x13\x2F\x04\x20"
14371 "\x98\x66\x15\x72\xE7\x48\x30\x94"
14372 "\xFD\x12\xE5\x18\xCE\x06\x2C\x98"
14373 "\xAC\xEE\x28\xD9\x5D\xF4\x41\x6B"
14374 "\xED\x31\xA2\xF0\x44\x76\xC1\x8B"
14375 "\xB4\x0C\x84\xA7\x4B\x97\xDC\x5B"
14376 "\x16\x84\x2D\x4F\xA1\x86\xF5\x6A"
14377 "\xB3\x32\x56\x97\x1F\xA1\x10\xF4",
14378 .clen = 80,
14379 }, { /* Generated from AES-CCM test vectors */
14380 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14381 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
14382 .klen = 16,
14383 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
14384 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
14385 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
14386 .alen = 8,
14387 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14388 "\x10\x11\x12\x13\x14\x15\x16\x17"
14389 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
14390 .plen = 23,
14391 .ctext = "\x7b\xff\x4a\x15\xf5\x73\xce\x82"
14392 "\x6e\xc2\x31\x1d\xe2\x53\x02\xac"
14393 "\xa4\x48\xf9\xe4\xf5\x1f\x81\x70"
14394 "\x18\xbc\xb6\x84\x01\xb8\xae",
14395 .clen = 31,
14396 }, {
14397 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
14398 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
14399 .klen = 16,
14400 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
14401 "\x50\x20\xda\xe2\x00\x00\x00\x00",
14402 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
14403 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
14404 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
14405 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
14406 .alen = 32,
14407 .ctext = "\x23\x58\xce\xdc\x40\xb1\xcd\x92"
14408 "\x47\x96\x59\xfc\x8a\x26\x4f\xcf",
14409 .clen = 16,
14410 }, {
14411 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
14412 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
14413 .klen = 16,
14414 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
14415 "\x7f\x88\x94\x68\x00\x00\x00\x00",
14416 .alen = 0,
14417 .ptext = "\x00",
14418 .plen = 0,
14419 .ctext = "\x72\x7e\xf5\xd6\x39\x7a\x2b\x43",
14420 .clen = 8,
14421 }, {
14422 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
14423 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
14424 .klen = 16,
14425 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
14426 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
14427 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
14428 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
14429 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
14430 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
14431 .alen = 32,
14432 .ptext = "\x00",
14433 .plen = 0,
14434 .ctext = "\xb0\x9d\xc6\xfb\x7d\xb5\xa1\x0e",
14435 .clen = 8,
14436 }, {
14437 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
14438 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
14439 .klen = 16,
14440 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
14441 "\x44\x89\x40\x7b\x00\x00\x00\x00",
14442 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
14443 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
14444 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
14445 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
14446 .alen = 32,
14447 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
14448 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
14449 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
14450 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
14451 .plen = 32,
14452 .ctext = "\xc9\xae\xef\x1d\xf3\x2c\xd3\x38"
14453 "\xc9\x7f\x7e\x28\xe8\xaa\xb3\x60"
14454 "\x49\xdc\x66\xca\x7b\x3d\xe0\x3c"
14455 "\xcb\x45\x9c\x1b\xb2\xbe\x07\x90"
14456 "\x87\xa6\x6b\x89\x0d\x0f\x90\xaa"
14457 "\x7d\xf6\x5a\x9a\x68\x2b\x81\x92",
14458 .clen = 48,
14459 }, {
14460 .key = "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
14461 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
14462 .klen = 16,
14463 .iv = "\x02\xff\xff\xff\xff\x00\x00\xff"
14464 "\xff\xff\x00\xff\xff\x00\x00\x00",
14465 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
14466 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
14467 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
14468 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe"
14469 "\xc8\xf3\x5c\x52\x10\x63",
14470 .alen = 38,
14471 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
14472 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
14473 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
14474 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
14475 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
14476 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
14477 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
14478 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
14479 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
14480 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
14481 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
14482 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
14483 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
14484 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
14485 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
14486 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
14487 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
14488 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
14489 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
14490 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
14491 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
14492 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
14493 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
14494 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
14495 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
14496 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
14497 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
14498 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
14499 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
14500 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
14501 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
14502 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
14503 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
14504 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
14505 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
14506 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
14507 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
14508 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
14509 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
14510 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
14511 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
14512 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
14513 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
14514 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
14515 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
14516 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
14517 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
14518 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
14519 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
14520 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
14521 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
14522 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
14523 "\x87\x79\x60\x38\x46\xb4\x25\x57"
14524 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
14525 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
14526 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
14527 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
14528 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
14529 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
14530 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
14531 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
14532 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
14533 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
14534 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
14535 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
14536 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
14537 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
14538 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
14539 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
14540 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
14541 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
14542 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
14543 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
14544 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
14545 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
14546 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
14547 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
14548 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
14549 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
14550 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
14551 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
14552 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
14553 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
14554 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
14555 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
14556 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
14557 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
14558 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
14559 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
14560 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
14561 .plen = 719,
14562 .ctext = "\xc5\x50\x85\x02\x72\xa8\xb3\x62"
14563 "\xf9\xcd\x77\x7b\x43\xa5\x04\x70"
14564 "\x68\x40\x57\x21\x1c\xfe\xef\x05"
14565 "\x4d\xb8\x44\xba\x59\xea\x62\x32"
14566 "\xcb\x6b\x6a\x39\x9b\xf3\xe5\xa4"
14567 "\x36\x38\xde\x7d\xcf\xb6\xcd\xe3"
14568 "\x89\xbf\x37\xc9\x96\x3c\x70\x10"
14569 "\x92\x47\xcc\xac\x6f\xf8\x55\x9a"
14570 "\x26\x43\x34\xb4\x92\x7d\x68\xfc"
14571 "\x60\x37\x74\x2a\x55\xba\xc7\xd7"
14572 "\x98\x69\xb7\xcf\x42\xfd\xb2\x10"
14573 "\xa0\x59\xe1\x2c\x73\x66\x12\x97"
14574 "\x85\x8b\x28\xcc\x29\x02\x15\x89"
14575 "\x23\xd3\x32\x92\x87\x57\x09\x13"
14576 "\x04\x7e\x8b\x6c\x3a\xc1\x4e\x6c"
14577 "\xe1\x9f\xc8\xcc\x47\x9c\xd8\x10"
14578 "\xf4\xb7\x5c\x30\x7a\x8b\x0f\x01"
14579 "\x52\x38\x02\x92\x99\xac\x03\x90"
14580 "\x18\x32\x2d\x21\x6a\x0a\x2a\xe7"
14581 "\xc2\xcc\x15\x84\x4e\x2b\x0b\x3a"
14582 "\x4c\xdc\xb0\x6b\x10\xd1\x27\x10"
14583 "\xf0\x4a\x5c\x43\xa0\x34\x34\x59"
14584 "\x47\x43\x48\xcb\x69\xa7\xff\x52"
14585 "\xb8\xca\x23\x09\x07\xd7\xc5\xe4"
14586 "\x2a\x4f\x99\xd5\x83\x36\x2a\x2d"
14587 "\x59\xd0\xca\xb0\xfa\x40\x8c\xab"
14588 "\xdf\x69\x08\xd9\x79\x1d\xde\xa8"
14589 "\x0b\x34\x74\x4d\xf5\xa0\x4c\x81"
14590 "\x7f\x93\x06\x40\x24\xfe\x7d\xcd"
14591 "\xe4\xfe\xf8\xf8\x30\xce\xd0\x5d"
14592 "\x70\xfd\x0d\x5a\x78\x85\x74\x2d"
14593 "\xe4\xb5\x40\x18\x99\x11\xe4\x6a"
14594 "\xdf\xfa\x4f\x25\x2c\xde\x15\xb7"
14595 "\x12\xd8\xc6\x90\x0d\x0f\xc9\xfb"
14596 "\x21\xf1\xed\xfe\x98\xe1\x03\xe2"
14597 "\x5c\xef\xb6\xc7\x87\x77\x0e\xcd"
14598 "\xff\x78\x94\xc9\xbe\xd3\x47\xf7"
14599 "\x8d\x37\x48\x01\x42\xe2\x17\x96"
14600 "\xfc\xc0\xcb\x7b\x7b\x57\xaf\x3b"
14601 "\xc9\xd0\x94\xce\x5e\x1b\xa9\x47"
14602 "\x02\x4d\x74\xcc\x45\x1d\xd3\x2d"
14603 "\x5f\x4f\x7f\xf2\x4b\xf9\x59\xee"
14604 "\x9e\x9e\xb9\x95\x29\x19\xd1\x5f"
14605 "\x72\xab\x8d\xf1\x28\xd1\x1c\xae"
14606 "\xc2\xba\xf7\x22\x84\x2c\x83\x51"
14607 "\x03\xad\xa3\xef\x81\xa7\xdc\xf1"
14608 "\x44\x51\x50\x96\x70\xd1\xe5\x47"
14609 "\x57\xf9\x30\x90\xe4\xbf\xfc\x75"
14610 "\x14\xaa\x4d\xb7\xb1\xe7\x79\x33"
14611 "\x43\xc2\x5c\xc1\xbc\x09\x92\x0f"
14612 "\xa7\xaf\x68\x51\x51\xec\x0b\xc3"
14613 "\x3d\x2b\x94\x30\x45\x29\x1b\x9e"
14614 "\x70\x56\xf8\xd6\x67\x2d\x39\x3b"
14615 "\x3c\xd2\xd0\xd3\xdc\x7d\x84\xe9"
14616 "\x06\x31\x98\xa6\x5c\xbf\x10\x58"
14617 "\xce\xbb\xa7\xe1\x65\x7e\x51\x87"
14618 "\x70\x46\xb4\x7f\xf9\xec\x92\x1c"
14619 "\x9b\x24\x49\xc1\x04\xbe\x1c\x5f"
14620 "\xcc\xb3\x33\x8c\xad\xe7\xdc\x32"
14621 "\x54\xa2\x0d\x83\x0f\x3c\x12\x5d"
14622 "\x71\xe3\x9c\xae\x71\xa3\x2a\x10"
14623 "\xc5\x91\xb4\x73\x96\x60\xdb\x5d"
14624 "\x1f\xd5\x9a\xd2\x69\xc3\xd7\x4b"
14625 "\xa2\x66\x81\x96\x4a\xaa\x02\xd6"
14626 "\xd5\x44\x9b\x42\x3a\x15\x5f\xe7"
14627 "\x4d\x7c\xf6\x71\x4a\xea\xe8\x43"
14628 "\xd7\x68\xe4\xbc\x05\x87\x49\x05"
14629 "\x3b\x47\xb2\x6d\x5f\xd1\x11\xa6"
14630 "\x58\xd4\xa2\x45\xec\xb5\x54\x55"
14631 "\xd3\xd6\xd2\x6a\x8b\x21\x9e\x2c"
14632 "\xf1\x27\x4b\x5b\xe3\xff\xe0\xfd"
14633 "\x4b\xf1\xe7\xe2\x84\xf2\x17\x37"
14634 "\x11\x68\xc4\x92\x4b\x6b\xef\x8e"
14635 "\x75\xf5\xc2\x7d\x5c\xe9\x7c\xfc"
14636 "\x2b\x00\x33\x0e\x7d\x69\xd8\xd4"
14637 "\x9b\xa8\x38\x54\x7e\x6d\x23\x51"
14638 "\x2c\xd6\xc4\x58\x23\x1c\x22\x2a"
14639 "\x59\xc5\x9b\xec\x9d\xbf\x03\x0f"
14640 "\xb3\xdd\xba\x02\x22\xa0\x34\x37"
14641 "\x19\x56\xc2\x5b\x32\x1d\x1e\x66"
14642 "\x68\xf4\x47\x05\x04\x18\xa7\x28"
14643 "\x80\xf2\xc7\x99\xed\x1e\x72\x48"
14644 "\x8f\x97\x5d\xb3\x74\x42\xfd\x0c"
14645 "\x0f\x5f\x29\x0c\xf1\x35\x22\x90"
14646 "\xd6\x7c\xb8\xa3\x2a\x89\x38\x71"
14647 "\xe9\x7a\x55\x3c\x3b\xf2\x6e\x1a"
14648 "\x22\x8f\x07\x81\xc1\xe1\xf1\x76"
14649 "\x2a\x75\xab\x86\xc4\xcc\x52\x59"
14650 "\x83\x19\x5e\xb3\x53\xe2\x81\xdf"
14651 "\xe6\x15\xb3\xba\x0c\x0e\xba"
14652 "\xa9\x2c\xed\x51\xd5\x06\xc8\xc6"
14653 "\x4b\x9f\x5d\x1b\x61\x31\xad\xf4",
14654 .clen = 735,
14655 }
14656};
14657
14658static const struct hash_testvec sm4_cbcmac_tv_template[] = {
14659 {
14660 .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
14661 "\x77\x66\x55\x44\x33\x22\x11\x00",
14662 .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14663 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14664 .digest = "\x97\xb4\x75\x8f\x84\x92\x3d\x3f"
14665 "\x86\x81\x0e\x0e\xea\x14\x6d\x73",
14666 .psize = 16,
14667 .ksize = 16,
14668 }, {
14669 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14670 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14671 .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14672 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14673 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14674 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14675 "\xee",
14676 .digest = "\xc7\xdb\x17\x71\xa1\x5c\x0d\x22"
14677 "\xa3\x39\x3a\x31\x88\x91\x49\xa1",
14678 .psize = 33,
14679 .ksize = 16,
14680 }, {
14681 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14682 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14683 .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
14684 "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
14685 "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
14686 "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
14687 "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
14688 "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
14689 "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
14690 "\xfd\xdb\xb1\x9b\x76\x5c\x37",
14691 .digest = "\x9b\x07\x88\x7f\xd5\x95\x23\x12"
14692 "\x64\x0a\x66\x7f\x4e\x25\xca\xd0",
14693 .psize = 63,
14694 .ksize = 16,
14695 }
14696};
14697
14698static const struct hash_testvec sm4_cmac128_tv_template[] = {
14699 {
14700 .key = "\xff\xee\xdd\xcc\xbb\xaa\x99\x88"
14701 "\x77\x66\x55\x44\x33\x22\x11\x00",
14702 .plaintext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14703 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
14704 .digest = "\x00\xd4\x63\xb4\x9a\xf3\x52\xe2"
14705 "\x74\xa9\x00\x55\x13\x54\x2a\xd1",
14706 .psize = 16,
14707 .ksize = 16,
14708 }, {
14709 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14710 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14711 .plaintext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
14712 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
14713 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
14714 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
14715 "\xee",
14716 .digest = "\x8a\x8a\xe9\xc0\xc8\x97\x0e\x85"
14717 "\x21\x57\x02\x10\x1a\xbf\x9c\xc6",
14718 .psize = 33,
14719 .ksize = 16,
14720 }, {
14721 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
14722 "\xfe\xdc\xBA\x98\x76\x54\x32\x10",
14723 .plaintext = "\xfb\xd1\xbe\x92\x7e\x50\x3f\x16"
14724 "\xf9\xdd\xbe\x91\x73\x53\x37\x1a"
14725 "\xfe\xdd\xba\x97\x7e\x53\x3c\x1c"
14726 "\xfe\xd7\xbf\x9c\x75\x5f\x3e\x11"
14727 "\xf0\xd8\xbc\x96\x73\x5c\x34\x11"
14728 "\xf5\xdb\xb1\x99\x7a\x5a\x32\x1f"
14729 "\xf6\xdf\xb4\x95\x7f\x5f\x3b\x17"
14730 "\xfd\xdb\xb1\x9b\x76\x5c\x37",
14731 .digest = "\x5f\x14\xc9\xa9\x20\xb2\xb4\xf0"
14732 "\x76\xe0\xd8\xd6\xdc\x4f\xe1\xbc",
14733 .psize = 63,
14734 .ksize = 16,
14735 }
14736};
14737
14738static const struct hash_testvec sm4_xcbc128_tv_template[] = {
14739 { /* Generated from AES-XCBC128 test vectors */
14740 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14741 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14742 .plaintext = zeroed_string,
14743 .digest = "\xa9\x9a\x5c\x44\xe2\x34\xee\x2c"
14744 "\x9b\xe4\x9d\xca\x64\xb0\xa5\xc4",
14745 .psize = 0,
14746 .ksize = 16,
14747 }, {
14748 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14749 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14750 .plaintext = "\x00\x01\x02",
14751 .digest = "\x17\x27\x62\xf3\x8b\x88\x1d\xc0"
14752 "\x97\x35\x9c\x3e\x9f\x27\xb7\x83",
14753 .psize = 3,
14754 .ksize = 16,
14755 } , {
14756 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14757 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14758 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14759 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14760 .digest = "\xda\x45\xd1\xac\xec\x4d\xab\x46"
14761 "\xdd\x59\xe0\x44\xff\x59\xd5\xfc",
14762 .psize = 16,
14763 .ksize = 16,
14764 }, {
14765 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14766 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14767 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14768 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14769 "\x10\x11\x12\x13",
14770 .digest = "\xbe\x24\x5d\x81\x8c\x8a\x10\xa4"
14771 "\x8e\xc2\x16\xfa\xa4\x83\xc9\x2a",
14772 .psize = 20,
14773 .ksize = 16,
14774 }, {
14775 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14776 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14777 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14778 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14779 "\x10\x11\x12\x13\x14\x15\x16\x17"
14780 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14781 .digest = "\x91\x82\x31\x56\xd5\x77\xa4\xc5"
14782 "\x88\x2d\xce\x3a\x87\x5e\xbd\xba",
14783 .psize = 32,
14784 .ksize = 16,
14785 }, {
14786 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14787 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14788 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14789 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14790 "\x10\x11\x12\x13\x14\x15\x16\x17"
14791 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14792 "\x20\x21",
14793 .digest = "\x2a\xae\xa5\x24\x0c\x12\x9f\x5f"
14794 "\x55\xfb\xae\x35\x13\x0d\x22\x2d",
14795 .psize = 34,
14796 .ksize = 16,
14797 }
14798};
14799
14800/* Cast6 test vectors from RFC 2612 */
14801static const struct cipher_testvec cast6_tv_template[] = {
14802 {
14803 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14804 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
14805 .klen = 16,
14806 .ptext = zeroed_string,
14807 .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
14808 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
14809 .len = 16,
14810 }, {
14811 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14812 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14813 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
14814 .klen = 24,
14815 .ptext = zeroed_string,
14816 .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
14817 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
14818 .len = 16,
14819 }, {
14820 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
14821 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
14822 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
14823 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
14824 .klen = 32,
14825 .ptext = zeroed_string,
14826 .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
14827 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
14828 .len = 16,
14829 }, { /* Generated from TF test vectors */
14830 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14831 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14832 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14833 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14834 .klen = 32,
14835 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14836 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14837 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14838 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14839 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14840 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14841 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14842 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14843 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14844 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14845 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14846 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14847 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14848 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14849 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14850 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14851 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14852 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14853 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14854 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14855 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14856 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14857 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14858 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14859 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14860 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14861 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14862 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14863 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14864 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14865 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14866 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14867 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14868 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14869 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14870 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14871 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14872 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14873 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14874 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14875 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14876 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14877 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14878 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14879 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14880 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14881 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14882 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14883 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14884 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14885 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14886 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14887 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14888 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14889 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14890 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14891 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14892 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14893 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14894 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14895 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14896 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14897 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14898 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14899 .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
14900 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
14901 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
14902 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
14903 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
14904 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
14905 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
14906 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
14907 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
14908 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
14909 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
14910 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
14911 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
14912 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
14913 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
14914 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
14915 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
14916 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
14917 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
14918 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
14919 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
14920 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
14921 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
14922 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
14923 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
14924 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
14925 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
14926 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
14927 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
14928 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
14929 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
14930 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
14931 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
14932 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
14933 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
14934 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
14935 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
14936 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
14937 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
14938 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
14939 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
14940 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
14941 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
14942 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
14943 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
14944 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
14945 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
14946 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
14947 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
14948 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
14949 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
14950 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
14951 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
14952 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
14953 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
14954 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
14955 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
14956 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
14957 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
14958 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
14959 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
14960 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
14961 .len = 496,
14962 },
14963};
14964
14965static const struct cipher_testvec cast6_cbc_tv_template[] = {
14966 { /* Generated from TF test vectors */
14967 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14968 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14969 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14970 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14971 .klen = 32,
14972 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14973 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14974 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14975 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14976 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14977 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14978 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14979 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14980 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14981 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14982 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14983 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14984 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14985 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14986 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14987 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14988 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14989 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14990 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14991 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14992 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14993 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14994 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14995 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14996 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14997 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14998 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14999 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15000 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15001 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15002 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15003 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15004 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15005 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15006 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15007 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15008 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15009 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15010 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15011 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15012 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15013 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15014 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15015 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15016 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15017 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15018 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15019 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15020 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15021 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15022 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15023 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15024 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15025 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15026 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15027 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15028 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15029 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15030 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15031 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15032 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15033 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15034 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15035 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15036 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15037 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15038 .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
15039 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
15040 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
15041 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
15042 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
15043 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
15044 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
15045 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
15046 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
15047 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
15048 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
15049 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
15050 "\x23\x16\x47\x72\x81\x13\x3A\x72"
15051 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
15052 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
15053 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
15054 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
15055 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
15056 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
15057 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
15058 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
15059 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
15060 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
15061 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
15062 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
15063 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
15064 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
15065 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
15066 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
15067 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
15068 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
15069 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
15070 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
15071 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
15072 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
15073 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
15074 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
15075 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
15076 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
15077 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
15078 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
15079 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
15080 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
15081 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
15082 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
15083 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
15084 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
15085 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
15086 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
15087 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
15088 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
15089 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
15090 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
15091 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
15092 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
15093 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
15094 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
15095 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
15096 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
15097 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
15098 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
15099 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
15100 .len = 496,
15101 },
15102};
15103
15104static const struct cipher_testvec cast6_ctr_tv_template[] = {
15105 { /* Generated from TF test vectors */
15106 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15107 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15108 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15109 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15110 .klen = 32,
15111 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15112 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15113 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15114 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
15115 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15116 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15117 "\x3A",
15118 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15119 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15120 "\x57",
15121 .len = 17,
15122 }, { /* Generated from TF test vectors */
15123 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
15124 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
15125 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
15126 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
15127 .klen = 32,
15128 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15129 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
15130 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
15131 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
15132 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
15133 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
15134 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
15135 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
15136 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
15137 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
15138 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
15139 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
15140 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
15141 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
15142 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
15143 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
15144 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
15145 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
15146 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
15147 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
15148 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
15149 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
15150 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
15151 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
15152 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
15153 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
15154 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
15155 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
15156 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
15157 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
15158 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
15159 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
15160 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
15161 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
15162 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
15163 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
15164 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
15165 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
15166 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
15167 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
15168 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
15169 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
15170 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
15171 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
15172 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
15173 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
15174 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
15175 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
15176 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
15177 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
15178 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
15179 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
15180 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
15181 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
15182 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
15183 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
15184 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
15185 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
15186 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
15187 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
15188 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
15189 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
15190 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
15191 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
15192 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
15193 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
15194 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
15195 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
15196 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
15197 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
15198 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
15199 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
15200 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
15201 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
15202 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
15203 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
15204 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
15205 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
15206 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
15207 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
15208 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
15209 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
15210 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
15211 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
15212 "\x49\x61\x22\x52\x64\x8C\x46\x41"
15213 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
15214 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
15215 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
15216 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
15217 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
15218 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
15219 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
15220 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
15221 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
15222 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
15223 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
15224 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
15225 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
15226 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
15227 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
15228 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
15229 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
15230 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
15231 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
15232 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
15233 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
15234 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
15235 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
15236 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
15237 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
15238 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
15239 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
15240 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
15241 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
15242 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
15243 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
15244 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
15245 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
15246 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
15247 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
15248 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
15249 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
15250 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
15251 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
15252 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
15253 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
15254 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
15255 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
15256 .len = 496,
15257 },
15258};
15259
15260static const struct cipher_testvec cast6_lrw_tv_template[] = {
15261 { /* Generated from TF test vectors */
15262 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
15263 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
15264 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
15265 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
15266 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
15267 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
15268 .klen = 48,
15269 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
15270 "\x00\x00\x00\x00\x00\x00\x00\x01",
15271 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
15272 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
15273 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
15274 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
15275 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
15276 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
15277 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
15278 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
15279 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
15280 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
15281 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
15282 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
15283 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
15284 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
15285 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
15286 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
15287 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
15288 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
15289 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
15290 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
15291 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
15292 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
15293 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
15294 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
15295 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
15296 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
15297 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
15298 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
15299 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
15300 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
15301 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
15302 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
15303 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
15304 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
15305 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
15306 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
15307 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
15308 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
15309 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
15310 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
15311 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
15312 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
15313 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
15314 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
15315 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
15316 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
15317 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
15318 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
15319 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
15320 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
15321 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
15322 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
15323 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
15324 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
15325 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
15326 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
15327 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
15328 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
15329 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
15330 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
15331 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
15332 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
15333 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
15334 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
15335 .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
15336 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
15337 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
15338 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
15339 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
15340 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
15341 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
15342 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
15343 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
15344 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
15345 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
15346 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
15347 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
15348 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
15349 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
15350 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
15351 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
15352 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
15353 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
15354 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
15355 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
15356 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
15357 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
15358 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
15359 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
15360 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
15361 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
15362 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
15363 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
15364 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
15365 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
15366 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
15367 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
15368 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
15369 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
15370 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
15371 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
15372 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
15373 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
15374 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
15375 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
15376 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
15377 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
15378 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
15379 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
15380 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
15381 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
15382 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
15383 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
15384 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
15385 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
15386 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
15387 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
15388 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
15389 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
15390 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
15391 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
15392 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
15393 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
15394 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
15395 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
15396 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
15397 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
15398 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
15399 .len = 512,
15400 },
15401};
15402
15403static const struct cipher_testvec cast6_xts_tv_template[] = {
15404 { /* Generated from TF test vectors */
15405 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15406 "\x23\x53\x60\x28\x74\x71\x35\x26"
15407 "\x62\x49\x77\x57\x24\x70\x93\x69"
15408 "\x99\x59\x57\x49\x66\x96\x76\x27"
15409 "\x31\x41\x59\x26\x53\x58\x97\x93"
15410 "\x23\x84\x62\x64\x33\x83\x27\x95"
15411 "\x02\x88\x41\x97\x16\x93\x99\x37"
15412 "\x51\x05\x82\x09\x74\x94\x45\x92",
15413 .klen = 64,
15414 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
15415 "\x00\x00\x00\x00\x00\x00\x00\x00",
15416 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15417 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15418 "\x10\x11\x12\x13\x14\x15\x16\x17"
15419 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15420 "\x20\x21\x22\x23\x24\x25\x26\x27"
15421 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15422 "\x30\x31\x32\x33\x34\x35\x36\x37"
15423 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15424 "\x40\x41\x42\x43\x44\x45\x46\x47"
15425 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15426 "\x50\x51\x52\x53\x54\x55\x56\x57"
15427 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15428 "\x60\x61\x62\x63\x64\x65\x66\x67"
15429 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15430 "\x70\x71\x72\x73\x74\x75\x76\x77"
15431 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15432 "\x80\x81\x82\x83\x84\x85\x86\x87"
15433 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15434 "\x90\x91\x92\x93\x94\x95\x96\x97"
15435 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15436 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15437 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15438 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15439 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15440 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15441 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15442 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15443 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15444 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15445 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15446 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15447 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15448 "\x00\x01\x02\x03\x04\x05\x06\x07"
15449 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15450 "\x10\x11\x12\x13\x14\x15\x16\x17"
15451 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15452 "\x20\x21\x22\x23\x24\x25\x26\x27"
15453 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15454 "\x30\x31\x32\x33\x34\x35\x36\x37"
15455 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15456 "\x40\x41\x42\x43\x44\x45\x46\x47"
15457 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15458 "\x50\x51\x52\x53\x54\x55\x56\x57"
15459 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15460 "\x60\x61\x62\x63\x64\x65\x66\x67"
15461 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15462 "\x70\x71\x72\x73\x74\x75\x76\x77"
15463 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15464 "\x80\x81\x82\x83\x84\x85\x86\x87"
15465 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15466 "\x90\x91\x92\x93\x94\x95\x96\x97"
15467 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15468 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15469 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15470 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15471 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15472 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15473 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15474 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15475 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15476 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15477 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15478 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15479 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15480 .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15481 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15482 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15483 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15484 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15485 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15486 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15487 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15488 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15489 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15490 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15491 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15492 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15493 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15494 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15495 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15496 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15497 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15498 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15499 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15500 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15501 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15502 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15503 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15504 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15505 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15506 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15507 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15508 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15509 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15510 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15511 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15512 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15513 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15514 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15515 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15516 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15517 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15518 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15519 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15520 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15521 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15522 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15523 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15524 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15525 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15526 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15527 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15528 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15529 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15530 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15531 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15532 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15533 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15534 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15535 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15536 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15537 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15538 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15539 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15540 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15541 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15542 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15543 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15544 .len = 512,
15545 },
15546};
15547
15548/*
15549 * AES test vectors.
15550 */
15551static const struct cipher_testvec aes_tv_template[] = {
15552 { /* From FIPS-197 */
15553 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15554 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15555 .klen = 16,
15556 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
15557 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15558 .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15559 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15560 .len = 16,
15561 }, {
15562 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15563 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15564 "\x10\x11\x12\x13\x14\x15\x16\x17",
15565 .klen = 24,
15566 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
15567 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15568 .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15569 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15570 .len = 16,
15571 }, {
15572 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15573 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15574 "\x10\x11\x12\x13\x14\x15\x16\x17"
15575 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15576 .klen = 32,
15577 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
15578 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15579 .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15580 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15581 .len = 16,
15582 }, { /* Generated with Crypto++ */
15583 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15584 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15585 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15586 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15587 .klen = 32,
15588 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15589 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15590 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15591 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15592 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15593 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15594 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15595 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15596 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15597 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15598 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15599 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15600 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15601 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15602 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15603 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15604 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15605 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15606 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15607 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15608 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15609 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15610 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15611 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15612 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15613 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15614 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15615 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15616 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15617 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15618 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15619 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15620 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15621 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15622 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15623 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15624 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15625 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15626 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15627 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15628 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15629 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15630 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15631 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15632 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15633 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15634 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15635 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15636 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15637 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15638 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15639 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15640 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15641 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15642 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15643 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15644 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15645 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15646 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15647 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15648 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15649 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15650 .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15651 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15652 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15653 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15654 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15655 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15656 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15657 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15658 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15659 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15660 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15661 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15662 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15663 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15664 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15665 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15666 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15667 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15668 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15669 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15670 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15671 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15672 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15673 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15674 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15675 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15676 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15677 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15678 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15679 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15680 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15681 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15682 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15683 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15684 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15685 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15686 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15687 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15688 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15689 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15690 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15691 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15692 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15693 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15694 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15695 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15696 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15697 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15698 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15699 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15700 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15701 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15702 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15703 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15704 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15705 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15706 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15707 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15708 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15709 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15710 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15711 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15712 .len = 496,
15713 },
15714};
15715
15716static const struct cipher_testvec aes_cbc_tv_template[] = {
15717 { /* From RFC 3602 */
15718 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15719 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15720 .klen = 16,
15721 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15722 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15723 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15724 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15725 .ptext = "Single block msg",
15726 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15727 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15728 .len = 16,
15729 }, {
15730 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15731 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15732 .klen = 16,
15733 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15734 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15735 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15736 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15737 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
15738 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15739 "\x10\x11\x12\x13\x14\x15\x16\x17"
15740 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15741 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15742 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15743 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15744 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15745 .len = 32,
15746 }, { /* From NIST SP800-38A */
15747 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15748 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15749 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15750 .klen = 24,
15751 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15752 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15753 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15754 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15755 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15756 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15757 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15758 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15759 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15760 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15761 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15762 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15763 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15764 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15765 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15766 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15767 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15768 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15769 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15770 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15771 .len = 64,
15772 }, {
15773 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15774 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15775 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15776 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15777 .klen = 32,
15778 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
15779 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15780 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15781 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15782 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15783 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15784 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15785 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15786 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15787 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15788 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15789 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15790 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15791 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15792 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15793 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15794 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15795 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15796 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15797 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15798 .len = 64,
15799 }, { /* Generated with Crypto++ */
15800 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15801 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15802 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15803 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15804 .klen = 32,
15805 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15806 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15807 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15808 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15809 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15810 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15811 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15812 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15813 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15814 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15815 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15816 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15817 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15818 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15819 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15820 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15821 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15822 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15823 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15824 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15825 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15826 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15827 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15828 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15829 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15830 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15831 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15832 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15833 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15834 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15835 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15836 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15837 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15838 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15839 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15840 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15841 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15842 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15843 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15844 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15845 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15846 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15847 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15848 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15849 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15850 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15851 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15852 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15853 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15854 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15855 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15856 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15857 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15858 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15859 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15860 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15861 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15862 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15863 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15864 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15865 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15866 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15867 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15868 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15869 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15870 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15871 .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15872 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15873 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15874 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15875 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15876 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15877 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15878 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15879 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15880 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15881 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15882 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15883 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15884 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15885 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15886 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15887 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15888 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15889 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15890 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15891 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15892 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15893 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15894 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15895 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15896 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15897 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15898 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15899 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15900 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15901 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15902 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15903 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15904 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15905 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15906 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15907 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15908 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15909 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15910 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15911 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15912 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15913 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15914 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15915 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15916 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15917 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15918 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15919 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15920 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15921 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15922 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15923 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15924 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15925 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15926 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15927 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15928 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15929 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15930 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15931 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15932 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15933 .len = 496,
15934 },
15935};
15936
15937static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
15938 { /* Input data from RFC 2410 Case 1 */
15939#ifdef __LITTLE_ENDIAN
15940 .key = "\x08\x00" /* rta length */
15941 "\x01\x00" /* rta type */
15942#else
15943 .key = "\x00\x08" /* rta length */
15944 "\x00\x01" /* rta type */
15945#endif
15946 "\x00\x00\x00\x00" /* enc key length */
15947 "\x00\x00\x00\x00\x00\x00\x00\x00"
15948 "\x00\x00\x00\x00\x00\x00\x00\x00",
15949 .klen = 8 + 16 + 0,
15950 .iv = "",
15951 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
15952 .plen = 8,
15953 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15954 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
15955 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
15956 .clen = 8 + 16,
15957 }, { /* Input data from RFC 2410 Case 2 */
15958#ifdef __LITTLE_ENDIAN
15959 .key = "\x08\x00" /* rta length */
15960 "\x01\x00" /* rta type */
15961#else
15962 .key = "\x00\x08" /* rta length */
15963 "\x00\x01" /* rta type */
15964#endif
15965 "\x00\x00\x00\x00" /* enc key length */
15966 "\x00\x00\x00\x00\x00\x00\x00\x00"
15967 "\x00\x00\x00\x00\x00\x00\x00\x00",
15968 .klen = 8 + 16 + 0,
15969 .iv = "",
15970 .ptext = "Network Security People Have A Strange Sense Of Humor",
15971 .plen = 53,
15972 .ctext = "Network Security People Have A Strange Sense Of Humor"
15973 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
15974 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
15975 .clen = 53 + 16,
15976 },
15977};
15978
15979static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
15980 { /* RFC 3602 Case 1 */
15981#ifdef __LITTLE_ENDIAN
15982 .key = "\x08\x00" /* rta length */
15983 "\x01\x00" /* rta type */
15984#else
15985 .key = "\x00\x08" /* rta length */
15986 "\x00\x01" /* rta type */
15987#endif
15988 "\x00\x00\x00\x10" /* enc key length */
15989 "\x00\x00\x00\x00\x00\x00\x00\x00"
15990 "\x00\x00\x00\x00\x00\x00\x00\x00"
15991 "\x00\x00\x00\x00"
15992 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15993 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15994 .klen = 8 + 20 + 16,
15995 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15996 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15997 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15998 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15999 .alen = 16,
16000 .ptext = "Single block msg",
16001 .plen = 16,
16002 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16003 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16004 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16005 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16006 "\x03\x71\xa2\x06",
16007 .clen = 16 + 20,
16008 }, { /* RFC 3602 Case 2 */
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\x10" /* enc key length */
16017 "\x20\x21\x22\x23\x24\x25\x26\x27"
16018 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16019 "\x30\x31\x32\x33"
16020 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16021 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16022 .klen = 8 + 20 + 16,
16023 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16024 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16025 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16026 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16027 .alen = 16,
16028 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16029 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16030 "\x10\x11\x12\x13\x14\x15\x16\x17"
16031 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16032 .plen = 32,
16033 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16034 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16035 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16036 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16037 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16038 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16039 "\x65\x39\xf8\xde",
16040 .clen = 32 + 20,
16041 }, { /* RFC 3602 Case 3 */
16042#ifdef __LITTLE_ENDIAN
16043 .key = "\x08\x00" /* rta length */
16044 "\x01\x00" /* rta type */
16045#else
16046 .key = "\x00\x08" /* rta length */
16047 "\x00\x01" /* rta type */
16048#endif
16049 "\x00\x00\x00\x10" /* enc key length */
16050 "\x11\x22\x33\x44\x55\x66\x77\x88"
16051 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16052 "\x22\x33\x44\x55"
16053 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16054 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16055 .klen = 8 + 20 + 16,
16056 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16057 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16058 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16059 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16060 .alen = 16,
16061 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
16062 .plen = 48,
16063 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16064 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16065 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16066 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16067 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16068 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16069 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16070 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16071 "\x8d\x62\xf2\x1e",
16072 .clen = 48 + 20,
16073 }, { /* RFC 3602 Case 4 */
16074#ifdef __LITTLE_ENDIAN
16075 .key = "\x08\x00" /* rta length */
16076 "\x01\x00" /* rta type */
16077#else
16078 .key = "\x00\x08" /* rta length */
16079 "\x00\x01" /* rta type */
16080#endif
16081 "\x00\x00\x00\x10" /* enc key length */
16082 "\x11\x22\x33\x44\x55\x66\x77\x88"
16083 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16084 "\x22\x33\x44\x55"
16085 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16086 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16087 .klen = 8 + 20 + 16,
16088 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16089 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16090 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16091 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16092 .alen = 16,
16093 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16094 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16095 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16096 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16097 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16098 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16099 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16100 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16101 .plen = 64,
16102 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16103 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16104 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16105 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16106 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16107 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16108 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16109 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16110 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16111 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16112 "\x1d\xbe\xc6\xe9",
16113 .clen = 64 + 20,
16114 }, { /* RFC 3602 Case 5 */
16115#ifdef __LITTLE_ENDIAN
16116 .key = "\x08\x00" /* rta length */
16117 "\x01\x00" /* rta type */
16118#else
16119 .key = "\x00\x08" /* rta length */
16120 "\x00\x01" /* rta type */
16121#endif
16122 "\x00\x00\x00\x10" /* enc key length */
16123 "\x11\x22\x33\x44\x55\x66\x77\x88"
16124 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16125 "\x22\x33\x44\x55"
16126 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16127 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16128 .klen = 8 + 20 + 16,
16129 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16130 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16131 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16132 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16133 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16134 .alen = 24,
16135 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16136 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16137 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16138 "\x10\x11\x12\x13\x14\x15\x16\x17"
16139 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16140 "\x20\x21\x22\x23\x24\x25\x26\x27"
16141 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16142 "\x30\x31\x32\x33\x34\x35\x36\x37"
16143 "\x01\x02\x03\x04\x05\x06\x07\x08"
16144 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16145 .plen = 80,
16146 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16147 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16148 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16149 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16150 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16151 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16152 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16153 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16154 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16155 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16156 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16157 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16158 "\x85\xe1\x59\xf7",
16159 .clen = 80 + 20,
16160 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16161#ifdef __LITTLE_ENDIAN
16162 .key = "\x08\x00" /* rta length */
16163 "\x01\x00" /* rta type */
16164#else
16165 .key = "\x00\x08" /* rta length */
16166 "\x00\x01" /* rta type */
16167#endif
16168 "\x00\x00\x00\x18" /* enc key length */
16169 "\x11\x22\x33\x44\x55\x66\x77\x88"
16170 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16171 "\x22\x33\x44\x55"
16172 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16173 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16174 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16175 .klen = 8 + 20 + 24,
16176 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16177 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16178 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16179 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16180 .alen = 16,
16181 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16182 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16183 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16184 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16185 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16186 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16187 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16188 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16189 .plen = 64,
16190 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16191 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16192 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16193 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16194 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16195 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16196 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16197 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16198 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16199 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16200 "\x47\x4c\xfc\x36",
16201 .clen = 64 + 20,
16202 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16203#ifdef __LITTLE_ENDIAN
16204 .key = "\x08\x00" /* rta length */
16205 "\x01\x00" /* rta type */
16206#else
16207 .key = "\x00\x08" /* rta length */
16208 "\x00\x01" /* rta type */
16209#endif
16210 "\x00\x00\x00\x20" /* enc key length */
16211 "\x11\x22\x33\x44\x55\x66\x77\x88"
16212 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16213 "\x22\x33\x44\x55"
16214 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16215 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16216 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16217 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16218 .klen = 8 + 20 + 32,
16219 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16220 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16221 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16222 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16223 .alen = 16,
16224 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16225 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16226 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16227 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16228 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16229 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16230 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16231 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16232 .plen = 64,
16233 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16234 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16235 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16236 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16237 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16238 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16239 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16240 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16241 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16242 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16243 "\x51\xee\xd6\x4e",
16244 .clen = 64 + 20,
16245 },
16246};
16247
16248static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
16249 { /* Input data from RFC 2410 Case 1 */
16250#ifdef __LITTLE_ENDIAN
16251 .key = "\x08\x00" /* rta length */
16252 "\x01\x00" /* rta type */
16253#else
16254 .key = "\x00\x08" /* rta length */
16255 "\x00\x01" /* rta type */
16256#endif
16257 "\x00\x00\x00\x00" /* enc key length */
16258 "\x00\x00\x00\x00\x00\x00\x00\x00"
16259 "\x00\x00\x00\x00\x00\x00\x00\x00"
16260 "\x00\x00\x00\x00",
16261 .klen = 8 + 20 + 0,
16262 .iv = "",
16263 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16264 .plen = 8,
16265 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16266 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16267 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16268 "\x8c\x5e\xe4\x08",
16269 .clen = 8 + 20,
16270 }, { /* Input data from RFC 2410 Case 2 */
16271#ifdef __LITTLE_ENDIAN
16272 .key = "\x08\x00" /* rta length */
16273 "\x01\x00" /* rta type */
16274#else
16275 .key = "\x00\x08" /* rta length */
16276 "\x00\x01" /* rta type */
16277#endif
16278 "\x00\x00\x00\x00" /* enc key length */
16279 "\x00\x00\x00\x00\x00\x00\x00\x00"
16280 "\x00\x00\x00\x00\x00\x00\x00\x00"
16281 "\x00\x00\x00\x00",
16282 .klen = 8 + 20 + 0,
16283 .iv = "",
16284 .ptext = "Network Security People Have A Strange Sense Of Humor",
16285 .plen = 53,
16286 .ctext = "Network Security People Have A Strange Sense Of Humor"
16287 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16288 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16289 "\x91\x56\xe4\xd6",
16290 .clen = 53 + 20,
16291 },
16292};
16293
16294static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
16295 { /* RFC 3602 Case 1 */
16296#ifdef __LITTLE_ENDIAN
16297 .key = "\x08\x00" /* rta length */
16298 "\x01\x00" /* rta type */
16299#else
16300 .key = "\x00\x08" /* rta length */
16301 "\x00\x01" /* rta type */
16302#endif
16303 "\x00\x00\x00\x10" /* enc key length */
16304 "\x00\x00\x00\x00\x00\x00\x00\x00"
16305 "\x00\x00\x00\x00\x00\x00\x00\x00"
16306 "\x00\x00\x00\x00\x00\x00\x00\x00"
16307 "\x00\x00\x00\x00\x00\x00\x00\x00"
16308 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16309 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16310 .klen = 8 + 32 + 16,
16311 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16312 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16313 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16314 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16315 .alen = 16,
16316 .ptext = "Single block msg",
16317 .plen = 16,
16318 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16319 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16320 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16321 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16322 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16323 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16324 .clen = 16 + 32,
16325 }, { /* RFC 3602 Case 2 */
16326#ifdef __LITTLE_ENDIAN
16327 .key = "\x08\x00" /* rta length */
16328 "\x01\x00" /* rta type */
16329#else
16330 .key = "\x00\x08" /* rta length */
16331 "\x00\x01" /* rta type */
16332#endif
16333 "\x00\x00\x00\x10" /* enc key length */
16334 "\x20\x21\x22\x23\x24\x25\x26\x27"
16335 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16336 "\x30\x31\x32\x33\x34\x35\x36\x37"
16337 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16338 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16339 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16340 .klen = 8 + 32 + 16,
16341 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16342 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16343 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16344 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16345 .alen = 16,
16346 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16347 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16348 "\x10\x11\x12\x13\x14\x15\x16\x17"
16349 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16350 .plen = 32,
16351 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16352 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16353 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16354 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16355 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16356 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16357 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16358 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16359 .clen = 32 + 32,
16360 }, { /* RFC 3602 Case 3 */
16361#ifdef __LITTLE_ENDIAN
16362 .key = "\x08\x00" /* rta length */
16363 "\x01\x00" /* rta type */
16364#else
16365 .key = "\x00\x08" /* rta length */
16366 "\x00\x01" /* rta type */
16367#endif
16368 "\x00\x00\x00\x10" /* enc key length */
16369 "\x11\x22\x33\x44\x55\x66\x77\x88"
16370 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16371 "\x22\x33\x44\x55\x66\x77\x88\x99"
16372 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16373 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16374 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16375 .klen = 8 + 32 + 16,
16376 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16377 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16378 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16379 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16380 .alen = 16,
16381 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
16382 .plen = 48,
16383 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16384 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16385 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16386 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16387 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16388 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16389 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16390 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16391 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16392 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16393 .clen = 48 + 32,
16394 }, { /* RFC 3602 Case 4 */
16395#ifdef __LITTLE_ENDIAN
16396 .key = "\x08\x00" /* rta length */
16397 "\x01\x00" /* rta type */
16398#else
16399 .key = "\x00\x08" /* rta length */
16400 "\x00\x01" /* rta type */
16401#endif
16402 "\x00\x00\x00\x10" /* enc key length */
16403 "\x11\x22\x33\x44\x55\x66\x77\x88"
16404 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16405 "\x22\x33\x44\x55\x66\x77\x88\x99"
16406 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16407 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16408 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16409 .klen = 8 + 32 + 16,
16410 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16411 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16412 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16413 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16414 .alen = 16,
16415 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16416 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16417 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16418 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16419 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16420 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16421 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16422 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16423 .plen = 64,
16424 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16425 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16426 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16427 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16428 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16429 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16430 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16431 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16432 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16433 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16434 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16435 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16436 .clen = 64 + 32,
16437 }, { /* RFC 3602 Case 5 */
16438#ifdef __LITTLE_ENDIAN
16439 .key = "\x08\x00" /* rta length */
16440 "\x01\x00" /* rta type */
16441#else
16442 .key = "\x00\x08" /* rta length */
16443 "\x00\x01" /* rta type */
16444#endif
16445 "\x00\x00\x00\x10" /* enc key length */
16446 "\x11\x22\x33\x44\x55\x66\x77\x88"
16447 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16448 "\x22\x33\x44\x55\x66\x77\x88\x99"
16449 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16450 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16451 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16452 .klen = 8 + 32 + 16,
16453 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16454 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16455 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16456 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16457 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16458 .alen = 24,
16459 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16460 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16461 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16462 "\x10\x11\x12\x13\x14\x15\x16\x17"
16463 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16464 "\x20\x21\x22\x23\x24\x25\x26\x27"
16465 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16466 "\x30\x31\x32\x33\x34\x35\x36\x37"
16467 "\x01\x02\x03\x04\x05\x06\x07\x08"
16468 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16469 .plen = 80,
16470 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16471 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16472 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16473 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16474 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16475 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16476 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16477 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16478 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16479 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16480 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16481 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16482 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16483 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16484 .clen = 80 + 32,
16485 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16486#ifdef __LITTLE_ENDIAN
16487 .key = "\x08\x00" /* rta length */
16488 "\x01\x00" /* rta type */
16489#else
16490 .key = "\x00\x08" /* rta length */
16491 "\x00\x01" /* rta type */
16492#endif
16493 "\x00\x00\x00\x18" /* enc key length */
16494 "\x11\x22\x33\x44\x55\x66\x77\x88"
16495 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16496 "\x22\x33\x44\x55\x66\x77\x88\x99"
16497 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16498 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16499 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16500 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16501 .klen = 8 + 32 + 24,
16502 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16503 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16504 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16505 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16506 .alen = 16,
16507 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16508 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16509 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16510 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16511 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16512 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16513 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16514 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16515 .plen = 64,
16516 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16517 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16518 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16519 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16520 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16521 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16522 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16523 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16524 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16525 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16526 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16527 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16528 .clen = 64 + 32,
16529 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16530#ifdef __LITTLE_ENDIAN
16531 .key = "\x08\x00" /* rta length */
16532 "\x01\x00" /* rta type */
16533#else
16534 .key = "\x00\x08" /* rta length */
16535 "\x00\x01" /* rta type */
16536#endif
16537 "\x00\x00\x00\x20" /* enc key length */
16538 "\x11\x22\x33\x44\x55\x66\x77\x88"
16539 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16540 "\x22\x33\x44\x55\x66\x77\x88\x99"
16541 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16542 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16543 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16544 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16545 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16546 .klen = 8 + 32 + 32,
16547 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16548 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16549 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16550 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16551 .alen = 16,
16552 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16553 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16554 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16555 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16556 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16557 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16558 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16559 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16560 .plen = 64,
16561 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16562 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16563 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16564 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16565 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16566 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16567 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16568 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16569 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16570 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16571 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16572 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16573 .clen = 64 + 32,
16574 },
16575};
16576
16577static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
16578 { /* RFC 3602 Case 1 */
16579#ifdef __LITTLE_ENDIAN
16580 .key = "\x08\x00" /* rta length */
16581 "\x01\x00" /* rta type */
16582#else
16583 .key = "\x00\x08" /* rta length */
16584 "\x00\x01" /* rta type */
16585#endif
16586 "\x00\x00\x00\x10" /* enc key length */
16587 "\x00\x00\x00\x00\x00\x00\x00\x00"
16588 "\x00\x00\x00\x00\x00\x00\x00\x00"
16589 "\x00\x00\x00\x00\x00\x00\x00\x00"
16590 "\x00\x00\x00\x00\x00\x00\x00\x00"
16591 "\x00\x00\x00\x00\x00\x00\x00\x00"
16592 "\x00\x00\x00\x00\x00\x00\x00\x00"
16593 "\x00\x00\x00\x00\x00\x00\x00\x00"
16594 "\x00\x00\x00\x00\x00\x00\x00\x00"
16595 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16596 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16597 .klen = 8 + 64 + 16,
16598 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16599 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16600 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16601 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16602 .alen = 16,
16603 .ptext = "Single block msg",
16604 .plen = 16,
16605 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16606 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16607 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16608 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16609 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16610 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16611 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16612 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16613 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16614 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16615 .clen = 16 + 64,
16616 }, { /* RFC 3602 Case 2 */
16617#ifdef __LITTLE_ENDIAN
16618 .key = "\x08\x00" /* rta length */
16619 "\x01\x00" /* rta type */
16620#else
16621 .key = "\x00\x08" /* rta length */
16622 "\x00\x01" /* rta type */
16623#endif
16624 "\x00\x00\x00\x10" /* enc key length */
16625 "\x20\x21\x22\x23\x24\x25\x26\x27"
16626 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16627 "\x30\x31\x32\x33\x34\x35\x36\x37"
16628 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16629 "\x40\x41\x42\x43\x44\x45\x46\x47"
16630 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16631 "\x50\x51\x52\x53\x54\x55\x56\x57"
16632 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16633 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16634 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16635 .klen = 8 + 64 + 16,
16636 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16637 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16638 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16639 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16640 .alen = 16,
16641 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
16642 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16643 "\x10\x11\x12\x13\x14\x15\x16\x17"
16644 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16645 .plen = 32,
16646 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16647 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16648 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16649 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16650 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16651 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16652 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16653 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16654 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16655 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16656 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16657 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16658 .clen = 32 + 64,
16659 }, { /* RFC 3602 Case 3 */
16660#ifdef __LITTLE_ENDIAN
16661 .key = "\x08\x00" /* rta length */
16662 "\x01\x00" /* rta type */
16663#else
16664 .key = "\x00\x08" /* rta length */
16665 "\x00\x01" /* rta type */
16666#endif
16667 "\x00\x00\x00\x10" /* enc key length */
16668 "\x11\x22\x33\x44\x55\x66\x77\x88"
16669 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16670 "\x22\x33\x44\x55\x66\x77\x88\x99"
16671 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16672 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16673 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16674 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16675 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16676 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16677 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16678 .klen = 8 + 64 + 16,
16679 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16680 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16681 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16682 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16683 .alen = 16,
16684 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
16685 .plen = 48,
16686 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16687 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16688 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16689 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16690 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16691 "\x85\x79\x69\x5d\x83\xba\x26\x84"
16692 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
16693 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
16694 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
16695 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
16696 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
16697 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
16698 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
16699 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
16700 .clen = 48 + 64,
16701 }, { /* RFC 3602 Case 4 */
16702#ifdef __LITTLE_ENDIAN
16703 .key = "\x08\x00" /* rta length */
16704 "\x01\x00" /* rta type */
16705#else
16706 .key = "\x00\x08" /* rta length */
16707 "\x00\x01" /* rta type */
16708#endif
16709 "\x00\x00\x00\x10" /* enc key length */
16710 "\x11\x22\x33\x44\x55\x66\x77\x88"
16711 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16712 "\x22\x33\x44\x55\x66\x77\x88\x99"
16713 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16714 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16715 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16716 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16717 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16718 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16719 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16720 .klen = 8 + 64 + 16,
16721 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16722 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16723 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16724 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16725 .alen = 16,
16726 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16727 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16728 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16729 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16730 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16731 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16732 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16733 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16734 .plen = 64,
16735 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16736 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16737 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16738 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16739 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16740 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16741 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16742 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16743 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
16744 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
16745 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
16746 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
16747 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
16748 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
16749 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
16750 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
16751 .clen = 64 + 64,
16752 }, { /* RFC 3602 Case 5 */
16753#ifdef __LITTLE_ENDIAN
16754 .key = "\x08\x00" /* rta length */
16755 "\x01\x00" /* rta type */
16756#else
16757 .key = "\x00\x08" /* rta length */
16758 "\x00\x01" /* rta type */
16759#endif
16760 "\x00\x00\x00\x10" /* enc key length */
16761 "\x11\x22\x33\x44\x55\x66\x77\x88"
16762 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16763 "\x22\x33\x44\x55\x66\x77\x88\x99"
16764 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16765 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16766 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16767 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16768 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16769 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16770 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16771 .klen = 8 + 64 + 16,
16772 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16773 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16774 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16775 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16776 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16777 .alen = 24,
16778 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16779 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16780 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16781 "\x10\x11\x12\x13\x14\x15\x16\x17"
16782 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16783 "\x20\x21\x22\x23\x24\x25\x26\x27"
16784 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16785 "\x30\x31\x32\x33\x34\x35\x36\x37"
16786 "\x01\x02\x03\x04\x05\x06\x07\x08"
16787 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16788 .plen = 80,
16789 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16790 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16791 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16792 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16793 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16794 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16795 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16796 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16797 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16798 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16799 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
16800 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
16801 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
16802 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
16803 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
16804 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
16805 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
16806 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
16807 .clen = 80 + 64,
16808 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16809#ifdef __LITTLE_ENDIAN
16810 .key = "\x08\x00" /* rta length */
16811 "\x01\x00" /* rta type */
16812#else
16813 .key = "\x00\x08" /* rta length */
16814 "\x00\x01" /* rta type */
16815#endif
16816 "\x00\x00\x00\x18" /* enc key length */
16817 "\x11\x22\x33\x44\x55\x66\x77\x88"
16818 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16819 "\x22\x33\x44\x55\x66\x77\x88\x99"
16820 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16821 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16822 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16823 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16824 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16825 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16826 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16827 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16828 .klen = 8 + 64 + 24,
16829 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16830 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16831 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16832 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16833 .alen = 16,
16834 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16835 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16836 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16837 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16838 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16839 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16840 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16841 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16842 .plen = 64,
16843 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16844 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16845 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16846 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16847 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16848 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16849 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16850 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16851 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
16852 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
16853 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
16854 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
16855 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
16856 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
16857 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
16858 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
16859 .clen = 64 + 64,
16860 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16861#ifdef __LITTLE_ENDIAN
16862 .key = "\x08\x00" /* rta length */
16863 "\x01\x00" /* rta type */
16864#else
16865 .key = "\x00\x08" /* rta length */
16866 "\x00\x01" /* rta type */
16867#endif
16868 "\x00\x00\x00\x20" /* enc key length */
16869 "\x11\x22\x33\x44\x55\x66\x77\x88"
16870 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16871 "\x22\x33\x44\x55\x66\x77\x88\x99"
16872 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16873 "\x33\x44\x55\x66\x77\x88\x99\xaa"
16874 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16875 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16876 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16877 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16878 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16879 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16880 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16881 .klen = 8 + 64 + 32,
16882 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16883 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16884 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16885 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16886 .alen = 16,
16887 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16888 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16889 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16890 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16891 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16892 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16893 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16894 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16895 .plen = 64,
16896 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16897 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16898 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16899 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16900 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16901 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16902 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16903 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16904 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
16905 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
16906 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
16907 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
16908 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
16909 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
16910 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
16911 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
16912 .clen = 64 + 64,
16913 },
16914};
16915
16916static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
16917 { /*Generated with cryptopp*/
16918#ifdef __LITTLE_ENDIAN
16919 .key = "\x08\x00" /* rta length */
16920 "\x01\x00" /* rta type */
16921#else
16922 .key = "\x00\x08" /* rta length */
16923 "\x00\x01" /* rta type */
16924#endif
16925 "\x00\x00\x00\x08" /* enc key length */
16926 "\x11\x22\x33\x44\x55\x66\x77\x88"
16927 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16928 "\x22\x33\x44\x55"
16929 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
16930 .klen = 8 + 20 + 8,
16931 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16932 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16933 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16934 .alen = 16,
16935 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
16936 "\x53\x20\x63\x65\x65\x72\x73\x74"
16937 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
16938 "\x20\x79\x65\x53\x72\x63\x74\x65"
16939 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
16940 "\x79\x6e\x53\x20\x63\x65\x65\x72"
16941 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
16942 "\x6e\x61\x20\x79\x65\x53\x72\x63"
16943 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
16944 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
16945 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
16946 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
16947 "\x72\x63\x74\x65\x20\x73\x6f\x54"
16948 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
16949 "\x63\x65\x65\x72\x73\x74\x54\x20"
16950 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
16951 .plen = 128,
16952 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
16953 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
16954 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
16955 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
16956 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
16957 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
16958 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
16959 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
16960 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
16961 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
16962 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
16963 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
16964 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
16965 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
16966 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
16967 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
16968 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
16969 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
16970 "\x5c\x44\xa9\x37",
16971 .clen = 128 + 20,
16972 },
16973};
16974
16975static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
16976 { /*Generated with cryptopp*/
16977#ifdef __LITTLE_ENDIAN
16978 .key = "\x08\x00" /* rta length */
16979 "\x01\x00" /* rta type */
16980#else
16981 .key = "\x00\x08" /* rta length */
16982 "\x00\x01" /* rta type */
16983#endif
16984 "\x00\x00\x00\x08" /* enc key length */
16985 "\x11\x22\x33\x44\x55\x66\x77\x88"
16986 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16987 "\x22\x33\x44\x55\x66\x77\x88\x99"
16988 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
16989 .klen = 8 + 24 + 8,
16990 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16991 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
16992 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16993 .alen = 16,
16994 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
16995 "\x53\x20\x63\x65\x65\x72\x73\x74"
16996 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
16997 "\x20\x79\x65\x53\x72\x63\x74\x65"
16998 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
16999 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17000 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17001 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17002 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17003 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17004 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17005 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17006 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17007 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17008 "\x63\x65\x65\x72\x73\x74\x54\x20"
17009 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17010 .plen = 128,
17011 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17012 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17013 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17014 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17015 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17016 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17017 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17018 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17019 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17020 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17021 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17022 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17023 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17024 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17025 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17026 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17027 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17028 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17029 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17030 .clen = 128 + 24,
17031 },
17032};
17033
17034static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
17035 { /*Generated with cryptopp*/
17036#ifdef __LITTLE_ENDIAN
17037 .key = "\x08\x00" /* rta length */
17038 "\x01\x00" /* rta type */
17039#else
17040 .key = "\x00\x08" /* rta length */
17041 "\x00\x01" /* rta type */
17042#endif
17043 "\x00\x00\x00\x08" /* enc key length */
17044 "\x11\x22\x33\x44\x55\x66\x77\x88"
17045 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17046 "\x22\x33\x44\x55\x66\x77\x88\x99"
17047 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17048 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17049 .klen = 8 + 32 + 8,
17050 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17051 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17052 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17053 .alen = 16,
17054 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17055 "\x53\x20\x63\x65\x65\x72\x73\x74"
17056 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17057 "\x20\x79\x65\x53\x72\x63\x74\x65"
17058 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17059 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17060 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17061 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17062 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17063 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17064 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17065 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17066 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17067 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17068 "\x63\x65\x65\x72\x73\x74\x54\x20"
17069 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17070 .plen = 128,
17071 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17072 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17073 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17074 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17075 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17076 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17077 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17078 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17079 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17080 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17081 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17082 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17083 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17084 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17085 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17086 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17087 "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17088 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17089 "\xde\x63\xde\x76\x52\xde\x9f\xba"
17090 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17091 .clen = 128 + 32,
17092 },
17093};
17094
17095static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
17096 { /*Generated with cryptopp*/
17097#ifdef __LITTLE_ENDIAN
17098 .key = "\x08\x00" /* rta length */
17099 "\x01\x00" /* rta type */
17100#else
17101 .key = "\x00\x08" /* rta length */
17102 "\x00\x01" /* rta type */
17103#endif
17104 "\x00\x00\x00\x08" /* enc key length */
17105 "\x11\x22\x33\x44\x55\x66\x77\x88"
17106 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17107 "\x22\x33\x44\x55\x66\x77\x88\x99"
17108 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17109 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17110 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17111 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17112 .klen = 8 + 48 + 8,
17113 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17114 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17115 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17116 .alen = 16,
17117 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17118 "\x53\x20\x63\x65\x65\x72\x73\x74"
17119 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17120 "\x20\x79\x65\x53\x72\x63\x74\x65"
17121 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17122 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17123 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17124 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17125 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17126 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17127 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17128 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17129 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17130 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17131 "\x63\x65\x65\x72\x73\x74\x54\x20"
17132 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17133 .plen = 128,
17134 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17135 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17136 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17137 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17138 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17139 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17140 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17141 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17142 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17143 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17144 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17145 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17146 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17147 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17148 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17149 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17150 "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17151 "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17152 "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17153 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17154 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17155 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17156 .clen = 128 + 48,
17157 },
17158};
17159
17160static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
17161 { /*Generated with cryptopp*/
17162#ifdef __LITTLE_ENDIAN
17163 .key = "\x08\x00" /* rta length */
17164 "\x01\x00" /* rta type */
17165#else
17166 .key = "\x00\x08" /* rta length */
17167 "\x00\x01" /* rta type */
17168#endif
17169 "\x00\x00\x00\x08" /* enc key length */
17170 "\x11\x22\x33\x44\x55\x66\x77\x88"
17171 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17172 "\x22\x33\x44\x55\x66\x77\x88\x99"
17173 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17174 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17175 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17176 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17177 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17178 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17179 .klen = 8 + 64 + 8,
17180 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17181 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17182 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17183 .alen = 16,
17184 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17185 "\x53\x20\x63\x65\x65\x72\x73\x74"
17186 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17187 "\x20\x79\x65\x53\x72\x63\x74\x65"
17188 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17189 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17190 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17191 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17192 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17193 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17194 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17195 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17196 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17197 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17198 "\x63\x65\x65\x72\x73\x74\x54\x20"
17199 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17200 .plen = 128,
17201 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17202 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17203 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17204 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17205 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17206 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17207 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17208 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17209 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17210 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17211 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17212 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17213 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17214 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17215 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17216 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17217 "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17218 "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17219 "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17220 "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17221 "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17222 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17223 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17224 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17225 .clen = 128 + 64,
17226 },
17227};
17228
17229static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
17230 { /*Generated with cryptopp*/
17231#ifdef __LITTLE_ENDIAN
17232 .key = "\x08\x00" /* rta length */
17233 "\x01\x00" /* rta type */
17234#else
17235 .key = "\x00\x08" /* rta length */
17236 "\x00\x01" /* rta type */
17237#endif
17238 "\x00\x00\x00\x18" /* enc key length */
17239 "\x11\x22\x33\x44\x55\x66\x77\x88"
17240 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17241 "\x22\x33\x44\x55"
17242 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17243 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17244 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17245 .klen = 8 + 20 + 24,
17246 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17247 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17248 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17249 .alen = 16,
17250 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17251 "\x53\x20\x63\x65\x65\x72\x73\x74"
17252 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17253 "\x20\x79\x65\x53\x72\x63\x74\x65"
17254 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17255 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17256 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17257 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17258 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17259 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17260 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17261 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17262 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17263 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17264 "\x63\x65\x65\x72\x73\x74\x54\x20"
17265 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17266 .plen = 128,
17267 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17268 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17269 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17270 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17271 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17272 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17273 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17274 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17275 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17276 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17277 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17278 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17279 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17280 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17281 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17282 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17283 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17284 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17285 "\xd1\x60\x91\xb3",
17286 .clen = 128 + 20,
17287 },
17288};
17289
17290static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
17291 { /*Generated with cryptopp*/
17292#ifdef __LITTLE_ENDIAN
17293 .key = "\x08\x00" /* rta length */
17294 "\x01\x00" /* rta type */
17295#else
17296 .key = "\x00\x08" /* rta length */
17297 "\x00\x01" /* rta type */
17298#endif
17299 "\x00\x00\x00\x18" /* enc key length */
17300 "\x11\x22\x33\x44\x55\x66\x77\x88"
17301 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17302 "\x22\x33\x44\x55\x66\x77\x88\x99"
17303 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17304 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17305 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17306 .klen = 8 + 24 + 24,
17307 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17308 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17309 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17310 .alen = 16,
17311 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17312 "\x53\x20\x63\x65\x65\x72\x73\x74"
17313 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17314 "\x20\x79\x65\x53\x72\x63\x74\x65"
17315 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17316 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17317 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17318 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17319 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17320 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17321 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17322 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17323 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17324 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17325 "\x63\x65\x65\x72\x73\x74\x54\x20"
17326 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17327 .plen = 128,
17328 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17329 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17330 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17331 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17332 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17333 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17334 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17335 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17336 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17337 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17338 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17339 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17340 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17341 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17342 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17343 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17344 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17345 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17346 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17347 .clen = 128 + 24,
17348 },
17349};
17350
17351static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
17352 { /*Generated with cryptopp*/
17353#ifdef __LITTLE_ENDIAN
17354 .key = "\x08\x00" /* rta length */
17355 "\x01\x00" /* rta type */
17356#else
17357 .key = "\x00\x08" /* rta length */
17358 "\x00\x01" /* rta type */
17359#endif
17360 "\x00\x00\x00\x18" /* enc key length */
17361 "\x11\x22\x33\x44\x55\x66\x77\x88"
17362 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17363 "\x22\x33\x44\x55\x66\x77\x88\x99"
17364 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17365 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17366 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17367 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17368 .klen = 8 + 32 + 24,
17369 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17370 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17371 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17372 .alen = 16,
17373 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17374 "\x53\x20\x63\x65\x65\x72\x73\x74"
17375 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17376 "\x20\x79\x65\x53\x72\x63\x74\x65"
17377 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17378 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17379 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17380 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17381 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17382 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17383 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17384 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17385 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17386 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17387 "\x63\x65\x65\x72\x73\x74\x54\x20"
17388 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17389 .plen = 128,
17390 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17391 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17392 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17393 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17394 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17395 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17396 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17397 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17398 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17399 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17400 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17401 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17402 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17403 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17404 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17405 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17406 "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17407 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17408 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17409 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17410 .clen = 128 + 32,
17411 },
17412};
17413
17414static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
17415 { /*Generated with cryptopp*/
17416#ifdef __LITTLE_ENDIAN
17417 .key = "\x08\x00" /* rta length */
17418 "\x01\x00" /* rta type */
17419#else
17420 .key = "\x00\x08" /* rta length */
17421 "\x00\x01" /* rta type */
17422#endif
17423 "\x00\x00\x00\x18" /* enc key length */
17424 "\x11\x22\x33\x44\x55\x66\x77\x88"
17425 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17426 "\x22\x33\x44\x55\x66\x77\x88\x99"
17427 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17428 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17429 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17430 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17431 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17432 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17433 .klen = 8 + 48 + 24,
17434 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17435 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17436 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17437 .alen = 16,
17438 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17439 "\x53\x20\x63\x65\x65\x72\x73\x74"
17440 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17441 "\x20\x79\x65\x53\x72\x63\x74\x65"
17442 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17443 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17444 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17445 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17446 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17447 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17448 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17449 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17450 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17451 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17452 "\x63\x65\x65\x72\x73\x74\x54\x20"
17453 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17454 .plen = 128,
17455 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17456 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17457 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17458 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17459 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17460 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17461 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17462 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17463 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17464 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17465 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17466 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17467 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17468 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17469 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17470 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17471 "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17472 "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17473 "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17474 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17475 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17476 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17477 .clen = 128 + 48,
17478 },
17479};
17480
17481static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
17482 { /*Generated with cryptopp*/
17483#ifdef __LITTLE_ENDIAN
17484 .key = "\x08\x00" /* rta length */
17485 "\x01\x00" /* rta type */
17486#else
17487 .key = "\x00\x08" /* rta length */
17488 "\x00\x01" /* rta type */
17489#endif
17490 "\x00\x00\x00\x18" /* enc key length */
17491 "\x11\x22\x33\x44\x55\x66\x77\x88"
17492 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17493 "\x22\x33\x44\x55\x66\x77\x88\x99"
17494 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17495 "\x33\x44\x55\x66\x77\x88\x99\xaa"
17496 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17497 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17498 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17499 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17500 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17501 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17502 .klen = 8 + 64 + 24,
17503 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17504 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
17505 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17506 .alen = 16,
17507 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17508 "\x53\x20\x63\x65\x65\x72\x73\x74"
17509 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17510 "\x20\x79\x65\x53\x72\x63\x74\x65"
17511 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17512 "\x79\x6e\x53\x20\x63\x65\x65\x72"
17513 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17514 "\x6e\x61\x20\x79\x65\x53\x72\x63"
17515 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17516 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17517 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17518 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17519 "\x72\x63\x74\x65\x20\x73\x6f\x54"
17520 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17521 "\x63\x65\x65\x72\x73\x74\x54\x20"
17522 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17523 .plen = 128,
17524 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17525 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17526 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17527 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17528 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17529 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17530 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17531 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17532 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17533 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17534 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17535 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17536 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17537 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17538 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17539 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17540 "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17541 "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17542 "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17543 "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17544 "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17545 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17546 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17547 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17548 .clen = 128 + 64,
17549 },
17550};
17551
17552static const struct cipher_testvec aes_lrw_tv_template[] = {
17553 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17554 { /* LRW-32-AES 1 */
17555 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17556 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17557 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17558 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17559 .klen = 32,
17560 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17561 "\x00\x00\x00\x00\x00\x00\x00\x01",
17562 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17563 "\x38\x39\x41\x42\x43\x44\x45\x46",
17564 .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17565 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17566 .len = 16,
17567 }, { /* LRW-32-AES 2 */
17568 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17569 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17570 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17571 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17572 .klen = 32,
17573 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17574 "\x00\x00\x00\x00\x00\x00\x00\x02",
17575 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17576 "\x38\x39\x41\x42\x43\x44\x45\x46",
17577 .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17578 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17579 .len = 16,
17580 }, { /* LRW-32-AES 3 */
17581 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17582 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17583 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17584 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17585 .klen = 32,
17586 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17587 "\x00\x00\x00\x02\x00\x00\x00\x00",
17588 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17589 "\x38\x39\x41\x42\x43\x44\x45\x46",
17590 .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17591 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17592 .len = 16,
17593 }, { /* LRW-32-AES 4 */
17594 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17595 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17596 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17597 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17598 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17599 .klen = 40,
17600 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17601 "\x00\x00\x00\x00\x00\x00\x00\x01",
17602 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17603 "\x38\x39\x41\x42\x43\x44\x45\x46",
17604 .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17605 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17606 .len = 16,
17607 }, { /* LRW-32-AES 5 */
17608 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17609 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17610 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17611 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17612 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17613 .klen = 40,
17614 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17615 "\x00\x00\x00\x02\x00\x00\x00\x00",
17616 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17617 "\x38\x39\x41\x42\x43\x44\x45\x46",
17618 .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17619 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17620 .len = 16,
17621 }, { /* LRW-32-AES 6 */
17622 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17623 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17624 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17625 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17626 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17627 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17628 .klen = 48,
17629 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17630 "\x00\x00\x00\x00\x00\x00\x00\x01",
17631 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17632 "\x38\x39\x41\x42\x43\x44\x45\x46",
17633 .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17634 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17635 .len = 16,
17636 }, { /* LRW-32-AES 7 */
17637 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17638 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17639 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17640 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17641 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17642 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17643 .klen = 48,
17644 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17645 "\x00\x00\x00\x02\x00\x00\x00\x00",
17646 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17647 "\x38\x39\x41\x42\x43\x44\x45\x46",
17648 .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17649 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17650 .len = 16,
17651 }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
17652 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17653 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17654 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17655 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17656 .klen = 32,
17657 .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
17658 "\xff\xff\xff\xff\xff\xff\xff\xff",
17659 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
17660 "\x38\x39\x41\x42\x43\x44\x45\x46"
17661 "\x30\x31\x32\x33\x34\x35\x36\x37"
17662 "\x38\x39\x41\x42\x43\x44\x45\x46"
17663 "\x30\x31\x32\x33\x34\x35\x36\x37"
17664 "\x38\x39\x41\x42\x43\x44\x45\x46",
17665 .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
17666 "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
17667 "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
17668 "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
17669 "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17670 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17671 .len = 48,
17672 }, {
17673/* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17674 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17675 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17676 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17677 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17678 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17679 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17680 .klen = 48,
17681 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17682 "\x00\x00\x00\x00\x00\x00\x00\x01",
17683 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17684 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17685 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17686 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17687 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17688 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17689 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17690 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17691 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17692 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17693 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17694 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17695 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17696 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17697 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17698 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17699 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17700 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17701 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17702 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17703 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17704 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17705 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17706 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17707 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17708 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17709 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17710 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17711 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17712 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17713 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17714 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17715 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17716 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17717 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17718 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17719 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17720 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17721 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17722 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17723 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17724 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17725 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17726 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17727 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17728 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17729 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17730 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17731 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17732 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17733 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17734 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17735 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17736 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17737 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17738 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17739 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17740 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17741 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17742 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17743 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17744 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17745 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17746 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17747 .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17748 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17749 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17750 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17751 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17752 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17753 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17754 "\xe8\x58\x46\x97\x39\x51\x07\xde"
17755 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17756 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17757 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17758 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17759 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17760 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17761 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17762 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17763 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17764 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17765 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17766 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17767 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17768 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17769 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17770 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17771 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17772 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17773 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17774 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17775 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17776 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17777 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17778 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17779 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17780 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17781 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17782 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17783 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
17784 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
17785 "\xb8\x79\x78\x97\x94\xff\x72\x13"
17786 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
17787 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
17788 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
17789 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
17790 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
17791 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
17792 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
17793 "\x1e\x86\x53\x11\x53\x94\x00\xee"
17794 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
17795 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
17796 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
17797 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
17798 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
17799 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
17800 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
17801 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
17802 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
17803 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
17804 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
17805 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
17806 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
17807 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
17808 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
17809 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
17810 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
17811 .len = 512,
17812 }
17813};
17814
17815static const struct cipher_testvec aes_xts_tv_template[] = {
17816 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
17817 { /* XTS-AES 1 */
17818 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
17819 "\x00\x00\x00\x00\x00\x00\x00\x00"
17820 "\x00\x00\x00\x00\x00\x00\x00\x00"
17821 "\x00\x00\x00\x00\x00\x00\x00\x00",
17822 .klen = 32,
17823 .fips_skip = 1,
17824 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17825 "\x00\x00\x00\x00\x00\x00\x00\x00",
17826 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
17827 "\x00\x00\x00\x00\x00\x00\x00\x00"
17828 "\x00\x00\x00\x00\x00\x00\x00\x00"
17829 "\x00\x00\x00\x00\x00\x00\x00\x00",
17830 .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
17831 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
17832 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
17833 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
17834 .len = 32,
17835 }, { /* XTS-AES 2 */
17836 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
17837 "\x11\x11\x11\x11\x11\x11\x11\x11"
17838 "\x22\x22\x22\x22\x22\x22\x22\x22"
17839 "\x22\x22\x22\x22\x22\x22\x22\x22",
17840 .klen = 32,
17841 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
17842 "\x00\x00\x00\x00\x00\x00\x00\x00",
17843 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
17844 "\x44\x44\x44\x44\x44\x44\x44\x44"
17845 "\x44\x44\x44\x44\x44\x44\x44\x44"
17846 "\x44\x44\x44\x44\x44\x44\x44\x44",
17847 .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
17848 "\x39\x33\x40\x38\xac\xef\x83\x8b"
17849 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
17850 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
17851 .len = 32,
17852 }, { /* XTS-AES 3 */
17853 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
17854 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
17855 "\x22\x22\x22\x22\x22\x22\x22\x22"
17856 "\x22\x22\x22\x22\x22\x22\x22\x22",
17857 .klen = 32,
17858 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
17859 "\x00\x00\x00\x00\x00\x00\x00\x00",
17860 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
17861 "\x44\x44\x44\x44\x44\x44\x44\x44"
17862 "\x44\x44\x44\x44\x44\x44\x44\x44"
17863 "\x44\x44\x44\x44\x44\x44\x44\x44",
17864 .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
17865 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
17866 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
17867 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
17868 .len = 32,
17869 }, { /* XTS-AES 4 */
17870 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
17871 "\x23\x53\x60\x28\x74\x71\x35\x26"
17872 "\x31\x41\x59\x26\x53\x58\x97\x93"
17873 "\x23\x84\x62\x64\x33\x83\x27\x95",
17874 .klen = 32,
17875 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
17876 "\x00\x00\x00\x00\x00\x00\x00\x00",
17877 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
17878 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17879 "\x10\x11\x12\x13\x14\x15\x16\x17"
17880 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17881 "\x20\x21\x22\x23\x24\x25\x26\x27"
17882 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17883 "\x30\x31\x32\x33\x34\x35\x36\x37"
17884 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17885 "\x40\x41\x42\x43\x44\x45\x46\x47"
17886 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17887 "\x50\x51\x52\x53\x54\x55\x56\x57"
17888 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17889 "\x60\x61\x62\x63\x64\x65\x66\x67"
17890 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
17891 "\x70\x71\x72\x73\x74\x75\x76\x77"
17892 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
17893 "\x80\x81\x82\x83\x84\x85\x86\x87"
17894 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
17895 "\x90\x91\x92\x93\x94\x95\x96\x97"
17896 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
17897 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17898 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17899 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17900 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17901 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17902 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17903 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17904 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
17905 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
17906 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
17907 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
17908 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
17909 "\x00\x01\x02\x03\x04\x05\x06\x07"
17910 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17911 "\x10\x11\x12\x13\x14\x15\x16\x17"
17912 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17913 "\x20\x21\x22\x23\x24\x25\x26\x27"
17914 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
17915 "\x30\x31\x32\x33\x34\x35\x36\x37"
17916 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
17917 "\x40\x41\x42\x43\x44\x45\x46\x47"
17918 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
17919 "\x50\x51\x52\x53\x54\x55\x56\x57"
17920 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
17921 "\x60\x61\x62\x63\x64\x65\x66\x67"
17922 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
17923 "\x70\x71\x72\x73\x74\x75\x76\x77"
17924 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
17925 "\x80\x81\x82\x83\x84\x85\x86\x87"
17926 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
17927 "\x90\x91\x92\x93\x94\x95\x96\x97"
17928 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
17929 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
17930 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
17931 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
17932 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
17933 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17934 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
17935 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
17936 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
17937 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
17938 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
17939 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
17940 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
17941 .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
17942 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
17943 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
17944 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
17945 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
17946 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
17947 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
17948 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
17949 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
17950 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
17951 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
17952 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
17953 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
17954 "\x22\x97\x61\x46\xae\x20\xce\x84"
17955 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
17956 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
17957 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
17958 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
17959 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
17960 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
17961 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
17962 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
17963 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
17964 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
17965 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
17966 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
17967 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
17968 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
17969 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
17970 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
17971 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
17972 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
17973 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
17974 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
17975 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
17976 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
17977 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
17978 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
17979 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
17980 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
17981 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
17982 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
17983 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
17984 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
17985 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
17986 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
17987 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
17988 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
17989 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
17990 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
17991 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
17992 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
17993 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
17994 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
17995 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
17996 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
17997 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
17998 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
17999 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18000 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18001 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18002 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18003 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18004 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18005 .len = 512,
18006 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18007 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
18008 "\x23\x53\x60\x28\x74\x71\x35\x26"
18009 "\x62\x49\x77\x57\x24\x70\x93\x69"
18010 "\x99\x59\x57\x49\x66\x96\x76\x27"
18011 "\x31\x41\x59\x26\x53\x58\x97\x93"
18012 "\x23\x84\x62\x64\x33\x83\x27\x95"
18013 "\x02\x88\x41\x97\x16\x93\x99\x37"
18014 "\x51\x05\x82\x09\x74\x94\x45\x92",
18015 .klen = 64,
18016 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
18017 "\x00\x00\x00\x00\x00\x00\x00\x00",
18018 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18019 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18020 "\x10\x11\x12\x13\x14\x15\x16\x17"
18021 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18022 "\x20\x21\x22\x23\x24\x25\x26\x27"
18023 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18024 "\x30\x31\x32\x33\x34\x35\x36\x37"
18025 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18026 "\x40\x41\x42\x43\x44\x45\x46\x47"
18027 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18028 "\x50\x51\x52\x53\x54\x55\x56\x57"
18029 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18030 "\x60\x61\x62\x63\x64\x65\x66\x67"
18031 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18032 "\x70\x71\x72\x73\x74\x75\x76\x77"
18033 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18034 "\x80\x81\x82\x83\x84\x85\x86\x87"
18035 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18036 "\x90\x91\x92\x93\x94\x95\x96\x97"
18037 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18038 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18039 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18040 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18041 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18042 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18043 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18044 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18045 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18046 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18047 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18048 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18049 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18050 "\x00\x01\x02\x03\x04\x05\x06\x07"
18051 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18052 "\x10\x11\x12\x13\x14\x15\x16\x17"
18053 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18054 "\x20\x21\x22\x23\x24\x25\x26\x27"
18055 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18056 "\x30\x31\x32\x33\x34\x35\x36\x37"
18057 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18058 "\x40\x41\x42\x43\x44\x45\x46\x47"
18059 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18060 "\x50\x51\x52\x53\x54\x55\x56\x57"
18061 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18062 "\x60\x61\x62\x63\x64\x65\x66\x67"
18063 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18064 "\x70\x71\x72\x73\x74\x75\x76\x77"
18065 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18066 "\x80\x81\x82\x83\x84\x85\x86\x87"
18067 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18068 "\x90\x91\x92\x93\x94\x95\x96\x97"
18069 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18070 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18071 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18072 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18073 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18074 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18075 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18076 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18077 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18078 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18079 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18080 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18081 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18082 .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18083 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18084 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18085 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18086 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18087 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18088 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18089 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18090 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18091 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18092 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18093 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18094 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18095 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18096 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18097 "\x00\x02\x08\x87\x89\x14\x29\xca"
18098 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18099 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18100 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18101 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18102 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18103 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18104 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18105 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18106 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18107 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18108 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18109 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18110 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18111 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18112 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18113 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18114 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18115 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18116 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18117 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18118 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18119 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18120 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18121 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18122 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18123 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18124 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18125 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18126 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18127 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18128 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18129 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18130 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18131 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18132 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18133 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18134 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18135 "\x94\x30\x54\xff\x84\x01\x14\x93"
18136 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18137 "\x53\x76\x44\x1a\x77\xed\x43\x85"
18138 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18139 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18140 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18141 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18142 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18143 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18144 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18145 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18146 .len = 512,
18147 }
18148};
18149
18150static const struct cipher_testvec aes_ctr_tv_template[] = {
18151 { /* From NIST Special Publication 800-38A, Appendix F.5 */
18152 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18153 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18154 .klen = 16,
18155 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18156 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18157 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18158 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18159 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18160 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18161 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18162 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18163 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18164 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18165 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18166 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18167 .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18168 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18169 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18170 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18171 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18172 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18173 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18174 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18175 .len = 64,
18176 }, {
18177 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18178 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18179 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18180 .klen = 24,
18181 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18182 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18183 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18184 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18185 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18186 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18187 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18188 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18189 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18190 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18191 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18192 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18193 .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
18194 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
18195 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
18196 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
18197 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
18198 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
18199 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
18200 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
18201 .len = 64,
18202 }, {
18203 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18204 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18205 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18206 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18207 .klen = 32,
18208 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18209 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18210 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18211 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
18212 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18213 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18214 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18215 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18216 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18217 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18218 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18219 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18220 .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
18221 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
18222 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
18223 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
18224 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
18225 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
18226 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
18227 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
18228 .len = 64,
18229 }, { /* Generated with Crypto++ */
18230 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18231 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18232 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18233 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18234 .klen = 32,
18235 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
18236 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
18237 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
18238 "\x00\x00\x00\x00\x00\x00\x00\x1C",
18239 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18240 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18241 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18242 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18243 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18244 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18245 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18246 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
18247 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
18248 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
18249 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
18250 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
18251 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
18252 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
18253 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
18254 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
18255 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
18256 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
18257 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
18258 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
18259 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
18260 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
18261 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
18262 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
18263 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
18264 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
18265 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
18266 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
18267 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
18268 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
18269 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
18270 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
18271 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
18272 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
18273 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
18274 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
18275 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
18276 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
18277 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
18278 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
18279 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
18280 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
18281 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
18282 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
18283 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
18284 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
18285 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
18286 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
18287 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
18288 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
18289 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
18290 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
18291 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
18292 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
18293 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
18294 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
18295 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
18296 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
18297 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
18298 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
18299 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
18300 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
18301 .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
18302 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
18303 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
18304 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
18305 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
18306 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
18307 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
18308 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
18309 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
18310 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
18311 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
18312 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
18313 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
18314 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
18315 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
18316 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
18317 "\x34\x4B\x31\x69\x84\x66\x96\x44"
18318 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
18319 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
18320 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
18321 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
18322 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
18323 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
18324 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
18325 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
18326 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
18327 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
18328 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
18329 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
18330 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
18331 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
18332 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
18333 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
18334 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
18335 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
18336 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
18337 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
18338 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
18339 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
18340 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
18341 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
18342 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
18343 "\x85\x99\x22\xE8\x91\x38\x70\x83"
18344 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
18345 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
18346 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
18347 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
18348 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
18349 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
18350 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
18351 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
18352 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
18353 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
18354 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
18355 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
18356 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
18357 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
18358 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
18359 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
18360 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
18361 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
18362 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
18363 .len = 496,
18364 }, { /* Generated with Crypto++ */
18365 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18366 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18367 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18368 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18369 .klen = 32,
18370 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
18371 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
18372 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
18373 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
18374 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18375 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18376 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18377 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18378 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18379 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18380 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18381 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
18382 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
18383 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
18384 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
18385 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
18386 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
18387 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
18388 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
18389 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
18390 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
18391 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
18392 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
18393 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
18394 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
18395 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
18396 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
18397 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
18398 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
18399 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
18400 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
18401 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
18402 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
18403 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
18404 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
18405 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
18406 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
18407 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
18408 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
18409 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
18410 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
18411 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
18412 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
18413 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
18414 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
18415 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
18416 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
18417 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
18418 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
18419 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
18420 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
18421 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
18422 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
18423 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
18424 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
18425 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
18426 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
18427 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
18428 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
18429 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
18430 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
18431 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
18432 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
18433 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
18434 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
18435 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
18436 "\x7B\xE4\x4D",
18437 .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
18438 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
18439 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
18440 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
18441 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
18442 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
18443 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
18444 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
18445 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
18446 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
18447 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
18448 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
18449 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
18450 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
18451 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
18452 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
18453 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
18454 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
18455 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
18456 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
18457 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
18458 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
18459 "\x45\x18\x18\x74\x19\xAD\x71\x01"
18460 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
18461 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
18462 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
18463 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
18464 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
18465 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
18466 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
18467 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
18468 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
18469 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
18470 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
18471 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
18472 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
18473 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
18474 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
18475 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
18476 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
18477 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
18478 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
18479 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
18480 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
18481 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
18482 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
18483 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
18484 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
18485 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
18486 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
18487 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
18488 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
18489 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
18490 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
18491 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
18492 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
18493 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
18494 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
18495 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
18496 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
18497 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
18498 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
18499 "\xFB\xF2\x3F",
18500 .len = 499,
18501 },
18502};
18503
18504static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
18505 { /* From RFC 3686 */
18506 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
18507 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
18508 "\x00\x00\x00\x30",
18509 .klen = 20,
18510 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
18511 .ptext = "Single block msg",
18512 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
18513 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
18514 .len = 16,
18515 }, {
18516 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
18517 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
18518 "\x00\x6c\xb6\xdb",
18519 .klen = 20,
18520 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
18521 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18522 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18523 "\x10\x11\x12\x13\x14\x15\x16\x17"
18524 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18525 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
18526 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
18527 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
18528 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
18529 .len = 32,
18530 }, {
18531 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
18532 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
18533 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
18534 "\x00\x00\x00\x48",
18535 .klen = 28,
18536 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
18537 .ptext = "Single block msg",
18538 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
18539 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
18540 .len = 16,
18541 }, {
18542 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
18543 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
18544 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
18545 "\x00\x96\xb0\x3b",
18546 .klen = 28,
18547 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
18548 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18549 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18550 "\x10\x11\x12\x13\x14\x15\x16\x17"
18551 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18552 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
18553 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
18554 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
18555 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
18556 .len = 32,
18557 }, {
18558 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
18559 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
18560 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
18561 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
18562 "\x00\x00\x00\x60",
18563 .klen = 36,
18564 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
18565 .ptext = "Single block msg",
18566 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
18567 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
18568 .len = 16,
18569 }, {
18570 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
18571 "\x07\x96\x36\x58\x79\xef\xf8\x86"
18572 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
18573 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
18574 "\x00\xfa\xac\x24",
18575 .klen = 36,
18576 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
18577 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18578 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18579 "\x10\x11\x12\x13\x14\x15\x16\x17"
18580 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
18581 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
18582 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
18583 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
18584 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
18585 .len = 32,
18586 }, {
18587 // generated using Crypto++
18588 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18589 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18590 "\x10\x11\x12\x13\x14\x15\x16\x17"
18591 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18592 "\x00\x00\x00\x00",
18593 .klen = 32 + 4,
18594 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
18595 .ptext =
18596 "\x00\x01\x02\x03\x04\x05\x06\x07"
18597 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18598 "\x10\x11\x12\x13\x14\x15\x16\x17"
18599 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18600 "\x20\x21\x22\x23\x24\x25\x26\x27"
18601 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18602 "\x30\x31\x32\x33\x34\x35\x36\x37"
18603 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18604 "\x40\x41\x42\x43\x44\x45\x46\x47"
18605 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18606 "\x50\x51\x52\x53\x54\x55\x56\x57"
18607 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18608 "\x60\x61\x62\x63\x64\x65\x66\x67"
18609 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18610 "\x70\x71\x72\x73\x74\x75\x76\x77"
18611 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18612 "\x80\x81\x82\x83\x84\x85\x86\x87"
18613 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18614 "\x90\x91\x92\x93\x94\x95\x96\x97"
18615 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18616 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18617 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18618 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18619 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18620 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18621 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18622 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18623 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18624 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18625 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18626 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18627 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18628 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
18629 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
18630 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
18631 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
18632 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
18633 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
18634 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
18635 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
18636 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
18637 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
18638 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
18639 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
18640 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
18641 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
18642 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
18643 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
18644 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
18645 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
18646 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
18647 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
18648 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
18649 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
18650 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
18651 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
18652 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
18653 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
18654 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
18655 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
18656 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
18657 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
18658 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
18659 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
18660 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
18661 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
18662 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
18663 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
18664 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
18665 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
18666 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
18667 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
18668 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
18669 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
18670 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
18671 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
18672 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
18673 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
18674 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
18675 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
18676 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
18677 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
18678 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
18679 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
18680 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
18681 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
18682 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
18683 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
18684 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
18685 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
18686 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
18687 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
18688 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
18689 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
18690 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
18691 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
18692 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
18693 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
18694 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
18695 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
18696 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
18697 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
18698 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
18699 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
18700 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
18701 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
18702 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
18703 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
18704 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
18705 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
18706 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
18707 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
18708 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
18709 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
18710 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
18711 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
18712 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
18713 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
18714 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
18715 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
18716 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
18717 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
18718 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
18719 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
18720 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
18721 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
18722 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
18723 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
18724 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
18725 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
18726 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
18727 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
18728 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
18729 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
18730 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
18731 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
18732 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
18733 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
18734 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
18735 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
18736 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
18737 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
18738 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
18739 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
18740 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
18741 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
18742 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
18743 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
18744 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
18745 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
18746 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
18747 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
18748 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
18749 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
18750 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
18751 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
18752 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
18753 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
18754 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
18755 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
18756 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
18757 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
18758 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
18759 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
18760 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
18761 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
18762 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
18763 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
18764 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
18765 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
18766 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
18767 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
18768 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
18769 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
18770 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
18771 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
18772 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
18773 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
18774 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
18775 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
18776 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
18777 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
18778 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
18779 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
18780 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
18781 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
18782 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
18783 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
18784 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
18785 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
18786 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
18787 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
18788 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
18789 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
18790 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
18791 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
18792 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
18793 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
18794 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
18795 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
18796 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
18797 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
18798 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
18799 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
18800 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
18801 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
18802 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
18803 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
18804 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
18805 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
18806 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
18807 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
18808 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
18809 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
18810 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
18811 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
18812 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
18813 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
18814 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
18815 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
18816 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
18817 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
18818 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
18819 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
18820 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
18821 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
18822 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
18823 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
18824 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
18825 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
18826 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
18827 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
18828 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
18829 "\x38\x47\x56\x65\x74\x83\x92\xa1"
18830 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
18831 "\x28\x37\x46\x55\x64\x73\x82\x91"
18832 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
18833 "\x18\x27\x36\x45\x54\x63\x72\x81"
18834 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
18835 "\x08\x17\x26\x35\x44\x53\x62\x71"
18836 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
18837 "\xf8\x07\x16\x25\x34\x43\x52\x61"
18838 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
18839 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
18840 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
18841 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
18842 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
18843 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
18844 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
18845 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
18846 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
18847 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
18848 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
18849 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
18850 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
18851 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
18852 "\x00\x11\x22\x33\x44\x55\x66\x77"
18853 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
18854 "\x10\x21\x32\x43\x54\x65\x76\x87"
18855 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
18856 "\x20\x31\x42\x53\x64\x75\x86\x97"
18857 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
18858 "\x30\x41\x52\x63\x74\x85\x96\xa7"
18859 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
18860 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
18861 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
18862 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
18863 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
18864 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
18865 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
18866 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
18867 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
18868 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
18869 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
18870 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
18871 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
18872 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
18873 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
18874 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
18875 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
18876 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
18877 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
18878 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
18879 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
18880 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
18881 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
18882 "\xf0\x01\x12\x23\x34\x45\x56\x67"
18883 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
18884 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
18885 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
18886 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
18887 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
18888 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
18889 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
18890 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
18891 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
18892 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
18893 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
18894 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
18895 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
18896 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
18897 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
18898 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
18899 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
18900 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
18901 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
18902 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
18903 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
18904 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
18905 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
18906 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
18907 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
18908 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
18909 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
18910 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
18911 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
18912 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
18913 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
18914 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
18915 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
18916 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
18917 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
18918 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
18919 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
18920 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
18921 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
18922 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
18923 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
18924 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
18925 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
18926 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
18927 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
18928 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
18929 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
18930 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
18931 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
18932 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
18933 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
18934 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
18935 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
18936 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
18937 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
18938 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
18939 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
18940 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
18941 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
18942 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
18943 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
18944 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
18945 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
18946 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
18947 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
18948 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
18949 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
18950 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
18951 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
18952 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
18953 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
18954 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
18955 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
18956 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
18957 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
18958 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
18959 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
18960 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
18961 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
18962 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
18963 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
18964 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
18965 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
18966 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
18967 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
18968 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
18969 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
18970 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
18971 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
18972 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
18973 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
18974 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
18975 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
18976 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
18977 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
18978 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
18979 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
18980 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
18981 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
18982 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
18983 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
18984 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
18985 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
18986 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
18987 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
18988 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
18989 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
18990 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
18991 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
18992 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
18993 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
18994 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
18995 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
18996 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
18997 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
18998 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
18999 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
19000 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
19001 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
19002 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
19003 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
19004 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
19005 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
19006 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
19007 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
19008 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
19009 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
19010 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
19011 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
19012 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
19013 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
19014 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
19015 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
19016 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
19017 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
19018 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
19019 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
19020 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
19021 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
19022 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
19023 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
19024 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
19025 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
19026 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
19027 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
19028 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
19029 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
19030 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
19031 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
19032 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
19033 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
19034 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
19035 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
19036 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
19037 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
19038 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
19039 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
19040 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
19041 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
19042 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
19043 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
19044 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
19045 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
19046 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
19047 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
19048 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
19049 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
19050 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
19051 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
19052 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
19053 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
19054 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
19055 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
19056 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
19057 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
19058 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
19059 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
19060 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
19061 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
19062 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
19063 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
19064 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
19065 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
19066 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
19067 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
19068 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
19069 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
19070 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
19071 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
19072 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
19073 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
19074 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
19075 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
19076 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
19077 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
19078 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
19079 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
19080 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
19081 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
19082 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
19083 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
19084 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
19085 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
19086 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
19087 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
19088 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
19089 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
19090 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
19091 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
19092 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
19093 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
19094 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
19095 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
19096 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
19097 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
19098 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
19099 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
19100 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
19101 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
19102 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
19103 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
19104 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
19105 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
19106 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
19107 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
19108 "\x00\x21\x42\x63",
19109 .ctext =
19110 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
19111 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
19112 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
19113 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
19114 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
19115 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
19116 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
19117 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
19118 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
19119 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
19120 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
19121 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
19122 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
19123 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
19124 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
19125 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
19126 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
19127 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
19128 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
19129 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
19130 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
19131 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
19132 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
19133 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
19134 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
19135 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
19136 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
19137 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
19138 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
19139 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
19140 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
19141 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
19142 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
19143 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
19144 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
19145 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
19146 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
19147 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
19148 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
19149 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
19150 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
19151 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
19152 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
19153 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
19154 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
19155 "\x04\x02\xef\xd3\x44\xde\x76\x31"
19156 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
19157 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
19158 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
19159 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
19160 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
19161 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
19162 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
19163 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
19164 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
19165 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
19166 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
19167 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
19168 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
19169 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
19170 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
19171 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
19172 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
19173 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
19174 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
19175 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
19176 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
19177 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
19178 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
19179 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
19180 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
19181 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
19182 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
19183 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
19184 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
19185 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
19186 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
19187 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
19188 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
19189 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
19190 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
19191 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
19192 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
19193 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
19194 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
19195 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
19196 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
19197 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
19198 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
19199 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
19200 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
19201 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
19202 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
19203 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
19204 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
19205 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
19206 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
19207 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
19208 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
19209 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
19210 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
19211 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
19212 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
19213 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
19214 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
19215 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
19216 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
19217 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
19218 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
19219 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
19220 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
19221 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
19222 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
19223 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
19224 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
19225 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
19226 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
19227 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
19228 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
19229 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
19230 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
19231 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
19232 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
19233 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
19234 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
19235 "\x26\x39\x83\x94\xef\x27\xd8\x53"
19236 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
19237 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
19238 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
19239 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
19240 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
19241 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
19242 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
19243 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
19244 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
19245 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
19246 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
19247 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
19248 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
19249 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
19250 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
19251 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
19252 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
19253 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
19254 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
19255 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
19256 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
19257 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
19258 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
19259 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
19260 "\x35\x12\xe3\x36\x28\x27\x36\x58"
19261 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
19262 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
19263 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
19264 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
19265 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
19266 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
19267 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
19268 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
19269 "\x89\xf3\x78\x35\x44\x62\x78\x72"
19270 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
19271 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
19272 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
19273 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
19274 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
19275 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
19276 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
19277 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
19278 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
19279 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
19280 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
19281 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
19282 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
19283 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
19284 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
19285 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
19286 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
19287 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
19288 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
19289 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
19290 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
19291 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
19292 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
19293 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
19294 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
19295 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
19296 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
19297 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
19298 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
19299 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
19300 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
19301 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
19302 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
19303 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
19304 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
19305 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
19306 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
19307 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
19308 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
19309 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
19310 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
19311 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
19312 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
19313 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
19314 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
19315 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
19316 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
19317 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
19318 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
19319 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
19320 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
19321 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
19322 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
19323 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
19324 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
19325 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
19326 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
19327 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
19328 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
19329 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
19330 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
19331 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
19332 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
19333 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
19334 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
19335 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
19336 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
19337 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
19338 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
19339 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
19340 "\x29\x90\x46\x30\x92\x69\x7d\x13"
19341 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
19342 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
19343 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
19344 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
19345 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
19346 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
19347 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
19348 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
19349 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
19350 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
19351 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
19352 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
19353 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
19354 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
19355 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
19356 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
19357 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
19358 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
19359 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
19360 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
19361 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
19362 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
19363 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
19364 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
19365 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
19366 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
19367 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
19368 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
19369 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
19370 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
19371 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
19372 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
19373 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
19374 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
19375 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
19376 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
19377 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
19378 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
19379 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
19380 "\x73\x02\x3b\x78\x21\x72\x43\x00"
19381 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
19382 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
19383 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
19384 "\x11\x94\x13\x69\x51\x09\x28\xde"
19385 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
19386 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
19387 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
19388 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
19389 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
19390 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
19391 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
19392 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
19393 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
19394 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
19395 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
19396 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
19397 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
19398 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
19399 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
19400 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
19401 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
19402 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
19403 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
19404 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
19405 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
19406 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
19407 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
19408 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
19409 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
19410 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
19411 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
19412 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
19413 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
19414 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
19415 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
19416 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
19417 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
19418 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
19419 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
19420 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
19421 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
19422 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
19423 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
19424 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
19425 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
19426 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
19427 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
19428 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
19429 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
19430 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
19431 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
19432 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
19433 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
19434 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
19435 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
19436 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
19437 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
19438 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
19439 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
19440 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
19441 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
19442 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
19443 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
19444 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
19445 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
19446 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
19447 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
19448 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
19449 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
19450 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
19451 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
19452 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
19453 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
19454 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
19455 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
19456 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
19457 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
19458 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
19459 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
19460 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
19461 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
19462 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
19463 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
19464 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
19465 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
19466 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
19467 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
19468 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
19469 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
19470 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
19471 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
19472 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
19473 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
19474 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
19475 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
19476 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
19477 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
19478 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
19479 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
19480 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
19481 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
19482 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
19483 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
19484 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
19485 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
19486 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
19487 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
19488 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
19489 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
19490 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
19491 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
19492 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
19493 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
19494 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
19495 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
19496 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
19497 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
19498 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
19499 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
19500 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
19501 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
19502 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
19503 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
19504 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
19505 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
19506 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
19507 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
19508 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
19509 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
19510 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
19511 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
19512 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
19513 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
19514 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
19515 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
19516 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
19517 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
19518 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
19519 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
19520 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
19521 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
19522 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
19523 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
19524 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
19525 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
19526 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
19527 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
19528 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
19529 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
19530 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
19531 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
19532 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
19533 "\xae\xed\x39\x88\x42\x11\x3c\xed"
19534 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
19535 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
19536 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
19537 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
19538 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
19539 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
19540 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
19541 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
19542 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
19543 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
19544 "\x34\x17\xde\xba\x47\xf1\x06\x18"
19545 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
19546 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
19547 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
19548 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
19549 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
19550 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
19551 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
19552 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
19553 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
19554 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
19555 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
19556 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
19557 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
19558 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
19559 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
19560 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
19561 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
19562 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
19563 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
19564 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
19565 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
19566 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
19567 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
19568 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
19569 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
19570 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
19571 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
19572 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
19573 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
19574 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
19575 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
19576 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
19577 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
19578 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
19579 "\x74\x56\x58\x40\x02\x37\x52\x2c"
19580 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
19581 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
19582 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
19583 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
19584 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
19585 "\xed\x38\x80\x36\x72\x43\x27\x49"
19586 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
19587 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
19588 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
19589 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
19590 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
19591 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
19592 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
19593 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
19594 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
19595 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
19596 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
19597 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
19598 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
19599 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
19600 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
19601 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
19602 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
19603 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
19604 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
19605 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
19606 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
19607 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
19608 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
19609 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
19610 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
19611 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
19612 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
19613 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
19614 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
19615 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
19616 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
19617 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
19618 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
19619 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
19620 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
19621 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
19622 "\x21\xed\xda\x86",
19623 .len = 4100,
19624 },
19625};
19626
19627static const struct aead_testvec aes_gcm_tv_template[] = {
19628 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
19629 .key = zeroed_string,
19630 .klen = 16,
19631 .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
19632 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
19633 .clen = 16,
19634 }, {
19635 .key = zeroed_string,
19636 .klen = 16,
19637 .ptext = zeroed_string,
19638 .plen = 16,
19639 .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
19640 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
19641 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
19642 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
19643 .clen = 32,
19644 }, {
19645 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19646 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
19647 .klen = 16,
19648 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19649 "\xde\xca\xf8\x88",
19650 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19651 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19652 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19653 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19654 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19655 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19656 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19657 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
19658 .plen = 64,
19659 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
19660 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
19661 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
19662 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
19663 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
19664 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
19665 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
19666 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
19667 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
19668 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
19669 .clen = 80,
19670 }, {
19671 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19672 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
19673 .klen = 16,
19674 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19675 "\xde\xca\xf8\x88",
19676 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19677 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19678 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19679 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19680 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19681 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19682 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19683 "\xba\x63\x7b\x39",
19684 .plen = 60,
19685 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19686 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19687 "\xab\xad\xda\xd2",
19688 .alen = 20,
19689 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
19690 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
19691 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
19692 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
19693 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
19694 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
19695 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
19696 "\x3d\x58\xe0\x91"
19697 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
19698 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
19699 .clen = 76,
19700 }, {
19701 .key = zeroed_string,
19702 .klen = 24,
19703 .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
19704 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
19705 .clen = 16,
19706 }, {
19707 .key = zeroed_string,
19708 .klen = 24,
19709 .ptext = zeroed_string,
19710 .plen = 16,
19711 .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
19712 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
19713 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
19714 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
19715 .clen = 32,
19716 }, {
19717 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19718 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19719 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
19720 .klen = 24,
19721 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19722 "\xde\xca\xf8\x88",
19723 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19724 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19725 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19726 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19727 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19728 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19729 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19730 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
19731 .plen = 64,
19732 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
19733 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
19734 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
19735 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
19736 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
19737 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
19738 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
19739 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
19740 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
19741 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
19742 .clen = 80,
19743 }, {
19744 .key = zeroed_string,
19745 .klen = 32,
19746 .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
19747 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
19748 .clen = 16,
19749 }, {
19750 .key = zeroed_string,
19751 .klen = 32,
19752 .ptext = zeroed_string,
19753 .plen = 16,
19754 .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
19755 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
19756 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
19757 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
19758 .clen = 32,
19759 }, {
19760 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19761 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19762 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19763 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
19764 .klen = 32,
19765 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19766 "\xde\xca\xf8\x88",
19767 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19768 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19769 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19770 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19771 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19772 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19773 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19774 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
19775 .plen = 64,
19776 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
19777 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
19778 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
19779 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
19780 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
19781 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
19782 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
19783 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
19784 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
19785 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
19786 .clen = 80,
19787 }, {
19788 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19789 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19790 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19791 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
19792 .klen = 32,
19793 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19794 "\xde\xca\xf8\x88",
19795 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19796 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19797 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19798 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19799 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19800 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19801 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19802 "\xba\x63\x7b\x39",
19803 .plen = 60,
19804 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19805 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19806 "\xab\xad\xda\xd2",
19807 .alen = 20,
19808 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
19809 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
19810 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
19811 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
19812 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
19813 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
19814 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
19815 "\xbc\xc9\xf6\x62"
19816 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
19817 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
19818 .clen = 76,
19819 }, {
19820 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
19821 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
19822 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
19823 .klen = 24,
19824 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
19825 "\xde\xca\xf8\x88",
19826 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
19827 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
19828 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
19829 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
19830 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
19831 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
19832 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
19833 "\xba\x63\x7b\x39",
19834 .plen = 60,
19835 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19836 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
19837 "\xab\xad\xda\xd2",
19838 .alen = 20,
19839 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
19840 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
19841 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
19842 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
19843 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
19844 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
19845 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
19846 "\xcc\xda\x27\x10"
19847 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
19848 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
19849 .clen = 76,
19850 }, {
19851 .key = "\x62\x35\xf8\x95\xfc\xa5\xeb\xf6"
19852 "\x0e\x92\x12\x04\xd3\xa1\x3f\x2e"
19853 "\x8b\x32\xcf\xe7\x44\xed\x13\x59"
19854 "\x04\x38\x77\xb0\xb9\xad\xb4\x38",
19855 .klen = 32,
19856 .iv = "\x00\xff\xff\xff\xff\x00\x00\xff"
19857 "\xff\xff\x00\xff",
19858 .ptext = "\x42\xc1\xcc\x08\x48\x6f\x41\x3f"
19859 "\x2f\x11\x66\x8b\x2a\x16\xf0\xe0"
19860 "\x58\x83\xf0\xc3\x70\x14\xc0\x5b"
19861 "\x3f\xec\x1d\x25\x3c\x51\xd2\x03"
19862 "\xcf\x59\x74\x1f\xb2\x85\xb4\x07"
19863 "\xc6\x6a\x63\x39\x8a\x5b\xde\xcb"
19864 "\xaf\x08\x44\xbd\x6f\x91\x15\xe1"
19865 "\xf5\x7a\x6e\x18\xbd\xdd\x61\x50"
19866 "\x59\xa9\x97\xab\xbb\x0e\x74\x5c"
19867 "\x00\xa4\x43\x54\x04\x54\x9b\x3b"
19868 "\x77\xec\xfd\x5c\xa6\xe8\x7b\x08"
19869 "\xae\xe6\x10\x3f\x32\x65\xd1\xfc"
19870 "\xa4\x1d\x2c\x31\xfb\x33\x7a\xb3"
19871 "\x35\x23\xf4\x20\x41\xd4\xad\x82"
19872 "\x8b\xa4\xad\x96\x1c\x20\x53\xbe"
19873 "\x0e\xa6\xf4\xdc\x78\x49\x3e\x72"
19874 "\xb1\xa9\xb5\x83\xcb\x08\x54\xb7"
19875 "\xad\x49\x3a\xae\x98\xce\xa6\x66"
19876 "\x10\x30\x90\x8c\x55\x83\xd7\x7c"
19877 "\x8b\xe6\x53\xde\xd2\x6e\x18\x21"
19878 "\x01\x52\xd1\x9f\x9d\xbb\x9c\x73"
19879 "\x57\xcc\x89\x09\x75\x9b\x78\x70"
19880 "\xed\x26\x97\x4d\xb4\xe4\x0c\xa5"
19881 "\xfa\x70\x04\x70\xc6\x96\x1c\x7d"
19882 "\x54\x41\x77\xa8\xe3\xb0\x7e\x96"
19883 "\x82\xd9\xec\xa2\x87\x68\x55\xf9"
19884 "\x8f\x9e\x73\x43\x47\x6a\x08\x36"
19885 "\x93\x67\xa8\x2d\xde\xac\x41\xa9"
19886 "\x5c\x4d\x73\x97\x0f\x70\x68\xfa"
19887 "\x56\x4d\x00\xc2\x3b\x1f\xc8\xb9"
19888 "\x78\x1f\x51\x07\xe3\x9a\x13\x4e"
19889 "\xed\x2b\x2e\xa3\xf7\x44\xb2\xe7"
19890 "\xab\x19\x37\xd9\xba\x76\x5e\xd2"
19891 "\xf2\x53\x15\x17\x4c\x6b\x16\x9f"
19892 "\x02\x66\x49\xca\x7c\x91\x05\xf2"
19893 "\x45\x36\x1e\xf5\x77\xad\x1f\x46"
19894 "\xa8\x13\xfb\x63\xb6\x08\x99\x63"
19895 "\x82\xa2\xed\xb3\xac\xdf\x43\x19"
19896 "\x45\xea\x78\x73\xd9\xb7\x39\x11"
19897 "\xa3\x13\x7c\xf8\x3f\xf7\xad\x81"
19898 "\x48\x2f\xa9\x5c\x5f\xa0\xf0\x79"
19899 "\xa4\x47\x7d\x80\x20\x26\xfd\x63"
19900 "\x0a\xc7\x7e\x6d\x75\x47\xff\x76"
19901 "\x66\x2e\x8a\x6c\x81\x35\xaf\x0b"
19902 "\x2e\x6a\x49\x60\xc1\x10\xe1\xe1"
19903 "\x54\x03\xa4\x09\x0c\x37\x7a\x15"
19904 "\x23\x27\x5b\x8b\x4b\xa5\x64\x97"
19905 "\xae\x4a\x50\x73\x1f\x66\x1c\x5c"
19906 "\x03\x25\x3c\x8d\x48\x58\x71\x34"
19907 "\x0e\xec\x4e\x55\x1a\x03\x6a\xe5"
19908 "\xb6\x19\x2b\x84\x2a\x20\xd1\xea"
19909 "\x80\x6f\x96\x0e\x05\x62\xc7\x78"
19910 "\x87\x79\x60\x38\x46\xb4\x25\x57"
19911 "\x6e\x16\x63\xf8\xad\x6e\xd7\x42"
19912 "\x69\xe1\x88\xef\x6e\xd5\xb4\x9a"
19913 "\x3c\x78\x6c\x3b\xe5\xa0\x1d\x22"
19914 "\x86\x5c\x74\x3a\xeb\x24\x26\xc7"
19915 "\x09\xfc\x91\x96\x47\x87\x4f\x1a"
19916 "\xd6\x6b\x2c\x18\x47\xc0\xb8\x24"
19917 "\xa8\x5a\x4a\x9e\xcb\x03\xe7\x2a"
19918 "\x09\xe6\x4d\x9c\x6d\x86\x60\xf5"
19919 "\x2f\x48\x69\x37\x9f\xf2\xd2\xcb"
19920 "\x0e\x5a\xdd\x6e\x8a\xfb\x6a\xfe"
19921 "\x0b\x63\xde\x87\x42\x79\x8a\x68"
19922 "\x51\x28\x9b\x7a\xeb\xaf\xb8\x2f"
19923 "\x9d\xd1\xc7\x45\x90\x08\xc9\x83"
19924 "\xe9\x83\x84\xcb\x28\x69\x09\x69"
19925 "\xce\x99\x46\x00\x54\xcb\xd8\x38"
19926 "\xf9\x53\x4a\xbf\x31\xce\x57\x15"
19927 "\x33\xfa\x96\x04\x33\x42\xe3\xc0"
19928 "\xb7\x54\x4a\x65\x7a\x7c\x02\xe6"
19929 "\x19\x95\xd0\x0e\x82\x07\x63\xf9"
19930 "\xe1\x2b\x2a\xfc\x55\x92\x52\xc9"
19931 "\xb5\x9f\x23\x28\x60\xe7\x20\x51"
19932 "\x10\xd3\xed\x6d\x9b\xab\xb8\xe2"
19933 "\x5d\x9a\x34\xb3\xbe\x9c\x64\xcb"
19934 "\x78\xc6\x91\x22\x40\x91\x80\xbe"
19935 "\xd7\x78\x5c\x0e\x0a\xdc\x08\xe9"
19936 "\x67\x10\xa4\x83\x98\x79\x23\xe7"
19937 "\x92\xda\xa9\x22\x16\xb1\xe7\x78"
19938 "\xa3\x1c\x6c\x8f\x35\x7c\x4d\x37"
19939 "\x2f\x6e\x0b\x50\x5c\x34\xb9\xf9"
19940 "\xe6\x3d\x91\x0d\x32\x95\xaa\x3d"
19941 "\x48\x11\x06\xbb\x2d\xf2\x63\x88"
19942 "\x3f\x73\x09\xe2\x45\x56\x31\x51"
19943 "\xfa\x5e\x4e\x62\xf7\x90\xf9\xa9"
19944 "\x7d\x7b\x1b\xb1\xc8\x26\x6e\x66"
19945 "\xf6\x90\x9a\x7f\xf2\x57\xcc\x23"
19946 "\x59\xfa\xfa\xaa\x44\x04\x01\xa7"
19947 "\xa4\x78\xdb\x74\x3d\x8b\xb5",
19948 .plen = 719,
19949 .ctext = "\x84\x0b\xdb\xd5\xb7\xa8\xfe\x20"
19950 "\xbb\xb1\x12\x7f\x41\xea\xb3\xc0"
19951 "\xa2\xb4\x37\x19\x11\x58\xb6\x0b"
19952 "\x4c\x1d\x38\x05\x54\xd1\x16\x73"
19953 "\x8e\x1c\x20\x90\xa2\x9a\xb7\x74"
19954 "\x47\xe6\xd8\xfc\x18\x3a\xb4\xea"
19955 "\xd5\x16\x5a\x2c\x53\x01\x46\xb3"
19956 "\x18\x33\x74\x6c\x50\xf2\xe8\xc0"
19957 "\x73\xda\x60\x22\xeb\xe3\xe5\x9b"
19958 "\x20\x93\x6c\x4b\x37\x99\xb8\x23"
19959 "\x3b\x4e\xac\xe8\x5b\xe8\x0f\xb7"
19960 "\xc3\x8f\xfb\x4a\x37\xd9\x39\x95"
19961 "\x34\xf1\xdb\x8f\x71\xd9\xc7\x0b"
19962 "\x02\xf1\x63\xfc\x9b\xfc\xc5\xab"
19963 "\xb9\x14\x13\x21\xdf\xce\xaa\x88"
19964 "\x44\x30\x1e\xce\x26\x01\x92\xf8"
19965 "\x9f\x00\x4b\x0c\x4b\xf7\x5f\xe0"
19966 "\x89\xca\x94\x66\x11\x21\x97\xca"
19967 "\x3e\x83\x74\x2d\xdb\x4d\x11\xeb"
19968 "\x97\xc2\x14\xff\x9e\x1e\xa0\x6b"
19969 "\x08\xb4\x31\x2b\x85\xc6\x85\x6c"
19970 "\x90\xec\x39\xc0\xec\xb3\xb5\x4e"
19971 "\xf3\x9c\xe7\x83\x3a\x77\x0a\xf4"
19972 "\x56\xfe\xce\x18\x33\x6d\x0b\x2d"
19973 "\x33\xda\xc8\x05\x5c\xb4\x09\x2a"
19974 "\xde\x6b\x52\x98\x01\xef\x36\x3d"
19975 "\xbd\xf9\x8f\xa8\x3e\xaa\xcd\xd1"
19976 "\x01\x2d\x42\x49\xc3\xb6\x84\xbb"
19977 "\x48\x96\xe0\x90\x93\x6c\x48\x64"
19978 "\xd4\xfa\x7f\x93\x2c\xa6\x21\xc8"
19979 "\x7a\x23\x7b\xaa\x20\x56\x12\xae"
19980 "\x16\x9d\x94\x0f\x54\xa1\xec\xca"
19981 "\x51\x4e\xf2\x39\xf4\xf8\x5f\x04"
19982 "\x5a\x0d\xbf\xf5\x83\xa1\x15\xe1"
19983 "\xf5\x3c\xd8\x62\xa3\xed\x47\x89"
19984 "\x85\x4c\xe5\xdb\xac\x9e\x17\x1d"
19985 "\x0c\x09\xe3\x3e\x39\x5b\x4d\x74"
19986 "\x0e\xf5\x34\xee\x70\x11\x4c\xfd"
19987 "\xdb\x34\xb1\xb5\x10\x3f\x73\xb7"
19988 "\xf5\xfa\xed\xb0\x1f\xa5\xcd\x3c"
19989 "\x8d\x35\x83\xd4\x11\x44\x6e\x6c"
19990 "\x5b\xe0\x0e\x69\xa5\x39\xe5\xbb"
19991 "\xa9\x57\x24\x37\xe6\x1f\xdd\xcf"
19992 "\x16\x2a\x13\xf9\x6a\x2d\x90\xa0"
19993 "\x03\x60\x7a\xed\x69\xd5\x00\x8b"
19994 "\x7e\x4f\xcb\xb9\xfa\x91\xb9\x37"
19995 "\xc1\x26\xce\x90\x97\x22\x64\x64"
19996 "\xc1\x72\x43\x1b\xf6\xac\xc1\x54"
19997 "\x8a\x10\x9c\xdd\x8d\xd5\x8e\xb2"
19998 "\xe4\x85\xda\xe0\x20\x5f\xf4\xb4"
19999 "\x15\xb5\xa0\x8d\x12\x74\x49\x23"
20000 "\x3a\xdf\x4a\xd3\xf0\x3b\x89\xeb"
20001 "\xf8\xcc\x62\x7b\xfb\x93\x07\x41"
20002 "\x61\x26\x94\x58\x70\xa6\x3c\xe4"
20003 "\xff\x58\xc4\x13\x3d\xcb\x36\x6b"
20004 "\x32\xe5\xb2\x6d\x03\x74\x6f\x76"
20005 "\x93\x77\xde\x48\xc4\xfa\x30\x4a"
20006 "\xda\x49\x80\x77\x0f\x1c\xbe\x11"
20007 "\xc8\x48\xb1\xe5\xbb\xf2\x8a\xe1"
20008 "\x96\x2f\x9f\xd1\x8e\x8a\x5c\xe2"
20009 "\xf7\xd7\xd8\x54\xf3\x3f\xc4\x91"
20010 "\xb8\xfb\x86\xdc\x46\x24\x91\x60"
20011 "\x6c\x2f\xc9\x41\x37\x51\x49\x54"
20012 "\x09\x81\x21\xf3\x03\x9f\x2b\xe3"
20013 "\x1f\x39\x63\xaf\xf4\xd7\x53\x60"
20014 "\xa7\xc7\x54\xf9\xee\xb1\xb1\x7d"
20015 "\x75\x54\x65\x93\xfe\xb1\x68\x6b"
20016 "\x57\x02\xf9\xbb\x0e\xf9\xf8\xbf"
20017 "\x01\x12\x27\xb4\xfe\xe4\x79\x7a"
20018 "\x40\x5b\x51\x4b\xdf\x38\xec\xb1"
20019 "\x6a\x56\xff\x35\x4d\x42\x33\xaa"
20020 "\x6f\x1b\xe4\xdc\xe0\xdb\x85\x35"
20021 "\x62\x10\xd4\xec\xeb\xc5\x7e\x45"
20022 "\x1c\x6f\x17\xca\x3b\x8e\x2d\x66"
20023 "\x4f\x4b\x36\x56\xcd\x1b\x59\xaa"
20024 "\xd2\x9b\x17\xb9\x58\xdf\x7b\x64"
20025 "\x8a\xff\x3b\x9c\xa6\xb5\x48\x9e"
20026 "\xaa\xe2\x5d\x09\x71\x32\x5f\xb6"
20027 "\x29\xbe\xe7\xc7\x52\x7e\x91\x82"
20028 "\x6b\x6d\x33\xe1\x34\x06\x36\x21"
20029 "\x5e\xbe\x1e\x2f\x3e\xc1\xfb\xea"
20030 "\x49\x2c\xb5\xca\xf7\xb0\x37\xea"
20031 "\x1f\xed\x10\x04\xd9\x48\x0d\x1a"
20032 "\x1c\xfb\xe7\x84\x0e\x83\x53\x74"
20033 "\xc7\x65\xe2\x5c\xe5\xba\x73\x4c"
20034 "\x0e\xe1\xb5\x11\x45\x61\x43\x46"
20035 "\xaa\x25\x8f\xbd\x85\x08\xfa\x4c"
20036 "\x15\xc1\xc0\xd8\xf5\xdc\x16\xbb"
20037 "\x7b\x1d\xe3\x87\x57\xa7\x2a\x1d"
20038 "\x38\x58\x9e\x8a\x43\xdc\x57"
20039 "\xd1\x81\x7d\x2b\xe9\xff\x99\x3a"
20040 "\x4b\x24\x52\x58\x55\xe1\x49\x14",
20041 .clen = 735,
20042 }
20043};
20044
20045static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
20046 { /* Generated using Crypto++ */
20047 .key = zeroed_string,
20048 .klen = 20,
20049 .iv = zeroed_string,
20050 .ptext = zeroed_string,
20051 .plen = 16,
20052 .assoc = zeroed_string,
20053 .alen = 16,
20054 .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
20055 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
20056 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
20057 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
20058 .clen = 32,
20059 },{
20060 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20061 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20062 "\x00\x00\x00\x00",
20063 .klen = 20,
20064 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
20065 .ptext = zeroed_string,
20066 .plen = 16,
20067 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
20068 "\x00\x00\x00\x00\x00\x00\x00\x01",
20069 .alen = 16,
20070 .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
20071 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
20072 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
20073 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
20074 .clen = 32,
20075
20076 }, {
20077 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20078 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20079 "\x00\x00\x00\x00",
20080 .klen = 20,
20081 .iv = zeroed_string,
20082 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20083 "\x01\x01\x01\x01\x01\x01\x01\x01",
20084 .plen = 16,
20085 .assoc = zeroed_string,
20086 .alen = 16,
20087 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
20088 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
20089 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
20090 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
20091 .clen = 32,
20092 }, {
20093 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20094 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20095 "\x00\x00\x00\x00",
20096 .klen = 20,
20097 .iv = zeroed_string,
20098 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20099 "\x01\x01\x01\x01\x01\x01\x01\x01",
20100 .plen = 16,
20101 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20102 "\x00\x00\x00\x00\x00\x00\x00\x00",
20103 .alen = 16,
20104 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
20105 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
20106 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
20107 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
20108 .clen = 32,
20109 }, {
20110 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20111 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20112 "\x00\x00\x00\x00",
20113 .klen = 20,
20114 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
20115 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20116 "\x01\x01\x01\x01\x01\x01\x01\x01",
20117 .plen = 16,
20118 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20119 "\x00\x00\x00\x00\x00\x00\x00\x01",
20120 .alen = 16,
20121 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
20122 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
20123 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
20124 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
20125 .clen = 32,
20126 }, {
20127 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20128 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20129 "\x00\x00\x00\x00",
20130 .klen = 20,
20131 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
20132 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
20133 "\x01\x01\x01\x01\x01\x01\x01\x01"
20134 "\x01\x01\x01\x01\x01\x01\x01\x01"
20135 "\x01\x01\x01\x01\x01\x01\x01\x01"
20136 "\x01\x01\x01\x01\x01\x01\x01\x01"
20137 "\x01\x01\x01\x01\x01\x01\x01\x01"
20138 "\x01\x01\x01\x01\x01\x01\x01\x01"
20139 "\x01\x01\x01\x01\x01\x01\x01\x01",
20140 .plen = 64,
20141 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
20142 "\x00\x00\x00\x00\x00\x00\x00\x01",
20143 .alen = 16,
20144 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
20145 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
20146 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
20147 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
20148 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
20149 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
20150 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
20151 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
20152 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
20153 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
20154 .clen = 80,
20155 }, {
20156 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
20157 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20158 "\x00\x00\x00\x00",
20159 .klen = 20,
20160 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
20161 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
20162 "\xff\xff\xff\xff\xff\xff\xff\xff"
20163 "\xff\xff\xff\xff\xff\xff\xff\xff"
20164 "\xff\xff\xff\xff\xff\xff\xff\xff"
20165 "\xff\xff\xff\xff\xff\xff\xff\xff"
20166 "\xff\xff\xff\xff\xff\xff\xff\xff"
20167 "\xff\xff\xff\xff\xff\xff\xff\xff"
20168 "\xff\xff\xff\xff\xff\xff\xff\xff"
20169 "\xff\xff\xff\xff\xff\xff\xff\xff"
20170 "\xff\xff\xff\xff\xff\xff\xff\xff"
20171 "\xff\xff\xff\xff\xff\xff\xff\xff"
20172 "\xff\xff\xff\xff\xff\xff\xff\xff"
20173 "\xff\xff\xff\xff\xff\xff\xff\xff"
20174 "\xff\xff\xff\xff\xff\xff\xff\xff"
20175 "\xff\xff\xff\xff\xff\xff\xff\xff"
20176 "\xff\xff\xff\xff\xff\xff\xff\xff"
20177 "\xff\xff\xff\xff\xff\xff\xff\xff"
20178 "\xff\xff\xff\xff\xff\xff\xff\xff"
20179 "\xff\xff\xff\xff\xff\xff\xff\xff"
20180 "\xff\xff\xff\xff\xff\xff\xff\xff"
20181 "\xff\xff\xff\xff\xff\xff\xff\xff"
20182 "\xff\xff\xff\xff\xff\xff\xff\xff"
20183 "\xff\xff\xff\xff\xff\xff\xff\xff"
20184 "\xff\xff\xff\xff\xff\xff\xff\xff",
20185 .plen = 192,
20186 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
20187 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
20188 "\x89\xab\xcd\xef",
20189 .alen = 20,
20190 .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
20191 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
20192 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
20193 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
20194 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
20195 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
20196 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
20197 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
20198 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
20199 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
20200 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
20201 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
20202 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
20203 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
20204 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
20205 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
20206 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
20207 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
20208 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
20209 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
20210 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
20211 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
20212 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
20213 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
20214 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
20215 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
20216 .clen = 208,
20217 }, { /* From draft-mcgrew-gcm-test-01 */
20218 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20219 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20220 "\x2E\x44\x3B\x68",
20221 .klen = 20,
20222 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
20223 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
20224 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
20225 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
20226 "\x38\xD3\x01\x00\x00\x01\x00\x00"
20227 "\x00\x00\x00\x00\x04\x5F\x73\x69"
20228 "\x70\x04\x5F\x75\x64\x70\x03\x73"
20229 "\x69\x70\x09\x63\x79\x62\x65\x72"
20230 "\x63\x69\x74\x79\x02\x64\x6B\x00"
20231 "\x00\x21\x00\x01\x01\x02\x02\x01",
20232 .plen = 72,
20233 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
20234 "\x00\x00\x00\x00\x49\x56\xED\x7E"
20235 "\x3B\x24\x4C\xFE",
20236 .alen = 20,
20237 .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
20238 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
20239 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
20240 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
20241 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
20242 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
20243 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
20244 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
20245 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
20246 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
20247 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
20248 .clen = 88,
20249 }, {
20250 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20251 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20252 "\xCA\xFE\xBA\xBE",
20253 .klen = 20,
20254 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20255 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
20256 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
20257 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
20258 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
20259 "\x00\x01\x00\x00\x00\x00\x00\x00"
20260 "\x03\x73\x69\x70\x09\x63\x79\x62"
20261 "\x65\x72\x63\x69\x74\x79\x02\x64"
20262 "\x6B\x00\x00\x01\x00\x01\x00\x01",
20263 .plen = 64,
20264 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20265 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20266 .alen = 16,
20267 .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
20268 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
20269 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
20270 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
20271 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
20272 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
20273 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
20274 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
20275 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
20276 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
20277 .clen = 80,
20278 }, {
20279 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20280 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20281 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20282 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20283 "\x11\x22\x33\x44",
20284 .klen = 36,
20285 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
20286 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
20287 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
20288 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
20289 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
20290 "\x70\x02\x40\x00\x20\xBF\x00\x00"
20291 "\x02\x04\x05\xB4\x01\x01\x04\x02"
20292 "\x01\x02\x02\x01",
20293 .plen = 52,
20294 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
20295 "\x01\x02\x03\x04\x05\x06\x07\x08",
20296 .alen = 16,
20297 .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
20298 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
20299 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
20300 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
20301 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
20302 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
20303 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
20304 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
20305 "\x15\x95\x6C\x96",
20306 .clen = 68,
20307 }, {
20308 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
20309 "\x00\x00\x00\x00\x00\x00\x00\x00"
20310 "\x00\x00\x00\x00",
20311 .klen = 20,
20312 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20313 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
20314 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
20315 "\x01\x01\x01\x01\x08\x00\x07\x5C"
20316 "\x02\x00\x44\x00\x61\x62\x63\x64"
20317 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20318 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20319 "\x75\x76\x77\x61\x62\x63\x64\x65"
20320 "\x66\x67\x68\x69\x01\x02\x02\x01",
20321 .plen = 64,
20322 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
20323 "\x00\x00\x00\x00\x00\x00\x00\x00",
20324 .alen = 16,
20325 .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
20326 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
20327 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
20328 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
20329 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
20330 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
20331 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
20332 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
20333 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
20334 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
20335 .clen = 80,
20336 }, {
20337 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20338 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20339 "\x57\x69\x0E\x43",
20340 .klen = 20,
20341 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20342 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
20343 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
20344 "\x01\x01\x01\x01\x08\x00\x08\x5C"
20345 "\x02\x00\x43\x00\x61\x62\x63\x64"
20346 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20347 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20348 "\x75\x76\x77\x61\x62\x63\x64\x65"
20349 "\x66\x67\x68\x69\x01\x02\x02\x01",
20350 .plen = 64,
20351 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20352 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20353 "\xA2\xFC\xA1\xA3",
20354 .alen = 20,
20355 .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
20356 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
20357 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
20358 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
20359 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
20360 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
20361 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
20362 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
20363 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
20364 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
20365 .clen = 80,
20366 }, {
20367 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20368 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20369 "\x57\x69\x0E\x43",
20370 .klen = 20,
20371 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20372 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
20373 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
20374 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
20375 "\x01\x02\x02\x01",
20376 .plen = 28,
20377 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20378 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20379 "\xA2\xFC\xA1\xA3",
20380 .alen = 20,
20381 .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
20382 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
20383 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
20384 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
20385 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
20386 "\xE7\xD0\x5D\x35",
20387 .clen = 44,
20388 }, {
20389 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20390 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
20391 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
20392 "\xCA\xFE\xBA\xBE",
20393 .klen = 28,
20394 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20395 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
20396 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
20397 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
20398 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
20399 "\x50\x10\x16\xD0\x75\x68\x00\x01",
20400 .plen = 40,
20401 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
20402 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
20403 .alen = 16,
20404 .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
20405 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
20406 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
20407 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
20408 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
20409 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
20410 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
20411 .clen = 56,
20412 }, {
20413 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20414 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20415 "\xDE\xCA\xF8\x88",
20416 .klen = 20,
20417 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20418 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
20419 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
20420 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20421 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
20422 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
20423 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
20424 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
20425 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
20426 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
20427 "\x23\x01\x01\x01",
20428 .plen = 76,
20429 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
20430 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20431 "\xCE\xFA\xCE\x74",
20432 .alen = 20,
20433 .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
20434 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
20435 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
20436 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
20437 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
20438 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
20439 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
20440 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
20441 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
20442 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
20443 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
20444 "\x69\x62\x34\x36",
20445 .clen = 92,
20446 }, {
20447 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20448 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20449 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20450 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20451 "\x73\x61\x6C\x74",
20452 .klen = 36,
20453 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20454 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
20455 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
20456 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
20457 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
20458 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
20459 .plen = 40,
20460 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20461 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20462 "\x69\x76\x65\x63",
20463 .alen = 20,
20464 .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
20465 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
20466 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
20467 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
20468 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
20469 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
20470 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
20471 .clen = 56,
20472 }, {
20473 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20474 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20475 "\x57\x69\x0E\x43",
20476 .klen = 20,
20477 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20478 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
20479 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
20480 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
20481 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
20482 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
20483 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
20484 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
20485 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
20486 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
20487 "\x15\x01\x01\x01",
20488 .plen = 76,
20489 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
20490 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20491 "\xA2\xFC\xA1\xA3",
20492 .alen = 20,
20493 .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
20494 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
20495 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
20496 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
20497 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
20498 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
20499 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
20500 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
20501 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
20502 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
20503 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
20504 "\x8C\xAA\x81\xE2",
20505 .clen = 92,
20506 }, {
20507 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20508 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20509 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20510 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20511 "\x73\x61\x6C\x74",
20512 .klen = 36,
20513 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
20514 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
20515 "\x6C\x65\x73\x01\x74\x68\x65\x01"
20516 "\x6E\x65\x74\x77\x65\x01\x64\x65"
20517 "\x66\x69\x6E\x65\x01\x74\x68\x65"
20518 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
20519 "\x67\x69\x65\x73\x01\x74\x68\x61"
20520 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
20521 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
20522 "\x72\x72\x6F\x77\x01\x02\x02\x01",
20523 .plen = 72,
20524 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
20525 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
20526 "\x69\x76\x65\x63",
20527 .alen = 20,
20528 .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
20529 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
20530 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
20531 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
20532 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
20533 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
20534 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
20535 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
20536 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
20537 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
20538 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
20539 .clen = 88,
20540 }, {
20541 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
20542 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
20543 "\xD9\x66\x42\x67",
20544 .klen = 20,
20545 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20546 .ptext = "\x01\x02\x02\x01",
20547 .plen = 4,
20548 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
20549 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
20550 .alen = 16,
20551 .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
20552 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
20553 "\x04\xBE\xF2\x70",
20554 .clen = 20,
20555 }, {
20556 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
20557 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
20558 "\xDE\xCA\xF8\x88",
20559 .klen = 20,
20560 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
20561 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
20562 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
20563 "\x62\x65\x00\x01",
20564 .plen = 20,
20565 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
20566 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
20567 "\xCE\xFA\xCE\x74",
20568 .alen = 20,
20569 .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
20570 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
20571 "\x43\x33\x21\x64\x41\x25\x03\x52"
20572 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
20573 "\x43\xAF\x8C\x3E",
20574 .clen = 36,
20575 }, {
20576 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
20577 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
20578 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
20579 "\x62\x65\x66\x6F\x72\x65\x69\x61"
20580 "\x74\x75\x72\x6E",
20581 .klen = 36,
20582 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
20583 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20584 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20585 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20586 "\x02\x00\x07\x00\x61\x62\x63\x64"
20587 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20588 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20589 "\x01\x02\x02\x01",
20590 .plen = 52,
20591 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
20592 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
20593 "\x67\x65\x74\x6D",
20594 .alen = 20,
20595 .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
20596 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
20597 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
20598 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
20599 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
20600 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
20601 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
20602 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
20603 "\x9F\xB4\xC0\x53",
20604 .clen = 68,
20605 }, {
20606 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
20607 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
20608 "\x57\x69\x0E\x43",
20609 .klen = 20,
20610 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
20611 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
20612 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
20613 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
20614 "\x02\x00\x07\x00\x61\x62\x63\x64"
20615 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
20616 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
20617 "\x01\x02\x02\x01",
20618 .plen = 52,
20619 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
20620 "\x10\x10\x10\x10\x4E\x28\x00\x00"
20621 "\xA2\xFC\xA1\xA3",
20622 .alen = 20,
20623 .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
20624 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
20625 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
20626 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
20627 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
20628 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
20629 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
20630 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
20631 "\x40\xD7\xCB\x05",
20632 .clen = 68,
20633 }, {
20634 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
20635 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
20636 "\x22\x43\x3C\x64",
20637 .klen = 20,
20638 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
20639 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
20640 "\x61\x62\x63\x64\x65\x66\x67\x68"
20641 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
20642 "\x71\x72\x73\x74\x01\x02\x02\x01",
20643 .plen = 32,
20644 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
20645 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
20646 "\x3A\x23\x4B\xFD",
20647 .alen = 20,
20648 .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
20649 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
20650 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
20651 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
20652 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
20653 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
20654 .clen = 48,
20655 }
20656};
20657
20658static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
20659 { /* From draft-mcgrew-gcm-test-01 */
20660 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
20661 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
20662 "\x22\x43\x3c\x64",
20663 .klen = 20,
20664 .iv = zeroed_string,
20665 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
20666 "\x00\x00\x00\x00\x00\x00\x00\x00",
20667 .alen = 16,
20668 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
20669 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
20670 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
20671 "\x02\x00\x07\x00\x61\x62\x63\x64"
20672 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
20673 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
20674 "\x01\x02\x02\x01",
20675 .plen = 52,
20676 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
20677 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
20678 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
20679 "\x02\x00\x07\x00\x61\x62\x63\x64"
20680 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
20681 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
20682 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
20683 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
20684 "\xe4\x09\x9a\xaa",
20685 .clen = 68,
20686 }, { /* nearly same as previous, but should fail */
20687 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
20688 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
20689 "\x22\x43\x3c\x64",
20690 .klen = 20,
20691 .iv = zeroed_string,
20692 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
20693 "\x00\x00\x00\x00\x00\x00\x00\x00",
20694 .alen = 16,
20695 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
20696 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
20697 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
20698 "\x02\x00\x07\x00\x61\x62\x63\x64"
20699 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
20700 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
20701 "\x01\x02\x02\x01",
20702 .plen = 52,
20703 .novrfy = 1,
20704 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
20705 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
20706 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
20707 "\x02\x00\x07\x00\x61\x62\x63\x64"
20708 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
20709 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
20710 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
20711 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
20712 "\x00\x00\x00\x00",
20713 .clen = 68,
20714 },
20715};
20716
20717static const struct aead_testvec aes_ccm_tv_template[] = {
20718 { /* From RFC 3610 */
20719 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20720 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
20721 .klen = 16,
20722 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
20723 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
20724 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
20725 .alen = 8,
20726 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20727 "\x10\x11\x12\x13\x14\x15\x16\x17"
20728 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
20729 .plen = 23,
20730 .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
20731 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
20732 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
20733 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
20734 .clen = 31,
20735 }, {
20736 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20737 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
20738 .klen = 16,
20739 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
20740 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
20741 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
20742 "\x08\x09\x0a\x0b",
20743 .alen = 12,
20744 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
20745 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
20746 "\x1c\x1d\x1e\x1f",
20747 .plen = 20,
20748 .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
20749 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
20750 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
20751 "\x7d\x9c\x2d\x93",
20752 .clen = 28,
20753 }, {
20754 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20755 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
20756 .klen = 16,
20757 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
20758 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
20759 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
20760 .alen = 8,
20761 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20762 "\x10\x11\x12\x13\x14\x15\x16\x17"
20763 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
20764 "\x20",
20765 .plen = 25,
20766 .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
20767 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
20768 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
20769 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
20770 "\x7e\x5f\x4e",
20771 .clen = 35,
20772 }, {
20773 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
20774 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
20775 .klen = 16,
20776 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
20777 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
20778 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
20779 "\x08\x09\x0a\x0b",
20780 .alen = 12,
20781 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
20782 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
20783 "\x1c\x1d\x1e",
20784 .plen = 19,
20785 .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
20786 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
20787 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
20788 "\x4d\x99\x99\x88\xdd",
20789 .clen = 29,
20790 }, {
20791 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
20792 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
20793 .klen = 16,
20794 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
20795 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
20796 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
20797 .alen = 8,
20798 .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
20799 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
20800 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
20801 .plen = 24,
20802 .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
20803 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
20804 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
20805 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
20806 .clen = 32,
20807 }, {
20808 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
20809 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
20810 .klen = 16,
20811 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
20812 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
20813 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
20814 "\x20\xea\x60\xc0",
20815 .alen = 12,
20816 .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
20817 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
20818 "\x3a\x80\x3b\xa8\x7f",
20819 .plen = 21,
20820 .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
20821 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
20822 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
20823 "\x5a\xe0\x70\x45\x51",
20824 .clen = 29,
20825 }, {
20826 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
20827 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
20828 .klen = 16,
20829 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
20830 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
20831 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
20832 .alen = 8,
20833 .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
20834 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
20835 "\x98\x09\xd6\x7d\xbe\xdd\x18",
20836 .plen = 23,
20837 .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
20838 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
20839 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
20840 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
20841 "\xba",
20842 .clen = 33,
20843 }, {
20844 /* This is taken from FIPS CAVS. */
20845 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
20846 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
20847 .klen = 16,
20848 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
20849 .alen = 0,
20850 .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
20851 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
20852 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
20853 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
20854 .plen = 32,
20855 .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
20856 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
20857 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
20858 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
20859 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
20860 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
20861 .clen = 48,
20862 }, {
20863 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
20864 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
20865 .klen = 16,
20866 .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
20867 "\x30\x60\x15\x56\x00\x00\x00\x00",
20868 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
20869 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
20870 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
20871 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
20872 .alen = 32,
20873 .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
20874 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
20875 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
20876 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
20877 .plen = 32,
20878 .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
20879 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
20880 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
20881 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
20882 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
20883 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
20884 .clen = 48,
20885 }, {
20886 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
20887 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
20888 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
20889 .klen = 24,
20890 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
20891 "\x50\x20\xda\xe2\x00\x00\x00\x00",
20892 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
20893 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
20894 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
20895 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
20896 .alen = 32,
20897 .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
20898 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
20899 .clen = 16,
20900 }, {
20901 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
20902 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
20903 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
20904 .klen = 24,
20905 .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
20906 "\xef\x09\x2e\x94\x00\x00\x00\x00",
20907 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
20908 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
20909 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
20910 "\xe3\x00\x73\x69\x84\x69\x87\x79",
20911 .alen = 32,
20912 .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
20913 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
20914 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
20915 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
20916 .plen = 32,
20917 .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
20918 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
20919 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
20920 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
20921 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
20922 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
20923 .clen = 48,
20924 }, {
20925 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
20926 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
20927 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
20928 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
20929 .klen = 32,
20930 .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
20931 "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
20932 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
20933 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
20934 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
20935 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
20936 .alen = 32,
20937 .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
20938 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
20939 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
20940 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
20941 .plen = 32,
20942 .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
20943 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
20944 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
20945 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
20946 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
20947 .clen = 40,
20948 }, {
20949 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
20950 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
20951 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
20952 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
20953 .klen = 32,
20954 .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
20955 "\x43\xf6\x1e\x50\0\0\0\0",
20956 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
20957 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
20958 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
20959 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
20960 .alen = 32,
20961 .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
20962 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
20963 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
20964 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
20965 .plen = 32,
20966 .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
20967 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
20968 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
20969 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
20970 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
20971 "\x7b\x72\x8a\xf7",
20972 .clen = 44,
20973 }, {
20974 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
20975 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
20976 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
20977 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
20978 .klen = 32,
20979 .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
20980 "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
20981 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
20982 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
20983 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
20984 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
20985 .alen = 32,
20986 .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
20987 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
20988 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
20989 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
20990 .plen = 32,
20991 .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
20992 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
20993 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
20994 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
20995 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
20996 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
20997 .clen = 48,
20998 }, {
20999 /* This is taken from FIPS CAVS. */
21000 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21001 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21002 .klen = 16,
21003 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21004 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21005 .alen = 0,
21006 .ptext = "\x00",
21007 .plen = 0,
21008 .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
21009 .clen = 8,
21010 .novrfy = 1,
21011 }, {
21012 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
21013 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
21014 .klen = 16,
21015 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
21016 "\x7f\x88\x94\x68\x00\x00\x00\x00",
21017 .alen = 0,
21018 .ptext = "\x00",
21019 .plen = 0,
21020 .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
21021 .clen = 8,
21022 }, {
21023 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21024 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21025 .klen = 16,
21026 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
21027 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
21028 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
21029 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
21030 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
21031 "\xd8\x94\x99\x91\x81\x54\x62\x57",
21032 .alen = 32,
21033 .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
21034 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
21035 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
21036 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
21037 .plen = 32,
21038 .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
21039 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
21040 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
21041 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
21042 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
21043 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
21044 .clen = 48,
21045 .novrfy = 1,
21046 }, {
21047 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
21048 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
21049 .klen = 16,
21050 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
21051 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
21052 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
21053 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
21054 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
21055 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
21056 .alen = 32,
21057 .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
21058 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
21059 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
21060 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
21061 .plen = 32,
21062 .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
21063 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
21064 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
21065 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
21066 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
21067 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
21068 .clen = 48,
21069 }, {
21070 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
21071 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
21072 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
21073 .klen = 24,
21074 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21075 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21076 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
21077 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
21078 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
21079 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
21080 .alen = 32,
21081 .ptext = "\x00",
21082 .plen = 0,
21083 .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
21084 .clen = 8,
21085 }, {
21086 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21087 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21088 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
21089 .klen = 24,
21090 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21091 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21092 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
21093 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
21094 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
21095 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
21096 .alen = 32,
21097 .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
21098 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
21099 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
21100 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
21101 .plen = 32,
21102 .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
21103 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
21104 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
21105 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
21106 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
21107 .clen = 40,
21108 }, {
21109 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21110 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21111 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
21112 .klen = 24,
21113 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
21114 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
21115 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
21116 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
21117 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
21118 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
21119 .alen = 32,
21120 .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
21121 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
21122 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
21123 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
21124 .plen = 32,
21125 .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
21126 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
21127 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
21128 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
21129 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
21130 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
21131 .clen = 48,
21132 .novrfy = 1,
21133 }, {
21134 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
21135 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
21136 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
21137 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
21138 .klen = 32,
21139 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
21140 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
21141 .alen = 0,
21142 .ptext = "\x00",
21143 .plen = 0,
21144 .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
21145 .clen = 8,
21146 }, {
21147 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
21148 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
21149 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
21150 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
21151 .klen = 32,
21152 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
21153 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
21154 .alen = 0,
21155 .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
21156 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
21157 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
21158 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
21159 .plen = 32,
21160 .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
21161 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
21162 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
21163 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
21164 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
21165 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
21166 .clen = 48,
21167 .novrfy = 1,
21168 }, {
21169 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
21170 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
21171 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
21172 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
21173 .klen = 32,
21174 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
21175 "\x44\x89\x40\x7b\x00\x00\x00\x00",
21176 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
21177 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
21178 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
21179 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
21180 .alen = 32,
21181 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
21182 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
21183 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
21184 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
21185 .plen = 32,
21186 .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
21187 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
21188 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
21189 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
21190 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
21191 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
21192 .clen = 48,
21193 },
21194};
21195
21196/*
21197 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
21198 * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
21199 * they use AD lengths which are not valid ESP header lengths.
21200 *
21201 * These vectors are copied/generated from the ones for rfc4106 with
21202 * the key truncated by one byte..
21203 */
21204static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
21205 { /* Generated using Crypto++ */
21206 .key = zeroed_string,
21207 .klen = 19,
21208 .iv = zeroed_string,
21209 .ptext = zeroed_string,
21210 .plen = 16,
21211 .assoc = zeroed_string,
21212 .alen = 16,
21213 .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
21214 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
21215 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
21216 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
21217 .clen = 32,
21218 },{
21219 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21220 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21221 "\x00\x00\x00",
21222 .klen = 19,
21223 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21224 .ptext = zeroed_string,
21225 .plen = 16,
21226 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
21227 "\x00\x00\x00\x00\x00\x00\x00\x01",
21228 .alen = 16,
21229 .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
21230 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
21231 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
21232 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
21233 .clen = 32,
21234
21235 }, {
21236 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21237 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21238 "\x00\x00\x00",
21239 .klen = 19,
21240 .iv = zeroed_string,
21241 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21242 "\x01\x01\x01\x01\x01\x01\x01\x01",
21243 .plen = 16,
21244 .assoc = zeroed_string,
21245 .alen = 16,
21246 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
21247 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
21248 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
21249 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
21250 .clen = 32,
21251 }, {
21252 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21253 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21254 "\x00\x00\x00",
21255 .klen = 19,
21256 .iv = zeroed_string,
21257 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21258 "\x01\x01\x01\x01\x01\x01\x01\x01",
21259 .plen = 16,
21260 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21261 "\x00\x00\x00\x00\x00\x00\x00\x00",
21262 .alen = 16,
21263 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
21264 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
21265 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
21266 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
21267 .clen = 32,
21268 }, {
21269 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21270 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21271 "\x00\x00\x00",
21272 .klen = 19,
21273 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21274 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21275 "\x01\x01\x01\x01\x01\x01\x01\x01",
21276 .plen = 16,
21277 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21278 "\x00\x00\x00\x00\x00\x00\x00\x01",
21279 .alen = 16,
21280 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
21281 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
21282 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
21283 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
21284 .clen = 32,
21285 }, {
21286 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21287 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21288 "\x00\x00\x00",
21289 .klen = 19,
21290 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
21291 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
21292 "\x01\x01\x01\x01\x01\x01\x01\x01"
21293 "\x01\x01\x01\x01\x01\x01\x01\x01"
21294 "\x01\x01\x01\x01\x01\x01\x01\x01"
21295 "\x01\x01\x01\x01\x01\x01\x01\x01"
21296 "\x01\x01\x01\x01\x01\x01\x01\x01"
21297 "\x01\x01\x01\x01\x01\x01\x01\x01"
21298 "\x01\x01\x01\x01\x01\x01\x01\x01",
21299 .plen = 64,
21300 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
21301 "\x00\x00\x00\x00\x00\x00\x00\x01",
21302 .alen = 16,
21303 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
21304 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
21305 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
21306 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
21307 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
21308 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
21309 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
21310 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
21311 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
21312 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
21313 .clen = 80,
21314 }, {
21315 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
21316 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21317 "\x00\x00\x00",
21318 .klen = 19,
21319 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21320 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
21321 "\xff\xff\xff\xff\xff\xff\xff\xff"
21322 "\xff\xff\xff\xff\xff\xff\xff\xff"
21323 "\xff\xff\xff\xff\xff\xff\xff\xff"
21324 "\xff\xff\xff\xff\xff\xff\xff\xff"
21325 "\xff\xff\xff\xff\xff\xff\xff\xff"
21326 "\xff\xff\xff\xff\xff\xff\xff\xff"
21327 "\xff\xff\xff\xff\xff\xff\xff\xff"
21328 "\xff\xff\xff\xff\xff\xff\xff\xff"
21329 "\xff\xff\xff\xff\xff\xff\xff\xff"
21330 "\xff\xff\xff\xff\xff\xff\xff\xff"
21331 "\xff\xff\xff\xff\xff\xff\xff\xff"
21332 "\xff\xff\xff\xff\xff\xff\xff\xff"
21333 "\xff\xff\xff\xff\xff\xff\xff\xff"
21334 "\xff\xff\xff\xff\xff\xff\xff\xff"
21335 "\xff\xff\xff\xff\xff\xff\xff\xff"
21336 "\xff\xff\xff\xff\xff\xff\xff\xff"
21337 "\xff\xff\xff\xff\xff\xff\xff\xff"
21338 "\xff\xff\xff\xff\xff\xff\xff\xff"
21339 "\xff\xff\xff\xff\xff\xff\xff\xff"
21340 "\xff\xff\xff\xff\xff\xff\xff\xff"
21341 "\xff\xff\xff\xff\xff\xff\xff\xff"
21342 "\xff\xff\xff\xff\xff\xff\xff\xff"
21343 "\xff\xff\xff\xff\xff\xff\xff\xff",
21344 .plen = 192,
21345 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21346 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21347 "\x89\xab\xcd\xef",
21348 .alen = 20,
21349 .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
21350 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
21351 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
21352 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
21353 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
21354 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
21355 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
21356 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
21357 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
21358 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
21359 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
21360 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
21361 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
21362 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
21363 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
21364 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
21365 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
21366 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
21367 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
21368 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
21369 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
21370 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
21371 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
21372 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
21373 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
21374 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
21375 .clen = 208,
21376 }, { /* From draft-mcgrew-gcm-test-01 */
21377 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21378 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21379 "\x2E\x44\x3B",
21380 .klen = 19,
21381 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21382 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
21383 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21384 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21385 "\x38\xD3\x01\x00\x00\x01\x00\x00"
21386 "\x00\x00\x00\x00\x04\x5F\x73\x69"
21387 "\x70\x04\x5F\x75\x64\x70\x03\x73"
21388 "\x69\x70\x09\x63\x79\x62\x65\x72"
21389 "\x63\x69\x74\x79\x02\x64\x6B\x00"
21390 "\x00\x21\x00\x01\x01\x02\x02\x01",
21391 .plen = 72,
21392 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21393 "\x00\x00\x00\x00\x49\x56\xED\x7E"
21394 "\x3B\x24\x4C\xFE",
21395 .alen = 20,
21396 .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
21397 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
21398 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
21399 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
21400 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
21401 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
21402 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
21403 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
21404 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
21405 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
21406 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
21407 .clen = 88,
21408 }, {
21409 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21410 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21411 "\xCA\xFE\xBA",
21412 .klen = 19,
21413 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21414 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21415 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21416 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21417 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21418 "\x00\x01\x00\x00\x00\x00\x00\x00"
21419 "\x03\x73\x69\x70\x09\x63\x79\x62"
21420 "\x65\x72\x63\x69\x74\x79\x02\x64"
21421 "\x6B\x00\x00\x01\x00\x01\x00\x01",
21422 .plen = 64,
21423 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21424 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21425 .alen = 16,
21426 .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
21427 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
21428 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
21429 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
21430 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
21431 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
21432 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
21433 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
21434 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
21435 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
21436 .clen = 80,
21437 }, {
21438 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21439 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21440 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21441 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21442 "\x11\x22\x33",
21443 .klen = 35,
21444 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
21445 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
21446 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21447 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21448 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21449 "\x70\x02\x40\x00\x20\xBF\x00\x00"
21450 "\x02\x04\x05\xB4\x01\x01\x04\x02"
21451 "\x01\x02\x02\x01",
21452 .plen = 52,
21453 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21454 "\x01\x02\x03\x04\x05\x06\x07\x08",
21455 .alen = 16,
21456 .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
21457 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
21458 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
21459 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
21460 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
21461 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
21462 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
21463 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
21464 "\x5A\x48\x6A\x3E",
21465 .clen = 68,
21466 }, {
21467 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
21468 "\x00\x00\x00\x00\x00\x00\x00\x00"
21469 "\x00\x00\x00",
21470 .klen = 19,
21471 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
21472 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21473 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21474 "\x01\x01\x01\x01\x08\x00\x07\x5C"
21475 "\x02\x00\x44\x00\x61\x62\x63\x64"
21476 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21477 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21478 "\x75\x76\x77\x61\x62\x63\x64\x65"
21479 "\x66\x67\x68\x69\x01\x02\x02\x01",
21480 .plen = 64,
21481 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
21482 "\x00\x00\x00\x00\x00\x00\x00\x00",
21483 .alen = 16,
21484 .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
21485 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
21486 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
21487 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
21488 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
21489 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
21490 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
21491 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
21492 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
21493 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
21494 .clen = 80,
21495 }, {
21496 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21497 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21498 "\x57\x69\x0E",
21499 .klen = 19,
21500 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21501 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21502 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21503 "\x01\x01\x01\x01\x08\x00\x08\x5C"
21504 "\x02\x00\x43\x00\x61\x62\x63\x64"
21505 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21506 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21507 "\x75\x76\x77\x61\x62\x63\x64\x65"
21508 "\x66\x67\x68\x69\x01\x02\x02\x01",
21509 .plen = 64,
21510 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21511 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21512 "\xA2\xFC\xA1\xA3",
21513 .alen = 20,
21514 .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
21515 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
21516 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
21517 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
21518 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
21519 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
21520 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
21521 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
21522 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
21523 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
21524 .clen = 80,
21525 }, {
21526 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21527 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21528 "\x57\x69\x0E",
21529 .klen = 19,
21530 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21531 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21532 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21533 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21534 "\x01\x02\x02\x01",
21535 .plen = 28,
21536 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21537 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21538 "\xA2\xFC\xA1\xA3",
21539 .alen = 20,
21540 .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
21541 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
21542 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
21543 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
21544 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
21545 "\x08\xB4\x22\xE4",
21546 .clen = 44,
21547 }, {
21548 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21549 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21550 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21551 "\xCA\xFE\xBA",
21552 .klen = 27,
21553 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21554 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21555 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21556 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21557 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21558 "\x50\x10\x16\xD0\x75\x68\x00\x01",
21559 .plen = 40,
21560 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21561 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21562 .alen = 16,
21563 .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
21564 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
21565 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
21566 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
21567 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
21568 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
21569 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
21570 .clen = 56,
21571 }, {
21572 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21573 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21574 "\xDE\xCA\xF8",
21575 .klen = 19,
21576 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21577 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
21578 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21579 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21580 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21581 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21582 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21583 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21584 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21585 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21586 "\x23\x01\x01\x01",
21587 .plen = 76,
21588 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21589 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21590 "\xCE\xFA\xCE\x74",
21591 .alen = 20,
21592 .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
21593 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
21594 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
21595 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
21596 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
21597 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
21598 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
21599 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
21600 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
21601 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
21602 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
21603 "\x12\x25\x0B\xF9",
21604 .clen = 92,
21605 }, {
21606 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21607 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21608 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21609 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21610 "\x73\x61\x6C",
21611 .klen = 35,
21612 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21613 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
21614 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21615 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21616 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21617 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21618 .plen = 40,
21619 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21620 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21621 "\x69\x76\x65\x63",
21622 .alen = 20,
21623 .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
21624 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
21625 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
21626 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
21627 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
21628 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
21629 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
21630 .clen = 56,
21631 }, {
21632 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21633 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21634 "\x57\x69\x0E",
21635 .klen = 19,
21636 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21637 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
21638 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21639 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21640 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21641 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21642 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21643 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21644 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21645 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21646 "\x15\x01\x01\x01",
21647 .plen = 76,
21648 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21649 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21650 "\xA2\xFC\xA1\xA3",
21651 .alen = 20,
21652 .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
21653 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
21654 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
21655 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
21656 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
21657 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
21658 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
21659 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
21660 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
21661 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
21662 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
21663 "\xCC\xF7\x46\x6F",
21664 .clen = 92,
21665 }, {
21666 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21667 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21668 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21669 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21670 "\x73\x61\x6C",
21671 .klen = 35,
21672 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
21673 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
21674 "\x6C\x65\x73\x01\x74\x68\x65\x01"
21675 "\x6E\x65\x74\x77\x65\x01\x64\x65"
21676 "\x66\x69\x6E\x65\x01\x74\x68\x65"
21677 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21678 "\x67\x69\x65\x73\x01\x74\x68\x61"
21679 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21680 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21681 "\x72\x72\x6F\x77\x01\x02\x02\x01",
21682 .plen = 72,
21683 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21684 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21685 "\x69\x76\x65\x63",
21686 .alen = 20,
21687 .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
21688 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
21689 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
21690 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
21691 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
21692 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
21693 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
21694 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
21695 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
21696 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
21697 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
21698 .clen = 88,
21699 }, {
21700 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21701 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21702 "\xD9\x66\x42",
21703 .klen = 19,
21704 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21705 .ptext = "\x01\x02\x02\x01",
21706 .plen = 4,
21707 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21708 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21709 .alen = 16,
21710 .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
21711 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
21712 "\xF7\x61\x24\x62",
21713 .clen = 20,
21714 }, {
21715 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21716 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21717 "\xDE\xCA\xF8",
21718 .klen = 19,
21719 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21720 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21721 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21722 "\x62\x65\x00\x01",
21723 .plen = 20,
21724 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
21725 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21726 "\xCE\xFA\xCE\x74",
21727 .alen = 20,
21728 .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
21729 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
21730 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
21731 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
21732 "\x17\x17\x65\xAD",
21733 .clen = 36,
21734 }, {
21735 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21736 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21737 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21738 "\x62\x65\x66\x6F\x72\x65\x69\x61"
21739 "\x74\x75\x72",
21740 .klen = 35,
21741 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
21742 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21743 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21744 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21745 "\x02\x00\x07\x00\x61\x62\x63\x64"
21746 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21747 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21748 "\x01\x02\x02\x01",
21749 .plen = 52,
21750 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21751 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21752 "\x67\x65\x74\x6D",
21753 .alen = 20,
21754 .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
21755 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
21756 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
21757 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
21758 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
21759 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
21760 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
21761 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
21762 "\x39\xDB\xC8\xDC",
21763 .clen = 68,
21764 }, {
21765 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21766 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21767 "\x57\x69\x0E",
21768 .klen = 19,
21769 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21770 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21771 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21772 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21773 "\x02\x00\x07\x00\x61\x62\x63\x64"
21774 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21775 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21776 "\x01\x02\x02\x01",
21777 .plen = 52,
21778 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21779 "\x10\x10\x10\x10\x4E\x28\x00\x00"
21780 "\xA2\xFC\xA1\xA3",
21781 .alen = 20,
21782 .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
21783 "\x10\x60\x54\x25\xEB\x80\x04\x93"
21784 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
21785 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
21786 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
21787 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
21788 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
21789 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
21790 "\xF4\x95\x5D\x4F",
21791 .clen = 68,
21792 }, {
21793 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21794 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21795 "\x22\x43\x3C",
21796 .klen = 19,
21797 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21798 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21799 "\x61\x62\x63\x64\x65\x66\x67\x68"
21800 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21801 "\x71\x72\x73\x74\x01\x02\x02\x01",
21802 .plen = 32,
21803 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
21804 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21805 "\x3A\x23\x4B\xFD",
21806 .alen = 20,
21807 .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
21808 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
21809 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
21810 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
21811 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
21812 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
21813 .clen = 48,
21814 }
21815};
21816
21817/*
21818 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
21819 */
21820static const struct aead_testvec rfc7539_tv_template[] = {
21821 {
21822 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
21823 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
21824 "\x90\x91\x92\x93\x94\x95\x96\x97"
21825 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
21826 .klen = 32,
21827 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
21828 "\x44\x45\x46\x47",
21829 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
21830 "\xc4\xc5\xc6\xc7",
21831 .alen = 12,
21832 .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
21833 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
21834 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
21835 "\x74\x68\x65\x20\x63\x6c\x61\x73"
21836 "\x73\x20\x6f\x66\x20\x27\x39\x39"
21837 "\x3a\x20\x49\x66\x20\x49\x20\x63"
21838 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
21839 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
21840 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
21841 "\x74\x69\x70\x20\x66\x6f\x72\x20"
21842 "\x74\x68\x65\x20\x66\x75\x74\x75"
21843 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
21844 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
21845 "\x75\x6c\x64\x20\x62\x65\x20\x69"
21846 "\x74\x2e",
21847 .plen = 114,
21848 .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
21849 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
21850 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
21851 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
21852 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
21853 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
21854 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
21855 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
21856 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
21857 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
21858 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
21859 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
21860 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
21861 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
21862 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
21863 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
21864 "\x06\x91",
21865 .clen = 130,
21866 }, {
21867 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
21868 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
21869 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
21870 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
21871 .klen = 32,
21872 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
21873 "\x05\x06\x07\x08",
21874 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
21875 "\x00\x00\x4e\x91",
21876 .alen = 12,
21877 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
21878 "\x2d\x44\x72\x61\x66\x74\x73\x20"
21879 "\x61\x72\x65\x20\x64\x72\x61\x66"
21880 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
21881 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
21882 "\x64\x20\x66\x6f\x72\x20\x61\x20"
21883 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
21884 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
21885 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
21886 "\x64\x20\x6d\x61\x79\x20\x62\x65"
21887 "\x20\x75\x70\x64\x61\x74\x65\x64"
21888 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
21889 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
21890 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
21891 "\x20\x62\x79\x20\x6f\x74\x68\x65"
21892 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
21893 "\x6e\x74\x73\x20\x61\x74\x20\x61"
21894 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
21895 "\x20\x49\x74\x20\x69\x73\x20\x69"
21896 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
21897 "\x69\x61\x74\x65\x20\x74\x6f\x20"
21898 "\x75\x73\x65\x20\x49\x6e\x74\x65"
21899 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
21900 "\x66\x74\x73\x20\x61\x73\x20\x72"
21901 "\x65\x66\x65\x72\x65\x6e\x63\x65"
21902 "\x20\x6d\x61\x74\x65\x72\x69\x61"
21903 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
21904 "\x63\x69\x74\x65\x20\x74\x68\x65"
21905 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
21906 "\x74\x68\x61\x6e\x20\x61\x73\x20"
21907 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
21908 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
21909 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
21910 "\x9d",
21911 .plen = 265,
21912 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
21913 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
21914 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
21915 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
21916 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
21917 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
21918 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
21919 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
21920 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
21921 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
21922 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
21923 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
21924 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
21925 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
21926 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
21927 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
21928 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
21929 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
21930 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
21931 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
21932 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
21933 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
21934 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
21935 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
21936 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
21937 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
21938 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
21939 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
21940 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
21941 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
21942 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
21943 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
21944 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
21945 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
21946 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
21947 "\x38",
21948 .clen = 281,
21949 },
21950};
21951
21952/*
21953 * draft-irtf-cfrg-chacha20-poly1305
21954 */
21955static const struct aead_testvec rfc7539esp_tv_template[] = {
21956 {
21957 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
21958 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
21959 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
21960 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
21961 "\x00\x00\x00\x00",
21962 .klen = 36,
21963 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
21964 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
21965 "\x00\x00\x4e\x91\x01\x02\x03\x04"
21966 "\x05\x06\x07\x08",
21967 .alen = 20,
21968 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
21969 "\x2d\x44\x72\x61\x66\x74\x73\x20"
21970 "\x61\x72\x65\x20\x64\x72\x61\x66"
21971 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
21972 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
21973 "\x64\x20\x66\x6f\x72\x20\x61\x20"
21974 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
21975 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
21976 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
21977 "\x64\x20\x6d\x61\x79\x20\x62\x65"
21978 "\x20\x75\x70\x64\x61\x74\x65\x64"
21979 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
21980 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
21981 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
21982 "\x20\x62\x79\x20\x6f\x74\x68\x65"
21983 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
21984 "\x6e\x74\x73\x20\x61\x74\x20\x61"
21985 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
21986 "\x20\x49\x74\x20\x69\x73\x20\x69"
21987 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
21988 "\x69\x61\x74\x65\x20\x74\x6f\x20"
21989 "\x75\x73\x65\x20\x49\x6e\x74\x65"
21990 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
21991 "\x66\x74\x73\x20\x61\x73\x20\x72"
21992 "\x65\x66\x65\x72\x65\x6e\x63\x65"
21993 "\x20\x6d\x61\x74\x65\x72\x69\x61"
21994 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
21995 "\x63\x69\x74\x65\x20\x74\x68\x65"
21996 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
21997 "\x74\x68\x61\x6e\x20\x61\x73\x20"
21998 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
21999 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
22000 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
22001 "\x9d",
22002 .plen = 265,
22003 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
22004 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
22005 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
22006 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
22007 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
22008 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
22009 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
22010 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
22011 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
22012 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
22013 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
22014 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
22015 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
22016 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
22017 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
22018 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
22019 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
22020 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
22021 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
22022 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
22023 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
22024 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
22025 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
22026 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
22027 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
22028 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
22029 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
22030 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
22031 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
22032 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
22033 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
22034 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
22035 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
22036 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
22037 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
22038 "\x38",
22039 .clen = 281,
22040 },
22041};
22042
22043/*
22044 * AEGIS-128 test vectors - generated via reference implementation from
22045 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
22046 *
22047 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22048 * (see crypto_aead/aegis128/)
22049 */
22050static const struct aead_testvec aegis128_tv_template[] = {
22051 {
22052 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22053 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22054 .klen = 16,
22055 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
22056 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
22057 .assoc = "",
22058 .alen = 0,
22059 .ptext = "",
22060 .plen = 0,
22061 .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
22062 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
22063 .clen = 16,
22064 }, {
22065 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22066 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
22067 .klen = 16,
22068 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
22069 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
22070 .assoc = "",
22071 .alen = 0,
22072 .ptext = "\x79",
22073 .plen = 1,
22074 .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
22075 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
22076 "\xcc",
22077 .clen = 17,
22078 }, {
22079 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22080 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
22081 .klen = 16,
22082 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
22083 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
22084 .assoc = "",
22085 .alen = 0,
22086 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22087 "\x82\x8e\x16\xb4\xed\x6d\x47",
22088 .plen = 15,
22089 .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
22090 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
22091 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
22092 "\x7a\x21\x16\xb3\xe6\x67\x66",
22093 .clen = 31,
22094 }, {
22095 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22096 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
22097 .klen = 16,
22098 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
22099 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
22100 .assoc = "",
22101 .alen = 0,
22102 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22103 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22104 .plen = 16,
22105 .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
22106 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
22107 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
22108 "\x51\x10\x16\x27\x70\x9b\x64\x29",
22109 .clen = 32,
22110 }, {
22111 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22112 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
22113 .klen = 16,
22114 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
22115 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
22116 .assoc = "",
22117 .alen = 0,
22118 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22119 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
22120 "\xd3",
22121 .plen = 17,
22122 .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
22123 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
22124 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
22125 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
22126 "\x3b",
22127 .clen = 33,
22128 }, {
22129 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22130 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
22131 .klen = 16,
22132 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
22133 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
22134 .assoc = "",
22135 .alen = 0,
22136 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22137 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
22138 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
22139 "\x88\x11\x39\x12\x1c\x3a\xbb",
22140 .plen = 31,
22141 .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
22142 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
22143 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
22144 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
22145 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
22146 "\x75\xc4\x53\x01\x89\x45\x59",
22147 .clen = 47,
22148 }, {
22149 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22150 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
22151 .klen = 16,
22152 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
22153 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
22154 .assoc = "",
22155 .alen = 0,
22156 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22157 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
22158 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
22159 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
22160 .plen = 32,
22161 .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
22162 "\x95\xf4\x58\x38\x14\x83\x27\x01"
22163 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
22164 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
22165 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
22166 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
22167 .clen = 48,
22168 }, {
22169 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22170 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
22171 .klen = 16,
22172 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
22173 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
22174 .assoc = "\xd5",
22175 .alen = 1,
22176 .ptext = "",
22177 .plen = 0,
22178 .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
22179 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
22180 .clen = 16,
22181 }, {
22182 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22183 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
22184 .klen = 16,
22185 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
22186 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
22187 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
22188 "\x68\x75\x16\xf8\xcb\x7e\xa7",
22189 .alen = 15,
22190 .ptext = "",
22191 .plen = 0,
22192 .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
22193 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
22194 .clen = 16,
22195 }, {
22196 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22197 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
22198 .klen = 16,
22199 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
22200 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
22201 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
22202 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
22203 .alen = 16,
22204 .ptext = "",
22205 .plen = 0,
22206 .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
22207 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
22208 .clen = 16,
22209 }, {
22210 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22211 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
22212 .klen = 16,
22213 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
22214 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
22215 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
22216 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
22217 "\x07",
22218 .alen = 17,
22219 .ptext = "",
22220 .plen = 0,
22221 .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
22222 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
22223 .clen = 16,
22224 }, {
22225 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22226 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
22227 .klen = 16,
22228 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
22229 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
22230 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
22231 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
22232 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
22233 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
22234 .alen = 31,
22235 .ptext = "",
22236 .plen = 0,
22237 .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
22238 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
22239 .clen = 16,
22240 }, {
22241 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22242 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
22243 .klen = 16,
22244 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
22245 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
22246 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
22247 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
22248 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
22249 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
22250 .alen = 32,
22251 .ptext = "",
22252 .plen = 0,
22253 .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
22254 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
22255 .clen = 16,
22256 }, {
22257 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22258 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
22259 .klen = 16,
22260 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
22261 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
22262 .assoc = "\x40",
22263 .alen = 1,
22264 .ptext = "\x4f",
22265 .plen = 1,
22266 .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
22267 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
22268 "\x39",
22269 .clen = 17,
22270 }, {
22271 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22272 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
22273 .klen = 16,
22274 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
22275 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
22276 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22277 "\x6d\x92\x42\x61\xa7\x58\x37",
22278 .alen = 15,
22279 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22280 "\x8d\xc8\x6e\x85\xa5\x21\x67",
22281 .plen = 15,
22282 .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
22283 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
22284 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
22285 "\x98\xbd\x71\x7a\xef\xa4\xfa",
22286 .clen = 31,
22287 }, {
22288 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22289 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
22290 .klen = 16,
22291 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
22292 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
22293 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22294 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22295 .alen = 16,
22296 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22297 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22298 .plen = 16,
22299 .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
22300 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
22301 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
22302 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
22303 .clen = 32,
22304 }, {
22305 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22306 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
22307 .klen = 16,
22308 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
22309 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
22310 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
22311 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22312 "\x05",
22313 .alen = 17,
22314 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22315 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
22316 "\xd0",
22317 .plen = 17,
22318 .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
22319 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
22320 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
22321 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
22322 "\x93",
22323 .clen = 33,
22324 }, {
22325 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22326 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
22327 .klen = 16,
22328 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
22329 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
22330 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
22331 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
22332 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22333 "\x68\x28\x73\x40\x9f\x96\x4a",
22334 .alen = 31,
22335 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22336 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
22337 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
22338 "\x98\x34\xab\x37\x56\xae\x32",
22339 .plen = 31,
22340 .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
22341 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
22342 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
22343 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
22344 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
22345 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
22346 .clen = 47,
22347 }, {
22348 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22349 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
22350 .klen = 16,
22351 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
22352 "\x50\xc4\xde\x82\x90\x21\x11\x73",
22353 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
22354 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
22355 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22356 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22357 .alen = 32,
22358 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22359 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
22360 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
22361 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
22362 .plen = 32,
22363 .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
22364 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
22365 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
22366 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
22367 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
22368 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
22369 .clen = 48,
22370 }, {
22371 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22372 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
22373 .klen = 16,
22374 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
22375 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
22376 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
22377 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
22378 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
22379 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22380 "\x9d",
22381 .alen = 33,
22382 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22383 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
22384 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
22385 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
22386 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
22387 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
22388 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
22389 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
22390 "\xbd",
22391 .plen = 65,
22392 .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
22393 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
22394 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
22395 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
22396 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
22397 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
22398 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
22399 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
22400 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
22401 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
22402 "\x3f",
22403 .clen = 81,
22404 }, {
22405 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22406 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
22407 .klen = 16,
22408 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
22409 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
22410 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
22411 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
22412 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
22413 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
22414 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
22415 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
22416 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
22417 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
22418 "\x54",
22419 .alen = 65,
22420 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22421 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
22422 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
22423 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
22424 "\x2f",
22425 .plen = 33,
22426 .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
22427 "\x77\x09\xac\x74\xef\xd2\x56\xae"
22428 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
22429 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
22430 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
22431 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
22432 "\x39",
22433 .clen = 49,
22434 }, {
22435 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22436 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
22437 .klen = 16,
22438 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22439 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
22440 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22441 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22442 .alen = 16,
22443 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22444 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22445 .plen = 16,
22446 .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
22447 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
22448 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
22449 "\xde\x20\x59\x77\xc1\x74\x90",
22450 .clen = 31,
22451 }, {
22452 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22453 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
22454 .klen = 16,
22455 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22456 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
22457 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22458 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22459 .alen = 16,
22460 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22461 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22462 .plen = 16,
22463 .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
22464 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
22465 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
22466 "\xe9\xe0\x17\x45\x70\x12",
22467 .clen = 30,
22468 }, {
22469 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22470 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
22471 .klen = 16,
22472 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22473 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
22474 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22475 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22476 .alen = 16,
22477 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22478 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22479 .plen = 16,
22480 .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
22481 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
22482 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
22483 .clen = 24,
22484 },
22485};
22486
22487/*
22488 * SP800-90A DRBG Test vectors from
22489 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22490 *
22491 * Test vectors for DRBG with prediction resistance. All types of DRBGs
22492 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
22493 * w/o personalization string, w/ and w/o additional input string).
22494 */
22495static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
22496 {
22497 .entropy = (unsigned char *)
22498 "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
22499 "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
22500 "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
22501 "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
22502 .entropylen = 48,
22503 .entpra = (unsigned char *)
22504 "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
22505 "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
22506 "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
22507 .entprb = (unsigned char *)
22508 "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
22509 "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
22510 "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
22511 .entprlen = 32,
22512 .expected = (unsigned char *)
22513 "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
22514 "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
22515 "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
22516 "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
22517 "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
22518 "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
22519 "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
22520 "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
22521 "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
22522 "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
22523 "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
22524 .expectedlen = 128,
22525 .addtla = NULL,
22526 .addtlb = NULL,
22527 .addtllen = 0,
22528 .pers = NULL,
22529 .perslen = 0,
22530 }, {
22531 .entropy = (unsigned char *)
22532 "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
22533 "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
22534 "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
22535 "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
22536 .entropylen = 48,
22537 .entpra = (unsigned char *)
22538 "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
22539 "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
22540 "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
22541 .entprb = (unsigned char *)
22542 "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
22543 "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
22544 "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
22545 .entprlen = 32,
22546 .expected = (unsigned char *)
22547 "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
22548 "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
22549 "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
22550 "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
22551 "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
22552 "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
22553 "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
22554 "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
22555 "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
22556 "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
22557 "\x50\x47\xa3\x63\x81\x16\xaf\x19",
22558 .expectedlen = 128,
22559 .addtla = (unsigned char *)
22560 "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
22561 "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
22562 "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
22563 .addtlb = (unsigned char *)
22564 "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
22565 "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
22566 "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
22567 .addtllen = 32,
22568 .pers = NULL,
22569 .perslen = 0,
22570 }, {
22571 .entropy = (unsigned char *)
22572 "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
22573 "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
22574 "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
22575 "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
22576 .entropylen = 48,
22577 .entpra = (unsigned char *)
22578 "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
22579 "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
22580 "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
22581 .entprb = (unsigned char *)
22582 "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
22583 "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
22584 "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
22585 .entprlen = 32,
22586 .expected = (unsigned char *)
22587 "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
22588 "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
22589 "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
22590 "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
22591 "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
22592 "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
22593 "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
22594 "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
22595 "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
22596 "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
22597 "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
22598 .expectedlen = 128,
22599 .addtla = NULL,
22600 .addtlb = NULL,
22601 .addtllen = 0,
22602 .pers = (unsigned char *)
22603 "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
22604 "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
22605 "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
22606 .perslen = 32,
22607 }, {
22608 .entropy = (unsigned char *)
22609 "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
22610 "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
22611 "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
22612 "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
22613 .entropylen = 48,
22614 .entpra = (unsigned char *)
22615 "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
22616 "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
22617 "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
22618 .entprb = (unsigned char *)
22619 "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
22620 "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
22621 "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
22622 .entprlen = 32,
22623 .expected = (unsigned char *)
22624 "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
22625 "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
22626 "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
22627 "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
22628 "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
22629 "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
22630 "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
22631 "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
22632 "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
22633 "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
22634 "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
22635 .expectedlen = 128,
22636 .addtla = (unsigned char *)
22637 "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
22638 "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
22639 "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
22640 .addtlb = (unsigned char *)
22641 "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
22642 "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
22643 "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
22644 .addtllen = 32,
22645 .pers = (unsigned char *)
22646 "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
22647 "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
22648 "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
22649 .perslen = 32,
22650 },
22651};
22652
22653static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
22654 {
22655 .entropy = (unsigned char *)
22656 "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
22657 "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
22658 "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
22659 "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
22660 .entropylen = 48,
22661 .entpra = (unsigned char *)
22662 "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
22663 "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
22664 "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
22665 .entprb = (unsigned char *)
22666 "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
22667 "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
22668 "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
22669 .entprlen = 32,
22670 .expected = (unsigned char *)
22671 "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
22672 "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
22673 "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
22674 "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
22675 "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
22676 "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
22677 "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
22678 "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
22679 "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
22680 "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
22681 "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
22682 .expectedlen = 128,
22683 .addtla = NULL,
22684 .addtlb = NULL,
22685 .addtllen = 0,
22686 .pers = NULL,
22687 .perslen = 0,
22688 }, {
22689 .entropy = (unsigned char *)
22690 "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
22691 "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
22692 "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
22693 "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
22694 .entropylen = 48,
22695 .entpra = (unsigned char *)
22696 "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
22697 "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
22698 "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
22699 .entprb = (unsigned char *)
22700 "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
22701 "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
22702 "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
22703 .entprlen = 32,
22704 .expected = (unsigned char *)
22705 "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
22706 "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
22707 "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
22708 "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
22709 "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
22710 "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
22711 "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
22712 "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
22713 "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
22714 "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
22715 "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
22716 .expectedlen = 128,
22717 .addtla = (unsigned char *)
22718 "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
22719 "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
22720 "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
22721 .addtlb = (unsigned char *)
22722 "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
22723 "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
22724 "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
22725 .addtllen = 32,
22726 .pers = NULL,
22727 .perslen = 0,
22728 }, {
22729 .entropy = (unsigned char *)
22730 "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
22731 "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
22732 "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
22733 "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
22734 .entropylen = 48,
22735 .entpra = (unsigned char *)
22736 "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
22737 "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
22738 "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
22739 .entprb = (unsigned char *)
22740 "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
22741 "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
22742 "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
22743 .entprlen = 32,
22744 .expected = (unsigned char *)
22745 "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
22746 "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
22747 "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
22748 "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
22749 "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
22750 "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
22751 "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
22752 "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
22753 "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
22754 "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
22755 "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
22756 .expectedlen = 128,
22757 .addtla = NULL,
22758 .addtlb = NULL,
22759 .addtllen = 0,
22760 .pers = (unsigned char *)
22761 "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
22762 "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
22763 "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
22764 .perslen = 32,
22765 }, {
22766 .entropy = (unsigned char *)
22767 "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
22768 "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
22769 "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
22770 "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
22771 .entropylen = 48,
22772 .entpra = (unsigned char *)
22773 "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
22774 "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
22775 "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
22776 .entprb = (unsigned char *)
22777 "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
22778 "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
22779 "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
22780 .entprlen = 32,
22781 .expected = (unsigned char *)
22782 "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
22783 "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
22784 "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
22785 "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
22786 "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
22787 "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
22788 "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
22789 "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
22790 "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
22791 "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
22792 "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
22793 .expectedlen = 128,
22794 .addtla = (unsigned char *)
22795 "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
22796 "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
22797 "\x86\x88\x55\x28\xc1\x69\xdd\x76",
22798 .addtlb = (unsigned char *)
22799 "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
22800 "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
22801 "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
22802 .addtllen = 32,
22803 .pers = (unsigned char *)
22804 "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
22805 "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
22806 "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
22807 .perslen = 32,
22808 },
22809};
22810
22811static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
22812 {
22813 .entropy = (unsigned char *)
22814 "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
22815 "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
22816 .entropylen = 24,
22817 .entpra = (unsigned char *)
22818 "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
22819 "\xb4\xec\x80\xb1",
22820 .entprb = (unsigned char *)
22821 "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
22822 "\x28\x07\xeb\xc2",
22823 .entprlen = 16,
22824 .expected = (unsigned char *)
22825 "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
22826 "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
22827 "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
22828 "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
22829 "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
22830 "\x8a\xf1\x23\xa8",
22831 .expectedlen = 64,
22832 .addtla = NULL,
22833 .addtlb = NULL,
22834 .addtllen = 0,
22835 .pers = NULL,
22836 .perslen = 0,
22837 }, {
22838 .entropy = (unsigned char *)
22839 "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
22840 "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
22841 .entropylen = 24,
22842 .entpra = (unsigned char *)
22843 "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
22844 "\x67\xd1\x08\xf8",
22845 .entprb = (unsigned char *)
22846 "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
22847 "\xd4\xba\x04\x58",
22848 .entprlen = 16,
22849 .expected = (unsigned char *)
22850 "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
22851 "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
22852 "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
22853 "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
22854 "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
22855 "\xc1\x02\x41\x82",
22856 .expectedlen = 64,
22857 .addtla = (unsigned char *)
22858 "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
22859 "\xeb\xb3\x01\x76",
22860 .addtlb = (unsigned char *)
22861 "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
22862 "\xd0\x7f\xcc\x43",
22863 .addtllen = 16,
22864 .pers = NULL,
22865 .perslen = 0,
22866 }, {
22867 .entropy = (unsigned char *)
22868 "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
22869 "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
22870 .entropylen = 24,
22871 .entpra = (unsigned char *)
22872 "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
22873 "\xc3\x0f\xe3\xb0",
22874 .entprb = (unsigned char *)
22875 "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
22876 "\xd6\x9c\x9d\xe8",
22877 .entprlen = 16,
22878 .expected = (unsigned char *)
22879 "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
22880 "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
22881 "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
22882 "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
22883 "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
22884 "\x72\x82\x0c\xcf",
22885 .expectedlen = 64,
22886 .addtla = NULL,
22887 .addtlb = NULL,
22888 .addtllen = 0,
22889 .pers = (unsigned char *)
22890 "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
22891 "\x21\x52\xb3\xad",
22892 .perslen = 16,
22893 }, {
22894 .entropy = (unsigned char *)
22895 "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
22896 "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
22897 .entropylen = 24,
22898 .entpra = (unsigned char *)
22899 "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
22900 "\xc4\x2c\xe8\x10",
22901 .entprb = (unsigned char *)
22902 "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
22903 "\x08\xf7\xa5\x01",
22904 .entprlen = 16,
22905 .expected = (unsigned char *)
22906 "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
22907 "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
22908 "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
22909 "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
22910 "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
22911 "\x23\xc5\x1f\x68",
22912 .expectedlen = 64,
22913 .addtla = (unsigned char *)
22914 "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
22915 "\x23\x6d\xad\x1d",
22916 .addtlb = (unsigned char *)
22917 "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
22918 "\xbc\x59\x31\x8c",
22919 .addtllen = 16,
22920 .pers = (unsigned char *)
22921 "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
22922 "\x37\x3c\x5c\x0b",
22923 .perslen = 16,
22924 },
22925};
22926
22927/*
22928 * SP800-90A DRBG Test vectors from
22929 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22930 *
22931 * Test vectors for DRBG without prediction resistance. All types of DRBGs
22932 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
22933 * w/o personalization string, w/ and w/o additional input string).
22934 */
22935static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
22936 {
22937 .entropy = (unsigned char *)
22938 "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
22939 "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
22940 "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
22941 "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
22942 .entropylen = 48,
22943 .expected = (unsigned char *)
22944 "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
22945 "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
22946 "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
22947 "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
22948 "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
22949 "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
22950 "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
22951 "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
22952 "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
22953 "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
22954 "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
22955 .expectedlen = 128,
22956 .addtla = NULL,
22957 .addtlb = NULL,
22958 .addtllen = 0,
22959 .pers = NULL,
22960 .perslen = 0,
22961 }, {
22962 .entropy = (unsigned char *)
22963 "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
22964 "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
22965 "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
22966 "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
22967 .entropylen = 48,
22968 .expected = (unsigned char *)
22969 "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
22970 "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
22971 "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
22972 "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
22973 "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
22974 "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
22975 "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
22976 "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
22977 "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
22978 "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
22979 "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
22980 .expectedlen = 128,
22981 .addtla = (unsigned char *)
22982 "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
22983 "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
22984 "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
22985 .addtlb = (unsigned char *)
22986 "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
22987 "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
22988 "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
22989 .addtllen = 32,
22990 .pers = NULL,
22991 .perslen = 0,
22992 }, {
22993 .entropy = (unsigned char *)
22994 "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
22995 "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
22996 "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
22997 "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
22998 .entropylen = 48,
22999 .expected = (unsigned char *)
23000 "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
23001 "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
23002 "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
23003 "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
23004 "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
23005 "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
23006 "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
23007 "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
23008 "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
23009 "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
23010 "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
23011 .expectedlen = 128,
23012 .addtla = NULL,
23013 .addtlb = NULL,
23014 .addtllen = 0,
23015 .pers = (unsigned char *)
23016 "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
23017 "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
23018 "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
23019 .perslen = 32,
23020 }, {
23021 .entropy = (unsigned char *)
23022 "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
23023 "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
23024 "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
23025 "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
23026 .entropylen = 48,
23027 .expected = (unsigned char *)
23028 "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
23029 "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
23030 "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
23031 "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
23032 "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
23033 "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
23034 "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
23035 "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
23036 "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
23037 "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
23038 "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
23039 .expectedlen = 128,
23040 .addtla = (unsigned char *)
23041 "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
23042 "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
23043 "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
23044 .addtlb = (unsigned char *)
23045 "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
23046 "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
23047 "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
23048 .addtllen = 32,
23049 .pers = (unsigned char *)
23050 "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
23051 "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
23052 "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
23053 .perslen = 32,
23054 },
23055};
23056
23057static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
23058 {
23059 .entropy = (unsigned char *)
23060 "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
23061 "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
23062 "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
23063 "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
23064 .entropylen = 48,
23065 .expected = (unsigned char *)
23066 "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
23067 "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
23068 "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
23069 "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
23070 "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
23071 "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
23072 "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
23073 "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
23074 "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
23075 "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
23076 "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
23077 .expectedlen = 128,
23078 .addtla = NULL,
23079 .addtlb = NULL,
23080 .addtllen = 0,
23081 .pers = NULL,
23082 .perslen = 0,
23083 }, {
23084 .entropy = (unsigned char *)
23085 "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
23086 "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
23087 "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
23088 "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
23089 .entropylen = 48,
23090 .expected = (unsigned char *)
23091 "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
23092 "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
23093 "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
23094 "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
23095 "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
23096 "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
23097 "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
23098 "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
23099 "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
23100 "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
23101 "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
23102 .expectedlen = 128,
23103 .addtla = (unsigned char *)
23104 "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
23105 "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
23106 "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
23107 .addtlb = (unsigned char *)
23108 "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
23109 "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
23110 "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
23111 .addtllen = 32,
23112 .pers = NULL,
23113 .perslen = 0,
23114 }, {
23115 .entropy = (unsigned char *)
23116 "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
23117 "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
23118 "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
23119 "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
23120 .entropylen = 48,
23121 .expected = (unsigned char *)
23122 "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
23123 "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
23124 "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
23125 "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
23126 "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
23127 "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
23128 "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
23129 "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
23130 "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
23131 "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
23132 "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
23133 .expectedlen = 128,
23134 .addtla = NULL,
23135 .addtlb = NULL,
23136 .addtllen = 0,
23137 .pers = (unsigned char *)
23138 "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
23139 "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
23140 "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
23141 .perslen = 32,
23142 }, {
23143 .entropy = (unsigned char *)
23144 "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
23145 "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
23146 "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
23147 "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
23148 .entropylen = 48,
23149 .expected = (unsigned char *)
23150 "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
23151 "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
23152 "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
23153 "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
23154 "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
23155 "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
23156 "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
23157 "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
23158 "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
23159 "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
23160 "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
23161 .expectedlen = 128,
23162 .addtla = (unsigned char *)
23163 "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
23164 "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
23165 "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
23166 .addtlb = (unsigned char *)
23167 "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
23168 "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
23169 "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
23170 .addtllen = 32,
23171 .pers = (unsigned char *)
23172 "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
23173 "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
23174 "\x36\x60\x3b\xca\x37\xc9\xee\x29",
23175 .perslen = 32,
23176 },
23177};
23178
23179/* Test vector obtained during NIST ACVP testing */
23180static const struct drbg_testvec drbg_nopr_hmac_sha512_tv_template[] = {
23181 {
23182 .entropy = (unsigned char *)
23183 "\xDF\xB0\xF2\x18\xF0\x78\x07\x01\x29\xA4\x29\x26"
23184 "\x2F\x8A\x34\xCB\x37\xEF\xEE\x41\xE6\x96\xF7\xFF"
23185 "\x61\x47\xD3\xED\x41\x97\xEF\x64\x0C\x48\x56\x5A"
23186 "\xE6\x40\x6E\x4A\x3B\x9E\x7F\xAC\x08\xEC\x25\xAE"
23187 "\x0B\x51\x0E\x2C\x44\x2E\xBD\xDB\x57\xD0\x4A\x6D"
23188 "\x80\x3E\x37\x0F",
23189 .entropylen = 64,
23190 .expected = (unsigned char *)
23191 "\x48\xc6\xa8\xdb\x09\xae\xde\x5d\x8c\x77\xf3\x52"
23192 "\x92\x71\xa7\xb9\x6d\x53\x6d\xa3\x73\xe3\x55\xb8"
23193 "\x39\xd6\x44\x2b\xee\xcb\xe1\x32\x15\x30\xbe\x4e"
23194 "\x9b\x1e\x06\xd1\x6b\xbf\xd5\x3e\xea\x7c\xf5\xaa"
23195 "\x4b\x05\xb5\xd3\xa7\xb2\xc4\xfe\xe7\x1b\xda\x11"
23196 "\x43\x98\x03\x70\x90\xbf\x6e\x43\x9b\xe4\x14\xef"
23197 "\x71\xa3\x2a\xef\x9f\x0d\xb9\xe3\x52\xf2\x89\xc9"
23198 "\x66\x9a\x60\x60\x99\x60\x62\x4c\xd6\x45\x52\x54"
23199 "\xe6\x32\xb2\x1b\xd4\x48\xb5\xa6\xf9\xba\xd3\xff"
23200 "\x29\xc5\x21\xe0\x91\x31\xe0\x38\x8c\x93\x0f\x3c"
23201 "\x30\x7b\x53\xa3\xc0\x7f\x2d\xc1\x39\xec\x69\x0e"
23202 "\xf2\x4a\x3c\x65\xcc\xed\x07\x2a\xf2\x33\x83\xdb"
23203 "\x10\x74\x96\x40\xa7\xc5\x1b\xde\x81\xca\x0b\x8f"
23204 "\x1e\x0a\x1a\x7a\xbf\x3c\x4a\xb8\x8c\xaf\x7b\x80"
23205 "\xb7\xdc\x5d\x0f\xef\x1b\x97\x6e\x3d\x17\x23\x5a"
23206 "\x31\xb9\x19\xcf\x5a\xc5\x00\x2a\xb6\xf3\x99\x34"
23207 "\x65\xee\xe9\x1c\x55\xa0\x3b\x07\x60\xc9\xc4\xe4"
23208 "\xf7\x57\x5c\x34\x9f\xc6\x31\x30\x3f\x23\xb2\x89"
23209 "\xc0\xe7\x50\xf3\xde\x59\xd1\x0e\xb3\x0f\x78\xcc"
23210 "\x7e\x54\x5e\x61\xf6\x86\x3d\xb3\x11\x94\x36\x3e"
23211 "\x61\x5c\x48\x99\xf6\x7b\x02\x9a\xdc\x6a\x28\xe6"
23212 "\xd1\xa7\xd1\xa3",
23213 .expectedlen = 256,
23214 .addtla = (unsigned char *)
23215 "\x6B\x0F\x4A\x48\x0B\x12\x85\xE4\x72\x23\x7F\x7F"
23216 "\x94\x7C\x24\x69\x14\x9F\xDC\x72\xA6\x33\xAD\x3C"
23217 "\x8C\x72\xC1\x88\x49\x59\x82\xC5",
23218 .addtlb = (unsigned char *)
23219 "\xC4\xAF\x36\x3D\xB8\x5D\x9D\xFA\x92\xF5\xC3\x3C"
23220 "\x2D\x1E\x22\x2A\xBD\x8B\x05\x6F\xA3\xFC\xBF\x16"
23221 "\xED\xAA\x75\x8D\x73\x9A\xF6\xEC",
23222 .addtllen = 32,
23223 .pers = NULL,
23224 .perslen = 0,
23225 }
23226};
23227
23228static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
23229 {
23230 .entropy = (unsigned char *)
23231 "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
23232 "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
23233 "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
23234 "\xac\x9b\xbb\x00",
23235 .entropylen = 40,
23236 .expected = (unsigned char *)
23237 "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
23238 "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
23239 "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
23240 "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
23241 "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
23242 "\x9a\x9d\xf1\x0d",
23243 .expectedlen = 64,
23244 .addtla = NULL,
23245 .addtlb = NULL,
23246 .addtllen = 0,
23247 .pers = NULL,
23248 .perslen = 0,
23249 },
23250};
23251
23252static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
23253 {
23254 .entropy = (unsigned char *)
23255 "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
23256 "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
23257 "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
23258 "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
23259 .entropylen = 48,
23260 .expected = (unsigned char *)
23261 "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
23262 "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
23263 "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
23264 "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
23265 "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
23266 "\xb4\xf0\x7e\x1d",
23267 .expectedlen = 64,
23268 .addtla = NULL,
23269 .addtlb = NULL,
23270 .addtllen = 0,
23271 .pers = NULL,
23272 .perslen = 0,
23273 },
23274};
23275
23276static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
23277 {
23278 .entropy = (unsigned char *)
23279 "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
23280 "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
23281 .entropylen = 24,
23282 .expected = (unsigned char *)
23283 "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
23284 "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
23285 "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
23286 "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
23287 "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
23288 "\xcb\x2d\xd6\xb0",
23289 .expectedlen = 64,
23290 .addtla = NULL,
23291 .addtlb = NULL,
23292 .addtllen = 0,
23293 .pers = NULL,
23294 .perslen = 0,
23295 }, {
23296 .entropy = (unsigned char *)
23297 "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
23298 "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
23299 .entropylen = 24,
23300 .expected = (unsigned char *)
23301 "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
23302 "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
23303 "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
23304 "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
23305 "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
23306 "\xc3\xdf\xb3\x81",
23307 .expectedlen = 64,
23308 .addtla = (unsigned char *)
23309 "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
23310 "\x91\x4d\x81\x56",
23311 .addtlb = (unsigned char *)
23312 "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
23313 "\x4a\x55\xd1\xc6",
23314 .addtllen = 16,
23315 .pers = NULL,
23316 .perslen = 0,
23317 }, {
23318 .entropy = (unsigned char *)
23319 "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
23320 "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
23321 .entropylen = 24,
23322 .expected = (unsigned char *)
23323 "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
23324 "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
23325 "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
23326 "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
23327 "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
23328 "\x34\x30\x0c\x3d",
23329 .expectedlen = 64,
23330 .addtla = NULL,
23331 .addtlb = NULL,
23332 .addtllen = 0,
23333 .pers = (unsigned char *)
23334 "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
23335 "\x0b\xc6\x97\x54",
23336 .perslen = 16,
23337 }, {
23338 .entropy = (unsigned char *)
23339 "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
23340 "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
23341 .entropylen = 24,
23342 .expected = (unsigned char *)
23343 "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
23344 "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
23345 "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
23346 "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
23347 "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
23348 "\x2b\x49\x1e\x5c",
23349 .expectedlen = 64,
23350 .addtla = (unsigned char *)
23351 "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
23352 "\x44\x85\xe7\xfe",
23353 .addtlb = (unsigned char *)
23354 "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
23355 "\x82\x16\x62\x7f",
23356 .addtllen = 16,
23357 .pers = (unsigned char *)
23358 "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
23359 "\x8e\xcf\xe0\x02",
23360 .perslen = 16,
23361 },
23362};
23363
23364/* Cast5 test vectors from RFC 2144 */
23365static const struct cipher_testvec cast5_tv_template[] = {
23366 {
23367 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23368 "\x23\x45\x67\x89\x34\x56\x78\x9a",
23369 .klen = 16,
23370 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23371 .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
23372 .len = 8,
23373 }, {
23374 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23375 "\x23\x45",
23376 .klen = 10,
23377 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23378 .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
23379 .len = 8,
23380 }, {
23381 .key = "\x01\x23\x45\x67\x12",
23382 .klen = 5,
23383 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23384 .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
23385 .len = 8,
23386 }, { /* Generated from TF test vectors */
23387 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23388 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23389 .klen = 16,
23390 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23391 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23392 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23393 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23394 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23395 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23396 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23397 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23398 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23399 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23400 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23401 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23402 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23403 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23404 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23405 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23406 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23407 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23408 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23409 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23410 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23411 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23412 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23413 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23414 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23415 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23416 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23417 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23418 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23419 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23420 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23421 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23422 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23423 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23424 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23425 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23426 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23427 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23428 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23429 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23430 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23431 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23432 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23433 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23434 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23435 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23436 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23437 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23438 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23439 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23440 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23441 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23442 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23443 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23444 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23445 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23446 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23447 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23448 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23449 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23450 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23451 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23452 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23453 .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
23454 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
23455 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
23456 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
23457 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
23458 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
23459 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
23460 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
23461 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
23462 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
23463 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
23464 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
23465 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
23466 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
23467 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
23468 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
23469 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
23470 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
23471 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
23472 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
23473 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
23474 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
23475 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
23476 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
23477 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
23478 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
23479 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
23480 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
23481 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
23482 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
23483 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
23484 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
23485 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
23486 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
23487 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
23488 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
23489 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
23490 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
23491 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
23492 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
23493 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
23494 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
23495 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
23496 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
23497 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
23498 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
23499 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
23500 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
23501 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
23502 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
23503 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
23504 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
23505 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
23506 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
23507 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
23508 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
23509 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
23510 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
23511 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
23512 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
23513 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
23514 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
23515 .len = 496,
23516 },
23517};
23518
23519static const struct cipher_testvec cast5_cbc_tv_template[] = {
23520 { /* Generated from TF test vectors */
23521 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23522 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23523 .klen = 16,
23524 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23525 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
23526 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23527 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23528 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23529 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23530 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23531 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23532 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23533 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23534 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23535 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23536 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23537 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23538 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23539 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23540 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23541 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23542 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23543 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23544 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23545 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23546 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23547 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23548 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23549 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23550 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23551 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23552 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23553 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23554 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23555 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23556 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23557 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23558 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23559 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23560 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23561 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23562 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23563 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23564 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23565 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23566 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23567 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23568 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23569 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23570 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23571 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23572 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23573 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23574 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23575 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23576 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23577 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23578 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23579 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23580 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23581 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23582 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23583 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23584 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23585 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23586 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23587 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23588 .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
23589 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
23590 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
23591 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
23592 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
23593 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
23594 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
23595 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
23596 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
23597 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
23598 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
23599 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
23600 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
23601 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
23602 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
23603 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
23604 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
23605 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
23606 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
23607 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
23608 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
23609 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
23610 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
23611 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
23612 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
23613 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
23614 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
23615 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
23616 "\x90\x12\x37\x49\x27\x98\x69\x18"
23617 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
23618 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
23619 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
23620 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
23621 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
23622 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
23623 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
23624 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
23625 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
23626 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
23627 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
23628 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
23629 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
23630 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
23631 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
23632 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
23633 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
23634 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
23635 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
23636 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
23637 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
23638 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
23639 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
23640 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
23641 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
23642 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
23643 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
23644 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
23645 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
23646 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
23647 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
23648 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
23649 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
23650 .len = 496,
23651 },
23652};
23653
23654static const struct cipher_testvec cast5_ctr_tv_template[] = {
23655 { /* Generated from TF test vectors */
23656 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23657 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23658 .klen = 16,
23659 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23660 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
23661 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23662 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23663 "\x3A",
23664 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
23665 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
23666 "\x0C",
23667 .len = 17,
23668 }, { /* Generated from TF test vectors */
23669 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23670 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23671 .klen = 16,
23672 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23673 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
23674 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23675 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23676 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23677 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23678 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23679 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23680 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23681 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23682 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23683 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23684 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23685 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23686 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23687 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23688 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23689 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23690 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23691 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23692 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23693 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23694 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23695 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23696 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23697 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23698 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23699 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23700 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23701 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23702 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23703 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23704 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23705 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23706 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23707 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23708 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23709 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23710 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23711 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23712 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23713 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23714 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23715 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23716 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23717 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23718 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23719 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23720 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23721 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23722 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23723 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23724 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23725 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23726 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23727 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23728 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23729 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23730 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23731 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23732 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23733 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23734 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23735 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23736 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
23737 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
23738 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
23739 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
23740 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
23741 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
23742 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
23743 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
23744 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
23745 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
23746 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
23747 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
23748 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
23749 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
23750 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
23751 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
23752 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
23753 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
23754 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
23755 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
23756 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
23757 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
23758 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
23759 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
23760 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
23761 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
23762 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
23763 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
23764 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
23765 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
23766 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
23767 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
23768 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
23769 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
23770 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
23771 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
23772 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
23773 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
23774 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
23775 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
23776 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
23777 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
23778 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
23779 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
23780 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
23781 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
23782 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
23783 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
23784 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
23785 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
23786 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
23787 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
23788 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
23789 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
23790 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
23791 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
23792 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
23793 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
23794 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
23795 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
23796 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
23797 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
23798 .len = 496,
23799 },
23800};
23801
23802/*
23803 * ARC4 test vectors from OpenSSL
23804 */
23805static const struct cipher_testvec arc4_tv_template[] = {
23806 {
23807 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23808 .klen = 8,
23809 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23810 .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
23811 .len = 8,
23812 }, {
23813 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23814 .klen = 8,
23815 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23816 .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
23817 .len = 8,
23818 }, {
23819 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
23820 .klen = 8,
23821 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23822 .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
23823 .len = 8,
23824 }, {
23825 .key = "\xef\x01\x23\x45",
23826 .klen = 4,
23827 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
23828 "\x00\x00\x00\x00\x00\x00\x00\x00"
23829 "\x00\x00\x00\x00",
23830 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
23831 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
23832 "\x36\xb6\x78\x58",
23833 .len = 20,
23834 }, {
23835 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23836 .klen = 8,
23837 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23838 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23839 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23840 "\x12\x34\x56\x78",
23841 .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
23842 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
23843 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
23844 "\x40\x01\x1e\xcf",
23845 .len = 28,
23846 }, {
23847 .key = "\xef\x01\x23\x45",
23848 .klen = 4,
23849 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
23850 "\x00\x00",
23851 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
23852 "\xbd\x61",
23853 .len = 10,
23854 }, {
23855 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
23856 "\x00\x00\x00\x00\x00\x00\x00\x00",
23857 .klen = 16,
23858 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
23859 .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
23860 .len = 8,
23861 },
23862};
23863
23864/*
23865 * TEA test vectors
23866 */
23867static const struct cipher_testvec tea_tv_template[] = {
23868 {
23869 .key = zeroed_string,
23870 .klen = 16,
23871 .ptext = zeroed_string,
23872 .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
23873 .len = 8,
23874 }, {
23875 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
23876 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
23877 .klen = 16,
23878 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
23879 .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
23880 .len = 8,
23881 }, {
23882 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
23883 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
23884 .klen = 16,
23885 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
23886 "\x65\x73\x74\x5f\x76\x65\x63\x74",
23887 .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
23888 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
23889 .len = 16,
23890 }, {
23891 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
23892 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
23893 .klen = 16,
23894 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
23895 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
23896 "\x79\x6f\x75\x21\x21\x21\x20\x72"
23897 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
23898 .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
23899 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
23900 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
23901 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
23902 .len = 32,
23903 }
23904};
23905
23906/*
23907 * XTEA test vectors
23908 */
23909static const struct cipher_testvec xtea_tv_template[] = {
23910 {
23911 .key = zeroed_string,
23912 .klen = 16,
23913 .ptext = zeroed_string,
23914 .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
23915 .len = 8,
23916 }, {
23917 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
23918 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
23919 .klen = 16,
23920 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
23921 .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
23922 .len = 8,
23923 }, {
23924 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
23925 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
23926 .klen = 16,
23927 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
23928 "\x65\x73\x74\x5f\x76\x65\x63\x74",
23929 .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
23930 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
23931 .len = 16,
23932 }, {
23933 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
23934 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
23935 .klen = 16,
23936 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
23937 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
23938 "\x79\x6f\x75\x21\x21\x21\x20\x72"
23939 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
23940 .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
23941 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
23942 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
23943 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
23944 .len = 32,
23945 }
23946};
23947
23948/*
23949 * KHAZAD test vectors.
23950 */
23951static const struct cipher_testvec khazad_tv_template[] = {
23952 {
23953 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
23954 "\x00\x00\x00\x00\x00\x00\x00\x00",
23955 .klen = 16,
23956 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23957 .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
23958 .len = 8,
23959 }, {
23960 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
23961 "\x38\x38\x38\x38\x38\x38\x38\x38",
23962 .klen = 16,
23963 .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
23964 .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
23965 .len = 8,
23966 }, {
23967 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
23968 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
23969 .klen = 16,
23970 .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
23971 .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
23972 .len = 8,
23973 }, {
23974 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23975 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23976 .klen = 16,
23977 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23978 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
23979 .len = 8,
23980 }, {
23981 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23982 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23983 .klen = 16,
23984 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23985 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23986 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
23987 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
23988 .len = 16,
23989 },
23990};
23991
23992/*
23993 * Anubis test vectors.
23994 */
23995
23996static const struct cipher_testvec anubis_tv_template[] = {
23997 {
23998 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23999 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24000 .klen = 16,
24001 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24002 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24003 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24004 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
24005 .len = 16,
24006 }, {
24007
24008 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
24009 "\x03\x03\x03\x03\x03\x03\x03\x03"
24010 "\x03\x03\x03\x03",
24011 .klen = 20,
24012 .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
24013 "\x03\x03\x03\x03\x03\x03\x03\x03",
24014 .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
24015 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
24016 .len = 16,
24017 }, {
24018 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
24019 "\x24\x24\x24\x24\x24\x24\x24\x24"
24020 "\x24\x24\x24\x24\x24\x24\x24\x24"
24021 "\x24\x24\x24\x24",
24022 .klen = 28,
24023 .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
24024 "\x24\x24\x24\x24\x24\x24\x24\x24",
24025 .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
24026 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
24027 .len = 16,
24028 }, {
24029 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
24030 "\x25\x25\x25\x25\x25\x25\x25\x25"
24031 "\x25\x25\x25\x25\x25\x25\x25\x25"
24032 "\x25\x25\x25\x25\x25\x25\x25\x25",
24033 .klen = 32,
24034 .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
24035 "\x25\x25\x25\x25\x25\x25\x25\x25",
24036 .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
24037 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
24038 .len = 16,
24039 }, {
24040 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
24041 "\x35\x35\x35\x35\x35\x35\x35\x35"
24042 "\x35\x35\x35\x35\x35\x35\x35\x35"
24043 "\x35\x35\x35\x35\x35\x35\x35\x35"
24044 "\x35\x35\x35\x35\x35\x35\x35\x35",
24045 .klen = 40,
24046 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
24047 "\x35\x35\x35\x35\x35\x35\x35\x35",
24048 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24049 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
24050 .len = 16,
24051 },
24052};
24053
24054static const struct cipher_testvec anubis_cbc_tv_template[] = {
24055 {
24056 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24057 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24058 .klen = 16,
24059 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24060 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24061 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24062 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24063 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
24064 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
24065 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
24066 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
24067 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
24068 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
24069 .len = 32,
24070 }, {
24071 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
24072 "\x35\x35\x35\x35\x35\x35\x35\x35"
24073 "\x35\x35\x35\x35\x35\x35\x35\x35"
24074 "\x35\x35\x35\x35\x35\x35\x35\x35"
24075 "\x35\x35\x35\x35\x35\x35\x35\x35",
24076 .klen = 40,
24077 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24078 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24079 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
24080 "\x35\x35\x35\x35\x35\x35\x35\x35"
24081 "\x35\x35\x35\x35\x35\x35\x35\x35"
24082 "\x35\x35\x35\x35\x35\x35\x35\x35",
24083 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
24084 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
24085 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
24086 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
24087 .len = 32,
24088 },
24089};
24090
24091/*
24092 * XETA test vectors
24093 */
24094static const struct cipher_testvec xeta_tv_template[] = {
24095 {
24096 .key = zeroed_string,
24097 .klen = 16,
24098 .ptext = zeroed_string,
24099 .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
24100 .len = 8,
24101 }, {
24102 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
24103 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
24104 .klen = 16,
24105 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
24106 .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
24107 .len = 8,
24108 }, {
24109 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
24110 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
24111 .klen = 16,
24112 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
24113 "\x65\x73\x74\x5f\x76\x65\x63\x74",
24114 .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
24115 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
24116 .len = 16,
24117 }, {
24118 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
24119 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
24120 .klen = 16,
24121 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
24122 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
24123 "\x79\x6f\x75\x21\x21\x21\x20\x72"
24124 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
24125 .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
24126 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
24127 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
24128 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
24129 .len = 32,
24130 }
24131};
24132
24133/*
24134 * FCrypt test vectors
24135 */
24136static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
24137 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
24138 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
24139 .klen = 8,
24140 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
24141 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
24142 .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
24143 .len = 8,
24144 }, {
24145 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
24146 .klen = 8,
24147 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
24148 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
24149 .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
24150 .len = 8,
24151 }, { /* From Arla */
24152 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
24153 .klen = 8,
24154 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24155 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
24156 .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
24157 "\xee\xac\x98\x62\x44\x51\xe4\x84"
24158 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
24159 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
24160 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
24161 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
24162 .len = 48,
24163 }, {
24164 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24165 .klen = 8,
24166 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
24167 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
24168 .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
24169 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
24170 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
24171 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
24172 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
24173 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
24174 .len = 48,
24175 }
24176};
24177
24178/*
24179 * CAMELLIA test vectors.
24180 */
24181static const struct hash_testvec camellia_cmac128_tv_template[] = {
24182 { /* From draft-kato-ipsec-camellia-cmac96and128-01 */
24183 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24184 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24185 .plaintext = zeroed_string,
24186 .digest = "\xba\x92\x57\x82\xaa\xa1\xf5\xd9"
24187 "\xa0\x0f\x89\x64\x80\x94\xfc\x71",
24188 .psize = 0,
24189 .ksize = 16,
24190 }, {
24191 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24192 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24193 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24194 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
24195 .digest = "\x6d\x96\x28\x54\xa3\xb9\xfd\xa5"
24196 "\x6d\x7d\x45\xa9\x5e\xe1\x79\x93",
24197 .psize = 16,
24198 .ksize = 16,
24199 }, {
24200 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24201 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24202 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24203 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
24204 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
24205 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
24206 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
24207 .digest = "\x5c\x18\xd1\x19\xcc\xd6\x76\x61"
24208 "\x44\xac\x18\x66\x13\x1d\x9f\x22",
24209 .psize = 40,
24210 .ksize = 16,
24211 }, {
24212 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
24213 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
24214 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
24215 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
24216 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
24217 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
24218 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
24219 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
24220 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
24221 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
24222 .digest = "\xc2\x69\x9a\x6e\xba\x55\xce\x9d"
24223 "\x93\x9a\x8a\x4e\x19\x46\x6e\xe9",
24224 .psize = 64,
24225 .ksize = 16,
24226 }
24227};
24228static const struct cipher_testvec camellia_tv_template[] = {
24229 {
24230 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24231 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24232 .klen = 16,
24233 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24234 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24235 .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
24236 "\x08\x57\x06\x56\x48\xea\xbe\x43",
24237 .len = 16,
24238 }, {
24239 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24240 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24241 "\x00\x11\x22\x33\x44\x55\x66\x77",
24242 .klen = 24,
24243 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24244 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24245 .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
24246 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
24247 .len = 16,
24248 }, {
24249 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24250 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
24251 "\x00\x11\x22\x33\x44\x55\x66\x77"
24252 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
24253 .klen = 32,
24254 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
24255 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
24256 .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
24257 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
24258 .len = 16,
24259 }, { /* Generated with Crypto++ */
24260 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
24261 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
24262 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
24263 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
24264 .klen = 32,
24265 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24266 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24267 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24268 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24269 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24270 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24271 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24272 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24273 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24274 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24275 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24276 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24277 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24278 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24279 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24280 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24281 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24282 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24283 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24284 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24285 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24286 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24287 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24288 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24289 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24290 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24291 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24292 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24293 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24294 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24295 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24296 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24297 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24298 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24299 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24300 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24301 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24302 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24303 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24304 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24305 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24306 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24307 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24308 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24309 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24310 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24311 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24312 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24313 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24314 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24315 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24316 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24317 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24318 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24319 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24320 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24321 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24322 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24323 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24324 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24325 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24326 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24327 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24328 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24329 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24330 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24331 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24332 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24333 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24334 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24335 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24336 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24337 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24338 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24339 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24340 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24341 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24342 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24343 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24344 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24345 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24346 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24347 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24348 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24349 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24350 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24351 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24352 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24353 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24354 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24355 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24356 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24357 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24358 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24359 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24360 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24361 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24362 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24363 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24364 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24365 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24366 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24367 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24368 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24369 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24370 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24371 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24372 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24373 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24374 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24375 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24376 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24377 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24378 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24379 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24380 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24381 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24382 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24383 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24384 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24385 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24386 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24387 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24388 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24389 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24390 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24391 .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
24392 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
24393 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
24394 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
24395 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
24396 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
24397 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
24398 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
24399 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
24400 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
24401 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
24402 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
24403 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
24404 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
24405 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
24406 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
24407 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
24408 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
24409 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
24410 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
24411 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
24412 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
24413 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
24414 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
24415 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
24416 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
24417 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
24418 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
24419 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
24420 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
24421 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
24422 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
24423 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
24424 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
24425 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
24426 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
24427 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
24428 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
24429 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
24430 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
24431 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
24432 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
24433 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
24434 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
24435 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
24436 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
24437 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
24438 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
24439 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
24440 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
24441 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
24442 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
24443 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
24444 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
24445 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
24446 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
24447 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
24448 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
24449 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
24450 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
24451 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
24452 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
24453 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
24454 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
24455 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
24456 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
24457 "\xED\x28\x39\xE9\x63\xED\x41\x70"
24458 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
24459 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
24460 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
24461 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
24462 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
24463 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
24464 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
24465 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
24466 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
24467 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
24468 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
24469 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
24470 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
24471 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
24472 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
24473 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
24474 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
24475 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
24476 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
24477 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
24478 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
24479 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
24480 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
24481 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
24482 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
24483 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
24484 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
24485 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
24486 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
24487 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
24488 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
24489 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
24490 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
24491 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
24492 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
24493 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
24494 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
24495 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
24496 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
24497 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
24498 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
24499 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
24500 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
24501 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
24502 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
24503 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
24504 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
24505 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
24506 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
24507 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
24508 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
24509 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
24510 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
24511 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
24512 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
24513 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
24514 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
24515 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
24516 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
24517 .len = 1008,
24518 },
24519};
24520
24521static const struct cipher_testvec camellia_cbc_tv_template[] = {
24522 {
24523 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
24524 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
24525 .klen = 16,
24526 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
24527 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
24528 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24529 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24530 .ptext = "Single block msg",
24531 .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24532 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24533 .len = 16,
24534 }, {
24535 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
24536 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
24537 .klen = 16,
24538 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
24539 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
24540 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24541 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
24542 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
24543 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24544 "\x10\x11\x12\x13\x14\x15\x16\x17"
24545 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
24546 .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
24547 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
24548 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24549 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
24550 .len = 32,
24551 }, { /* Generated with Crypto++ */
24552 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24553 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24554 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24555 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24556 .klen = 32,
24557 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24558 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
24559 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
24560 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
24561 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24562 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24563 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24564 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24565 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24566 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24567 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24568 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24569 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24570 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24571 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24572 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24573 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24574 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24575 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24576 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24577 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24578 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24579 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24580 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24581 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24582 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24583 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24584 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24585 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24586 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24587 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24588 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24589 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24590 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24591 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24592 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24593 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24594 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24595 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24596 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24597 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24598 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24599 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24600 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24601 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24602 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24603 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24604 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24605 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24606 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24607 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24608 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24609 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24610 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24611 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24612 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24613 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24614 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24615 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24616 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24617 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24618 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24619 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24620 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24621 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24622 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24623 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24624 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24625 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24626 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24627 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24628 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24629 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24630 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24631 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24632 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24633 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24634 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24635 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24636 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24637 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24638 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24639 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24640 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24641 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24642 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24643 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24644 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24645 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24646 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24647 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24648 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24649 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24650 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24651 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24652 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24653 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24654 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24655 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24656 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24657 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24658 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24659 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24660 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24661 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24662 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24663 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24664 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24665 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24666 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24667 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24668 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24669 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24670 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24671 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24672 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24673 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24674 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24675 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24676 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24677 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24678 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24679 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24680 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24681 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24682 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24683 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24684 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24685 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24686 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24687 .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
24688 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
24689 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
24690 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
24691 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
24692 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
24693 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
24694 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
24695 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
24696 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
24697 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
24698 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
24699 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
24700 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
24701 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
24702 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
24703 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
24704 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
24705 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
24706 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
24707 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
24708 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
24709 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
24710 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
24711 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
24712 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
24713 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
24714 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
24715 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
24716 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
24717 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
24718 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
24719 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
24720 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
24721 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
24722 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
24723 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
24724 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
24725 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
24726 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
24727 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
24728 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
24729 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
24730 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
24731 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
24732 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
24733 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
24734 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
24735 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
24736 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
24737 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
24738 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
24739 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
24740 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
24741 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
24742 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
24743 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
24744 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
24745 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
24746 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
24747 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
24748 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
24749 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
24750 "\x21\x41\x56\x72\x13\xE1\x86\x07"
24751 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
24752 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
24753 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
24754 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
24755 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
24756 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
24757 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
24758 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
24759 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
24760 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
24761 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
24762 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
24763 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
24764 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
24765 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
24766 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
24767 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
24768 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
24769 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
24770 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
24771 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
24772 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
24773 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
24774 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
24775 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
24776 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
24777 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
24778 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
24779 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
24780 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
24781 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
24782 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
24783 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
24784 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
24785 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
24786 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
24787 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
24788 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
24789 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
24790 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
24791 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
24792 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
24793 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
24794 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
24795 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
24796 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
24797 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
24798 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
24799 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
24800 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
24801 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
24802 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
24803 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
24804 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
24805 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
24806 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
24807 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
24808 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
24809 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
24810 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
24811 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
24812 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
24813 .len = 1008,
24814 },
24815};
24816
24817static const struct cipher_testvec camellia_ctr_tv_template[] = {
24818 { /* Generated with Crypto++ */
24819 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24820 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24821 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24822 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24823 .klen = 32,
24824 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24825 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
24826 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24827 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
24828 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24829 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24830 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24831 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24832 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24833 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24834 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24835 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24836 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24837 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24838 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24839 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24840 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24841 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24842 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24843 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24844 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24845 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24846 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24847 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24848 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24849 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24850 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24851 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24852 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24853 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24854 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24855 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24856 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24857 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24858 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24859 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24860 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24861 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24862 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24863 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24864 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24865 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24866 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24867 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24868 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24869 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24870 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24871 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24872 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24873 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24874 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24875 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24876 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24877 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24878 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24879 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24880 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24881 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24882 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24883 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24884 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24885 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24886 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24887 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24888 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24889 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24890 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
24891 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
24892 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
24893 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
24894 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
24895 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
24896 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
24897 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
24898 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
24899 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
24900 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
24901 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
24902 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
24903 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
24904 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
24905 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
24906 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
24907 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
24908 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
24909 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
24910 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
24911 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
24912 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
24913 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
24914 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
24915 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
24916 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
24917 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
24918 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
24919 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
24920 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
24921 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
24922 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
24923 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
24924 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
24925 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
24926 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
24927 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
24928 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
24929 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
24930 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
24931 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
24932 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
24933 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
24934 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
24935 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
24936 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
24937 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
24938 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
24939 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
24940 "\x76\x44\x45\xF3\x24\x11\x57\x98"
24941 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
24942 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
24943 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
24944 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
24945 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
24946 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
24947 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
24948 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
24949 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
24950 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
24951 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
24952 .len = 496,
24953 }, { /* Generated with Crypto++ */
24954 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24955 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24956 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24957 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24958 .klen = 32,
24959 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24960 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
24961 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24962 "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
24963 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24964 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24965 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24966 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24967 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24968 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24969 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24970 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24971 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24972 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24973 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24974 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24975 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24976 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24977 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24978 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24979 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24980 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24981 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24982 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24983 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24984 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24985 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24986 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24987 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24988 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24989 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24990 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24991 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24992 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24993 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24994 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24995 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24996 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24997 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24998 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24999 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25000 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25001 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25002 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25003 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25004 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25005 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25006 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25007 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25008 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25009 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25010 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25011 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25012 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25013 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25014 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25015 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25016 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25017 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25018 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25019 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25020 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25021 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25022 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25023 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25024 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25025 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25026 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25027 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25028 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25029 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25030 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25031 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25032 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25033 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25034 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25035 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25036 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25037 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25038 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25039 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25040 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25041 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25042 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25043 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25044 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25045 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25046 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25047 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25048 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25049 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25050 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25051 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25052 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25053 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25054 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25055 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25056 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25057 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25058 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25059 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25060 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25061 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25062 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25063 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25064 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25065 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25066 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25067 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25068 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25069 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25070 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25071 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25072 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25073 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25074 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25075 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25076 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25077 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25078 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25079 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25080 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25081 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25082 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25083 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25084 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25085 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25086 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25087 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25088 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
25089 "\xE4\x7B\x12",
25090 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
25091 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
25092 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
25093 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
25094 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
25095 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
25096 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
25097 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
25098 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
25099 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
25100 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
25101 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
25102 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
25103 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
25104 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
25105 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
25106 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
25107 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
25108 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
25109 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
25110 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
25111 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
25112 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
25113 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
25114 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
25115 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
25116 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
25117 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
25118 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
25119 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
25120 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
25121 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
25122 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
25123 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
25124 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
25125 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
25126 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
25127 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
25128 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
25129 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
25130 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
25131 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
25132 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
25133 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
25134 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
25135 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
25136 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
25137 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
25138 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
25139 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
25140 "\x76\x44\x45\xF3\x24\x11\x57\x98"
25141 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
25142 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
25143 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
25144 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
25145 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
25146 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
25147 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
25148 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
25149 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
25150 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
25151 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
25152 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
25153 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
25154 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
25155 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
25156 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
25157 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
25158 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
25159 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
25160 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
25161 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
25162 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
25163 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
25164 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
25165 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
25166 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
25167 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
25168 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
25169 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
25170 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
25171 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
25172 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
25173 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
25174 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
25175 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
25176 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
25177 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
25178 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
25179 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
25180 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
25181 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
25182 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
25183 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
25184 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
25185 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
25186 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
25187 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
25188 "\x00\x70\x12\x56\x56\x50\xAD\x14"
25189 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
25190 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
25191 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
25192 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
25193 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
25194 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
25195 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
25196 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
25197 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
25198 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
25199 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
25200 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
25201 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
25202 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
25203 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
25204 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
25205 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
25206 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
25207 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
25208 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
25209 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
25210 "\x74\x28\x9D\x05\x30\x20\x62\x41"
25211 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
25212 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
25213 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
25214 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
25215 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
25216 "\xF1\x6B\xD9",
25217 .len = 1011,
25218 }, { /* Generated with Crypto++ */
25219 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25220 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
25221 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
25222 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
25223 .klen = 32,
25224 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
25225 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
25226 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
25227 "\x00\x00\x00\x00\x00\x00\x00\x3C",
25228 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25229 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25230 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25231 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25232 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25233 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25234 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25235 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25236 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25237 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25238 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25239 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25240 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25241 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25242 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25243 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25244 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25245 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25246 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25247 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25248 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25249 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25250 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25251 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25252 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25253 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25254 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25255 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25256 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25257 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25258 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25259 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25260 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25261 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25262 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25263 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25264 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25265 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25266 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25267 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25268 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25269 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25270 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25271 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25272 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25273 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25274 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25275 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25276 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25277 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25278 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25279 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25280 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25281 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25282 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25283 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25284 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25285 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25286 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25287 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25288 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25289 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
25290 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
25291 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
25292 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
25293 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
25294 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
25295 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
25296 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
25297 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
25298 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
25299 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
25300 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
25301 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
25302 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
25303 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
25304 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
25305 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
25306 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
25307 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25308 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25309 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25310 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25311 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25312 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25313 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25314 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25315 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25316 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25317 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25318 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25319 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25320 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25321 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25322 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25323 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25324 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25325 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25326 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25327 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25328 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25329 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25330 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25331 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25332 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25333 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25334 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25335 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25336 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25337 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25338 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25339 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25340 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25341 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25342 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25343 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25344 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25345 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25346 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25347 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25348 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25349 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25350 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25351 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25352 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
25353 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25354 .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
25355 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
25356 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
25357 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
25358 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
25359 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
25360 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
25361 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
25362 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
25363 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
25364 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
25365 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
25366 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
25367 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
25368 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
25369 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
25370 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
25371 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
25372 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
25373 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
25374 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
25375 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
25376 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
25377 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
25378 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
25379 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
25380 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
25381 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
25382 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
25383 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
25384 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
25385 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
25386 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
25387 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
25388 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
25389 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
25390 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
25391 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
25392 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
25393 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
25394 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
25395 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
25396 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
25397 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
25398 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
25399 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
25400 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
25401 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
25402 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
25403 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
25404 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
25405 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
25406 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
25407 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
25408 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
25409 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
25410 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
25411 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
25412 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
25413 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
25414 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
25415 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
25416 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
25417 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
25418 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
25419 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
25420 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
25421 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
25422 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
25423 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
25424 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
25425 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
25426 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
25427 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
25428 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
25429 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
25430 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
25431 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
25432 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
25433 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
25434 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
25435 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
25436 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
25437 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
25438 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
25439 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
25440 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
25441 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
25442 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
25443 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
25444 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
25445 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
25446 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
25447 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
25448 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
25449 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
25450 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
25451 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
25452 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
25453 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
25454 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
25455 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
25456 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
25457 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
25458 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
25459 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
25460 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
25461 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
25462 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
25463 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
25464 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
25465 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
25466 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
25467 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
25468 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
25469 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
25470 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
25471 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
25472 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
25473 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
25474 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
25475 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
25476 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
25477 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
25478 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
25479 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
25480 .len = 1008,
25481 },
25482};
25483
25484static const struct cipher_testvec camellia_lrw_tv_template[] = {
25485 /* Generated from AES-LRW test vectors */
25486 {
25487 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
25488 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
25489 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
25490 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
25491 .klen = 32,
25492 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25493 "\x00\x00\x00\x00\x00\x00\x00\x01",
25494 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25495 "\x38\x39\x41\x42\x43\x44\x45\x46",
25496 .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
25497 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
25498 .len = 16,
25499 }, {
25500 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
25501 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
25502 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
25503 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
25504 .klen = 32,
25505 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25506 "\x00\x00\x00\x00\x00\x00\x00\x02",
25507 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25508 "\x38\x39\x41\x42\x43\x44\x45\x46",
25509 .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
25510 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
25511 .len = 16,
25512 }, {
25513 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
25514 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
25515 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
25516 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
25517 .klen = 32,
25518 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25519 "\x00\x00\x00\x02\x00\x00\x00\x00",
25520 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25521 "\x38\x39\x41\x42\x43\x44\x45\x46",
25522 .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
25523 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
25524 .len = 16,
25525 }, {
25526 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
25527 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
25528 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
25529 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
25530 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
25531 .klen = 40,
25532 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25533 "\x00\x00\x00\x00\x00\x00\x00\x01",
25534 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25535 "\x38\x39\x41\x42\x43\x44\x45\x46",
25536 .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
25537 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
25538 .len = 16,
25539 }, {
25540 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
25541 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
25542 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
25543 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
25544 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
25545 .klen = 40,
25546 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25547 "\x00\x00\x00\x02\x00\x00\x00\x00",
25548 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25549 "\x38\x39\x41\x42\x43\x44\x45\x46",
25550 .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
25551 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
25552 .len = 16,
25553 }, {
25554 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25555 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25556 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25557 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25558 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25559 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25560 .klen = 48,
25561 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25562 "\x00\x00\x00\x00\x00\x00\x00\x01",
25563 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25564 "\x38\x39\x41\x42\x43\x44\x45\x46",
25565 .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
25566 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
25567 .len = 16,
25568 }, {
25569 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
25570 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
25571 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
25572 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
25573 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
25574 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
25575 .klen = 48,
25576 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25577 "\x00\x00\x00\x02\x00\x00\x00\x00",
25578 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25579 "\x38\x39\x41\x42\x43\x44\x45\x46",
25580 .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
25581 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
25582 .len = 16,
25583 }, {
25584 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25585 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25586 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25587 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25588 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25589 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25590 .klen = 48,
25591 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25592 "\x00\x00\x00\x00\x00\x00\x00\x01",
25593 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
25594 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
25595 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
25596 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
25597 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
25598 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
25599 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
25600 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
25601 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
25602 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
25603 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
25604 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
25605 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
25606 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
25607 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
25608 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
25609 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
25610 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
25611 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
25612 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
25613 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
25614 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
25615 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
25616 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
25617 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
25618 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
25619 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
25620 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
25621 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
25622 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
25623 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
25624 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
25625 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
25626 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
25627 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
25628 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
25629 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
25630 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
25631 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
25632 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
25633 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
25634 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
25635 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
25636 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
25637 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
25638 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
25639 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
25640 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
25641 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
25642 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
25643 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
25644 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
25645 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
25646 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
25647 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
25648 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
25649 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
25650 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
25651 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
25652 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
25653 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
25654 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
25655 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
25656 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
25657 .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
25658 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
25659 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
25660 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
25661 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
25662 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
25663 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
25664 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
25665 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
25666 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
25667 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
25668 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
25669 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
25670 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
25671 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
25672 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
25673 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
25674 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
25675 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
25676 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
25677 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
25678 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
25679 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
25680 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
25681 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
25682 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
25683 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
25684 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
25685 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
25686 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
25687 "\xed\x14\xa9\x57\x19\x63\x40\x04"
25688 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
25689 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
25690 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
25691 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
25692 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
25693 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
25694 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
25695 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
25696 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
25697 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
25698 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
25699 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
25700 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
25701 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
25702 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
25703 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
25704 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
25705 "\x35\xa5\x83\x04\x84\x01\x99\x56"
25706 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
25707 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
25708 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
25709 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
25710 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
25711 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
25712 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
25713 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
25714 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
25715 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
25716 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
25717 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
25718 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
25719 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
25720 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
25721 .len = 512,
25722 },
25723};
25724
25725static const struct cipher_testvec camellia_xts_tv_template[] = {
25726 /* Generated from AES-XTS test vectors */
25727 {
25728 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
25729 "\x00\x00\x00\x00\x00\x00\x00\x00"
25730 "\x00\x00\x00\x00\x00\x00\x00\x00"
25731 "\x00\x00\x00\x00\x00\x00\x00\x00",
25732 .klen = 32,
25733 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25734 "\x00\x00\x00\x00\x00\x00\x00\x00",
25735 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
25736 "\x00\x00\x00\x00\x00\x00\x00\x00"
25737 "\x00\x00\x00\x00\x00\x00\x00\x00"
25738 "\x00\x00\x00\x00\x00\x00\x00\x00",
25739 .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
25740 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
25741 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
25742 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
25743 .len = 32,
25744 }, {
25745 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
25746 "\x11\x11\x11\x11\x11\x11\x11\x11"
25747 "\x22\x22\x22\x22\x22\x22\x22\x22"
25748 "\x22\x22\x22\x22\x22\x22\x22\x22",
25749 .klen = 32,
25750 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25751 "\x00\x00\x00\x00\x00\x00\x00\x00",
25752 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
25753 "\x44\x44\x44\x44\x44\x44\x44\x44"
25754 "\x44\x44\x44\x44\x44\x44\x44\x44"
25755 "\x44\x44\x44\x44\x44\x44\x44\x44",
25756 .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
25757 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
25758 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
25759 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
25760 .len = 32,
25761 }, {
25762 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
25763 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
25764 "\x22\x22\x22\x22\x22\x22\x22\x22"
25765 "\x22\x22\x22\x22\x22\x22\x22\x22",
25766 .klen = 32,
25767 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25768 "\x00\x00\x00\x00\x00\x00\x00\x00",
25769 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
25770 "\x44\x44\x44\x44\x44\x44\x44\x44"
25771 "\x44\x44\x44\x44\x44\x44\x44\x44"
25772 "\x44\x44\x44\x44\x44\x44\x44\x44",
25773 .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
25774 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
25775 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
25776 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
25777 .len = 32,
25778 }, {
25779 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
25780 "\x23\x53\x60\x28\x74\x71\x35\x26"
25781 "\x31\x41\x59\x26\x53\x58\x97\x93"
25782 "\x23\x84\x62\x64\x33\x83\x27\x95",
25783 .klen = 32,
25784 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25785 "\x00\x00\x00\x00\x00\x00\x00\x00",
25786 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
25787 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25788 "\x10\x11\x12\x13\x14\x15\x16\x17"
25789 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25790 "\x20\x21\x22\x23\x24\x25\x26\x27"
25791 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25792 "\x30\x31\x32\x33\x34\x35\x36\x37"
25793 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25794 "\x40\x41\x42\x43\x44\x45\x46\x47"
25795 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25796 "\x50\x51\x52\x53\x54\x55\x56\x57"
25797 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25798 "\x60\x61\x62\x63\x64\x65\x66\x67"
25799 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25800 "\x70\x71\x72\x73\x74\x75\x76\x77"
25801 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25802 "\x80\x81\x82\x83\x84\x85\x86\x87"
25803 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25804 "\x90\x91\x92\x93\x94\x95\x96\x97"
25805 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25806 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25807 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25808 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25809 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25810 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25811 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25812 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25813 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25814 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25815 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25816 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25817 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
25818 "\x00\x01\x02\x03\x04\x05\x06\x07"
25819 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25820 "\x10\x11\x12\x13\x14\x15\x16\x17"
25821 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25822 "\x20\x21\x22\x23\x24\x25\x26\x27"
25823 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25824 "\x30\x31\x32\x33\x34\x35\x36\x37"
25825 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25826 "\x40\x41\x42\x43\x44\x45\x46\x47"
25827 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25828 "\x50\x51\x52\x53\x54\x55\x56\x57"
25829 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25830 "\x60\x61\x62\x63\x64\x65\x66\x67"
25831 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25832 "\x70\x71\x72\x73\x74\x75\x76\x77"
25833 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25834 "\x80\x81\x82\x83\x84\x85\x86\x87"
25835 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25836 "\x90\x91\x92\x93\x94\x95\x96\x97"
25837 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25838 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25839 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25840 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25841 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25842 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25843 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25844 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25845 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25846 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25847 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25848 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25849 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
25850 .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
25851 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
25852 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
25853 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
25854 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
25855 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
25856 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
25857 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
25858 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
25859 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
25860 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
25861 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
25862 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
25863 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
25864 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
25865 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
25866 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
25867 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
25868 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
25869 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
25870 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
25871 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
25872 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
25873 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
25874 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
25875 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
25876 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
25877 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
25878 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
25879 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
25880 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
25881 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
25882 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
25883 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
25884 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
25885 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
25886 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
25887 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
25888 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
25889 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
25890 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
25891 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
25892 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
25893 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
25894 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
25895 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
25896 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
25897 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
25898 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
25899 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
25900 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
25901 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
25902 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
25903 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
25904 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
25905 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
25906 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
25907 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
25908 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
25909 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
25910 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
25911 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
25912 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
25913 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
25914 .len = 512,
25915 }, {
25916 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
25917 "\x23\x53\x60\x28\x74\x71\x35\x26"
25918 "\x62\x49\x77\x57\x24\x70\x93\x69"
25919 "\x99\x59\x57\x49\x66\x96\x76\x27"
25920 "\x31\x41\x59\x26\x53\x58\x97\x93"
25921 "\x23\x84\x62\x64\x33\x83\x27\x95"
25922 "\x02\x88\x41\x97\x16\x93\x99\x37"
25923 "\x51\x05\x82\x09\x74\x94\x45\x92",
25924 .klen = 64,
25925 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
25926 "\x00\x00\x00\x00\x00\x00\x00\x00",
25927 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
25928 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25929 "\x10\x11\x12\x13\x14\x15\x16\x17"
25930 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25931 "\x20\x21\x22\x23\x24\x25\x26\x27"
25932 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25933 "\x30\x31\x32\x33\x34\x35\x36\x37"
25934 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25935 "\x40\x41\x42\x43\x44\x45\x46\x47"
25936 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25937 "\x50\x51\x52\x53\x54\x55\x56\x57"
25938 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25939 "\x60\x61\x62\x63\x64\x65\x66\x67"
25940 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25941 "\x70\x71\x72\x73\x74\x75\x76\x77"
25942 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25943 "\x80\x81\x82\x83\x84\x85\x86\x87"
25944 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25945 "\x90\x91\x92\x93\x94\x95\x96\x97"
25946 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25947 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25948 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25949 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25950 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25951 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25952 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25953 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25954 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25955 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25956 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25957 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25958 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
25959 "\x00\x01\x02\x03\x04\x05\x06\x07"
25960 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25961 "\x10\x11\x12\x13\x14\x15\x16\x17"
25962 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25963 "\x20\x21\x22\x23\x24\x25\x26\x27"
25964 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25965 "\x30\x31\x32\x33\x34\x35\x36\x37"
25966 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25967 "\x40\x41\x42\x43\x44\x45\x46\x47"
25968 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25969 "\x50\x51\x52\x53\x54\x55\x56\x57"
25970 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25971 "\x60\x61\x62\x63\x64\x65\x66\x67"
25972 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25973 "\x70\x71\x72\x73\x74\x75\x76\x77"
25974 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25975 "\x80\x81\x82\x83\x84\x85\x86\x87"
25976 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25977 "\x90\x91\x92\x93\x94\x95\x96\x97"
25978 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25979 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25980 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25981 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25982 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25983 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25984 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25985 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25986 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25987 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25988 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25989 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25990 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
25991 .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
25992 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
25993 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
25994 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
25995 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
25996 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
25997 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
25998 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
25999 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
26000 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
26001 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
26002 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
26003 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
26004 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
26005 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
26006 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
26007 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
26008 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
26009 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
26010 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
26011 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
26012 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
26013 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
26014 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
26015 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
26016 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
26017 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
26018 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
26019 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
26020 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
26021 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
26022 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
26023 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
26024 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
26025 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
26026 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
26027 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
26028 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
26029 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
26030 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
26031 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
26032 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
26033 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
26034 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
26035 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
26036 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
26037 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
26038 "\x21\x17\xf8\x59\x15\x24\x64\x22"
26039 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
26040 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
26041 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
26042 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
26043 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
26044 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
26045 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
26046 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
26047 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
26048 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
26049 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
26050 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
26051 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
26052 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
26053 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
26054 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
26055 .len = 512,
26056 },
26057};
26058
26059/*
26060 * SEED test vectors
26061 */
26062static const struct cipher_testvec seed_tv_template[] = {
26063 {
26064 .key = zeroed_string,
26065 .klen = 16,
26066 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
26067 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26068 .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
26069 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
26070 .len = 16,
26071 }, {
26072 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26073 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26074 .klen = 16,
26075 .ptext = zeroed_string,
26076 .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
26077 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
26078 .len = 16,
26079 }, {
26080 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
26081 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
26082 .klen = 16,
26083 .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
26084 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
26085 .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
26086 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
26087 .len = 16,
26088 }, {
26089 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
26090 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
26091 .klen = 16,
26092 .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
26093 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
26094 .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
26095 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
26096 .len = 16,
26097 }
26098};
26099
26100/*
26101 * ARIA test vectors
26102 */
26103static const struct cipher_testvec aria_tv_template[] = {
26104 {
26105 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26106 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
26107 .klen = 16,
26108 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26109 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26110 .ctext = "\xd7\x18\xfb\xd6\xab\x64\x4c\x73"
26111 "\x9d\xa9\x5f\x3b\xe6\x45\x17\x78",
26112 .len = 16,
26113 }, {
26114 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26115 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26116 "\x10\x11\x12\x13\x14\x15\x16\x17",
26117 .klen = 24,
26118 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26119 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26120 .ctext = "\x26\x44\x9c\x18\x05\xdb\xe7\xaa"
26121 "\x25\xa4\x68\xce\x26\x3a\x9e\x79",
26122 .len = 16,
26123 }, {
26124 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
26125 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
26126 "\x10\x11\x12\x13\x14\x15\x16\x17"
26127 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
26128 .klen = 32,
26129 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
26130 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
26131 .ctext = "\xf9\x2b\xd7\xc7\x9f\xb7\x2e\x2f"
26132 "\x2b\x8f\x80\xc1\x97\x2d\x24\xfc",
26133 .len = 16,
26134 }
26135};
26136
26137static const struct cipher_testvec aria_cbc_tv_template[] = {
26138 {
26139 .key = "\x7c\x95\x0d\x07\xe6\x14\x98\x92"
26140 "\x07\xac\x22\x41\x4d\x23\x27\x37",
26141 .klen = 16,
26142 .iv = "\x9d\xd5\x62\xce\x3d\x07\xd9\x89"
26143 "\xf2\x78\x19\x4b\x65\x39\xc3\xc6",
26144 .ptext = "\xcb\xbf\x47\x35\xc5\x37\xf0\x4e"
26145 "\x85\x19\x21\x72\x33\x00\xde\x28",
26146 .ctext = "\xf4\x80\x89\x89\x4a\x37\xda\x98"
26147 "\x80\x52\x74\x75\xd9\xef\x58\xff",
26148 .len = 16,
26149 }, {
26150 .key = "\x8f\xb9\x8d\xc9\xd7\x99\xfe\x7d"
26151 "\xeb\x14\xaa\x65\xaf\x8c\x38\x1a",
26152 .klen = 16,
26153 .iv = "\xb1\x67\x46\x57\x0c\x64\x65\xf2"
26154 "\x8c\x2f\x65\x11\x12\x33\xd4\x9a",
26155 .ptext = "\x3a\xaf\xc1\xeb\x3c\x0c\xc5\xcc"
26156 "\x10\x6e\x45\xa1\xd6\x89\xf1\xe5"
26157 "\x74\xb6\x90\xd3\x81\x45\x00\x66"
26158 "\x62\x15\x78\x84\xb2\x63\x11\x76",
26159 .ctext = "\x3d\x7d\x3a\xeb\x23\x85\x3e\x72"
26160 "\x12\x45\xbb\x5b\x42\x99\xec\xa0"
26161 "\xa2\xbe\x75\xd6\xb1\xd8\xea\x6f"
26162 "\x97\xfe\xfd\xcc\xfc\x08\x38\x00",
26163 .len = 32,
26164 }, {
26165 .key = "\xe8\xe0\x85\x9c\x33\x06\x36\x5f"
26166 "\xa9\xab\x72\x66\xa1\xd7\xf5\x0d",
26167 .klen = 16,
26168 .iv = "\x5d\xd3\xaf\x13\xed\x82\xc8\x92"
26169 "\x4f\xf4\xe2\x35\xdb\x39\x9e\xa5",
26170 .ptext = "\xdf\x73\x61\x44\x86\x2f\x58\x1e"
26171 "\xfe\xf6\xb9\x1d\xd9\x1e\x4c\x7c"
26172 "\xb4\xe6\x2b\x7d\x17\xc3\xc6\x5f"
26173 "\x9d\xf4\x29\x8a\x55\x5c\x82\x0e"
26174 "\x67\x91\xdd\x4b\xfb\x31\x33\xf1"
26175 "\x56\x75\xa3\x2c\x46\x08\xff\x18",
26176 .ctext = "\x85\x07\x8c\x88\x70\x7b\x39\xb8"
26177 "\xfd\x1d\xa1\xd0\x89\x5f\x3f\x85"
26178 "\x18\x5a\xde\x64\xbd\x54\xd5\x67"
26179 "\xd1\x27\x4c\x98\x82\x76\xea\x22"
26180 "\x52\x98\x79\xb4\x1d\xe8\x16\xd0"
26181 "\xc6\xea\xf7\xbb\x38\x89\xf2\x5d",
26182 .len = 48,
26183 }, {
26184 .key = "\xc1\x19\x8a\x7b\xc9\xaf\x00\xb3"
26185 "\x92\x3c\xd7\xed\xe7\x76\xc5\x98",
26186 .klen = 16,
26187 .iv = "\xca\x62\x82\x1a\x5b\xb1\xcf\xc1"
26188 "\xfb\x50\xb7\xfc\xb0\x3b\x15\xcb",
26189 .ptext = "\xcb\x92\x56\x74\xc9\xee\x80\x78"
26190 "\x78\xf5\x73\xc5\x5b\x2c\x70\x2d"
26191 "\x4e\x0d\xd7\x17\x6d\x5a\x35\x74"
26192 "\x33\xb0\x7d\xf5\xdf\x5f\x96\x7b"
26193 "\x1c\x79\x16\xd0\xe0\x29\x4e\x94"
26194 "\x95\x46\x86\x7a\x77\x28\x89\xb4"
26195 "\x3d\xbb\x65\xab\xfb\xd1\x6c\xf4"
26196 "\x47\xbd\x7e\x7f\x9b\x1d\x8b\x12",
26197 .ctext = "\x69\xd2\x56\xdf\xa8\x1a\x97\xbd"
26198 "\x69\xb5\xbb\x6b\x29\x1d\x5f\x0f"
26199 "\xdf\x5f\x63\xc0\x83\x0b\xd7\xb1"
26200 "\x31\x2d\xbf\x73\xe1\xe5\x5d\x0e"
26201 "\x0c\x8d\xc4\x8a\xa9\xbd\x5f\xc7"
26202 "\xb5\x61\xa0\x2b\x90\x64\x1a\xde"
26203 "\xd2\xe1\x61\xb9\xce\xf4\x0b\x1c"
26204 "\x9c\x43\x69\x6d\xb2\x32\x98\x44",
26205 .len = 64,
26206 }, {
26207 .key = "\xfa\xf7\x53\xf6\xd6\x08\x70\xf1"
26208 "\x32\x58\x97\x74\x04\x12\x1b\x14",
26209 .klen = 16,
26210 .iv = "\xdd\x93\xb2\x3e\xcb\xc1\x7c\x27"
26211 "\x7f\x9e\x41\x03\xab\x1d\xfb\x77",
26212 .ptext = "\xae\x34\x94\x50\x73\x32\xf0\x75"
26213 "\x96\x53\x2e\x1a\xc9\x91\x2b\x37"
26214 "\x77\xbe\x48\x39\xa7\xd0\x6e\xf7"
26215 "\x22\x7c\x4f\xe7\xd8\x06\xee\x92"
26216 "\x80\x57\x61\x45\x7f\x50\xd5\x0a"
26217 "\x0b\x5e\xd4\xd6\x90\x4e\xc3\x04"
26218 "\x52\x63\xaf\x02\x55\xa6\x49\x4b"
26219 "\x7a\x7e\x2e\x95\xea\x80\x6c\x4b"
26220 "\xb7\x88\x42\x3d\xc1\x09\x28\x97"
26221 "\xd7\xa1\x0f\x0f\x1f\xf1\xea\x63",
26222 .ctext = "\x6b\x83\x00\xf1\x79\xb2\x23\xbf"
26223 "\x17\x26\x8a\xef\xd3\xe1\x0e\x82"
26224 "\x5b\xc7\xde\x3e\x39\x72\x2d\xb0"
26225 "\xad\x25\x3b\xe6\x3b\x9f\xe9\x4b"
26226 "\x6e\xe8\x77\xf5\x9d\x7d\x00\xae"
26227 "\x73\x7b\x81\xff\xe3\x55\x8e\x90"
26228 "\xdf\xe4\xcd\xd5\xdc\x16\x8b\x7a"
26229 "\xe5\x04\x92\x18\xff\xcc\x63\x1b"
26230 "\x53\xf3\x26\x44\x5c\x48\x1d\xa2"
26231 "\x1f\x3f\xe0\x8b\x8f\x6f\xc2\x38",
26232 .len = 80,
26233 }, {
26234 .key = "\xb8\xab\x6d\x03\x9d\xec\x15\x0a"
26235 "\xcd\xcd\x68\x73\xa9\x35\x7e\x8a",
26236 .klen = 16,
26237 .iv = "\x9d\xf1\xc0\xa0\x02\x06\xf0\x03"
26238 "\x43\x45\x6a\x2e\x3f\x21\xa9\x3c",
26239 .ptext = "\xef\xbe\x0c\xa3\x49\x4a\xda\x1e"
26240 "\x64\x90\x85\xeb\xdc\xca\x2b\x37"
26241 "\x78\xb7\x62\xd7\x0a\xee\x35\x38"
26242 "\x97\x72\x6a\x99\xb8\x86\x07\x77"
26243 "\x40\xc3\x14\x49\x1f\x67\xa1\x6e"
26244 "\x87\xf0\x0b\x64\x4d\xea\x7c\x3a"
26245 "\x91\x05\xb1\x48\xa1\x6a\x00\x1d"
26246 "\x1b\x4f\x99\xb9\x52\xc9\x0c\xfd"
26247 "\xf3\xe2\x0b\x5f\xe9\xec\x71\xe2"
26248 "\x7d\x15\x84\x46\xc2\x3b\x77\x7b"
26249 "\x30\x01\x34\x5c\x8f\x22\x58\x9a"
26250 "\x17\x05\x7e\xf6\xd5\x92\xc0\xb4",
26251 .ctext = "\x79\x50\x9b\x34\xd7\x22\x9a\x72"
26252 "\x61\xd7\xd8\xa9\xdb\xcf\x2f\xb0"
26253 "\x81\x11\xe3\xed\xa0\xe4\xbd\x8d"
26254 "\xe6\xf2\x52\x52\x40\xec\x9f\x3b"
26255 "\xd4\x48\xc6\xdf\xfd\x36\x90\x8a"
26256 "\x2f\x3b\xb0\xfb\xf4\x2b\x99\xa5"
26257 "\xb2\x39\xc7\x52\x57\x2b\xbc\xd7"
26258 "\x3f\x06\x10\x15\x2e\xf7\xaa\x79"
26259 "\xd6\x6a\xe5\x4e\x2d\x0f\x5f\xaf"
26260 "\xf9\x5a\x63\x28\x33\xf0\x85\x8a"
26261 "\x06\x45\xce\x73\xaa\x96\x1d\xcc"
26262 "\x6e\xb9\x25\xb8\x4c\xfe\xeb\x64",
26263 .len = 96,
26264 }, {
26265 .key = "\x50\x45\x7b\x4c\x6d\x80\x53\x62"
26266 "\x90\x26\x77\xf8\x04\x65\x26\xe3",
26267 .klen = 16,
26268 .iv = "\x9d\xd3\x73\x7b\x9b\xbd\x45\x97"
26269 "\xd2\xbb\xa1\xb9\x08\x88\x2c\x85",
26270 .ptext = "\x9f\x11\xeb\x78\x74\xcc\x4e\xd6"
26271 "\x06\x4b\x6d\xe4\xdb\x11\x91\x58"
26272 "\x1f\xa4\xf6\x0e\x8f\xe4\xcf\xfc"
26273 "\x95\x9a\x8b\x68\xb4\x54\x57\x58"
26274 "\x27\x71\xe4\x4b\xc5\x78\x6a\x26"
26275 "\x28\xae\xed\x71\x0e\xe7\xbf\xc3"
26276 "\xff\x9c\x46\x7b\x31\x3e\xff\xb1"
26277 "\xa8\xca\xc3\x6d\xa1\x9e\x49\x16"
26278 "\x31\x8b\xed\x2d\x2a\x2b\xaf\x3b"
26279 "\x3e\x74\x7f\x07\x67\x8e\xb8\x0d"
26280 "\x86\xe2\xea\x2c\x4a\x74\xdc\x9f"
26281 "\x53\x72\xd1\x2e\x97\x0d\x0b\xa5"
26282 "\x05\x87\x8e\x86\x69\x8d\x26\xfb"
26283 "\x90\xc8\xab\x0e\xac\xaf\x84\x1c",
26284 .ctext = "\x3c\x91\xab\x71\xe4\x77\x3e\xb0"
26285 "\x7f\x20\x2e\xd0\xe1\xbe\xfd\x3c"
26286 "\x06\x6c\x36\x75\x46\x27\xfd\x2d"
26287 "\xba\x0f\xf0\x3c\x6d\x1e\x4b\x20"
26288 "\xe9\x5e\x30\xd8\x03\xc6\xa0\x86"
26289 "\xa8\xc7\xa4\x7f\x0e\x1f\x35\x55"
26290 "\x24\x53\x02\xd5\x77\x30\x73\xdc"
26291 "\xa5\xaf\x19\x92\x5b\x36\x86\x0e"
26292 "\xcf\xf2\x5c\x00\xde\x92\xbf\x89"
26293 "\x76\x46\xd5\x26\xb1\x8d\xa4\xef"
26294 "\x61\x7e\x78\xb4\x68\xf5\x5b\x1d"
26295 "\x39\x65\x32\x3a\xad\xff\x8b\x37"
26296 "\x60\xc2\x8a\xaf\x48\x96\x8b\x9f"
26297 "\x12\x6c\x70\x77\x95\xf3\x58\xb0",
26298 .len = 112,
26299 }, {
26300 .key = "\xf9\x9f\x6a\x87\xa1\x2d\x6e\xac"
26301 "\xde\xbb\x3e\x15\x5e\x49\xa4\xef",
26302 .klen = 16,
26303 .iv = "\xeb\x8e\x4f\xbe\x4b\x47\xd6\x4f"
26304 "\x65\xd0\xfa\xee\xa6\xf1\x2c\xda",
26305 .ptext = "\xa3\xfa\x4f\xf6\x00\x12\xbe\xc1"
26306 "\x90\xcc\x91\x88\xbd\xfb\x1c\xdb"
26307 "\x2b\xc8\xb9\x3d\x98\x01\xc8\x1f"
26308 "\x07\xb4\xf3\x10\x1d\xfd\xb7\x2e"
26309 "\xcb\x1c\x1f\xe0\x2d\xca\xd3\xc7"
26310 "\xb2\xce\x52\xf1\x7e\xcb\x7c\x50"
26311 "\x0c\x5c\x53\x6b\x18\x62\x02\x54"
26312 "\xbc\x9d\x1f\xda\xd9\x7a\x2d\xff"
26313 "\xb8\x2c\x65\xad\xf1\xfe\xb6\xa4"
26314 "\x8c\xe8\x0a\xb7\x67\x60\xcb\x38"
26315 "\xd7\x72\xa5\xb1\x92\x13\x8e\xd4"
26316 "\xcd\xb3\x04\xb5\xa1\x11\x96\x37"
26317 "\xb3\x53\xa6\xc4\x14\x56\x6d\x42"
26318 "\x66\x43\x40\x42\x41\x63\x11\x7a"
26319 "\xd5\x34\x38\x75\xd0\xbc\x74\x89"
26320 "\x82\x1d\x2c\x0a\x3e\x6a\xfb\xbd",
26321 .ctext = "\x09\x58\xf3\x22\xe5\x10\xf6\x3d"
26322 "\xba\xb1\xfa\x5a\x16\xfe\xc5\x32"
26323 "\x3d\x34\x59\x2e\x81\xde\x99\x2f"
26324 "\xeb\x6a\x97\x86\x1f\x47\x8d\xe6"
26325 "\x87\x79\x0e\xfe\xa4\xca\x09\xdc"
26326 "\x24\x9b\xbb\xb1\x90\x33\xce\xd7"
26327 "\x62\xfd\xfd\xa3\x65\x50\x07\x7c"
26328 "\x4c\xa2\x10\xc7\x32\x0a\x0d\x5e"
26329 "\x22\x29\x40\x71\xe5\xcc\x3a\x5b"
26330 "\x5b\x53\x51\xa5\x5b\xc1\x76\x05"
26331 "\x84\x6e\xe3\x58\x2b\xf2\x28\x76"
26332 "\x5c\x66\x90\xfe\x63\x30\x1c\x45"
26333 "\x26\x34\x80\xfe\x76\x87\x5b\xb1"
26334 "\x63\x10\x09\xf6\x9d\x35\xcb\xee"
26335 "\x3c\x60\x9d\x77\x5b\x36\x70\x09"
26336 "\x4b\x63\x63\x90\x97\x3a\x6c\x8a",
26337 .len = 128,
26338 }, {
26339 .key = "\x04\xb9\x6c\x8f\x5e\x79\x02\x87"
26340 "\x88\x06\x7c\xfa\xd3\x7b\x56\xfe",
26341 .klen = 16,
26342 .iv = "\x4b\xc8\x93\x20\x98\x04\xba\x5a"
26343 "\x22\x04\x1f\x3f\x79\x2c\x63\x79",
26344 .ptext = "\xf3\x85\x3e\x75\x97\x10\x7c\x5d"
26345 "\x39\x5a\x46\x47\xe7\x51\xa3\xac"
26346 "\x84\x56\x3f\x1b\xb3\x93\x6a\x2e"
26347 "\xf7\x8f\x63\xbe\x18\xff\xd7\x53"
26348 "\xc8\xe0\xa5\xde\x86\xc2\xe4\xab"
26349 "\xc3\x67\x27\x91\x43\x8c\xff\x6c"
26350 "\xc7\x07\xc2\xcd\xe9\x12\x8b\xef"
26351 "\x47\xe7\x82\xed\xe3\x8d\x5e\x33"
26352 "\xca\xf1\x28\x32\xf4\x38\x41\x59"
26353 "\x6c\x54\xa6\x40\xb0\xd5\x73\x26"
26354 "\x5b\x02\xa6\x9d\x01\x29\x26\x84"
26355 "\x5b\x33\x04\x36\xa4\x7b\x00\x01"
26356 "\x42\xe1\x4f\xda\xa9\x1a\x9b\x4e"
26357 "\x7d\x4a\x4c\xbc\xf6\xd4\x06\xc2"
26358 "\x89\x70\x72\xf5\xc5\x7f\x42\xd5"
26359 "\x7b\x9c\x6f\x00\x21\x74\xc5\xa5"
26360 "\x78\xd7\xa2\x3c\x6d\x0f\xfb\x74"
26361 "\x3d\x70\x9f\x6d\xdd\x30\xc0\x28",
26362 .ctext = "\xc0\x49\x98\xb9\xf6\x58\xeb\x56"
26363 "\x36\x76\x7a\x40\x7c\x27\x80\x62"
26364 "\xe3\xcb\x9c\x87\x2c\x03\xc2\x0c"
26365 "\x82\x00\x50\xd2\xe4\x61\x4d\x54"
26366 "\x88\x10\x6f\x0a\xb4\x25\x57\xba"
26367 "\xf0\x07\xe3\x55\x06\xb3\x72\xe9"
26368 "\x2f\x9f\x1e\x50\xa8\x15\x69\x71"
26369 "\xe3\xe5\x50\x32\xe5\xe0\x47\x0f"
26370 "\x3a\xaa\x7d\xc0\x09\x0e\xdb\x1a"
26371 "\xae\xb6\xa5\x87\x63\xd6\xbe\x8b"
26372 "\xb2\x3d\x10\x1e\xb3\x68\xcf\x8a"
26373 "\xe5\xa8\x89\xa9\xfe\x79\x13\x77"
26374 "\xc4\x3f\x6f\x9f\xdd\x76\x5b\xf2"
26375 "\x05\x67\x8a\x58\xb4\x31\xac\x64"
26376 "\x6f\xc4\xc1\x6b\x08\x79\x3f\xe5"
26377 "\x1c\x9a\x66\x3f\x7d\x1f\x18\xb1"
26378 "\x07\xa5\x7b\x4f\x2c\x43\x33\x84"
26379 "\xab\x1b\xc0\x7d\x49\x2f\x27\x9b",
26380 .len = 144,
26381 }, {
26382 .key = "\x99\x79\xaf\x3c\xfb\xbd\xe7\xca"
26383 "\xee\x4a\x4d\xb2\x23\x1e\xb6\x07",
26384 .klen = 16,
26385 .iv = "\xb4\xfc\xaa\xc1\x08\xbf\x68\xb2"
26386 "\xf6\xef\x29\xbc\x2d\x92\xa9\x40",
26387 .ptext = "\xd3\x44\xe4\xd9\x6c\x8a\x1d\x4b"
26388 "\xfe\x64\x25\xb6\x72\x21\xda\x10"
26389 "\x3e\x77\xee\xd1\x41\xd3\xea\xf0"
26390 "\xee\xee\x72\x0f\xad\xa1\xca\xf3"
26391 "\x7e\xfa\x99\x36\xe0\x8f\xed\x40"
26392 "\xf1\x12\x80\x73\xd6\x26\x3a\xa6"
26393 "\x5d\x71\xf6\xd5\xe1\xf3\x89\x16"
26394 "\x6f\x96\x00\xcf\x26\x06\x2a\x27"
26395 "\xe4\xc2\x57\xba\x1f\x74\x5e\x91"
26396 "\x10\x7e\xe5\x51\x17\xd5\xdc\xb2"
26397 "\x5b\x12\x4b\x33\xb1\xc6\x4e\x0d"
26398 "\xbf\x0e\x5d\x65\x61\x68\xd1\xc5"
26399 "\x4b\xc5\xa4\xcd\xf0\xe0\x79\x26"
26400 "\xa3\xcd\xdc\xb8\xfc\xd5\xca\x1d"
26401 "\x7e\x81\x74\x55\x76\xf5\x40\xbb"
26402 "\x26\x7f\x11\x37\x23\x70\xc8\xb6"
26403 "\xfc\x2b\x0b\xd7\x1c\x7b\x45\xe7"
26404 "\xf2\x2a\xed\x10\x4f\xcf\x0c\xcd"
26405 "\x0f\xe7\xf9\xa1\xfb\x27\x67\x09"
26406 "\xee\x11\xa2\xaf\x37\xc6\x16\xe0",
26407 .ctext = "\x60\xce\x9a\xdb\xb2\xe8\xa2\x64"
26408 "\x35\x9c\x5b\x97\x21\x9b\x95\x89"
26409 "\x7b\x89\x15\x01\x97\x8b\xec\x9b"
26410 "\xb9\xce\x7d\xb9\x9d\xcc\xd0\xa0"
26411 "\xda\x39\x5d\xfd\xb9\x51\xe7\x2f"
26412 "\xe7\x9b\x73\x1b\x07\xfb\xfd\xbb"
26413 "\xce\x84\x68\x76\x12\xc9\x6c\x38"
26414 "\xc0\xdc\x67\x96\x5e\x63\xcf\xe5"
26415 "\x57\x84\x7a\x14\x8c\xab\x38\x94"
26416 "\x1c\x27\xc3\xe0\x03\x58\xfe\x98"
26417 "\x97\xfc\x96\xba\x65\x87\x1e\x44"
26418 "\xf8\x00\x91\x6a\x14\x05\xf3\xf9"
26419 "\x8e\x3e\x7a\x3c\x41\x96\x15\x4f"
26420 "\xa8\xc0\x73\x1f\x1b\xeb\xaf\xec"
26421 "\xc4\x5a\x35\xed\x42\x2f\x47\xea"
26422 "\xfd\x2f\x29\xf6\x0f\x58\x8b\x3d"
26423 "\x15\x81\xe3\xa4\xa6\x5f\x33\x33"
26424 "\xe9\x0d\x06\x4f\x7f\x89\x2c\x3d"
26425 "\x18\x45\x1f\xd1\xc5\x74\xf7\x52"
26426 "\x2f\x9b\x72\x3d\x1f\xad\x12\x1b",
26427 .len = 160,
26428 }, {
26429 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
26430 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
26431 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
26432 .klen = 24,
26433 .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
26434 "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
26435 .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
26436 "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
26437 .ctext = "\x2d\x8f\x39\x71\x0a\x2c\xc9\x93"
26438 "\xb6\x1a\x5c\x53\x06\x4d\xaa\xcf",
26439 .len = 16,
26440 }, {
26441 .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
26442 "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
26443 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
26444 .klen = 24,
26445 .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
26446 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
26447 .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
26448 "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
26449 "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
26450 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
26451 .ctext = "\xc1\x53\x86\xf8\x60\x5d\x72\x59"
26452 "\x7e\xdf\xc8\xdb\x85\xd6\x9f\x2a"
26453 "\xa1\xda\xe5\x85\x78\x4f\x1b\x6f"
26454 "\x58\xf3\x2b\xff\x34\xe4\x97\x4e",
26455 .len = 32,
26456 }, {
26457 .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
26458 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
26459 "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
26460 .klen = 24,
26461 .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
26462 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
26463 .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
26464 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
26465 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
26466 "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
26467 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
26468 "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
26469 .ctext = "\x25\x5f\x66\x15\xb5\x62\xfb\x55"
26470 "\xb3\x77\xa1\x7d\x03\xba\x86\x0a"
26471 "\x0d\x5b\xbb\x06\xe9\xe2\xa8\x41"
26472 "\xa3\x58\xd6\x4b\xcb\x7f\xd0\x15"
26473 "\x3b\x02\x74\x5d\x4c\x4c\xb0\xa5"
26474 "\x06\xc9\x59\x53\x2a\x36\xeb\x59",
26475 .len = 48,
26476 }, {
26477 .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
26478 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
26479 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
26480 .klen = 24,
26481 .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
26482 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
26483 .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
26484 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
26485 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
26486 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
26487 "\x30\x9d\x59\x8d\x64\x76\xad\x37"
26488 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
26489 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
26490 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
26491 .ctext = "\x91\x02\xa9\xd3\x4b\x9a\x8f\xe6"
26492 "\x9f\xe4\x51\x57\xc9\x42\xda\x68"
26493 "\xca\xf6\x54\x51\x90\xec\x20\x2e"
26494 "\xab\x25\x6c\xd9\x8b\x99\xa6\x1c"
26495 "\x72\xc9\x01\xd6\xbc\x2b\x26\x78"
26496 "\x42\x00\x84\x0a\xdd\xa8\xd9\xb5"
26497 "\xc6\xc8\x30\xb6\xab\xea\x71\x84"
26498 "\xb2\x57\x97\x32\xdb\x35\x23\xd8",
26499 .len = 64,
26500 }, {
26501 .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
26502 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
26503 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
26504 .klen = 24,
26505 .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
26506 "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
26507 .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
26508 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
26509 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
26510 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
26511 "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
26512 "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
26513 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
26514 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
26515 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
26516 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
26517 .ctext = "\x28\x23\x3a\x4a\x18\xb7\xb6\x05"
26518 "\xd4\x1b\x6a\x9e\xa7\xf2\x38\x01"
26519 "\x78\xd3\xb0\x1b\x95\x68\x59\xf1"
26520 "\xc0\xed\x30\x46\x2e\xb9\xa6\xdc"
26521 "\xde\xef\xa6\x85\x19\xfc\x4d\x36"
26522 "\x5d\x24\x92\x62\x75\x32\x76\x6d"
26523 "\x6d\xa9\x07\xe1\x4f\x59\x84\x1a"
26524 "\x68\x9a\x07\x48\xd3\x86\xf6\xf1"
26525 "\x5b\xf9\x35\xec\x7c\xaf\x47\x13"
26526 "\x9c\xc9\x33\x12\x10\x2f\x94\x8a",
26527 .len = 80,
26528 }, {
26529 .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
26530 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
26531 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
26532 .klen = 24,
26533 .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
26534 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
26535 .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
26536 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
26537 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
26538 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
26539 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
26540 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
26541 "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
26542 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
26543 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
26544 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
26545 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
26546 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
26547 .ctext = "\x38\x5b\x16\xef\xb8\x8c\x74\x7a"
26548 "\x55\x17\x71\xa7\x7d\x34\xd7\x6a"
26549 "\xc6\x31\x55\x6f\xbb\x61\xf4\x12"
26550 "\x81\x8c\x91\x0d\x10\xdb\xd5\x22"
26551 "\x77\x36\x32\xb6\x77\xb1\x5e\x21"
26552 "\xb5\xec\xf9\x64\x04\x90\x6f\xc6"
26553 "\x8a\x86\x23\xb5\xfe\xa4\xb6\x84"
26554 "\x91\xa1\x60\xe3\xd7\xf3\xb9\xda"
26555 "\x96\x23\x4a\xb3\xab\x75\x84\x04"
26556 "\x15\x1a\xbb\xe8\x02\x1e\x80\x7c"
26557 "\xc1\x93\x01\x0f\x5c\x4a\xde\x85"
26558 "\xbb\x93\x05\x66\x53\x74\x40\x56",
26559 .len = 96,
26560 }, {
26561 .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
26562 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
26563 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
26564 .klen = 24,
26565 .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
26566 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
26567 .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
26568 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
26569 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
26570 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
26571 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
26572 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
26573 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
26574 "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
26575 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
26576 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
26577 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
26578 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
26579 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
26580 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
26581 .ctext = "\x4b\x56\xe0\xc2\x65\x2f\x7c\x6f"
26582 "\xee\x22\xeb\x34\x1c\xa5\xb7\xc8"
26583 "\x35\xd7\x51\xfd\x6a\xf4\xdd\xc3"
26584 "\x38\xf4\xfc\x9d\x2e\xc2\x77\xb7"
26585 "\x93\x8e\x8c\xb3\x44\x9b\xaf\xbb"
26586 "\x99\xb9\xa8\x38\x1c\xfe\x63\xfb"
26587 "\x1f\xa0\xaa\x35\x29\x7b\x87\x49"
26588 "\x8e\x93\xa5\xb8\x5a\x85\x37\xa7"
26589 "\x67\x69\x49\xbd\xc3\xfa\x89\x1c"
26590 "\xf5\x60\x9b\xe7\x71\x96\x95\xd9"
26591 "\x0b\x98\xe6\x74\x1d\xa3\xd9\x89"
26592 "\x03\xe4\xf6\x66\xb3\x73\xb1\xac"
26593 "\x9f\xee\x8f\xc2\x96\xcc\x97\x78"
26594 "\x1b\x96\x63\x64\x00\x9c\x2d\x29",
26595 .len = 112,
26596 }, {
26597 .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
26598 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
26599 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
26600 .klen = 24,
26601 .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
26602 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
26603 .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
26604 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
26605 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
26606 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
26607 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
26608 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
26609 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
26610 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
26611 "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
26612 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
26613 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
26614 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
26615 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
26616 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
26617 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
26618 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
26619 .ctext = "\x4d\x35\x70\xf1\x25\x02\x1d\x7f"
26620 "\x9e\x0f\x5b\x4b\x65\xab\xcc\x6b"
26621 "\x62\xab\x2b\xfa\xc0\x66\xee\x56"
26622 "\xb4\x66\x95\x22\x84\x39\xd8\x3f"
26623 "\x74\xba\x4f\x3f\xcd\xef\xcf\xf6"
26624 "\x76\xeb\x9e\x8a\xec\x9c\x31\xa0"
26625 "\x3e\x0c\xf9\xfa\x57\x90\xb4\x02"
26626 "\xac\xc8\x28\xda\xa0\x05\xb7\x7e"
26627 "\x75\x9c\x79\x36\xa9\x2f\x1a\x36"
26628 "\x56\x77\xda\x74\xc7\xb3\xdf\xf3"
26629 "\xb9\x83\x10\xf3\x6b\xe1\xdf\xcb"
26630 "\x11\x70\xb1\xa0\x68\x48\x26\x95"
26631 "\x10\x91\x94\xf3\xe9\x82\xb4\x8a"
26632 "\xaa\xde\xf8\x9f\xce\x82\x47\x18"
26633 "\x37\x5d\xda\x34\x74\x4d\x36\xbd"
26634 "\xa5\x6c\xa4\xb3\x70\xad\x00\xbd",
26635 .len = 128,
26636 }, {
26637 .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
26638 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
26639 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
26640 .klen = 24,
26641 .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
26642 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
26643 .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
26644 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
26645 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
26646 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
26647 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
26648 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
26649 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
26650 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
26651 "\xc2\xab\x62\x54\xef\xba\xae\x46"
26652 "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
26653 "\x05\x26\x23\x81\x19\x27\xad\x7b"
26654 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
26655 "\x44\xbf\x59\xde\x03\x61\x11\x12"
26656 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
26657 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
26658 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
26659 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
26660 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
26661 .ctext = "\xa1\x4a\x83\xb2\xe0\xef\x3d\x94"
26662 "\xa4\x34\x66\x93\xb4\x89\x4e\x12"
26663 "\xe5\x61\xc9\xea\xe0\x16\x96\x1a"
26664 "\x3e\x94\x20\x81\xd4\x12\x7f\xf4"
26665 "\xb8\x3f\xc9\xe2\x99\xb5\x0f\x9e"
26666 "\x71\x86\x4f\x13\x78\x4e\xf1\x51"
26667 "\xd4\x7d\x6e\x47\x31\x9a\xd8\xf7"
26668 "\xb9\xb1\x17\xd0\xbd\xbf\x72\x86"
26669 "\xb4\x58\x85\xf0\x05\x67\xc4\x00"
26670 "\xca\xcb\xa7\x1a\x1d\x88\x29\xf4"
26671 "\xe2\xf6\xdd\x5a\x3e\x5a\xbb\x29"
26672 "\x48\x5a\x4a\x18\xcd\x5c\xf1\x09"
26673 "\x5b\xbe\x1a\x43\x12\xc5\x6e\x6e"
26674 "\x5e\x6d\x3b\x22\xf7\x58\xbd\xc8"
26675 "\xb1\x04\xaf\x44\x9c\x2b\x98\x5a"
26676 "\x14\xb7\x35\xb8\x9a\xce\x32\x28"
26677 "\x1f\x8d\x08\x8a\xb9\x82\xf0\xa5"
26678 "\x6a\x37\x29\xb6\x29\x3a\x53\x5e",
26679 .len = 144,
26680 }, {
26681 .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
26682 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
26683 "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
26684 .klen = 24,
26685 .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
26686 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
26687 .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
26688 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
26689 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
26690 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
26691 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
26692 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
26693 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
26694 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
26695 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
26696 "\x20\xf0\x79\x67\xb1\x83\x26\x66"
26697 "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
26698 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
26699 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
26700 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
26701 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
26702 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
26703 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
26704 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
26705 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
26706 "\x43\x43\x51\x6a\x02\x81\x64\x0c",
26707 .ctext = "\xd9\xed\xc8\xc7\x66\xcd\x06\xc5"
26708 "\xc1\x25\x9b\xf5\x14\x71\x1d\x69"
26709 "\xc9\x7c\x04\x40\xab\xc0\x44\xf4"
26710 "\xa1\xe6\x57\x8b\x35\x62\x4e\x3f"
26711 "\xce\x4a\x99\xcd\x95\xc4\xd1\xf3"
26712 "\xbc\x25\xa2\x18\xe6\xd1\xf7\xc0"
26713 "\x13\x98\x60\x4c\x5c\xb1\x4f\x7a"
26714 "\xbc\x45\x12\x52\xe8\x71\xb0\xf1"
26715 "\x18\xef\x6f\x8a\x63\x35\x17\xae"
26716 "\x90\x31\x41\x9d\xf4\xdc\x35\xcc"
26717 "\x49\x72\x10\x11\x3b\xe3\x40\x7a"
26718 "\x8e\x21\x39\xd0\x5b\x82\xb1\xe9"
26719 "\x0c\x37\x5a\x7c\x11\xcb\x96\xd9"
26720 "\xd4\x1c\x47\x4b\x70\xcb\xca\x08"
26721 "\x5f\x71\xe9\x48\xf6\x29\xd8\xbb"
26722 "\x5c\xad\x9b\x23\x9f\x62\xaf\xef"
26723 "\x8e\xd8\x99\x1d\x60\xad\xc3\x6f"
26724 "\xed\x06\x1a\xec\xfa\xc0\x0f\x0d"
26725 "\xb7\x00\x02\x45\x7c\x94\x23\xb6"
26726 "\xd7\x26\x6a\x16\x62\xc4\xd9\xee",
26727 .len = 160,
26728 }, {
26729 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
26730 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
26731 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
26732 "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
26733 .klen = 32,
26734 .iv = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
26735 "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
26736 .ptext = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
26737 "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
26738 .ctext = "\x05\x31\x46\x6d\xb8\xf4\x92\x64"
26739 "\x46\xfd\x0d\x96\x60\x01\xd7\x94",
26740 .len = 16,
26741 }, {
26742 .key = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
26743 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22"
26744 "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
26745 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
26746 .klen = 32,
26747 .iv = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
26748 "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
26749 .ptext = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
26750 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d"
26751 "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
26752 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
26753 .ctext = "\x24\x36\xe4\x14\xb7\xe1\x56\x8a"
26754 "\xf3\xc5\xaf\x0e\xa7\xeb\xbd\xcd"
26755 "\x2d\xe9\xd7\x19\xae\x24\x5d\x3b"
26756 "\x1d\xfb\xdc\x21\xb3\x1a\x37\x0b",
26757 .len = 32,
26758 }, {
26759 .key = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
26760 "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
26761 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
26762 "\x39\x56\x34\x63\x2c\xc5\x51\x13",
26763 .klen = 32,
26764 .iv = "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
26765 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
26766 .ptext = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
26767 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
26768 "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
26769 "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
26770 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
26771 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
26772 .ctext = "\x2e\x73\x60\xec\xd3\x95\x78\xe8"
26773 "\x0f\x98\x1a\xc2\x92\x49\x0b\x49"
26774 "\x71\x42\xf4\xb0\xaa\x8b\xf8\x53"
26775 "\x16\xab\x6d\x74\xc0\xda\xab\xcd"
26776 "\x85\x52\x11\x20\x2c\x59\x16\x00"
26777 "\x26\x47\x4a\xea\x08\x5f\x38\x68",
26778 .len = 48,
26779 }, {
26780 .key = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
26781 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
26782 "\xa0\x82\x09\x60\x47\xbb\x16\x56"
26783 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c",
26784 .klen = 32,
26785 .iv = "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
26786 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
26787 .ptext = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
26788 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
26789 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
26790 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44"
26791 "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
26792 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
26793 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
26794 "\xb2\x92\x83\x70\x1e\xa3\x97\xa6",
26795 .ctext = "\xfb\xd3\xc3\x8b\xf7\x89\xcc\x31"
26796 "\xb1\x7f\xc3\x91\xdc\x04\xc6\xd7"
26797 "\x33\xbd\xe0\xee\x0c\xd5\x70\xed"
26798 "\x1b\x1d\xad\x49\x6f\x5c\xa1\x68"
26799 "\xd7\x03\xc9\x65\xa7\x90\x30\x2b"
26800 "\x26\xeb\xf4\x7a\xac\xcc\x03\xe1"
26801 "\x6a\xe5\xdb\x23\x10\x8a\xcd\x70"
26802 "\x39\x4d\x7a\xc9\xcd\x62\xd1\x65",
26803 .len = 64,
26804 }, {
26805 .key = "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
26806 "\x91\xac\x17\x11\x1c\x03\x69\x53"
26807 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
26808 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8",
26809 .klen = 32,
26810 .iv = "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
26811 "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
26812 .ptext = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
26813 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
26814 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
26815 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
26816 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
26817 "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
26818 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
26819 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
26820 "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
26821 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
26822 .ctext = "\xa2\x51\x28\xc2\x5e\x58\x1c\xaf"
26823 "\x84\x92\x1c\xe1\x92\xf0\xf9\x9e"
26824 "\xf2\xb3\xc6\x2b\x34\xd2\x8d\xa0"
26825 "\xb3\xd7\x87\x56\xeb\xd9\x32\x6a"
26826 "\xca\x90\x28\x26\x49\x34\xca\x41"
26827 "\xce\xc5\x9e\xd6\xfe\x57\x71\x3c"
26828 "\x98\xaf\xdd\xfc\x7d\xdf\x26\x7e"
26829 "\xb7\x9c\xd5\x15\xe5\x81\x7a\x4f"
26830 "\x4f\x4f\xe5\x77\xf2\x2e\x67\x68"
26831 "\x52\xc1\xac\x28\x2c\x88\xf4\x38",
26832 .len = 80,
26833 }, {
26834 .key = "\x84\xa0\x53\x97\x61\x30\x70\x15"
26835 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
26836 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
26837 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95",
26838 .klen = 32,
26839 .iv = "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
26840 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
26841 .ptext = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
26842 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
26843 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
26844 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
26845 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
26846 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
26847 "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
26848 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
26849 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
26850 "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
26851 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
26852 "\x58\x2b\x1d\x73\x9a\x9c\x63\x18",
26853 .ctext = "\xd1\xce\xbe\xe0\x4a\x6e\x6d\x7f"
26854 "\x89\x19\x28\xb1\xca\xe8\xc1\x9c"
26855 "\x8c\x0b\x7d\x63\xfe\xff\x3d\xf4"
26856 "\x65\x9e\xd6\xe7\x2f\x5a\xc1\x31"
26857 "\x1e\xe7\x59\x27\x54\x92\xcc\xaa"
26858 "\x5b\x3d\xeb\xe7\x96\xc1\x49\x54"
26859 "\x18\xf3\x14\xaa\x56\x03\x28\x53"
26860 "\xaa\x0a\x91\xdf\x92\x96\x9b\x06"
26861 "\x1a\x24\x02\x09\xe7\xa6\xdc\x75"
26862 "\xeb\x00\x1d\xf5\xf2\xa7\x4a\x9d"
26863 "\x75\x80\xb7\x47\x63\xfc\xad\x18"
26864 "\x85\x5f\xfc\x64\x03\x72\x38\xe7",
26865 .len = 96,
26866 }, {
26867 .key = "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
26868 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
26869 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
26870 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0",
26871 .klen = 32,
26872 .iv = "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
26873 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
26874 .ptext = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
26875 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
26876 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
26877 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
26878 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
26879 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
26880 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
26881 "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
26882 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
26883 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
26884 "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
26885 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
26886 "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
26887 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c",
26888 .ctext = "\x0b\x07\xdc\x6a\x47\x45\xd2\xb0"
26889 "\xa3\xf2\x42\x2f\xa4\x79\x6b\x4c"
26890 "\x53\x9c\x8a\x2f\x48\x9c\xf2\x89"
26891 "\x73\x8b\xdd\x97\xde\x41\x06\xc8"
26892 "\x8a\x30\x7a\xa9\x90\x4a\x43\xd0"
26893 "\xd5\xee\x16\x51\x44\xda\xe4\xb8"
26894 "\xe8\x5f\x6f\xef\x84\xf3\x44\x43"
26895 "\xbd\xdc\xc3\xdf\x65\x2b\xaf\xf6"
26896 "\xfe\xd0\x4a\x5b\x30\x47\x8c\xaf"
26897 "\x8d\xed\x2d\x91\xa1\x03\x9a\x80"
26898 "\x58\xdd\xaa\x8f\x3b\x6b\x39\x10"
26899 "\xe5\x92\xbc\xac\xaa\x25\xa1\x13"
26900 "\x7e\xaa\x03\x83\x05\x83\x11\xfe"
26901 "\x19\x5f\x04\x01\x48\x00\x3b\x58",
26902 .len = 112,
26903 }, {
26904 .key = "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
26905 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
26906 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
26907 "\x6a\x55\x84\x98\x28\x03\x02\xc2",
26908 .klen = 32,
26909 .iv = "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
26910 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
26911 .ptext = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
26912 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
26913 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
26914 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
26915 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
26916 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
26917 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
26918 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
26919 "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
26920 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
26921 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
26922 "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
26923 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
26924 "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
26925 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
26926 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a",
26927 .ctext = "\xfe\xba\x8f\x68\x47\x55\xaa\x61"
26928 "\x48\xdd\xf3\x7c\xc4\xdc\xa6\x93"
26929 "\x4e\x72\x3f\xc7\xd0\x2b\x9b\xac"
26930 "\xc1\xb5\x95\xf8\x8e\x75\x62\x0c"
26931 "\x05\x6a\x90\x76\x35\xed\x73\xf2"
26932 "\x0f\x44\x3d\xaf\xd4\x00\xeb\x1d"
26933 "\xad\x27\xf2\x2f\x55\x65\x91\x0f"
26934 "\xe4\x04\x9c\xfb\x8a\x18\x22\x8e"
26935 "\x21\xbe\x93\x09\xdd\x3e\x93\x34"
26936 "\x60\x82\xcd\xff\x42\x10\xed\x43"
26937 "\x3a\x4b\xb8\x5c\x6c\xa8\x9e\x1c"
26938 "\x95\x6a\x17\xa7\xa3\xe0\x7d\xdb"
26939 "\x6e\xca\xaf\xc1\x1f\xb2\x86\x15"
26940 "\xf0\xc1\x55\x72\xf2\x74\x44\xeb"
26941 "\x09\x09\x83\x8b\x2c\xc9\x63\x13"
26942 "\x99\xe3\xe1\x4b\x5c\xf7\xb1\x04",
26943 .len = 128,
26944 }, {
26945 .key = "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
26946 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
26947 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
26948 "\xcd\x56\x02\x95\xc9\x54\x6e\x62",
26949 .klen = 32,
26950 .iv = "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
26951 "\xc2\xab\x62\x54\xef\xba\xae\x46",
26952 .ptext = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
26953 "\x05\x26\x23\x81\x19\x27\xad\x7b"
26954 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
26955 "\x44\xbf\x59\xde\x03\x61\x11\x12"
26956 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
26957 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
26958 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
26959 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
26960 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
26961 "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
26962 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
26963 "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
26964 "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
26965 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
26966 "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
26967 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
26968 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
26969 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01",
26970 .ctext = "\xa5\x19\x33\xad\x2d\x1a\x7b\x34"
26971 "\xb0\x21\x68\x0e\x20\x11\x7a\x37"
26972 "\xef\x35\x33\x64\x31\x0a\x42\x77"
26973 "\x2c\x7f\x1a\x34\xd6\x93\x2d\xe9"
26974 "\x26\xb9\x15\xec\x4f\x83\xbd\x48"
26975 "\x5b\xe9\x63\xea\x10\x3b\xec\xfb"
26976 "\xb0\x5e\x81\x90\xf0\x07\x43\xc4"
26977 "\xda\x54\x69\x98\x13\x5d\x93\x16"
26978 "\xca\x06\x81\x64\x36\xbe\x36\xa2"
26979 "\xd4\xd8\x48\x63\xc7\x53\x39\x93"
26980 "\x6d\x6b\xd6\x49\x00\x72\x5e\x02"
26981 "\xc7\x88\x61\x0f\x10\x88\xd4\x9e"
26982 "\x17\x81\xa4\xdc\x43\x4e\x83\x43"
26983 "\xd4\xc3\xd7\x25\x9a\xd4\x76\xde"
26984 "\x88\xe3\x98\x5a\x0e\x80\x23\xfb"
26985 "\x49\xb3\x83\xf6\xb9\x16\x00\x06"
26986 "\xa5\x06\x24\x17\x65\xbb\x68\xa9"
26987 "\x56\x6d\xeb\xcd\x3c\x14\xd2\x64",
26988 .len = 144,
26989 }, {
26990 .key = "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
26991 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
26992 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
26993 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53",
26994 .klen = 32,
26995 .iv = "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
26996 "\x20\xf0\x79\x67\xb1\x83\x26\x66",
26997 .ptext = "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
26998 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
26999 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27000 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27001 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27002 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27003 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27004 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27005 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27006 "\x43\x43\x51\x6a\x02\x81\x64\x0c"
27007 "\xcd\x4b\xbf\x0f\xcb\x81\xd4\xec"
27008 "\x1e\x07\x05\x4d\x5c\x6b\xba\xcc"
27009 "\x43\xc7\xb1\xfe\xa8\xe9\x96\xb0"
27010 "\xb1\xb2\xd4\x70\x44\xbc\xaa\x50"
27011 "\xbf\x3f\x81\xe6\xea\x36\x7d\x97"
27012 "\x2a\xbd\x52\x16\xf7\xbe\x59\x27"
27013 "\x8f\xcc\xe3\xa9\xec\x4f\xcd\xd3"
27014 "\xf4\xe2\x54\xbe\xf1\xf9\x2b\x23"
27015 "\x40\xc7\xcb\x67\x4d\x5f\x0b\xd4"
27016 "\xbf\x19\xf0\x2a\xef\x37\xc6\x56",
27017 .ctext = "\x0a\x69\xd8\x67\x33\x2a\x2f\xa9"
27018 "\x26\x79\x65\xd6\x75\x1e\x98\xe8"
27019 "\x52\x56\x32\xbf\x67\x71\xf4\x01"
27020 "\xb1\x6f\xef\xf9\xc9\xad\xb3\x49"
27021 "\x7a\x4f\x24\x9a\xae\x06\x62\x26"
27022 "\x3e\xe4\xa7\x6f\x5a\xbf\xe9\x52"
27023 "\x13\x01\x74\x8b\x6e\xb1\x65\x24"
27024 "\xaa\x8d\xbb\x54\x21\x20\x60\xa4"
27025 "\xb7\xa5\xf9\x4e\x7b\xf5\x0b\x70"
27026 "\xd2\xb9\xdc\x9b\xdb\x2c\xb2\x43"
27027 "\xf7\x71\x30\xa5\x13\x6f\x16\x75"
27028 "\xd0\xdf\x72\xae\xe4\xed\xc1\xa3"
27029 "\x81\xe0\xd5\xc0\x0e\x62\xe8\xe5"
27030 "\x86\x2c\x37\xde\xf8\xb0\x21\xe4"
27031 "\xcd\xa6\x76\x9b\xa1\x56\xd3\x67"
27032 "\x70\x69\xd6\x5d\xc7\x65\x19\x59"
27033 "\x43\x9c\xca\x32\xe9\xd1\x48\x92"
27034 "\x71\x79\x87\x73\x24\xcb\xc0\x0f"
27035 "\x23\x3b\x8f\x51\x8a\xb3\x3a\x9c"
27036 "\x74\xa4\x19\xa7\xe4\x4f\x6b\x32",
27037 .len = 160,
27038 }
27039};
27040
27041static const struct cipher_testvec aria_ctr_tv_template[] = {
27042 {
27043 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27044 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1",
27045 .klen = 16,
27046 .iv = "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0"
27047 "\xfd\xab\x56\xa6\x6e\xda\x7c\x57",
27048 .ptext = "\x36\x36\x89\x09\xcd\xa8\xd3\x91"
27049 "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0",
27050 .ctext = "\x19\x28\xb5\xf2\x1c\xbc\xf8\xaf"
27051 "\xb9\xae\x1b\x23\x4f\xe1\x6e\x40",
27052 .len = 16,
27053 }, {
27054 .key = "\x51\xe3\x8c\xe9\x76\xcd\xff\x37"
27055 "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe",
27056 .klen = 16,
27057 .iv = "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27058 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27059 .ptext = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27060 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e"
27061 "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27062 "\x0e\x60\x75\x84\x21\xdf\x13\xa1",
27063 .ctext = "\x3f\x8c\xa9\x19\xd6\xb4\xfb\xed"
27064 "\x9c\x6d\xaa\x1b\xe1\xc1\xe6\xa8"
27065 "\xa9\x0a\x63\xd3\xa2\x1e\x6b\xa8"
27066 "\x52\x97\x1e\x81\x34\x6f\x98\x0e",
27067 .len = 32,
27068 }, {
27069 .key = "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27070 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27071 .klen = 16,
27072 .iv = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27073 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4",
27074 .ptext = "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0"
27075 "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27076 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2"
27077 "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27078 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27079 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e",
27080 .ctext = "\x28\xd8\xa7\xf8\x74\x98\x00\xfc"
27081 "\xd6\x48\xad\xbd\xbe\x3f\x0e\x7b"
27082 "\x3d\x46\xfd\xde\x3e\x4f\x12\x43"
27083 "\xac\x85\xda\xff\x70\x24\x44\x9d"
27084 "\x1e\xf8\x9f\x30\xba\xca\xe0\x97"
27085 "\x03\x6d\xe1\x1d\xc7\x21\x79\x37",
27086 .len = 48,
27087 }, {
27088 .key = "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27089 "\x77\xb5\xca\x90\xda\x1d\x22\x17",
27090 .klen = 16,
27091 .iv = "\xd9\xa0\x57\x80\xc8\x96\x70\x86"
27092 "\x07\x2c\xf4\x61\x79\x09\x01\x8f",
27093 .ptext = "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27094 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57"
27095 "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27096 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40"
27097 "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27098 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27099 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27100 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa",
27101 .ctext = "\x29\x31\x55\xd2\xe5\x0b\x81\x39"
27102 "\xf9\xbc\x63\xe2\xfa\x26\x99\xde"
27103 "\xde\x18\x93\x68\x81\x7b\x0a\x4d"
27104 "\xf6\x03\xe1\xee\xf9\x0e\x1f\xe8"
27105 "\xa8\x80\x81\x46\xdc\x24\x43\x3f"
27106 "\xff\xfe\x8c\x3e\x17\x0a\x6d\xa2"
27107 "\x47\x55\x62\xa0\x03\x4e\x48\x67"
27108 "\xa2\x64\xc0\x9b\x6c\xa4\xfd\x6a",
27109 .len = 64,
27110 }, {
27111 .key = "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27112 "\xba\xbc\x46\x6a\x69\x17\x3c\xac",
27113 .klen = 16,
27114 .iv = "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27115 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27116 .ptext = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27117 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27118 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d"
27119 "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27120 "\x65\x53\x39\xeb\x53\x8f\xb1\x38"
27121 "\x91\xac\x17\x11\x1c\x03\x69\x53"
27122 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27123 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27124 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27125 "\xce\x8f\x9f\xea\x46\x66\x99\xb8",
27126 .ctext = "\x38\xbc\xf5\x9d\x0e\x26\xa6\x18"
27127 "\x95\x0b\x23\x54\x09\xa1\xf9\x46"
27128 "\x12\xf1\x42\x57\xa1\xaa\x52\xfa"
27129 "\x8a\xbd\xf2\x03\x63\x4e\xbc\xf7"
27130 "\x21\xea\xed\xca\xdd\x42\x41\x94"
27131 "\xe4\x6c\x07\x06\x19\x59\x30\xff"
27132 "\x8c\x9d\x51\xbf\x2c\x2e\x5b\xa5"
27133 "\x7d\x11\xec\x6b\x21\x08\x12\x18"
27134 "\xe4\xdf\x5a\xfd\xa6\x5f\xee\x2f"
27135 "\x5c\x24\xb7\xea\xc1\xcd\x6d\x68",
27136 .len = 80,
27137 }, {
27138 .key = "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27139 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3",
27140 .klen = 16,
27141 .iv = "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27142 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a",
27143 .ptext = "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41"
27144 "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27145 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27146 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50"
27147 "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27148 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2"
27149 "\x84\xa0\x53\x97\x61\x30\x70\x15"
27150 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27151 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27152 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27153 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27154 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda",
27155 .ctext = "\xdf\x79\x58\x30\x6f\x47\x12\x78"
27156 "\x04\xb2\x0b\x1a\x62\x22\xe2\x9f"
27157 "\xfe\xc2\xf5\x6d\x9e\x0e\x2e\x56"
27158 "\x76\x01\x7f\x25\x8f\x6e\xc5\xf3"
27159 "\x91\xff\xcd\x67\xc6\xae\x0b\x01"
27160 "\x4d\x5f\x40\x25\x88\xc5\xe0\x3d"
27161 "\x37\x62\x12\x58\xfe\xc5\x4a\x21"
27162 "\x4a\x86\x8d\x94\xdd\xfd\xe6\xf6"
27163 "\x1e\xa6\x78\x4f\x90\x66\xda\xe4"
27164 "\x4e\x64\xa8\x05\xc6\xd8\x7d\xfb"
27165 "\xac\xc9\x1d\x14\xb5\xb0\xfa\x9c"
27166 "\xe8\x84\xef\x87\xbe\xb4\x2a\x87",
27167 .len = 96,
27168 }, {
27169 .key = "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27170 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1",
27171 .klen = 16,
27172 .iv = "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27173 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad",
27174 .ptext = "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27175 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e"
27176 "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27177 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27178 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb"
27179 "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27180 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17"
27181 "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27182 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27183 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27184 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27185 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27186 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27187 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95",
27188 .ctext = "\xe4\x25\x0d\x22\xeb\xbe\x5e\x90"
27189 "\x01\xe5\xae\xc9\x94\xbd\x93\x89"
27190 "\x5f\x98\xf1\x46\x6a\x50\x3b\xa2"
27191 "\x79\xd9\xe4\x9c\x9a\xde\xf2\x8c"
27192 "\x25\x49\x4c\xda\xb4\x2c\x76\xab"
27193 "\x0a\xa8\x51\xaf\xc0\x62\x1b\xe9"
27194 "\xe9\x7a\x35\x6a\x4b\x1f\x48\x00"
27195 "\xeb\x24\x1d\x5e\xdd\x06\x09\x23"
27196 "\x2a\xfa\x8f\x3b\x3e\x9e\x14\x6f"
27197 "\x2a\x3c\xef\x6d\x73\x67\xdd\x6c"
27198 "\xc8\xa5\x57\xc8\x02\xb6\x9a\xe8"
27199 "\x8d\xcf\x10\xfa\x3e\x9c\x4d\xeb"
27200 "\x44\xd2\x05\x31\x40\x94\x77\x87"
27201 "\xf0\x83\xb5\xd2\x2a\x9c\xbc\xe4",
27202 .len = 112,
27203 }, {
27204 .key = "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27205 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15",
27206 .klen = 16,
27207 .iv = "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27208 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12",
27209 .ptext = "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27210 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27211 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41"
27212 "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27213 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27214 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3"
27215 "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27216 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe"
27217 "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27218 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27219 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27220 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27221 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27222 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27223 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27224 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c",
27225 .ctext = "\xa7\x4c\x96\x55\x7c\x07\xce\xb2"
27226 "\x6f\x63\x9f\xc6\x8b\x6f\xc6\x4a"
27227 "\x2c\x47\x8d\x99\xdf\x65\x75\x96"
27228 "\xb7\x1d\x50\x5b\x57\x4a\x69\xcc"
27229 "\xc9\x3a\x18\x8a\xd1\xab\x70\x4a"
27230 "\xa3\x13\x80\xdd\x48\xc0\x6a\x7d"
27231 "\x21\xa8\x22\x06\x32\x47\xc0\x16"
27232 "\x1f\x9a\xc0\x21\x33\x66\xf2\xd8"
27233 "\x69\x79\xae\x02\x82\x3f\xaf\xa6"
27234 "\x98\xdb\xcd\x2a\xe5\x12\x39\x80"
27235 "\x8a\xc1\x73\x99\xe5\xe4\x17\xe3"
27236 "\x56\xc2\x43\xa6\x41\x6b\xb2\xa4"
27237 "\x9f\x81\xc4\xe9\xf4\x29\x65\x50"
27238 "\x69\x81\x80\x4b\x86\xab\x5e\x30"
27239 "\xd0\x81\x9d\x6f\x24\x59\x42\xc7"
27240 "\x6d\x5e\x41\xb8\xf5\x99\xc2\xae",
27241 .len = 128,
27242 }, {
27243 .key = "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27244 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c",
27245 .klen = 16,
27246 .iv = "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27247 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33",
27248 .ptext = "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27249 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27250 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27251 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a"
27252 "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27253 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27254 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8"
27255 "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27256 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e"
27257 "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27258 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27259 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27260 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27261 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27262 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27263 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27264 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27265 "\xc2\xab\x62\x54\xef\xba\xae\x46",
27266 .ctext = "\x11\x7f\xea\x49\xaf\x24\x52\xa2"
27267 "\xde\x60\x99\x58\x23\xf9\x9e\x91"
27268 "\x73\xd5\x9a\xcb\xdd\x10\xcd\x68"
27269 "\xb8\x9e\xef\xa4\xe9\x2d\xf0\x27"
27270 "\x44\xd4\x9a\xd6\xb6\x9c\x7a\xec"
27271 "\x17\x17\xea\xa7\x8e\xa8\x40\x6b"
27272 "\x43\x3d\x50\x59\x0f\x74\x1b\x9e"
27273 "\x03\xed\x4f\x2f\xb8\xda\xef\xc3"
27274 "\x3f\x29\xb3\xf4\x5c\xcd\xce\x3c"
27275 "\xba\xfb\xc6\xd1\x1d\x6f\x61\x3a"
27276 "\x2b\xbd\xde\x30\xc5\x53\xe0\x6e"
27277 "\xbe\xae\x2f\x81\x13\x0f\xd2\xd5"
27278 "\x14\xda\xd3\x60\x9c\xf8\x00\x86"
27279 "\xe9\x97\x3e\x05\xb3\x95\xb3\x21"
27280 "\x1f\x3c\x56\xef\xcb\x32\x49\x5c"
27281 "\x89\xf1\x34\xe4\x8d\x7f\xde\x01"
27282 "\x1f\xd9\x25\x6d\x34\x1d\x6b\x71"
27283 "\xc9\xa9\xd6\x14\x1a\xf1\x44\x59",
27284 .len = 144,
27285 }, {
27286 .key = "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27287 "\x05\x26\x23\x81\x19\x27\xad\x7b",
27288 .klen = 16,
27289 .iv = "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27290 "\x44\xbf\x59\xde\x03\x61\x11\x12",
27291 .ptext = "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27292 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27293 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27294 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27295 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c"
27296 "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27297 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27298 "\x54\x84\x2a\x06\xb5\xd1\x34\x57"
27299 "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27300 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97"
27301 "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27302 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27303 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27304 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27305 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27306 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27307 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27308 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27309 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27310 "\x20\xf0\x79\x67\xb1\x83\x26\x66",
27311 .ctext = "\x5b\xc0\xe8\x17\xa4\xf9\xea\xce"
27312 "\x9e\xf9\xe0\xb1\xac\x37\xe9\x41"
27313 "\x0b\x57\xc6\x55\x54\x50\xfa\xa9"
27314 "\x60\xaf\x7a\x4e\x98\x56\xde\x81"
27315 "\x14\xfc\xac\x21\x81\x3e\xf4\x0f"
27316 "\x40\x92\x30\xa8\x16\x88\x1a\xc3"
27317 "\xf1\x39\xbd\x0a\xb9\x44\xc8\x67"
27318 "\x8c\xaa\x2b\x45\x8b\x5b\x7b\x24"
27319 "\xd5\xd8\x9e\xd3\x59\xa5\xd7\x69"
27320 "\xdf\xf4\x50\xf9\x5f\x4f\x44\x1f"
27321 "\x2c\x75\x68\x6e\x3a\xa8\xae\x4b"
27322 "\x84\xf0\x42\x6c\xc0\x3c\x42\xaf"
27323 "\x87\x2b\x89\xe9\x51\x69\x16\x63"
27324 "\xc5\x62\x13\x05\x4c\xb2\xa9\x69"
27325 "\x01\x14\x73\x88\x8e\x41\x47\xb6"
27326 "\x68\x74\xbc\xe9\xad\xda\x94\xa1"
27327 "\x0c\x12\x8e\xd4\x38\x15\x02\x97"
27328 "\x27\x72\x4d\xdf\x61\xcc\x86\x3d"
27329 "\xd6\x32\x4a\xc3\xa9\x4c\x35\x4f"
27330 "\x5b\x91\x7d\x5c\x79\x59\xb3\xd5",
27331 .len = 160,
27332 }, {
27333 .key = "\x7f\x92\xd5\x06\x30\x6b\xc0\x23"
27334 "\x87\xa8\x8e\x6d\xc7\xc5\xd7\xf1"
27335 "\x5f\xce\x89\xb3\xd5\x7f\x7f\xf0",
27336 .klen = 24,
27337 .iv = "\xfd\xab\x56\xa6\x6e\xda\x7c\x57"
27338 "\x36\x36\x89\x09\xcd\xa8\xd3\x91",
27339 .ptext = "\x48\x3e\x3c\x11\xcf\xd0\x4f\xc0"
27340 "\x51\xe3\x8c\xe9\x76\xcd\xff\x37",
27341 .ctext = "\xa4\x12\x2f\xc4\xf0\x6d\xd9\x46"
27342 "\xe4\xe6\xd1\x0b\x6d\x14\xf0\x8f",
27343 .len = 16,
27344 }, {
27345 .key = "\xd6\x1a\x18\x2f\x68\x2f\xb6\xfe"
27346 "\x3d\x2d\x85\x75\x6e\x18\x8a\x52"
27347 "\x53\x39\xfc\xc1\xf5\xc0\x56\x22",
27348 .klen = 24,
27349 .iv = "\xc6\xae\xaa\x0d\x90\xf2\x38\x93"
27350 "\xac\xd2\x3f\xc7\x74\x8d\x13\x7e",
27351 .ptext = "\xfa\x3f\x70\x52\xfb\x04\x0e\xed"
27352 "\x0e\x60\x75\x84\x21\xdf\x13\xa1"
27353 "\x26\xf8\x8c\x26\x0a\x37\x51\x8f"
27354 "\xe7\x9c\x74\x77\x7a\x3e\xbb\x5d",
27355 .ctext = "\x80\x2b\xf0\x88\xb9\x4b\x8d\xf5"
27356 "\xc3\x0e\x15\x5b\xea\x5d\x5b\xa8"
27357 "\x07\x95\x78\x72\xc0\xb9\xbf\x25"
27358 "\x33\x22\xd1\x05\x56\x46\x62\x25",
27359 .len = 32,
27360 }, {
27361 .key = "\xd7\x33\xf3\xa9\x5b\xb4\x86\xea"
27362 "\xe3\x7d\x50\x62\x3b\x73\xaf\xc4"
27363 "\xda\x89\xd9\x3c\xcc\xe4\x73\xb0",
27364 .klen = 24,
27365 .iv = "\xef\x3e\x5f\x46\x62\x88\xd5\x26"
27366 "\x3b\xd3\xb5\x81\x78\x70\x1b\xd2",
27367 .ptext = "\x39\x56\x34\x63\x2c\xc5\x51\x13"
27368 "\x48\x29\x3a\x58\xbe\x41\xc5\x80"
27369 "\x2c\x80\xa7\x3c\x14\xb4\x89\x5e"
27370 "\x8e\xe5\x5f\xe2\x39\x80\xf5\x2b"
27371 "\x77\xb5\xca\x90\xda\x1d\x22\x17"
27372 "\xd9\xa0\x57\x80\xc8\x96\x70\x86",
27373 .ctext = "\x65\x01\x3c\xb0\xac\x4c\x63\xb6"
27374 "\xe7\xf1\xf4\x61\x35\xf4\x36\xde"
27375 "\x7f\x85\xba\x41\xa8\xb0\x27\x11"
27376 "\x86\x2c\x71\x16\x05\x1d\xcf\x70"
27377 "\x35\xef\x23\x17\xfc\xed\x3f\x1a"
27378 "\x8e\xb3\xe5\xdb\x90\xb4\xb8\x35",
27379 .len = 48,
27380 }, {
27381 .key = "\x07\x2c\xf4\x61\x79\x09\x01\x8f"
27382 "\x37\x32\x98\xd4\x86\x2b\x3b\x80"
27383 "\x07\x60\xba\xf0\x2e\xc3\x4a\x57",
27384 .klen = 24,
27385 .iv = "\xf5\xb5\xd7\xbf\xd2\x2a\x9b\x4a"
27386 "\xe6\x08\xf0\xbe\x77\xd1\x62\x40",
27387 .ptext = "\xa0\x82\x09\x60\x47\xbb\x16\x56"
27388 "\x50\x1f\xab\x8b\x10\xfe\xf0\x5c"
27389 "\x05\x32\x63\x1a\xc4\x46\x6f\x55"
27390 "\x32\xde\x41\x5a\xf7\x52\xd7\xfa"
27391 "\x30\x9d\x59\x8d\x64\x76\xad\x37"
27392 "\xba\xbc\x46\x6a\x69\x17\x3c\xac"
27393 "\x6f\xdd\xa2\x9b\x86\x32\x14\x2e"
27394 "\x54\x74\x8f\x3d\xe2\xd6\x85\x44",
27395 .ctext = "\x5a\xfb\xb1\x2c\x6e\xe5\xb8\xe0"
27396 "\x80\xb6\x77\xa8\xfe\x10\x3a\x99"
27397 "\x00\x8e\x30\x23\x7d\x50\x87\xda"
27398 "\xc6\x46\x73\x37\x8b\xf1\xab\x26"
27399 "\x2d\xa8\x0c\xa8\x9e\x77\xee\xfc"
27400 "\x78\x4f\x03\x0f\xeb\xc6\x03\x34"
27401 "\xb9\x9c\x4f\x59\x55\xc5\x99\x47"
27402 "\xd4\x7e\xe8\x06\x43\x5f\xa1\x6b",
27403 .len = 64,
27404 }, {
27405 .key = "\x4f\x4a\x31\x64\xc6\xa5\x29\xaa"
27406 "\xad\xfd\x32\x94\x1f\x56\x57\xd1"
27407 "\x9d\x7e\x3d\x49\x00\x36\xb1\x5d",
27408 .klen = 24,
27409 .iv = "\xb2\x92\x83\x70\x1e\xa3\x97\xa6"
27410 "\x65\x53\x39\xeb\x53\x8f\xb1\x38",
27411 .ptext = "\x91\xac\x17\x11\x1c\x03\x69\x53"
27412 "\xf5\xdf\xdb\x2c\x1b\x9a\x6e\x6b"
27413 "\xb6\x02\xc4\xfa\x95\x01\x33\xa8"
27414 "\xda\x7e\x18\x2c\xf4\x7e\x6e\x67"
27415 "\xce\x8f\x9f\xea\x46\x66\x99\xb8"
27416 "\xe1\xc7\x25\x4d\xbd\xa5\x74\xdf"
27417 "\xc7\x8b\xfb\xe3\x2d\x3a\x82\xd3"
27418 "\x17\x94\x77\x2f\x92\xb8\x87\xc2"
27419 "\xcc\x6f\x70\x26\x87\xc7\x10\x8a"
27420 "\xc8\xfd\xc2\xb3\xcf\xa0\xeb\x41",
27421 .ctext = "\xc9\x5f\xe0\x60\x61\x38\x7e\x79"
27422 "\x52\x68\x64\x8f\x55\x9b\x6b\x72"
27423 "\xbf\x09\xef\x2f\xb2\x92\xbb\xa3"
27424 "\xe1\x6a\xeb\xe6\x4e\x7c\x5d\xe0"
27425 "\x6a\x4b\xd0\x57\x3b\x28\x8a\x83"
27426 "\x75\xd4\x5a\x2e\xd1\x9a\x57\xe3"
27427 "\xc5\x43\x36\xde\x02\xac\x2c\x75"
27428 "\xea\x33\x3a\x7e\x5d\xb8\xf6\x12"
27429 "\x42\xbd\x06\x8a\x09\x6b\xd6\xb6"
27430 "\x25\x59\xcd\xbd\x17\xeb\x69\xb3",
27431 .len = 80,
27432 }, {
27433 .key = "\x4c\xf4\xd0\x34\xd0\x95\xab\xae"
27434 "\x82\x5c\xfd\xfa\x13\x86\x25\xce"
27435 "\xf4\x13\x32\xcd\xc6\x6d\xf6\x50",
27436 .klen = 24,
27437 .iv = "\x12\x4a\x5b\x66\x3a\xd3\xfb\x1a"
27438 "\xaf\x06\xea\xf4\x65\x59\xd6\xc2",
27439 .ptext = "\x84\xa0\x53\x97\x61\x30\x70\x15"
27440 "\xac\x45\x8e\xe8\xeb\xa1\x72\x93"
27441 "\x26\x76\x98\x6f\xe4\x86\xca\xf0"
27442 "\x57\x89\xf2\x2b\xd4\xcf\x2d\x95"
27443 "\x86\x26\x20\x0e\x62\xfe\x8f\x1e"
27444 "\x5d\xcb\x2b\x7e\xdd\xab\xac\xda"
27445 "\x6e\x49\x20\xd5\xb7\x01\x83\x4e"
27446 "\xac\x45\x8f\xe1\x05\x3f\xd5\xb1"
27447 "\xee\xb7\x0d\x65\x00\x38\xab\x71"
27448 "\x70\x6e\xb3\x97\x86\xd3\xcd\xad"
27449 "\x51\x8b\x9c\xa0\x9a\x8b\x4c\xb9"
27450 "\x16\x01\x6a\x1f\xdf\xf0\xf9\x9e",
27451 .ctext = "\x03\x2c\x39\x24\x99\xb5\xf6\x79"
27452 "\x91\x89\xb7\xf8\x89\x68\x37\x9d"
27453 "\xe7\x4d\x7d\x1c\x36\xae\x98\xd2"
27454 "\xbf\x2a\xa4\x30\x38\x30\xe7\x5d"
27455 "\xbb\x00\x09\x40\x34\xa4\xef\x82"
27456 "\x23\xca\x0e\xb3\x71\x80\x29\x0a"
27457 "\xa9\x0b\x26\x65\x9a\x12\xbf\x18"
27458 "\xfb\xf8\xe4\xc2\x62\x57\x18\xfb"
27459 "\x1e\x98\xea\x5b\xf6\xd6\x7c\x52"
27460 "\x7a\xba\x0e\x6a\x54\x19\xb6\xfa"
27461 "\xe5\xd7\x60\x40\xb0\x1a\xf1\x09"
27462 "\x70\x96\x23\x49\x98\xfc\x79\xd2",
27463 .len = 96,
27464 }, {
27465 .key = "\x25\x1b\xc2\xa6\x21\x25\xeb\x97"
27466 "\x4b\xf6\xcb\x3b\xcd\x61\xfd\x94"
27467 "\x37\x03\xb3\xd9\x74\x6e\x4d\xbb",
27468 .klen = 24,
27469 .iv = "\xfd\x87\x2b\xec\x4c\x2c\xbf\xe2"
27470 "\x94\x1a\xe6\xd9\xaf\x0e\x78\x17",
27471 .ptext = "\x58\x2b\x1d\x73\x9a\x9c\x63\x18"
27472 "\x88\x7a\x0e\x87\x2f\xf0\xb0\xdb"
27473 "\xc9\x9d\x79\x51\x34\x39\x4f\x07"
27474 "\xa2\x7c\x21\x04\x91\x3b\x79\x79"
27475 "\xfe\xd5\x51\x46\xd5\xcd\x28\xc0"
27476 "\xad\xb8\x55\xb2\xb2\x5a\x9a\xa2"
27477 "\xe2\x0c\xfc\x55\x7d\x60\xd2\x95"
27478 "\xb6\x08\x1d\x31\xaf\xf4\x17\x46"
27479 "\xa4\xbb\x0f\xbd\x67\x3c\x73\x15"
27480 "\x0c\x85\x2f\x62\xe5\xf4\x35\x96"
27481 "\xb1\x9b\x5d\x00\x10\xe9\x70\x12"
27482 "\x3a\x87\x7f\x67\xf1\x81\x7a\x05"
27483 "\xb4\xa6\xfe\xdf\x36\x31\x6d\x9e"
27484 "\x0e\xa9\x44\xa0\xb0\x05\xa9\x41",
27485 .ctext = "\xd4\x9a\x04\x54\x05\xd2\xe6\x3f"
27486 "\xb0\xa4\x36\x5e\x1e\x9c\x35\xb0"
27487 "\xa6\x62\x35\x47\xf4\x4d\x08\x9e"
27488 "\x1c\x22\x91\x8e\x7f\x00\xa6\x3e"
27489 "\x0a\x04\x42\x0f\xc4\xa6\x5d\xe2"
27490 "\x49\x4c\x61\x12\xea\x9d\x7d\x7c"
27491 "\xfa\x93\x74\x6b\x79\x8c\xdb\xc6"
27492 "\x47\xf6\xea\x84\x3e\x97\x7d\x87"
27493 "\x40\x38\x92\xc7\x44\xef\xdf\x63"
27494 "\x29\xe4\x5b\x3a\x87\x22\xa1\x3f"
27495 "\x2b\x31\xb1\xa4\x0d\xea\xf3\x0b"
27496 "\xd7\x4f\xb6\x9c\xba\x40\xa3\x2f"
27497 "\x21\x2b\x05\xe4\xca\xef\x87\x04"
27498 "\xe6\xd0\x29\x2c\x29\x26\x57\xcd",
27499 .len = 112,
27500 }, {
27501 .key = "\x9c\x14\x44\x5a\xd5\x1c\x50\x08"
27502 "\x95\xc2\xf2\xaf\x3f\x29\xc9\x3e"
27503 "\x95\x5e\xc6\xb4\x2b\xf4\x3e\xe3",
27504 .klen = 24,
27505 .iv = "\x1b\xeb\x3d\x73\xfb\xd7\x1e\x2b"
27506 "\x0c\x3d\x58\x6c\xb4\x41\x9b\xfe",
27507 .ptext = "\x2f\x7e\x1c\x10\x81\x36\x2d\x79"
27508 "\xaf\xab\x10\x44\x2e\xcc\x0d\x6c"
27509 "\x9c\x14\xc2\xe4\xae\xb0\xbb\xda"
27510 "\x6a\xe0\x42\x3d\x96\x9f\x78\x7d"
27511 "\x70\x86\xa5\x92\x9f\xee\xcd\x3f"
27512 "\x6a\x55\x84\x98\x28\x03\x02\xc2"
27513 "\xf7\xec\x7a\xfa\xb1\xd9\xa8\xd8"
27514 "\x1c\xc3\xaa\xd5\x61\x7f\x10\x0c"
27515 "\xc0\xa1\x36\x3d\x81\x9a\xd2\x17"
27516 "\x2e\x23\xc9\xb7\xff\xdf\x47\x6c"
27517 "\x96\x3b\x0e\xbd\xec\x9a\x0e\xad"
27518 "\x8c\xaf\x36\x3d\xff\x29\x8b\x33"
27519 "\x87\x96\x77\x1a\x10\x81\x63\x8a"
27520 "\x63\xde\x88\xa9\x9d\xa9\x01\xf2"
27521 "\xdf\xc9\x25\x35\x48\x3a\x15\xdf"
27522 "\x20\x6b\x91\x7c\x56\xe5\x10\x7a",
27523 .ctext = "\xbc\x57\x2a\x88\x0a\xd0\x06\x4f"
27524 "\xdb\x7b\x03\x9f\x97\x1a\x20\xfe"
27525 "\xdb\xdc\x8e\x7b\x68\x13\xc8\xf5"
27526 "\x06\xe3\xe0\x7e\xd3\x51\x21\x86"
27527 "\x4f\x32\xdb\x78\xe3\x26\xbe\x34"
27528 "\x52\x4c\x4e\x6b\x85\x52\x63\x8b"
27529 "\x8c\x5c\x0e\x33\xf5\xa3\x88\x2d"
27530 "\x04\xdc\x01\x2d\xbe\xa1\x48\x6d"
27531 "\x50\xf4\x16\xb1\xd7\x4d\x1e\x99"
27532 "\xa8\x1d\x54\xcb\x13\xf9\x85\x51"
27533 "\x18\x9f\xef\x45\x62\x5d\x48\xe5"
27534 "\x0c\x54\xf7\x7b\x33\x18\xce\xb0"
27535 "\xd5\x82\x1b\xe2\x91\xae\xdc\x09"
27536 "\xe2\x97\xa8\x27\x13\x78\xc6\xb8"
27537 "\x20\x06\x1a\x71\x5a\xb3\xbc\x1b"
27538 "\x69\x1f\xcd\x57\x70\xa7\x1e\x35",
27539 .len = 128,
27540 }, {
27541 .key = "\x2d\x2e\x0f\x30\x32\xed\xa9\x1f"
27542 "\x71\x4e\x68\x77\xe8\xa8\x5b\xdd"
27543 "\x3c\x5e\x68\x6b\xab\x03\xe4\xf8",
27544 .klen = 24,
27545 .iv = "\x42\xc1\x61\x9a\x50\xfb\xc7\x6a"
27546 "\x1a\x31\xa7\x87\xd0\x24\xcb\x5e",
27547 .ptext = "\xc0\x3b\x12\x28\xca\x26\x7b\xb3"
27548 "\x14\xc1\x7f\x66\xff\x3b\xa4\x80"
27549 "\x59\x77\x4f\xa0\xd4\xb2\xd9\x8a"
27550 "\xb6\x67\xe6\x28\xd3\x6f\xf2\xcf"
27551 "\xb8\x6d\x2d\xc4\x2a\x69\x89\xff"
27552 "\xcf\xbb\x11\x2e\x2a\x2b\x7c\xfd"
27553 "\xcd\x56\x02\x95\xc9\x54\x6e\x62"
27554 "\x6a\x97\x75\x1a\x21\x16\x46\xfb"
27555 "\xc2\xab\x62\x54\xef\xba\xae\x46"
27556 "\xd4\x14\xc6\xcc\x16\x1b\x95\xf9"
27557 "\x05\x26\x23\x81\x19\x27\xad\x7b"
27558 "\x9c\x8b\xfb\x65\xa4\x61\xee\x69"
27559 "\x44\xbf\x59\xde\x03\x61\x11\x12"
27560 "\x8d\x94\x48\x47\xa9\x52\x16\xfb"
27561 "\x6b\xaf\x59\x6d\xab\x74\xbf\x5c"
27562 "\xb6\x09\x21\x12\x42\x98\x13\xa1"
27563 "\xa8\x6f\xb9\x6d\x4d\xa6\xdc\xea"
27564 "\x61\x02\x3c\xa7\xcd\x1a\x28\x8c",
27565 .ctext = "\xd7\xb4\xfc\xcc\x1f\xf7\xfc\x7d"
27566 "\x69\xfa\xcb\x01\x60\xf3\x5a\x14"
27567 "\x88\xf7\xea\x43\xaa\x47\xf1\x8a"
27568 "\x4e\xd0\x3c\x50\x58\x35\x95\x21"
27569 "\x5f\xcc\x73\x0b\x97\xa0\x2c\x6b"
27570 "\x70\x4d\x3d\xa8\x21\xbe\xfc\xec"
27571 "\xb6\x55\xf0\x48\x2b\x11\xcc\x4b"
27572 "\xda\xf7\x09\xd9\x18\x7b\x4f\x00"
27573 "\x76\x40\xe0\x7d\x33\xcf\x4f\x77"
27574 "\x91\x97\x63\xfa\x72\xba\x5c\x3d"
27575 "\xcf\x2e\xb8\x19\x56\x4a\xa5\x02"
27576 "\xc3\xb1\x80\xa8\x57\x03\x32\x57"
27577 "\xa8\xe1\x65\xf7\xd3\x52\xc5\xcf"
27578 "\x55\x1e\x34\xe3\x77\xab\x83\xdb"
27579 "\xaf\xd3\x8a\xcc\x96\x1c\xc9\x73"
27580 "\xd9\x0b\xb6\x4c\x31\xac\x2c\x82"
27581 "\xb8\xb4\xc8\xe1\xa5\x71\xcc\xb3"
27582 "\x7e\x85\xb8\xfa\x6b\xef\x41\x24",
27583 .len = 144,
27584 }, {
27585 .key = "\x66\xb8\x4d\x60\x67\x82\xcc\x8d"
27586 "\x1e\xda\x8f\x28\xe5\x02\xdc\x2c"
27587 "\x54\x84\x2a\x06\xb5\xd1\x34\x57",
27588 .klen = 24,
27589 .iv = "\xb8\x28\x4d\xf5\x69\xb9\xf3\x33"
27590 "\x5e\x0b\xa6\x62\x35\x9b\xfb\x97",
27591 .ptext = "\x3e\xc6\xec\xaf\x74\xe8\x72\x91"
27592 "\xb2\xc6\x56\xb3\x23\x29\x43\xe0"
27593 "\xfb\xcc\x21\x38\x64\x78\x9e\x78"
27594 "\xbb\x6e\x0d\x7b\xfd\x05\x74\x01"
27595 "\x7c\x94\xe0\xb0\xd7\x92\xfc\x58"
27596 "\x28\xfc\xe2\x7b\x7f\xf7\x31\x0d"
27597 "\x90\xb7\x60\x78\xa8\x9f\x52\xe3"
27598 "\xe6\xaa\x2a\xb4\xa7\x09\x60\x53"
27599 "\x42\x0e\x15\x31\xf6\x48\xa3\x0a"
27600 "\x20\xf0\x79\x67\xb1\x83\x26\x66"
27601 "\xe0\xb1\xb3\xbd\x1c\x76\x36\xfd"
27602 "\x45\x87\xa4\x14\x1b\xef\xe7\x16"
27603 "\xf7\xfa\x30\x3d\xb9\x52\x8f\x2e"
27604 "\x01\x68\xc1\x7d\xa2\x15\x49\x74"
27605 "\x53\x82\xc2\x10\xa8\x45\x73\x4d"
27606 "\x41\xcc\x24\xa3\x42\xff\x30\xd1"
27607 "\x02\x21\xdc\xd9\x08\xf7\xe7\x4c"
27608 "\x33\x2d\x62\xc7\x38\xf5\xc2\xbe"
27609 "\x52\xf1\x34\x78\x34\x53\x30\x5b"
27610 "\x43\x43\x51\x6a\x02\x81\x64\x0c",
27611 .ctext = "\x71\xf6\x96\x02\x07\x71\x1a\x08"
27612 "\x7c\xfe\x33\xc4\xc9\xbe\xe2\xed"
27613 "\xf8\x46\x69\xce\x1b\xdc\xd3\x05"
27614 "\x7a\xec\x26\x4d\x27\x2a\x49\x36"
27615 "\x85\xe1\x5d\xd3\x91\xd7\x68\xb8"
27616 "\x55\xa5\x27\x55\x2d\xc1\x78\x27"
27617 "\x0c\x49\x0a\x24\x3b\x76\x3f\x5f"
27618 "\x29\x1c\x37\x2f\x30\xfc\x50\xcb"
27619 "\xe2\x54\x26\x7d\x97\xa7\xf3\x58"
27620 "\x15\xe1\x4c\xeb\x35\xc9\xd1\x1e"
27621 "\x7e\x7d\xa0\xe5\x62\xa5\x2d\xf6"
27622 "\x77\xb0\xef\x13\x55\xb4\x66\x2c"
27623 "\x3b\x50\x1b\x4d\xc2\x64\xce\xc6"
27624 "\xfe\xf2\xad\xfe\x26\x73\x36\x66"
27625 "\x0c\x2f\x10\x35\x97\x3c\x9c\x98"
27626 "\xc1\x90\xa8\x82\xd7\xc6\x31\x68"
27627 "\xcf\x77\xa8\x5b\xdf\xf9\x5a\x8e"
27628 "\x84\xb5\x0b\x6e\x5b\xec\x36\x89"
27629 "\x0b\xb1\xbf\xb9\x70\x02\x5c\x22"
27630 "\xc3\xd5\xc1\xc6\xfd\x07\xdb\x70",
27631 .len = 160,
27632 }, {
27633 .key = "\x82\x8e\x9e\x06\x7b\xc2\xe9\xb3"
27634 "\x06\xa3\xfa\x99\x42\x67\x87\xac"
27635 "\x21\xc7\xb0\x98\x6c\xf8\x26\x57"
27636 "\x08\xdd\x92\x02\x77\x7b\x35\xe7",
27637 .klen = 32,
27638 .iv = "\xa1\xad\xcb\xdd\xd5\x19\xb6\xd4"
27639 "\x0b\x62\x58\xb0\x6c\xa0\xc1\x58",
27640 .ptext = "\x14\x0d\x8a\x09\x16\x00\x00\xf1"
27641 "\xc0\x20\x86\xf9\x21\xd1\x34\xe2",
27642 .ctext = "\x05\xe3\x34\xaf\x6c\x83\x14\x8b"
27643 "\x9d\x1c\xd6\x87\x74\x91\xdf\x17",
27644 .len = 16,
27645 }, {
27646 .key = "\xc9\xf3\xc4\x93\xd0\xcc\xaf\xb1"
27647 "\x1a\x42\x93\x71\xd8\x4e\xd8\xaa"
27648 "\x52\xad\x93\x2f\xe5\xd9\xaa\x5b"
27649 "\x47\x37\x3a\xed\x13\x92\x35\x16",
27650 .klen = 32,
27651 .iv = "\x81\xc8\x50\xd1\x74\xc3\x1c\x73"
27652 "\xbb\xab\x72\x83\x90\x5a\x15\xcb",
27653 .ptext = "\x65\x11\x93\xaf\xe1\x69\x6c\xbe"
27654 "\x25\x8c\x76\x87\x53\xa4\x80\xae"
27655 "\x51\x94\x36\x3f\xca\xe7\x45\x41"
27656 "\x76\x05\xbf\x8f\x9c\xad\xc0\xe3",
27657 .ctext = "\x6b\x00\x6e\x49\x7a\x6d\xe3\x04"
27658 "\x4e\xf7\x9f\x8a\x1f\x14\xbd\xb1"
27659 "\x51\xbf\x13\x9f\x29\x95\x51\x16"
27660 "\xd0\x23\x9a\x1a\x45\xc2\xc3\xd1",
27661 .len = 32,
27662 }, {
27663 .key = "\xd5\x9f\x52\x34\x12\x99\x8e\x42"
27664 "\xe0\x85\x04\x6f\xeb\xf1\x5d\xd0"
27665 "\xc1\xbf\x3f\x84\xd9\x1e\x71\x44"
27666 "\xd4\xb9\x40\x3c\x02\x2e\x21\x19",
27667 .klen = 32,
27668 .iv = "\x28\xc1\x97\x64\x81\x52\x57\x0e"
27669 "\x02\x8c\xab\x4c\xe2\x60\x14\xa5",
27670 .ptext = "\x5a\xb1\x33\x48\xaa\x51\xe9\xa4"
27671 "\x5c\x2d\xbe\x33\xcc\xc4\x7f\x96"
27672 "\xe8\xde\x2b\xe7\x35\x7a\x11\x4b"
27673 "\x13\x08\x32\xc6\x41\xd8\xec\x54"
27674 "\xa3\xd3\xda\x35\x43\x69\xf6\x88"
27675 "\x97\xca\x00\x1b\x02\x59\x24\x82",
27676 .ctext = "\x03\xaf\x76\xbd\x5e\x5b\xca\xc0"
27677 "\xae\x44\xa2\x2f\xc2\x76\x2f\x50"
27678 "\xfa\x94\x94\x5a\x48\x9d\x9c\x38"
27679 "\xc9\x75\xc9\xb2\x56\x0a\x2d\x91"
27680 "\xb8\xe8\x4e\xaa\xcb\x51\x9b\x6a"
27681 "\x20\x9b\x2b\xc5\xb0\x18\x9d\x01",
27682 .len = 48,
27683 }, {
27684 .key = "\x9c\x5d\xd7\x66\x36\xfa\x02\x20"
27685 "\x99\x61\x62\x86\x0f\x43\x2e\x05"
27686 "\x25\x8b\xfb\xf1\xae\x4c\xde\x18"
27687 "\x0b\xf8\xd0\x9d\xaa\xd4\x56\x04",
27688 .klen = 32,
27689 .iv = "\xcd\xa8\x61\x89\x8d\xbb\x72\xb6"
27690 "\x1e\xfe\x03\x34\x54\x88\x23\xe2",
27691 .ptext = "\x66\x42\x60\x24\xf3\xe4\xe9\x7e"
27692 "\x42\x20\xf4\x61\xce\x1c\x5e\x44"
27693 "\x02\x26\x91\xf7\x41\xa4\xab\x34"
27694 "\x29\x49\xdd\x78\x19\x8f\x10\x10"
27695 "\xf0\x61\xcf\x77\x18\x17\x61\xdf"
27696 "\xc4\xa8\x35\x0e\x75\x1b\x84\x6b"
27697 "\xc3\x3f\x31\x59\x5a\x9c\xf4\xc3"
27698 "\x43\xa9\xb7\xf8\x65\x40\x40\xba",
27699 .ctext = "\xb6\x41\x55\x8f\xeb\x16\x1e\x4c"
27700 "\x81\xa0\x85\x6c\xf0\x07\xa5\x2a"
27701 "\x19\x91\xed\x3e\xd6\x30\x8c\xca"
27702 "\x5d\x0f\x58\xca\xd2\x8a\xac\xa2"
27703 "\x2b\x86\x4f\xb5\x85\x4d\xac\x6d"
27704 "\xe5\x39\x1b\x02\x23\x89\x4e\x4f"
27705 "\x02\x00\xe8\x1b\x40\x85\x21\x2b"
27706 "\xc6\xb1\x98\xed\x70\xb3\xf8\xc3",
27707 .len = 64,
27708 }, {
27709 .key = "\x4b\x4e\x11\x91\x27\xcf\x8c\x66"
27710 "\x17\xfa\x5b\x4c\xa8\xb8\x0f\xa1"
27711 "\x99\x5b\x07\x56\xe1\x8d\x94\x8b"
27712 "\xf2\x86\x5a\x5f\x40\x83\xfa\x06",
27713 .klen = 32,
27714 .iv = "\xfd\x73\xee\x1c\x27\xf3\xb4\x38"
27715 "\xc5\x7c\x2e\xc5\x6e\xdb\x49\x0d",
27716 .ptext = "\x0a\xe2\xdd\x97\xdd\x5e\xd4\xb3"
27717 "\xc1\x49\x8f\x53\xb2\x40\x85\x1c"
27718 "\x90\x37\x2d\xbd\x21\x6b\x1f\x80"
27719 "\x56\x98\x76\x1e\xcf\x6c\x78\xd8"
27720 "\xa0\x3c\x79\xc3\x56\xf7\xfc\x64"
27721 "\x35\x58\x1c\x7c\xc4\x5f\x2a\x25"
27722 "\x8c\x01\x98\x1e\x1c\x1f\x15\x64"
27723 "\x50\xb5\xfa\x02\xd3\x54\xe5\x29"
27724 "\xe3\xd2\xa3\x83\x54\x40\x54\xc5"
27725 "\xd8\x1c\xc9\x84\x7d\xc8\x31\x49",
27726 .ctext = "\x53\x2a\xa8\xa0\x15\xaf\x2f\xc4"
27727 "\x7d\x31\xb4\x61\x80\x5f\xd1\xb6"
27728 "\x7c\xca\x86\xb9\x28\x6e\xb6\x2b"
27729 "\xe3\x4b\x7e\xea\xb3\x4f\xa2\xa2"
27730 "\x4e\x8f\xbe\x22\x66\xb3\x92\xbc"
27731 "\x70\x91\xaf\xa6\x09\x5d\xe2\x05"
27732 "\x38\x62\xd3\x6e\x07\x63\x91\xad"
27733 "\x48\x5a\x42\xe7\xdc\x0d\xb1\xe3"
27734 "\x92\x88\x64\xee\x93\xaa\xaf\x31"
27735 "\x68\x57\x35\x8d\x54\x2c\xfa\xb1",
27736 .len = 80,
27737 }, {
27738 .key = "\x77\x3b\xf5\xe7\x20\xf7\xe0\x0c"
27739 "\x3d\x3a\x83\x17\x83\x79\xd8\x29"
27740 "\x5a\x0a\x25\x7f\xe0\x21\x23\xff"
27741 "\x31\xfd\x60\x10\xe6\x63\xe2\xaf",
27742 .klen = 32,
27743 .iv = "\xdb\x4c\x0d\xc0\x36\xdb\xc7\xa1"
27744 "\xa4\x91\xd9\x05\xe6\xc4\x98\x00",
27745 .ptext = "\x8d\x4d\xc6\x5e\x01\x82\xb3\x39"
27746 "\xc8\x64\xa7\xcb\x05\x19\x84\x80"
27747 "\x3f\x9c\xa8\x4f\x64\xb3\x11\x4b"
27748 "\x0e\x21\xc4\x75\x04\x1d\x6f\xd5"
27749 "\x04\x04\x4d\xc9\xc0\x4b\x4a\x9c"
27750 "\x26\xb7\x68\x5a\xe4\xd0\x61\xe3"
27751 "\x2c\x93\x8e\x3f\xb4\x67\x07\x31"
27752 "\x02\x52\x0c\x0f\xe6\x6d\xa3\xd0"
27753 "\x48\x95\x83\x67\x23\x64\x31\x50"
27754 "\xd2\x5f\x69\x68\x8b\x71\xbf\x01"
27755 "\x29\x99\x86\x36\x2e\xdf\xf1\x7c"
27756 "\x08\x8c\x78\x7a\x93\x9a\x7d\x1b",
27757 .ctext = "\x92\x90\x48\x2f\x3a\x6b\x68\x43"
27758 "\x28\x9b\x7d\x1e\x46\x28\xd8\x58"
27759 "\xd9\x1e\x44\xd7\x24\x91\x65\xb1"
27760 "\x15\xde\xc4\x63\xf1\xb1\x34\x9e"
27761 "\xae\x8c\x51\x94\xc5\x22\x65\x8d"
27762 "\x3d\x85\xf5\x34\x5f\x04\x68\x95"
27763 "\xf2\x66\x62\xbb\xc8\x3f\xe4\x0a"
27764 "\x8a\xb2\x70\xc0\x77\xd5\x96\xef"
27765 "\x9e\x39\x3a\x3e\x0d\x2b\xf9\xfe"
27766 "\xa9\xbc\x00\xba\xc5\x43\xd7\x70"
27767 "\x2f\xef\x1e\x1e\x93\xc2\x5d\xf1"
27768 "\xb5\x50\xb8\xf5\xee\xf4\x26\x6f",
27769 .len = 96,
27770 }, {
27771 .key = "\xe0\x6a\x30\xe1\x35\xb5\xb0\x7c"
27772 "\x54\xc5\x73\x9b\x00\xe5\xe7\x02"
27773 "\xbe\x16\x59\xdc\xd9\x03\x17\x53"
27774 "\xa8\x37\xd1\x5f\x13\x8e\x45\xdb",
27775 .klen = 32,
27776 .iv = "\x54\xe9\x1c\xde\xfb\x26\x0e\x48"
27777 "\x35\x50\x4d\x9b\x4d\x12\x21\x0d",
27778 .ptext = "\x73\x72\xcf\xdb\xbd\xbc\xc0\xdf"
27779 "\x6b\xbb\xdf\x65\x6f\x2f\x43\x3b"
27780 "\x2d\x7c\x0e\x07\x7f\xa0\x95\xdd"
27781 "\xfc\x67\xc1\x11\x7a\xe2\xb5\x4a"
27782 "\xd1\x15\xb0\xd8\xe2\xf0\x35\x48"
27783 "\xd8\x81\x6a\x35\xae\x67\xbf\x61"
27784 "\xf2\x8a\xcf\x04\xc8\x09\x8b\x63"
27785 "\x31\x74\x95\xa5\x8d\x3c\xea\xe2"
27786 "\x5f\x67\xc4\x7e\x51\x88\xbf\xb5"
27787 "\x78\xef\x3a\x76\xd8\x1d\x00\x75"
27788 "\x2b\x7b\x28\x7c\xde\x4b\x39\x01"
27789 "\x5d\xde\x92\xfe\x90\x07\x09\xfd"
27790 "\xa5\xd1\xd3\x72\x11\x6d\xa4\x4e"
27791 "\xd1\x6e\x16\xd1\xf6\x39\x4f\xa0",
27792 .ctext = "\x3b\xc5\xee\xfc\x05\xaf\xa6\xb7"
27793 "\xfe\x12\x24\x79\x31\xad\x32\xb5"
27794 "\xfb\x71\x9b\x02\xad\xf4\x94\x20"
27795 "\x25\x7b\xdb\xdf\x97\x99\xca\xea"
27796 "\xc4\xed\x32\x26\x6b\xc8\xd4\x7b"
27797 "\x5b\x55\xfa\xf9\x5b\xab\x88\xdb"
27798 "\x48\xfe\x67\xd5\x5a\x47\x81\x4e"
27799 "\x3e\x1e\x83\xca\x1d\x04\xe1\xb5"
27800 "\x6c\x1b\xbd\xf2\x2d\xf1\xae\x75"
27801 "\x09\x6a\xf8\xb2\xc3\x27\xee\x08"
27802 "\x66\x94\x72\xc0\x2b\x12\x47\x23"
27803 "\x4d\xde\xb4\xca\xf7\x66\xca\x14"
27804 "\xe7\x68\x1b\xfb\x48\x70\x3e\x4c"
27805 "\x43\xbb\x88\x32\x25\xff\x77\x6a",
27806 .len = 112,
27807 }, {
27808 .key = "\x60\xb6\xde\x17\xca\x4c\xe7\xe0"
27809 "\x07\x0d\x80\xc5\x8a\x2d\x5a\xc2"
27810 "\x2c\xb9\xa4\x5f\x2a\x85\x2c\x3d"
27811 "\x6d\x67\xc8\xee\x0f\xa2\xf4\x09",
27812 .klen = 32,
27813 .iv = "\x1a\xa5\xbc\x7e\x93\xf6\xdd\x28"
27814 "\xb7\x69\x27\xa1\x84\x95\x25\x5a",
27815 .ptext = "\x7b\x88\x00\xeb\xa5\xba\xa1\xa7"
27816 "\xd4\x40\x16\x74\x2b\x42\x37\xda"
27817 "\xe0\xaf\x89\x59\x41\x2f\x62\x00"
27818 "\xf5\x5a\x4e\x3b\x85\x27\xb2\xed"
27819 "\x1b\xa7\xaf\xbe\x89\xf3\x49\xb7"
27820 "\x8c\x63\xc9\x0c\x52\x00\x5f\x38"
27821 "\x3b\x3c\x0c\x4f\xdd\xe1\xbf\x90"
27822 "\x4a\x48\xbf\x3a\x95\xcb\x48\xa2"
27823 "\x92\x7c\x79\x81\xde\x18\x6e\x92"
27824 "\x1f\x36\xa9\x5d\x8d\xc4\xb6\x4d"
27825 "\xb2\xb4\x0e\x09\x6d\xf3\x3d\x01"
27826 "\x3d\x9b\x40\x47\xbc\x69\x31\xa1"
27827 "\x6a\x71\x26\xdc\xac\x10\x56\x63"
27828 "\x15\x23\x7d\x10\xe3\x76\x82\x41"
27829 "\xcd\x80\x57\x2f\xfc\x4d\x22\x7b"
27830 "\x57\xbb\x9a\x0a\x03\xe9\xb3\x13",
27831 .ctext = "\x37\x0d\x47\x21\xbc\x28\x0b\xf7"
27832 "\x85\x5f\x60\x57\xf2\x7f\x92\x20"
27833 "\x5f\xa7\xf6\xf4\xa6\xf5\xdf\x1e"
27834 "\xae\x8e\xeb\x97\xfc\xce\x6a\x25"
27835 "\x6d\x6a\x5b\xd1\x99\xf6\x27\x77"
27836 "\x52\x0c\xf1\xd7\x94\xa0\x67\x5d"
27837 "\x60\x35\xb0\x6d\x01\x45\x52\xc8"
27838 "\x05\xd8\x7f\x69\xaf\x8e\x68\x05"
27839 "\xa8\xa5\x24\x2f\x95\xef\xf1\xd2"
27840 "\x8c\x45\x12\xc5\x7a\xcf\xbb\x99"
27841 "\x25\xaa\xa3\x9b\x3f\xf1\xfc\x9d"
27842 "\xfa\x2c\x26\x9b\x92\x47\x61\x6b"
27843 "\x63\x1e\x41\x67\xcb\xb7\x0f\x52"
27844 "\x70\xd4\x0d\x7e\xef\x34\xa2\x75"
27845 "\x4f\x6a\x55\x9c\x2b\x4a\x02\xdd"
27846 "\x96\x5d\xcb\xca\x45\xa1\xec\xaa",
27847 .len = 128,
27848 }, {
27849 .key = "\x2a\xed\x7d\x76\xfc\xc5\x49\x50"
27850 "\xf4\x90\x0f\xcc\x5d\xff\x0c\x3c"
27851 "\x14\x06\xaf\x68\x8f\xd7\xb6\x25"
27852 "\x1e\x10\x95\x2a\x71\x33\x17\x20",
27853 .klen = 32,
27854 .iv = "\x5b\x58\x47\xf8\xd5\x1e\x91\x81"
27855 "\x46\xe7\x25\x3a\x02\x45\x9c\x65",
27856 .ptext = "\x10\xaf\xde\x5c\x30\x79\x43\x28"
27857 "\x1c\x03\xf8\x50\x0f\x30\xa5\xef"
27858 "\x84\x19\x4c\x09\x40\x03\x75\x1f"
27859 "\x92\x8f\x88\x01\xda\x31\x7a\xe4"
27860 "\x48\xe3\xab\xb4\xe6\x1b\x0f\xac"
27861 "\xd9\xfa\x8d\x23\xe4\xc6\xa4\xa9"
27862 "\x2d\x9a\x54\x52\x44\x5c\x3c\x52"
27863 "\x61\xf0\x00\xca\xed\xab\xed\xe2"
27864 "\x44\x0b\xe0\x18\xba\xa5\x63\xd8"
27865 "\xdc\x5e\x1a\x4c\xf8\xde\x5e\x75"
27866 "\xdf\x42\x27\x7b\xe9\x11\x2f\x41"
27867 "\x3a\x72\x54\x3d\x44\x9c\x3e\x87"
27868 "\x8d\x8d\x43\x2f\xb2\xff\x87\xd4"
27869 "\xad\x98\x68\x72\x53\x61\x19\x7c"
27870 "\x20\x79\x8c\x2b\x37\x0b\x96\x15"
27871 "\xa5\x7d\x4e\x01\xe6\xea\xb6\xfa"
27872 "\xaa\xd3\x9d\xa2\xd9\x11\xc3\xc9"
27873 "\xd4\x0e\x3f\x3e\xfe\x35\x1e\xe5",
27874 .ctext = "\xb0\x2b\x75\x5f\x33\x1b\x05\x49"
27875 "\x06\xf1\x43\x91\xc2\x85\xfa\xac"
27876 "\x3f\x47\xf3\x89\x73\xb2\x0e\xa4"
27877 "\x30\xcb\x87\x39\x53\x5d\x36\x89"
27878 "\x77\xd9\x17\x01\x95\xa6\xe9\x71"
27879 "\x51\x53\xd9\x4f\xa6\xc2\x79\x3d"
27880 "\x2e\x50\x90\x52\x0d\x27\x1a\x46"
27881 "\xf1\xe8\x6e\x7e\x7b\x32\xe5\x22"
27882 "\x22\x1f\xba\x5e\xcf\x25\x6b\x26"
27883 "\x76\xf0\xca\x8e\xdd\x5b\xd3\x09"
27884 "\x6f\x82\x08\x56\x1f\x51\x72\x57"
27885 "\xca\xd1\x60\x07\xfb\x9f\x71\x54"
27886 "\x0f\xf6\x48\x71\xfa\x8f\xcb\xdd"
27887 "\xce\xd3\x16\xcd\xae\x0e\x67\x5e"
27888 "\xea\x8d\xa2\x4a\x4f\x11\xc8\xc8"
27889 "\x2f\x04\xfe\xa8\x2a\x07\x1c\xb1"
27890 "\x77\x39\xda\x8b\xd9\x5c\x94\x6c"
27891 "\x4d\x4d\x13\x51\x6f\x07\x06\x5b",
27892 .len = 144,
27893 }, {
27894 .key = "\x7b\xa7\x4d\x0a\x37\x30\xb9\xf5"
27895 "\x2a\x79\xb4\xbf\xdb\x7f\x9b\x64"
27896 "\x23\x43\xb5\x18\x34\xc4\x5f\xdf"
27897 "\xd9\x2a\x66\x58\x00\x44\xb5\xd9",
27898 .klen = 32,
27899 .iv = "\x75\x34\x30\xc1\xf0\x69\xdf\x0a"
27900 "\x52\xce\x4f\x1e\x2c\x41\x35\xec",
27901 .ptext = "\x81\x47\x55\x3a\xcd\xfe\xa2\x3d"
27902 "\x45\x53\xa7\x67\x61\x74\x25\x80"
27903 "\x98\x89\xfe\xf8\x6a\x9f\x51\x7c"
27904 "\xa4\xe4\xe7\xc7\xe0\x1a\xce\xbb"
27905 "\x4b\x46\x43\xb0\xab\xa8\xd6\x0c"
27906 "\xa0\xf0\xc8\x13\x29\xaf\xb8\x01"
27907 "\x6b\x0c\x7e\x56\xae\xb8\x58\x72"
27908 "\xa9\x24\x44\x61\xff\xf1\xac\xf8"
27909 "\x09\xa8\x48\x21\xd6\xab\x41\x73"
27910 "\x70\x6b\x92\x06\x61\xdc\xb4\x85"
27911 "\x76\x26\x7a\x84\xc3\x9e\x3a\x14"
27912 "\xe7\xf4\x2d\x95\x92\xad\x18\xcc"
27913 "\x44\xd4\x2c\x36\x57\xed\x2b\x9b"
27914 "\x3f\x2b\xcd\xe5\x11\xe3\x62\x33"
27915 "\x42\x3f\xb8\x2a\xb1\x37\x3f\x8b"
27916 "\xe8\xbd\x6b\x0b\x9f\x38\x5a\x5f"
27917 "\x82\x34\xb7\x96\x35\x58\xde\xab"
27918 "\x94\x98\x41\x5b\x3f\xac\x0a\x34"
27919 "\x56\xc0\x02\xef\x81\x6d\xb1\xff"
27920 "\x34\xe8\xc7\x6a\x31\x79\xba\xd8",
27921 .ctext = "\x4e\x00\x7c\x52\x45\x76\xf9\x3d"
27922 "\x1a\xd1\x72\xbc\xb9\x0f\xa9\xfb"
27923 "\x0e\x5b\xe2\x3c\xc7\xae\x92\xf6"
27924 "\xb8\x0b\x0a\x95\x40\xe9\x7f\xe0"
27925 "\x54\x10\xf9\xf6\x23\x1f\x51\xc8"
27926 "\x16\x8b\x2e\x79\xe1\x8c\x0b\x43"
27927 "\xe5\xeb\xb5\x9d\x1e\xc3\x28\x07"
27928 "\x5c\x8d\xb1\xe7\x80\xd3\xce\x62"
27929 "\x8d\xf8\x31\x1f\x29\x8b\x90\xee"
27930 "\xe5\xc3\xfa\x16\xc4\xf0\xc3\x99"
27931 "\xe9\x5e\x19\xba\x37\xb8\xc0\x87"
27932 "\xb5\xc6\xc9\x31\xcb\x6e\x30\xce"
27933 "\x03\x1d\xfe\xce\x08\x32\x00\xeb"
27934 "\x86\xc4\xfb\x48\x01\xda\x93\x73"
27935 "\xcc\xb7\xae\x4e\x94\x20\xeb\xc7"
27936 "\xe3\x33\x4c\xeb\xed\xe2\xfc\x86"
27937 "\x0e\x73\x32\xf9\x1b\xf3\x25\xf3"
27938 "\x74\xad\xd1\xf4\x2c\x45\xa4\xfd"
27939 "\x52\x40\xa2\x4e\xa5\x62\xf6\x02"
27940 "\xbb\xb0\xe3\x23\x86\x67\xb8\xf6",
27941 .len = 160,
27942 }
27943};
27944
27945static const struct aead_testvec aria_gcm_tv_template[] = {
27946 {
27947 .key = "\xe9\x1e\x5e\x75\xda\x65\x55\x4a"
27948 "\x48\x18\x1f\x38\x46\x34\x95\x62",
27949 .klen = 16,
27950 .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
27951 "\x00\x00\x31\x5e",
27952 .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
27953 "\x20\xe8\xf5\xeb",
27954 .alen = 12,
27955 .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
27956 "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
27957 "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
27958 "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
27959 "\x62\xe9\x72\x95\x66\xed\x66\xe9"
27960 "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
27961 "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
27962 "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
27963 "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
27964 "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
27965 "\x16\x99\x16\x91\xd5\x72\xfd\x14"
27966 "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
27967 "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
27968 "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
27969 "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
27970 "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
27971 "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
27972 "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
27973 "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
27974 "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
27975 .plen = 160,
27976 .ctext = "\x4d\x8a\x9a\x06\x75\x55\x0c\x70"
27977 "\x4b\x17\xd8\xc9\xdd\xc8\x1a\x5c"
27978 "\xd6\xf7\xda\x34\xf2\xfe\x1b\x3d"
27979 "\xb7\xcb\x3d\xfb\x96\x97\x10\x2e"
27980 "\xa0\xf3\xc1\xfc\x2d\xbc\x87\x3d"
27981 "\x44\xbc\xee\xae\x8e\x44\x42\x97"
27982 "\x4b\xa2\x1f\xf6\x78\x9d\x32\x72"
27983 "\x61\x3f\xb9\x63\x1a\x7c\xf3\xf1"
27984 "\x4b\xac\xbe\xb4\x21\x63\x3a\x90"
27985 "\xff\xbe\x58\xc2\xfa\x6b\xdc\xa5"
27986 "\x34\xf1\x0d\x0d\xe0\x50\x2c\xe1"
27987 "\xd5\x31\xb6\x33\x6e\x58\x87\x82"
27988 "\x78\x53\x1e\x5c\x22\xbc\x6c\x85"
27989 "\xbb\xd7\x84\xd7\x8d\x9e\x68\x0a"
27990 "\xa1\x90\x31\xaa\xf8\x91\x01\xd6"
27991 "\x69\xd7\xa3\x96\x5c\x1f\x7e\x16"
27992 "\x22\x9d\x74\x63\xe0\x53\x5f\x4e"
27993 "\x25\x3f\x5d\x18\x18\x7d\x40\xb8"
27994 "\xae\x0f\x56\x4b\xd9\x70\xb5\xe7"
27995 "\xe2\xad\xfb\x21\x1e\x89\xa9\x53"
27996 "\x5a\xba\xce\x3f\x37\xf5\xa7\x36"
27997 "\xf4\xbe\x98\x4b\xbf\xfb\xed\xc1",
27998 .clen = 176,
27999 }, {
28000 .key = "\x0c\x5f\xfd\x37\xa1\x1e\xdc\x42"
28001 "\xc3\x25\x28\x7f\xc0\x60\x4f\x2e"
28002 "\x3e\x8c\xd5\x67\x1a\x00\xfe\x32"
28003 "\x16\xaa\x5e\xb1\x05\x78\x3b\x54",
28004 .klen = 32,
28005 .iv = "\x00\x00\x20\xe8\xf5\xeb\x00\x00"
28006 "\x00\x00\x31\x5e",
28007 .assoc = "\x80\x08\x31\x5e\xbf\x2e\x6f\xe0"
28008 "\x20\xe8\xf5\xeb",
28009 .alen = 12,
28010 .ptext = "\xf5\x7a\xf5\xfd\x4a\xe1\x95\x62"
28011 "\x97\x6e\xc5\x7a\x5a\x7a\xd5\x5a"
28012 "\x5a\xf5\xc5\xe5\xc5\xfd\xf5\xc5"
28013 "\x5a\xd5\x7a\x4a\x72\x72\xd5\x72"
28014 "\x62\xe9\x72\x95\x66\xed\x66\xe9"
28015 "\x7a\xc5\x4a\x4a\x5a\x7a\xd5\xe1"
28016 "\x5a\xe5\xfd\xd5\xfd\x5a\xc5\xd5"
28017 "\x6a\xe5\x6a\xd5\xc5\x72\xd5\x4a"
28018 "\xe5\x4a\xc5\x5a\x95\x6a\xfd\x6a"
28019 "\xed\x5a\x4a\xc5\x62\x95\x7a\x95"
28020 "\x16\x99\x16\x91\xd5\x72\xfd\x14"
28021 "\xe9\x7a\xe9\x62\xed\x7a\x9f\x4a"
28022 "\x95\x5a\xf5\x72\xe1\x62\xf5\x7a"
28023 "\x95\x66\x66\xe1\x7a\xe1\xf5\x4a"
28024 "\x95\xf5\x66\xd5\x4a\x66\xe1\x6e"
28025 "\x4a\xfd\x6a\x9f\x7a\xe1\xc5\xc5"
28026 "\x5a\xe5\xd5\x6a\xfd\xe9\x16\xc5"
28027 "\xe9\x4a\x6e\xc5\x66\x95\xe1\x4a"
28028 "\xfd\xe1\x14\x84\x16\xe9\x4a\xd5"
28029 "\x7a\xc5\x14\x6e\xd5\x9d\x1c\xc5",
28030 .plen = 160,
28031 .ctext = "\x6f\x9e\x4b\xcb\xc8\xc8\x5f\xc0"
28032 "\x12\x8f\xb1\xe4\xa0\xa2\x0c\xb9"
28033 "\x93\x2f\xf7\x45\x81\xf5\x4f\xc0"
28034 "\x13\xdd\x05\x4b\x19\xf9\x93\x71"
28035 "\x42\x5b\x35\x2d\x97\xd3\xf3\x37"
28036 "\xb9\x0b\x63\xd1\xb0\x82\xad\xee"
28037 "\xea\x9d\x2d\x73\x91\x89\x7d\x59"
28038 "\x1b\x98\x5e\x55\xfb\x50\xcb\x53"
28039 "\x50\xcf\x7d\x38\xdc\x27\xdd\xa1"
28040 "\x27\xc0\x78\xa1\x49\xc8\xeb\x98"
28041 "\x08\x3d\x66\x36\x3a\x46\xe3\x72"
28042 "\x6a\xf2\x17\xd3\xa0\x02\x75\xad"
28043 "\x5b\xf7\x72\xc7\x61\x0e\xa4\xc2"
28044 "\x30\x06\x87\x8f\x0e\xe6\x9a\x83"
28045 "\x97\x70\x31\x69\xa4\x19\x30\x3f"
28046 "\x40\xb7\x2e\x45\x73\x71\x4d\x19"
28047 "\xe2\x69\x7d\xf6\x1e\x7c\x72\x52"
28048 "\xe5\xab\xc6\xba\xde\x87\x6a\xc4"
28049 "\x96\x1b\xfa\xc4\xd5\xe8\x67\xaf"
28050 "\xca\x35\x1a\x48\xae\xd5\x28\x22"
28051 "\xe2\x10\xd6\xce\xd2\xcf\x43\x0f"
28052 "\xf8\x41\x47\x29\x15\xe7\xef\x48",
28053 .clen = 176,
28054 }
28055};
28056
28057static const struct cipher_testvec chacha20_tv_template[] = {
28058 { /* RFC7539 A.2. Test Vector #1 */
28059 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28060 "\x00\x00\x00\x00\x00\x00\x00\x00"
28061 "\x00\x00\x00\x00\x00\x00\x00\x00"
28062 "\x00\x00\x00\x00\x00\x00\x00\x00",
28063 .klen = 32,
28064 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28065 "\x00\x00\x00\x00\x00\x00\x00\x00",
28066 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28067 "\x00\x00\x00\x00\x00\x00\x00\x00"
28068 "\x00\x00\x00\x00\x00\x00\x00\x00"
28069 "\x00\x00\x00\x00\x00\x00\x00\x00"
28070 "\x00\x00\x00\x00\x00\x00\x00\x00"
28071 "\x00\x00\x00\x00\x00\x00\x00\x00"
28072 "\x00\x00\x00\x00\x00\x00\x00\x00"
28073 "\x00\x00\x00\x00\x00\x00\x00\x00",
28074 .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
28075 "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
28076 "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
28077 "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
28078 "\xda\x41\x59\x7c\x51\x57\x48\x8d"
28079 "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
28080 "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
28081 "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
28082 .len = 64,
28083 }, { /* RFC7539 A.2. Test Vector #2 */
28084 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28085 "\x00\x00\x00\x00\x00\x00\x00\x00"
28086 "\x00\x00\x00\x00\x00\x00\x00\x00"
28087 "\x00\x00\x00\x00\x00\x00\x00\x01",
28088 .klen = 32,
28089 .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
28090 "\x00\x00\x00\x00\x00\x00\x00\x02",
28091 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
28092 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
28093 "\x6f\x20\x74\x68\x65\x20\x49\x45"
28094 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
28095 "\x64\x65\x64\x20\x62\x79\x20\x74"
28096 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
28097 "\x69\x62\x75\x74\x6f\x72\x20\x66"
28098 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
28099 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
28100 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
28101 "\x20\x70\x61\x72\x74\x20\x6f\x66"
28102 "\x20\x61\x6e\x20\x49\x45\x54\x46"
28103 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
28104 "\x74\x2d\x44\x72\x61\x66\x74\x20"
28105 "\x6f\x72\x20\x52\x46\x43\x20\x61"
28106 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
28107 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
28108 "\x20\x6d\x61\x64\x65\x20\x77\x69"
28109 "\x74\x68\x69\x6e\x20\x74\x68\x65"
28110 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
28111 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
28112 "\x45\x54\x46\x20\x61\x63\x74\x69"
28113 "\x76\x69\x74\x79\x20\x69\x73\x20"
28114 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
28115 "\x65\x64\x20\x61\x6e\x20\x22\x49"
28116 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
28117 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
28118 "\x22\x2e\x20\x53\x75\x63\x68\x20"
28119 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28120 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
28121 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
28122 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28123 "\x74\x73\x20\x69\x6e\x20\x49\x45"
28124 "\x54\x46\x20\x73\x65\x73\x73\x69"
28125 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
28126 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
28127 "\x77\x72\x69\x74\x74\x65\x6e\x20"
28128 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
28129 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
28130 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
28131 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
28132 "\x64\x65\x20\x61\x74\x20\x61\x6e"
28133 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
28134 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
28135 "\x20\x77\x68\x69\x63\x68\x20\x61"
28136 "\x72\x65\x20\x61\x64\x64\x72\x65"
28137 "\x73\x73\x65\x64\x20\x74\x6f",
28138 .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
28139 "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
28140 "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
28141 "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
28142 "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
28143 "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
28144 "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
28145 "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
28146 "\x40\x42\xe0\x27\x85\xec\xec\xfa"
28147 "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
28148 "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
28149 "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
28150 "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
28151 "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
28152 "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
28153 "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
28154 "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
28155 "\xd6\x62\xab\x05\x26\x91\xca\x66"
28156 "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
28157 "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
28158 "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
28159 "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
28160 "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
28161 "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
28162 "\x08\x71\xcd\xac\x63\x89\x39\xe2"
28163 "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
28164 "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
28165 "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
28166 "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
28167 "\x37\x20\xfc\x88\xdc\x95\xed\x84"
28168 "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
28169 "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
28170 "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
28171 "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
28172 "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
28173 "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
28174 "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
28175 "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
28176 "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
28177 "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
28178 "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
28179 "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
28180 "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
28181 "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
28182 "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
28183 "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
28184 "\xc4\xfd\x80\x6c\x22\xf2\x21",
28185 .len = 375,
28186
28187 }, { /* RFC7539 A.2. Test Vector #3 */
28188 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28189 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28190 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28191 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28192 .klen = 32,
28193 .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
28194 "\x00\x00\x00\x00\x00\x00\x00\x02",
28195 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
28196 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
28197 "\x6e\x64\x20\x74\x68\x65\x20\x73"
28198 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
28199 "\x76\x65\x73\x0a\x44\x69\x64\x20"
28200 "\x67\x79\x72\x65\x20\x61\x6e\x64"
28201 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
28202 "\x69\x6e\x20\x74\x68\x65\x20\x77"
28203 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
28204 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
28205 "\x65\x72\x65\x20\x74\x68\x65\x20"
28206 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
28207 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
28208 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
28209 "\x72\x61\x74\x68\x73\x20\x6f\x75"
28210 "\x74\x67\x72\x61\x62\x65\x2e",
28211 .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
28212 "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
28213 "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
28214 "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
28215 "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
28216 "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
28217 "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
28218 "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
28219 "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
28220 "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
28221 "\x1a\x55\x32\x05\x57\x16\xea\xd6"
28222 "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
28223 "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
28224 "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
28225 "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
28226 "\x75\x7a\x79\x7a\xc1\x88\xd1",
28227 .len = 127,
28228 }, { /* Self-made test vector for long data */
28229 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28230 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28231 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28232 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28233 .klen = 32,
28234 .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
28235 "\x00\x00\x00\x00\x00\x00\x00\x01",
28236 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
28237 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
28238 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
28239 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
28240 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
28241 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
28242 "\x01\xc6\x67\xda\x03\x91\x18\x90"
28243 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
28244 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
28245 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
28246 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
28247 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
28248 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
28249 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
28250 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
28251 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
28252 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
28253 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
28254 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
28255 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
28256 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
28257 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
28258 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
28259 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
28260 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
28261 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
28262 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
28263 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
28264 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
28265 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
28266 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
28267 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
28268 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
28269 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
28270 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
28271 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
28272 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
28273 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
28274 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
28275 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
28276 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
28277 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
28278 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
28279 "\x49\x46\x00\x88\x22\x8d\xce\xea"
28280 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
28281 "\x72\x11\xf5\x50\x73\x04\x40\x47"
28282 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
28283 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
28284 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
28285 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
28286 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
28287 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
28288 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
28289 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
28290 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
28291 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
28292 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
28293 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
28294 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
28295 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
28296 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
28297 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
28298 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
28299 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
28300 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
28301 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
28302 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
28303 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
28304 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
28305 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
28306 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
28307 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
28308 "\x65\x69\x8a\x45\x29\xef\x74\x85"
28309 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
28310 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
28311 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
28312 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
28313 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
28314 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
28315 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
28316 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
28317 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
28318 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
28319 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
28320 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
28321 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
28322 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
28323 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
28324 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
28325 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
28326 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
28327 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
28328 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
28329 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
28330 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
28331 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
28332 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
28333 "\x25\x94\x10\x5f\x40\x00\x64\x99"
28334 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
28335 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
28336 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
28337 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
28338 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
28339 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
28340 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
28341 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
28342 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
28343 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
28344 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
28345 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
28346 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
28347 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
28348 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
28349 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
28350 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
28351 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
28352 "\xb9\x83\x90\xef\x20\x59\x46\xff"
28353 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
28354 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
28355 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
28356 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
28357 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
28358 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
28359 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
28360 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
28361 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
28362 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
28363 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
28364 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
28365 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
28366 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
28367 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
28368 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
28369 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
28370 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
28371 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
28372 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
28373 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
28374 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
28375 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
28376 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
28377 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
28378 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
28379 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
28380 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
28381 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
28382 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
28383 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
28384 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
28385 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
28386 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
28387 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
28388 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
28389 "\xca\x34\x83\x27\x10\x5b\x68\x45"
28390 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
28391 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
28392 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
28393 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
28394 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
28395 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
28396 "\x72",
28397 .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
28398 "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
28399 "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
28400 "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
28401 "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
28402 "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
28403 "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
28404 "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
28405 "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
28406 "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
28407 "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
28408 "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
28409 "\x33\x4a\x71\x15\xfe\xee\x12\x54"
28410 "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
28411 "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
28412 "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
28413 "\x57\x0e\x94\x17\x26\x39\xbb\x54"
28414 "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
28415 "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
28416 "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
28417 "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
28418 "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
28419 "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
28420 "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
28421 "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
28422 "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
28423 "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
28424 "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
28425 "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
28426 "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
28427 "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
28428 "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
28429 "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
28430 "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
28431 "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
28432 "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
28433 "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
28434 "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
28435 "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
28436 "\xae\xe7\x61\x32\xef\x41\x6c\x75"
28437 "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
28438 "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
28439 "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
28440 "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
28441 "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
28442 "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
28443 "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
28444 "\xc1\x22\xf3\x79\xae\x95\x78\x66"
28445 "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
28446 "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
28447 "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
28448 "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
28449 "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
28450 "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
28451 "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
28452 "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
28453 "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
28454 "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
28455 "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
28456 "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
28457 "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
28458 "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
28459 "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
28460 "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
28461 "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
28462 "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
28463 "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
28464 "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
28465 "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
28466 "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
28467 "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
28468 "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
28469 "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
28470 "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
28471 "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
28472 "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
28473 "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
28474 "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
28475 "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
28476 "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
28477 "\x54\x1c\x34\x72\xde\x0c\x68\x39"
28478 "\x9d\x32\xa5\x75\x92\x13\x32\xea"
28479 "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
28480 "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
28481 "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
28482 "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
28483 "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
28484 "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
28485 "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
28486 "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
28487 "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
28488 "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
28489 "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
28490 "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
28491 "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
28492 "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
28493 "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
28494 "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
28495 "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
28496 "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
28497 "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
28498 "\x79\x61\x23\xe0\xa2\x99\x73\x55"
28499 "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
28500 "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
28501 "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
28502 "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
28503 "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
28504 "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
28505 "\x48\x56\xaa\x85\x22\xd8\x36\xed"
28506 "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
28507 "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
28508 "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
28509 "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
28510 "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
28511 "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
28512 "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
28513 "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
28514 "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
28515 "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
28516 "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
28517 "\xec\x83\x92\x99\x87\x47\xe0\x7c"
28518 "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
28519 "\x98\xb0\x87\xb6\x86\x13\x64\x33"
28520 "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
28521 "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
28522 "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
28523 "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
28524 "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
28525 "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
28526 "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
28527 "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
28528 "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
28529 "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
28530 "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
28531 "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
28532 "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
28533 "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
28534 "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
28535 "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
28536 "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
28537 "\x5f\xae\x25\x84\x22\x90\x5f\x26"
28538 "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
28539 "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
28540 "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
28541 "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
28542 "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
28543 "\x74\x06\x89\x0e\x90\xeb\x85\xff"
28544 "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
28545 "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
28546 "\x02\x85\x68\xd0\x03\x12\xde\x92"
28547 "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
28548 "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
28549 "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
28550 "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
28551 "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
28552 "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
28553 "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
28554 "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
28555 "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
28556 "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
28557 "\x98",
28558 .len = 1281,
28559 },
28560};
28561
28562static const struct cipher_testvec xchacha20_tv_template[] = {
28563 { /* from libsodium test/default/xchacha20.c */
28564 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
28565 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
28566 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
28567 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
28568 .klen = 32,
28569 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
28570 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
28571 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
28572 "\x00\x00\x00\x00\x00\x00\x00\x00",
28573 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28574 "\x00\x00\x00\x00\x00\x00\x00\x00"
28575 "\x00\x00\x00\x00\x00\x00\x00\x00"
28576 "\x00\x00\x00\x00\x00",
28577 .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
28578 "\x04\xef\x90\xe7\x12\xce\x6e\x75"
28579 "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
28580 "\x60\xf0\x13\x73\x9c",
28581 .len = 29,
28582 }, { /* from libsodium test/default/xchacha20.c */
28583 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
28584 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
28585 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
28586 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
28587 .klen = 32,
28588 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
28589 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
28590 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
28591 "\x00\x00\x00\x00\x00\x00\x00\x00",
28592 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28593 "\x00\x00\x00\x00\x00\x00\x00\x00"
28594 "\x00\x00\x00\x00\x00\x00\x00\x00"
28595 "\x00\x00\x00\x00\x00\x00\x00\x00"
28596 "\x00\x00\x00\x00\x00\x00\x00\x00"
28597 "\x00\x00\x00\x00\x00\x00\x00\x00"
28598 "\x00\x00\x00\x00\x00\x00\x00\x00"
28599 "\x00\x00\x00\x00\x00\x00\x00\x00"
28600 "\x00\x00\x00\x00\x00\x00\x00\x00"
28601 "\x00\x00\x00\x00\x00\x00\x00\x00"
28602 "\x00\x00\x00\x00\x00\x00\x00\x00"
28603 "\x00\x00\x00",
28604 .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
28605 "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
28606 "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
28607 "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
28608 "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
28609 "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
28610 "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
28611 "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
28612 "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
28613 "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
28614 "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
28615 "\x09\x7c\xfc",
28616 .len = 91,
28617 }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
28618 to the nonce, zero-padded the stream position from 4 to 8 bytes,
28619 and recomputed the ciphertext using libsodium's XChaCha20 */
28620 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28621 "\x00\x00\x00\x00\x00\x00\x00\x00"
28622 "\x00\x00\x00\x00\x00\x00\x00\x00"
28623 "\x00\x00\x00\x00\x00\x00\x00\x00",
28624 .klen = 32,
28625 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28626 "\x00\x00\x00\x00\x67\xc6\x69\x73"
28627 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
28628 "\x00\x00\x00\x00\x00\x00\x00\x00",
28629 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28630 "\x00\x00\x00\x00\x00\x00\x00\x00"
28631 "\x00\x00\x00\x00\x00\x00\x00\x00"
28632 "\x00\x00\x00\x00\x00\x00\x00\x00"
28633 "\x00\x00\x00\x00\x00\x00\x00\x00"
28634 "\x00\x00\x00\x00\x00\x00\x00\x00"
28635 "\x00\x00\x00\x00\x00\x00\x00\x00"
28636 "\x00\x00\x00\x00\x00\x00\x00\x00",
28637 .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
28638 "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
28639 "\xad\x80\x11\x11\x1d\x4c\x16\x18"
28640 "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
28641 "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
28642 "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
28643 "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
28644 "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
28645 .len = 64,
28646 }, { /* Derived from a ChaCha20 test vector, via the process above */
28647 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28648 "\x00\x00\x00\x00\x00\x00\x00\x00"
28649 "\x00\x00\x00\x00\x00\x00\x00\x00"
28650 "\x00\x00\x00\x00\x00\x00\x00\x01",
28651 .klen = 32,
28652 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28653 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
28654 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
28655 "\x01\x00\x00\x00\x00\x00\x00\x00",
28656 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
28657 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
28658 "\x6f\x20\x74\x68\x65\x20\x49\x45"
28659 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
28660 "\x64\x65\x64\x20\x62\x79\x20\x74"
28661 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
28662 "\x69\x62\x75\x74\x6f\x72\x20\x66"
28663 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
28664 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
28665 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
28666 "\x20\x70\x61\x72\x74\x20\x6f\x66"
28667 "\x20\x61\x6e\x20\x49\x45\x54\x46"
28668 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
28669 "\x74\x2d\x44\x72\x61\x66\x74\x20"
28670 "\x6f\x72\x20\x52\x46\x43\x20\x61"
28671 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
28672 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
28673 "\x20\x6d\x61\x64\x65\x20\x77\x69"
28674 "\x74\x68\x69\x6e\x20\x74\x68\x65"
28675 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
28676 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
28677 "\x45\x54\x46\x20\x61\x63\x74\x69"
28678 "\x76\x69\x74\x79\x20\x69\x73\x20"
28679 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
28680 "\x65\x64\x20\x61\x6e\x20\x22\x49"
28681 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
28682 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
28683 "\x22\x2e\x20\x53\x75\x63\x68\x20"
28684 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28685 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
28686 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
28687 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28688 "\x74\x73\x20\x69\x6e\x20\x49\x45"
28689 "\x54\x46\x20\x73\x65\x73\x73\x69"
28690 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
28691 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
28692 "\x77\x72\x69\x74\x74\x65\x6e\x20"
28693 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
28694 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
28695 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
28696 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
28697 "\x64\x65\x20\x61\x74\x20\x61\x6e"
28698 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
28699 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
28700 "\x20\x77\x68\x69\x63\x68\x20\x61"
28701 "\x72\x65\x20\x61\x64\x64\x72\x65"
28702 "\x73\x73\x65\x64\x20\x74\x6f",
28703 .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
28704 "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
28705 "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
28706 "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
28707 "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
28708 "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
28709 "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
28710 "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
28711 "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
28712 "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
28713 "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
28714 "\xa4\x36\x51\x92\x22\x87\xff\x26"
28715 "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
28716 "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
28717 "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
28718 "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
28719 "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
28720 "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
28721 "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
28722 "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
28723 "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
28724 "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
28725 "\x91\xab\x55\x63\xf0\xde\x3a\x94"
28726 "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
28727 "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
28728 "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
28729 "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
28730 "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
28731 "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
28732 "\x64\x36\x35\x61\xb6\x34\x60\xf7"
28733 "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
28734 "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
28735 "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
28736 "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
28737 "\x8a\x04\x18\x49\xfc\x77\x11\x50"
28738 "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
28739 "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
28740 "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
28741 "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
28742 "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
28743 "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
28744 "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
28745 "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
28746 "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
28747 "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
28748 "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
28749 "\x12\x8d\x7b\x61\xe5\x1f\x98",
28750 .len = 375,
28751
28752 }, { /* Derived from a ChaCha20 test vector, via the process above */
28753 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28754 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28755 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28756 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28757 .klen = 32,
28758 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28759 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
28760 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
28761 "\x2a\x00\x00\x00\x00\x00\x00\x00",
28762 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
28763 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
28764 "\x6e\x64\x20\x74\x68\x65\x20\x73"
28765 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
28766 "\x76\x65\x73\x0a\x44\x69\x64\x20"
28767 "\x67\x79\x72\x65\x20\x61\x6e\x64"
28768 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
28769 "\x69\x6e\x20\x74\x68\x65\x20\x77"
28770 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
28771 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
28772 "\x65\x72\x65\x20\x74\x68\x65\x20"
28773 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
28774 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
28775 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
28776 "\x72\x61\x74\x68\x73\x20\x6f\x75"
28777 "\x74\x67\x72\x61\x62\x65\x2e",
28778 .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
28779 "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
28780 "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
28781 "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
28782 "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
28783 "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
28784 "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
28785 "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
28786 "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
28787 "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
28788 "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
28789 "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
28790 "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
28791 "\x27\x79\x67\x24\xa6\x87\xc2\x11"
28792 "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
28793 "\x99\xf1\x82\x25\x4f\x8d\x07",
28794 .len = 127,
28795 }, { /* Derived from a ChaCha20 test vector, via the process above */
28796 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28797 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28798 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28799 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28800 .klen = 32,
28801 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28802 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
28803 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
28804 "\x1c\x00\x00\x00\x00\x00\x00\x00",
28805 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
28806 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
28807 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
28808 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
28809 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
28810 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
28811 "\x01\xc6\x67\xda\x03\x91\x18\x90"
28812 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
28813 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
28814 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
28815 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
28816 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
28817 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
28818 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
28819 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
28820 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
28821 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
28822 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
28823 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
28824 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
28825 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
28826 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
28827 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
28828 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
28829 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
28830 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
28831 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
28832 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
28833 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
28834 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
28835 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
28836 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
28837 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
28838 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
28839 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
28840 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
28841 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
28842 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
28843 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
28844 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
28845 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
28846 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
28847 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
28848 "\x49\x46\x00\x88\x22\x8d\xce\xea"
28849 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
28850 "\x72\x11\xf5\x50\x73\x04\x40\x47"
28851 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
28852 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
28853 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
28854 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
28855 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
28856 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
28857 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
28858 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
28859 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
28860 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
28861 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
28862 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
28863 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
28864 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
28865 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
28866 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
28867 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
28868 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
28869 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
28870 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
28871 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
28872 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
28873 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
28874 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
28875 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
28876 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
28877 "\x65\x69\x8a\x45\x29\xef\x74\x85"
28878 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
28879 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
28880 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
28881 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
28882 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
28883 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
28884 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
28885 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
28886 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
28887 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
28888 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
28889 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
28890 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
28891 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
28892 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
28893 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
28894 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
28895 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
28896 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
28897 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
28898 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
28899 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
28900 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
28901 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
28902 "\x25\x94\x10\x5f\x40\x00\x64\x99"
28903 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
28904 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
28905 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
28906 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
28907 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
28908 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
28909 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
28910 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
28911 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
28912 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
28913 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
28914 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
28915 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
28916 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
28917 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
28918 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
28919 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
28920 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
28921 "\xb9\x83\x90\xef\x20\x59\x46\xff"
28922 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
28923 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
28924 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
28925 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
28926 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
28927 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
28928 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
28929 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
28930 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
28931 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
28932 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
28933 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
28934 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
28935 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
28936 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
28937 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
28938 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
28939 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
28940 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
28941 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
28942 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
28943 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
28944 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
28945 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
28946 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
28947 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
28948 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
28949 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
28950 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
28951 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
28952 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
28953 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
28954 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
28955 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
28956 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
28957 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
28958 "\xca\x34\x83\x27\x10\x5b\x68\x45"
28959 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
28960 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
28961 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
28962 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
28963 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
28964 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
28965 "\x72",
28966 .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
28967 "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
28968 "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
28969 "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
28970 "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
28971 "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
28972 "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
28973 "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
28974 "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
28975 "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
28976 "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
28977 "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
28978 "\xab\xf2\x31\x34\x16\xad\xc8\x17"
28979 "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
28980 "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
28981 "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
28982 "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
28983 "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
28984 "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
28985 "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
28986 "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
28987 "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
28988 "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
28989 "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
28990 "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
28991 "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
28992 "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
28993 "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
28994 "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
28995 "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
28996 "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
28997 "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
28998 "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
28999 "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
29000 "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
29001 "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
29002 "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
29003 "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
29004 "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
29005 "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
29006 "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
29007 "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
29008 "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
29009 "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
29010 "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
29011 "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
29012 "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
29013 "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
29014 "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
29015 "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
29016 "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
29017 "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
29018 "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
29019 "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
29020 "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
29021 "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
29022 "\x07\x62\x10\x79\x68\x50\xf1\x7e"
29023 "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
29024 "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
29025 "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
29026 "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
29027 "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
29028 "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
29029 "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
29030 "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
29031 "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
29032 "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
29033 "\xca\x88\xf6\x37\xbd\x73\x51\x70"
29034 "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
29035 "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
29036 "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
29037 "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
29038 "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
29039 "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
29040 "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
29041 "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
29042 "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
29043 "\x34\x66\xad\x37\x2d\x5e\x52\xda"
29044 "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
29045 "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
29046 "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
29047 "\x8c\x89\x21\x34\x55\x27\xb2\x76"
29048 "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
29049 "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
29050 "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
29051 "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
29052 "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
29053 "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
29054 "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
29055 "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
29056 "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
29057 "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
29058 "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
29059 "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
29060 "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
29061 "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
29062 "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
29063 "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
29064 "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
29065 "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
29066 "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
29067 "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
29068 "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
29069 "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
29070 "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
29071 "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
29072 "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
29073 "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
29074 "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
29075 "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
29076 "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
29077 "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
29078 "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
29079 "\x37\x04\x65\x96\x99\x7a\x28\x0f"
29080 "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
29081 "\x40\x19\x95\x61\xe8\x59\x40\x1f"
29082 "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
29083 "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
29084 "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
29085 "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
29086 "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
29087 "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
29088 "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
29089 "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
29090 "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
29091 "\xc3\x75\x48\x64\x58\x98\x67\x84"
29092 "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
29093 "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
29094 "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
29095 "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
29096 "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
29097 "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
29098 "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
29099 "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
29100 "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
29101 "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
29102 "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
29103 "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
29104 "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
29105 "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
29106 "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
29107 "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
29108 "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
29109 "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
29110 "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
29111 "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
29112 "\x89\x1c\x3b\xca\x83\x61\x77\x68"
29113 "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
29114 "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
29115 "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
29116 "\xed\x05\x4b\x7b\x73\x71\x90\x59"
29117 "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
29118 "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
29119 "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
29120 "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
29121 "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
29122 "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
29123 "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
29124 "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
29125 "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
29126 "\x11",
29127 .len = 1281,
29128 }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
29129 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
29130 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
29131 "\x90\x91\x92\x93\x94\x95\x96\x97"
29132 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
29133 .klen = 32,
29134 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
29135 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
29136 "\x50\x51\x52\x53\x54\x55\x56\x58"
29137 "\x00\x00\x00\x00\x00\x00\x00\x00",
29138 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
29139 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
29140 "\x75\x6e\x63\x65\x64\x20\x22\x64"
29141 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
29142 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
29143 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
29144 "\x68\x65\x20\x41\x73\x69\x61\x74"
29145 "\x69\x63\x20\x77\x69\x6c\x64\x20"
29146 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
29147 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
29148 "\x64\x20\x77\x68\x69\x73\x74\x6c"
29149 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
29150 "\x20\x49\x74\x20\x69\x73\x20\x61"
29151 "\x62\x6f\x75\x74\x20\x74\x68\x65"
29152 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
29153 "\x20\x61\x20\x47\x65\x72\x6d\x61"
29154 "\x6e\x20\x73\x68\x65\x70\x68\x65"
29155 "\x72\x64\x20\x62\x75\x74\x20\x6c"
29156 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
29157 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
29158 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
29159 "\x67\x67\x65\x64\x20\x66\x6f\x78"
29160 "\x2e\x20\x54\x68\x69\x73\x20\x68"
29161 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
29162 "\x75\x73\x69\x76\x65\x20\x61\x6e"
29163 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
29164 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
29165 "\x20\x69\x73\x20\x63\x6c\x61\x73"
29166 "\x73\x69\x66\x69\x65\x64\x20\x77"
29167 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
29168 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
29169 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
29170 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
29171 "\x64\x20\x66\x6f\x78\x65\x73\x20"
29172 "\x69\x6e\x20\x74\x68\x65\x20\x74"
29173 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
29174 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
29175 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
29176 .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
29177 "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
29178 "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
29179 "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
29180 "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
29181 "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
29182 "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
29183 "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
29184 "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
29185 "\x73\x10\x61\x27\x77\x01\x09\x3a"
29186 "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
29187 "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
29188 "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
29189 "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
29190 "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
29191 "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
29192 "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
29193 "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
29194 "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
29195 "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
29196 "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
29197 "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
29198 "\xf2\x45\x75\x99\x85\x23\x85\xc6"
29199 "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
29200 "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
29201 "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
29202 "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
29203 "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
29204 "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
29205 "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
29206 "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
29207 "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
29208 "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
29209 "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
29210 "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
29211 "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
29212 "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
29213 "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
29214 .len = 304,
29215 }
29216};
29217
29218/*
29219 * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
29220 * XChaCha12, using a modified libsodium.
29221 */
29222static const struct cipher_testvec xchacha12_tv_template[] = {
29223 {
29224 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
29225 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
29226 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
29227 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
29228 .klen = 32,
29229 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
29230 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
29231 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
29232 "\x00\x00\x00\x00\x00\x00\x00\x00",
29233 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29234 "\x00\x00\x00\x00\x00\x00\x00\x00"
29235 "\x00\x00\x00\x00\x00\x00\x00\x00"
29236 "\x00\x00\x00\x00\x00",
29237 .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
29238 "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
29239 "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
29240 "\x3a\xfb\x18\xae\x1b",
29241 .len = 29,
29242 }, {
29243 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
29244 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
29245 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
29246 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
29247 .klen = 32,
29248 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
29249 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
29250 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
29251 "\x00\x00\x00\x00\x00\x00\x00\x00",
29252 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29253 "\x00\x00\x00\x00\x00\x00\x00\x00"
29254 "\x00\x00\x00\x00\x00\x00\x00\x00"
29255 "\x00\x00\x00\x00\x00\x00\x00\x00"
29256 "\x00\x00\x00\x00\x00\x00\x00\x00"
29257 "\x00\x00\x00\x00\x00\x00\x00\x00"
29258 "\x00\x00\x00\x00\x00\x00\x00\x00"
29259 "\x00\x00\x00\x00\x00\x00\x00\x00"
29260 "\x00\x00\x00\x00\x00\x00\x00\x00"
29261 "\x00\x00\x00\x00\x00\x00\x00\x00"
29262 "\x00\x00\x00\x00\x00\x00\x00\x00"
29263 "\x00\x00\x00",
29264 .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
29265 "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
29266 "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
29267 "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
29268 "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
29269 "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
29270 "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
29271 "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
29272 "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
29273 "\xf0\xde\x01\xef\xc5\x65\x79\x23"
29274 "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
29275 "\x54\x5b\x0e",
29276 .len = 91,
29277 }, {
29278 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29279 "\x00\x00\x00\x00\x00\x00\x00\x00"
29280 "\x00\x00\x00\x00\x00\x00\x00\x00"
29281 "\x00\x00\x00\x00\x00\x00\x00\x00",
29282 .klen = 32,
29283 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29284 "\x00\x00\x00\x00\x67\xc6\x69\x73"
29285 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
29286 "\x00\x00\x00\x00\x00\x00\x00\x00",
29287 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29288 "\x00\x00\x00\x00\x00\x00\x00\x00"
29289 "\x00\x00\x00\x00\x00\x00\x00\x00"
29290 "\x00\x00\x00\x00\x00\x00\x00\x00"
29291 "\x00\x00\x00\x00\x00\x00\x00\x00"
29292 "\x00\x00\x00\x00\x00\x00\x00\x00"
29293 "\x00\x00\x00\x00\x00\x00\x00\x00"
29294 "\x00\x00\x00\x00\x00\x00\x00\x00",
29295 .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
29296 "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
29297 "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
29298 "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
29299 "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
29300 "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
29301 "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
29302 "\x4c\x25\xe7\x86\x26\x42\xca\x44",
29303 .len = 64,
29304 }, {
29305 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29306 "\x00\x00\x00\x00\x00\x00\x00\x00"
29307 "\x00\x00\x00\x00\x00\x00\x00\x00"
29308 "\x00\x00\x00\x00\x00\x00\x00\x01",
29309 .klen = 32,
29310 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29311 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
29312 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
29313 "\x01\x00\x00\x00\x00\x00\x00\x00",
29314 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
29315 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
29316 "\x6f\x20\x74\x68\x65\x20\x49\x45"
29317 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
29318 "\x64\x65\x64\x20\x62\x79\x20\x74"
29319 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
29320 "\x69\x62\x75\x74\x6f\x72\x20\x66"
29321 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
29322 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
29323 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
29324 "\x20\x70\x61\x72\x74\x20\x6f\x66"
29325 "\x20\x61\x6e\x20\x49\x45\x54\x46"
29326 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
29327 "\x74\x2d\x44\x72\x61\x66\x74\x20"
29328 "\x6f\x72\x20\x52\x46\x43\x20\x61"
29329 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
29330 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
29331 "\x20\x6d\x61\x64\x65\x20\x77\x69"
29332 "\x74\x68\x69\x6e\x20\x74\x68\x65"
29333 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
29334 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
29335 "\x45\x54\x46\x20\x61\x63\x74\x69"
29336 "\x76\x69\x74\x79\x20\x69\x73\x20"
29337 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
29338 "\x65\x64\x20\x61\x6e\x20\x22\x49"
29339 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
29340 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
29341 "\x22\x2e\x20\x53\x75\x63\x68\x20"
29342 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29343 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
29344 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
29345 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
29346 "\x74\x73\x20\x69\x6e\x20\x49\x45"
29347 "\x54\x46\x20\x73\x65\x73\x73\x69"
29348 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
29349 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
29350 "\x77\x72\x69\x74\x74\x65\x6e\x20"
29351 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
29352 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
29353 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
29354 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
29355 "\x64\x65\x20\x61\x74\x20\x61\x6e"
29356 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
29357 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
29358 "\x20\x77\x68\x69\x63\x68\x20\x61"
29359 "\x72\x65\x20\x61\x64\x64\x72\x65"
29360 "\x73\x73\x65\x64\x20\x74\x6f",
29361 .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
29362 "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
29363 "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
29364 "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
29365 "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
29366 "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
29367 "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
29368 "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
29369 "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
29370 "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
29371 "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
29372 "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
29373 "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
29374 "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
29375 "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
29376 "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
29377 "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
29378 "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
29379 "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
29380 "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
29381 "\x75\x10\x95\x35\x81\x7e\x26\xe6"
29382 "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
29383 "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
29384 "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
29385 "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
29386 "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
29387 "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
29388 "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
29389 "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
29390 "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
29391 "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
29392 "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
29393 "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
29394 "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
29395 "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
29396 "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
29397 "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
29398 "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
29399 "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
29400 "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
29401 "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
29402 "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
29403 "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
29404 "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
29405 "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
29406 "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
29407 "\xda\x4e\xc9\xab\x9b\x8a\x7b",
29408
29409 .len = 375,
29410
29411 }, {
29412 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29413 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29414 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29415 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29416 .klen = 32,
29417 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29418 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
29419 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
29420 "\x2a\x00\x00\x00\x00\x00\x00\x00",
29421 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
29422 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
29423 "\x6e\x64\x20\x74\x68\x65\x20\x73"
29424 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
29425 "\x76\x65\x73\x0a\x44\x69\x64\x20"
29426 "\x67\x79\x72\x65\x20\x61\x6e\x64"
29427 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
29428 "\x69\x6e\x20\x74\x68\x65\x20\x77"
29429 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
29430 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
29431 "\x65\x72\x65\x20\x74\x68\x65\x20"
29432 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
29433 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
29434 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
29435 "\x72\x61\x74\x68\x73\x20\x6f\x75"
29436 "\x74\x67\x72\x61\x62\x65\x2e",
29437 .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
29438 "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
29439 "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
29440 "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
29441 "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
29442 "\x20\x82\x26\x72\xae\x64\x1b\x7e"
29443 "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
29444 "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
29445 "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
29446 "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
29447 "\x27\xab\xb8\x62\x46\x22\x30\x48"
29448 "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
29449 "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
29450 "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
29451 "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
29452 "\x25\x76\x37\xe6\x3c\x67\x5b",
29453 .len = 127,
29454 }, {
29455 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
29456 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
29457 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
29458 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
29459 .klen = 32,
29460 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29461 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
29462 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
29463 "\x1c\x00\x00\x00\x00\x00\x00\x00",
29464 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
29465 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
29466 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
29467 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
29468 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
29469 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
29470 "\x01\xc6\x67\xda\x03\x91\x18\x90"
29471 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
29472 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
29473 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
29474 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
29475 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
29476 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
29477 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
29478 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
29479 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
29480 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
29481 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
29482 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
29483 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
29484 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
29485 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
29486 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
29487 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
29488 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
29489 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
29490 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
29491 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
29492 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
29493 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
29494 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
29495 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
29496 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
29497 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
29498 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
29499 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
29500 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
29501 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
29502 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
29503 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
29504 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
29505 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
29506 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
29507 "\x49\x46\x00\x88\x22\x8d\xce\xea"
29508 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
29509 "\x72\x11\xf5\x50\x73\x04\x40\x47"
29510 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
29511 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
29512 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
29513 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
29514 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
29515 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
29516 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
29517 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
29518 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
29519 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
29520 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
29521 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
29522 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
29523 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
29524 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
29525 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
29526 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
29527 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
29528 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
29529 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
29530 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
29531 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
29532 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
29533 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
29534 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
29535 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
29536 "\x65\x69\x8a\x45\x29\xef\x74\x85"
29537 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
29538 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
29539 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
29540 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
29541 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
29542 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
29543 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
29544 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
29545 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
29546 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
29547 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
29548 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
29549 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
29550 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
29551 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
29552 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
29553 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
29554 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
29555 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
29556 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
29557 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
29558 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
29559 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
29560 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
29561 "\x25\x94\x10\x5f\x40\x00\x64\x99"
29562 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
29563 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
29564 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
29565 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
29566 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
29567 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
29568 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
29569 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
29570 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
29571 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
29572 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
29573 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
29574 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
29575 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
29576 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
29577 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
29578 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
29579 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
29580 "\xb9\x83\x90\xef\x20\x59\x46\xff"
29581 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
29582 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
29583 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
29584 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
29585 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
29586 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
29587 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
29588 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
29589 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
29590 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
29591 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
29592 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
29593 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
29594 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
29595 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
29596 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
29597 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
29598 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
29599 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
29600 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
29601 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
29602 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
29603 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
29604 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
29605 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
29606 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
29607 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
29608 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
29609 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
29610 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
29611 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
29612 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
29613 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
29614 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
29615 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
29616 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
29617 "\xca\x34\x83\x27\x10\x5b\x68\x45"
29618 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
29619 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
29620 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
29621 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
29622 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
29623 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
29624 "\x72",
29625 .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
29626 "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
29627 "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
29628 "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
29629 "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
29630 "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
29631 "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
29632 "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
29633 "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
29634 "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
29635 "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
29636 "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
29637 "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
29638 "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
29639 "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
29640 "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
29641 "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
29642 "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
29643 "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
29644 "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
29645 "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
29646 "\x95\x13\x99\x3d\x71\xbd\x32\x92"
29647 "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
29648 "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
29649 "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
29650 "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
29651 "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
29652 "\xc5\xc1\x78\x78\x53\x28\xad\xed"
29653 "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
29654 "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
29655 "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
29656 "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
29657 "\xce\xf3\x55\x45\x6c\x84\x27\xba"
29658 "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
29659 "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
29660 "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
29661 "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
29662 "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
29663 "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
29664 "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
29665 "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
29666 "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
29667 "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
29668 "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
29669 "\x90\x95\x85\x0b\x96\xe9\xee\x35"
29670 "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
29671 "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
29672 "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
29673 "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
29674 "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
29675 "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
29676 "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
29677 "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
29678 "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
29679 "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
29680 "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
29681 "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
29682 "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
29683 "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
29684 "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
29685 "\xff\x71\x04\x87\x87\x21\xc4\xb8"
29686 "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
29687 "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
29688 "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
29689 "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
29690 "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
29691 "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
29692 "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
29693 "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
29694 "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
29695 "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
29696 "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
29697 "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
29698 "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
29699 "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
29700 "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
29701 "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
29702 "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
29703 "\xd2\x96\x2d\x18\x64\x98\x33\x78"
29704 "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
29705 "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
29706 "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
29707 "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
29708 "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
29709 "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
29710 "\x68\x38\x22\x30\xd8\x2e\x00\x98"
29711 "\x85\x16\x06\x56\xb4\x81\x74\x20"
29712 "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
29713 "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
29714 "\x57\x26\x71\x07\xad\xaa\x71\x9f"
29715 "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
29716 "\x82\x6e\x08\x05\x37\x04\xee\x25"
29717 "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
29718 "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
29719 "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
29720 "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
29721 "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
29722 "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
29723 "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
29724 "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
29725 "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
29726 "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
29727 "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
29728 "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
29729 "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
29730 "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
29731 "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
29732 "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
29733 "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
29734 "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
29735 "\x18\xc9\x26\x82\x56\xd2\x11\x05"
29736 "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
29737 "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
29738 "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
29739 "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
29740 "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
29741 "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
29742 "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
29743 "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
29744 "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
29745 "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
29746 "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
29747 "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
29748 "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
29749 "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
29750 "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
29751 "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
29752 "\x26\x19\x10\x36\xa6\xf3\x14\x79"
29753 "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
29754 "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
29755 "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
29756 "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
29757 "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
29758 "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
29759 "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
29760 "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
29761 "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
29762 "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
29763 "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
29764 "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
29765 "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
29766 "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
29767 "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
29768 "\x95\x35\x00\x76\xae\x42\xf7\x50"
29769 "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
29770 "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
29771 "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
29772 "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
29773 "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
29774 "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
29775 "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
29776 "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
29777 "\xae\x17\x50\xab\x29\x08\xda\xcc"
29778 "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
29779 "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
29780 "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
29781 "\x25\x18\x40\x2d\x62\x25\x02\x71"
29782 "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
29783 "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
29784 "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
29785 "\x5b",
29786 .len = 1281,
29787 }, {
29788 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
29789 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
29790 "\x90\x91\x92\x93\x94\x95\x96\x97"
29791 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
29792 .klen = 32,
29793 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
29794 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
29795 "\x50\x51\x52\x53\x54\x55\x56\x58"
29796 "\x00\x00\x00\x00\x00\x00\x00\x00",
29797 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
29798 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
29799 "\x75\x6e\x63\x65\x64\x20\x22\x64"
29800 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
29801 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
29802 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
29803 "\x68\x65\x20\x41\x73\x69\x61\x74"
29804 "\x69\x63\x20\x77\x69\x6c\x64\x20"
29805 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
29806 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
29807 "\x64\x20\x77\x68\x69\x73\x74\x6c"
29808 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
29809 "\x20\x49\x74\x20\x69\x73\x20\x61"
29810 "\x62\x6f\x75\x74\x20\x74\x68\x65"
29811 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
29812 "\x20\x61\x20\x47\x65\x72\x6d\x61"
29813 "\x6e\x20\x73\x68\x65\x70\x68\x65"
29814 "\x72\x64\x20\x62\x75\x74\x20\x6c"
29815 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
29816 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
29817 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
29818 "\x67\x67\x65\x64\x20\x66\x6f\x78"
29819 "\x2e\x20\x54\x68\x69\x73\x20\x68"
29820 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
29821 "\x75\x73\x69\x76\x65\x20\x61\x6e"
29822 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
29823 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
29824 "\x20\x69\x73\x20\x63\x6c\x61\x73"
29825 "\x73\x69\x66\x69\x65\x64\x20\x77"
29826 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
29827 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
29828 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
29829 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
29830 "\x64\x20\x66\x6f\x78\x65\x73\x20"
29831 "\x69\x6e\x20\x74\x68\x65\x20\x74"
29832 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
29833 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
29834 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
29835 .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
29836 "\xee\x34\xc0\x39\xd6\x23\x43\x94"
29837 "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
29838 "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
29839 "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
29840 "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
29841 "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
29842 "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
29843 "\x02\x64\x43\x49\xc6\xb2\x59\x59"
29844 "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
29845 "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
29846 "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
29847 "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
29848 "\x71\x8c\x08\x48\x33\x20\x29\x81"
29849 "\xea\x01\x25\x20\xc3\xda\xe6\xee"
29850 "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
29851 "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
29852 "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
29853 "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
29854 "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
29855 "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
29856 "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
29857 "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
29858 "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
29859 "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
29860 "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
29861 "\x13\x27\x3f\x31\x03\x63\x30\x26"
29862 "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
29863 "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
29864 "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
29865 "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
29866 "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
29867 "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
29868 "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
29869 "\x08\x05\x36\x76\xaf\x12\x7a\x42"
29870 "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
29871 "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
29872 "\x50\x70\x44\x29\x6d\x6e\x62\x68",
29873 .len = 304,
29874 }
29875};
29876
29877/* Adiantum test vectors from https://github.com/google/adiantum */
29878static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
29879 {
29880 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
29881 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
29882 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
29883 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
29884 .klen = 32,
29885 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
29886 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
29887 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
29888 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
29889 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
29890 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
29891 .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
29892 "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
29893 .len = 16,
29894 }, {
29895 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
29896 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
29897 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
29898 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
29899 .klen = 32,
29900 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
29901 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
29902 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
29903 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
29904 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
29905 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
29906 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
29907 "\x43\x5a\x46\x06\x94\x2d\xf2",
29908 .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
29909 "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
29910 "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
29911 "\xc9\x18\x7b\xbe\x18\x60\x50",
29912 .len = 31,
29913 }, {
29914 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
29915 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
29916 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
29917 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
29918 .klen = 32,
29919 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
29920 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
29921 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
29922 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
29923 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
29924 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
29925 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
29926 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
29927 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
29928 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
29929 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
29930 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
29931 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
29932 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
29933 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
29934 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
29935 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
29936 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
29937 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
29938 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
29939 .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
29940 "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
29941 "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
29942 "\x21\x48\xa0\xb8\x65\x48\x27\x48"
29943 "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
29944 "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
29945 "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
29946 "\x51\x56\x63\xfa\x7c\x28\x85\x49"
29947 "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
29948 "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
29949 "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
29950 "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
29951 "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
29952 "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
29953 "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
29954 "\x8d\xde\x34\x86\x78\x60\x75\x8d",
29955 .len = 128,
29956 }, {
29957 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
29958 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
29959 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
29960 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
29961 .klen = 32,
29962 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
29963 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
29964 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
29965 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
29966 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
29967 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
29968 "\x05\xa3\x69\x60\x91\x36\x98\x57"
29969 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
29970 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
29971 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
29972 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
29973 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
29974 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
29975 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
29976 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
29977 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
29978 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
29979 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
29980 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
29981 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
29982 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
29983 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
29984 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
29985 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
29986 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
29987 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
29988 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
29989 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
29990 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
29991 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
29992 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
29993 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
29994 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
29995 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
29996 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
29997 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
29998 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
29999 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
30000 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
30001 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
30002 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
30003 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
30004 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
30005 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
30006 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
30007 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
30008 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
30009 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
30010 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
30011 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
30012 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
30013 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
30014 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
30015 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
30016 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
30017 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
30018 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
30019 "\x17\x7c\x25\x48\x52\x67\x11\x27"
30020 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
30021 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
30022 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
30023 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
30024 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
30025 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
30026 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
30027 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
30028 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
30029 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
30030 .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
30031 "\xc5\x11\x36\x62\x13\x92\xe6\x73"
30032 "\x29\x79\xde\xa1\x00\x3e\x08\x64"
30033 "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
30034 "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
30035 "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
30036 "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
30037 "\xe4\xee\x39\x63\x42\x65\xa3\x88"
30038 "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
30039 "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
30040 "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
30041 "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
30042 "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
30043 "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
30044 "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
30045 "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
30046 "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
30047 "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
30048 "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
30049 "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
30050 "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
30051 "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
30052 "\xf8\x51\x80\x39\x14\x05\x12\xdb"
30053 "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
30054 "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
30055 "\x58\x05\x49\x7d\xe6\x92\x77\x70"
30056 "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
30057 "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
30058 "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
30059 "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
30060 "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
30061 "\x90\x62\xb2\x28\x99\x86\xf5\x44"
30062 "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
30063 "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
30064 "\xab\xe1\x9b\x45\xba\x66\xda\xee"
30065 "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
30066 "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
30067 "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
30068 "\x11\x34\x61\x94\x35\xfe\xf2\x99"
30069 "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
30070 "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
30071 "\x78\x74\x10\x50\x29\x63\x28\xea"
30072 "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
30073 "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
30074 "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
30075 "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
30076 "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
30077 "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
30078 "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
30079 "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
30080 "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
30081 "\x94\x74\xea\x6e\xb3\x09\x47\x01"
30082 "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
30083 "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
30084 "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
30085 "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
30086 "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
30087 "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
30088 "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
30089 "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
30090 "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
30091 "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
30092 "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
30093 "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
30094 .len = 512,
30095 }, {
30096 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
30097 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
30098 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
30099 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
30100 .klen = 32,
30101 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
30102 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
30103 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
30104 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
30105 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
30106 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
30107 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
30108 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
30109 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
30110 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
30111 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
30112 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
30113 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
30114 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
30115 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
30116 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
30117 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
30118 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
30119 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
30120 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
30121 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
30122 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
30123 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
30124 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
30125 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
30126 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
30127 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
30128 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
30129 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
30130 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
30131 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
30132 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
30133 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
30134 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
30135 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
30136 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
30137 "\x28\x04\x4c\xff\x98\x20\x08\x10"
30138 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
30139 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
30140 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
30141 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
30142 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
30143 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
30144 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
30145 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
30146 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
30147 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
30148 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
30149 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
30150 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
30151 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
30152 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
30153 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
30154 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
30155 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
30156 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
30157 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
30158 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
30159 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
30160 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
30161 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
30162 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
30163 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
30164 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
30165 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
30166 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
30167 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
30168 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
30169 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
30170 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
30171 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
30172 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
30173 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
30174 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
30175 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
30176 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
30177 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
30178 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
30179 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
30180 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
30181 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
30182 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
30183 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
30184 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
30185 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
30186 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
30187 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
30188 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
30189 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
30190 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
30191 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
30192 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
30193 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
30194 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
30195 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
30196 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
30197 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
30198 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
30199 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
30200 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
30201 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
30202 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
30203 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
30204 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
30205 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
30206 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
30207 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
30208 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
30209 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
30210 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
30211 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
30212 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
30213 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
30214 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
30215 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
30216 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
30217 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
30218 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
30219 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
30220 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
30221 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
30222 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
30223 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
30224 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
30225 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
30226 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
30227 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
30228 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
30229 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
30230 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
30231 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
30232 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
30233 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
30234 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
30235 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
30236 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
30237 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
30238 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
30239 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
30240 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
30241 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
30242 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
30243 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
30244 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
30245 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
30246 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
30247 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
30248 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
30249 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
30250 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
30251 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
30252 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
30253 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
30254 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
30255 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
30256 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
30257 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
30258 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
30259 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
30260 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
30261 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
30262 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
30263 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
30264 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
30265 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
30266 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
30267 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
30268 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
30269 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
30270 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
30271 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
30272 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
30273 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
30274 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
30275 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
30276 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
30277 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
30278 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
30279 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
30280 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
30281 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
30282 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
30283 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
30284 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
30285 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
30286 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
30287 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
30288 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
30289 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
30290 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
30291 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
30292 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
30293 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
30294 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
30295 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
30296 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
30297 .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
30298 "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
30299 "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
30300 "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
30301 "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
30302 "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
30303 "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
30304 "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
30305 "\x15\x15\xab\xbd\x22\x94\xf7\xce"
30306 "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
30307 "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
30308 "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
30309 "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
30310 "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
30311 "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
30312 "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
30313 "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
30314 "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
30315 "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
30316 "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
30317 "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
30318 "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
30319 "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
30320 "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
30321 "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
30322 "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
30323 "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
30324 "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
30325 "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
30326 "\xec\x88\x33\x0d\x15\x10\x82\x66"
30327 "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
30328 "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
30329 "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
30330 "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
30331 "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
30332 "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
30333 "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
30334 "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
30335 "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
30336 "\x00\x01\x8d\x5a\x10\x82\x39\x78"
30337 "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
30338 "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
30339 "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
30340 "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
30341 "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
30342 "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
30343 "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
30344 "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
30345 "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
30346 "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
30347 "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
30348 "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
30349 "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
30350 "\xce\x17\x84\x68\x45\x39\x2c\x25"
30351 "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
30352 "\x47\x51\x7b\x9d\x54\x84\x98\x04"
30353 "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
30354 "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
30355 "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
30356 "\x39\x72\x44\x87\x51\xc5\x73\xe4"
30357 "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
30358 "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
30359 "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
30360 "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
30361 "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
30362 "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
30363 "\xad\x91\x01\x4e\x14\x42\x34\x2c"
30364 "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
30365 "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
30366 "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
30367 "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
30368 "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
30369 "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
30370 "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
30371 "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
30372 "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
30373 "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
30374 "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
30375 "\x09\x84\x42\xab\x00\xe2\x58\xc3"
30376 "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
30377 "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
30378 "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
30379 "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
30380 "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
30381 "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
30382 "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
30383 "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
30384 "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
30385 "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
30386 "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
30387 "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
30388 "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
30389 "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
30390 "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
30391 "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
30392 "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
30393 "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
30394 "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
30395 "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
30396 "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
30397 "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
30398 "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
30399 "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
30400 "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
30401 "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
30402 "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
30403 "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
30404 "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
30405 "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
30406 "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
30407 "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
30408 "\x48\x23\x70\x46\xf3\x87\xa7\x91"
30409 "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
30410 "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
30411 "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
30412 "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
30413 "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
30414 "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
30415 "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
30416 "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
30417 "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
30418 "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
30419 "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
30420 "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
30421 "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
30422 "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
30423 "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
30424 "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
30425 "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
30426 "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
30427 "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
30428 "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
30429 "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
30430 "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
30431 "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
30432 "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
30433 "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
30434 "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
30435 "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
30436 "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
30437 "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
30438 "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
30439 "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
30440 "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
30441 "\x41\x65\x21\x47\xf9\xb1\x06\xec"
30442 "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
30443 "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
30444 "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
30445 "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
30446 "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
30447 "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
30448 "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
30449 "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
30450 "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
30451 "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
30452 "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
30453 "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
30454 "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
30455 "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
30456 "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
30457 "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
30458 "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
30459 "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
30460 "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
30461 "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
30462 "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
30463 "\x64\x25\x56\xb5\x03\x8e\x29\x85"
30464 "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
30465 "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
30466 "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
30467 "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
30468 "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
30469 "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
30470 "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
30471 "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
30472 "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
30473 "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
30474 "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
30475 "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
30476 "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
30477 "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
30478 "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
30479 "\x25\x16\x95\x87\x92\xc7\x46\x3f"
30480 "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
30481 "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
30482 "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
30483 "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
30484 "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
30485 "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
30486 "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
30487 "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
30488 "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
30489 .len = 1536,
30490 }, {
30491 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
30492 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
30493 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
30494 "\x56\x95\x83\x98\x38\x80\x84\x8a",
30495 .klen = 32,
30496 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
30497 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
30498 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
30499 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
30500 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
30501 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
30502 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
30503 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
30504 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
30505 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
30506 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
30507 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
30508 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
30509 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
30510 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
30511 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
30512 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
30513 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
30514 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
30515 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
30516 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
30517 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
30518 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
30519 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
30520 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
30521 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
30522 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
30523 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
30524 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
30525 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
30526 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
30527 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
30528 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
30529 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
30530 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
30531 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
30532 "\x96\x87\xc9\x34\x02\x26\xde\x20"
30533 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
30534 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
30535 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
30536 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
30537 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
30538 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
30539 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
30540 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
30541 "\x85\xfd\x22\x08\x00\xae\x72\x10"
30542 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
30543 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
30544 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
30545 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
30546 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
30547 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
30548 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
30549 "\x21\x73\xbd\x81\x73\xac\x15\x74"
30550 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
30551 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
30552 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
30553 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
30554 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
30555 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
30556 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
30557 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
30558 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
30559 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
30560 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
30561 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
30562 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
30563 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
30564 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
30565 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
30566 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
30567 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
30568 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
30569 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
30570 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
30571 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
30572 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
30573 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
30574 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
30575 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
30576 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
30577 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
30578 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
30579 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
30580 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
30581 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
30582 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
30583 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
30584 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
30585 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
30586 "\x08\x67\x02\x01\xe3\x64\x82\xee"
30587 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
30588 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
30589 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
30590 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
30591 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
30592 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
30593 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
30594 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
30595 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
30596 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
30597 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
30598 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
30599 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
30600 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
30601 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
30602 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
30603 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
30604 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
30605 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
30606 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
30607 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
30608 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
30609 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
30610 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
30611 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
30612 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
30613 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
30614 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
30615 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
30616 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
30617 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
30618 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
30619 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
30620 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
30621 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
30622 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
30623 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
30624 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
30625 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
30626 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
30627 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
30628 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
30629 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
30630 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
30631 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
30632 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
30633 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
30634 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
30635 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
30636 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
30637 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
30638 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
30639 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
30640 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
30641 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
30642 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
30643 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
30644 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
30645 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
30646 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
30647 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
30648 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
30649 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
30650 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
30651 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
30652 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
30653 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
30654 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
30655 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
30656 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
30657 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
30658 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
30659 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
30660 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
30661 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
30662 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
30663 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
30664 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
30665 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
30666 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
30667 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
30668 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
30669 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
30670 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
30671 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
30672 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
30673 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
30674 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
30675 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
30676 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
30677 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
30678 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
30679 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
30680 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
30681 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
30682 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
30683 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
30684 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
30685 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
30686 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
30687 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
30688 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
30689 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
30690 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
30691 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
30692 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
30693 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
30694 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
30695 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
30696 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
30697 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
30698 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
30699 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
30700 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
30701 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
30702 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
30703 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
30704 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
30705 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
30706 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
30707 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
30708 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
30709 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
30710 "\x53\xf1\x61\x97\x63\x52\x38\x86"
30711 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
30712 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
30713 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
30714 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
30715 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
30716 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
30717 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
30718 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
30719 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
30720 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
30721 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
30722 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
30723 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
30724 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
30725 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
30726 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
30727 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
30728 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
30729 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
30730 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
30731 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
30732 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
30733 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
30734 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
30735 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
30736 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
30737 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
30738 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
30739 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
30740 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
30741 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
30742 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
30743 "\x20\x89\xef\x44\x22\x38\x3c\x14"
30744 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
30745 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
30746 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
30747 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
30748 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
30749 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
30750 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
30751 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
30752 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
30753 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
30754 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
30755 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
30756 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
30757 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
30758 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
30759 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
30760 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
30761 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
30762 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
30763 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
30764 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
30765 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
30766 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
30767 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
30768 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
30769 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
30770 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
30771 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
30772 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
30773 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
30774 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
30775 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
30776 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
30777 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
30778 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
30779 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
30780 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
30781 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
30782 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
30783 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
30784 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
30785 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
30786 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
30787 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
30788 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
30789 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
30790 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
30791 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
30792 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
30793 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
30794 "\xee\xad\x50\x68\x31\x26\x16\x0f"
30795 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
30796 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
30797 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
30798 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
30799 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
30800 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
30801 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
30802 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
30803 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
30804 "\x5a\x63\x94\x90\x22\x72\x54\x26"
30805 "\x93\x65\x99\x45\x55\xd3\x55\x56"
30806 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
30807 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
30808 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
30809 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
30810 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
30811 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
30812 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
30813 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
30814 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
30815 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
30816 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
30817 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
30818 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
30819 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
30820 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
30821 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
30822 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
30823 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
30824 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
30825 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
30826 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
30827 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
30828 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
30829 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
30830 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
30831 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
30832 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
30833 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
30834 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
30835 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
30836 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
30837 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
30838 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
30839 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
30840 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
30841 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
30842 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
30843 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
30844 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
30845 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
30846 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
30847 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
30848 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
30849 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
30850 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
30851 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
30852 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
30853 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
30854 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
30855 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
30856 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
30857 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
30858 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
30859 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
30860 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
30861 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
30862 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
30863 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
30864 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
30865 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
30866 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
30867 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
30868 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
30869 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
30870 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
30871 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
30872 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
30873 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
30874 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
30875 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
30876 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
30877 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
30878 "\x54\x14\x91\x12\x41\x41\x54\xa2"
30879 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
30880 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
30881 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
30882 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
30883 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
30884 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
30885 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
30886 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
30887 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
30888 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
30889 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
30890 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
30891 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
30892 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
30893 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
30894 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
30895 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
30896 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
30897 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
30898 "\x96\x59\xac\x34\x45\x29\xc6\x57"
30899 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
30900 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
30901 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
30902 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
30903 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
30904 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
30905 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
30906 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
30907 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
30908 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
30909 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
30910 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
30911 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
30912 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
30913 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
30914 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
30915 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
30916 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
30917 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
30918 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
30919 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
30920 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
30921 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
30922 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
30923 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
30924 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
30925 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
30926 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
30927 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
30928 "\x32\x06\x3f\x12\x23\x19\x22\x82"
30929 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
30930 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
30931 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
30932 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
30933 "\x35\x79\x84\x78\x06\x68\x97\x30"
30934 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
30935 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
30936 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
30937 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
30938 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
30939 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
30940 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
30941 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
30942 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
30943 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
30944 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
30945 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
30946 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
30947 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
30948 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
30949 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
30950 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
30951 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
30952 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
30953 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
30954 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
30955 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
30956 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
30957 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
30958 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
30959 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
30960 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
30961 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
30962 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
30963 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
30964 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
30965 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
30966 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
30967 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
30968 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
30969 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
30970 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
30971 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
30972 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
30973 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
30974 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
30975 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
30976 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
30977 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
30978 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
30979 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
30980 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
30981 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
30982 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
30983 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
30984 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
30985 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
30986 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
30987 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
30988 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
30989 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
30990 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
30991 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
30992 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
30993 "\x12\xab\x95\x66\xec\x09\x64\xea"
30994 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
30995 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
30996 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
30997 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
30998 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
30999 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
31000 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
31001 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
31002 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
31003 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
31004 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
31005 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
31006 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
31007 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
31008 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
31009 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
31010 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
31011 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
31012 .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
31013 "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
31014 "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
31015 "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
31016 "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
31017 "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
31018 "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
31019 "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
31020 "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
31021 "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
31022 "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
31023 "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
31024 "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
31025 "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
31026 "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
31027 "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
31028 "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
31029 "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
31030 "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
31031 "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
31032 "\xc5\x97\x18\x04\xab\x8c\x38\x56"
31033 "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
31034 "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
31035 "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
31036 "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
31037 "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
31038 "\x11\x35\xee\x29\xa4\x90\xfc\x46"
31039 "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
31040 "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
31041 "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
31042 "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
31043 "\x42\x89\x28\x27\xe6\xec\x50\xb7"
31044 "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
31045 "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
31046 "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
31047 "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
31048 "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
31049 "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
31050 "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
31051 "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
31052 "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
31053 "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
31054 "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
31055 "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
31056 "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
31057 "\x1d\x1c\x08\x65\x80\x69\xae\x24"
31058 "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
31059 "\xce\x39\x07\xe6\x69\x94\x5a\x75"
31060 "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
31061 "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
31062 "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
31063 "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
31064 "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
31065 "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
31066 "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
31067 "\xae\x27\xbc\x93\x96\xab\xb6\x02"
31068 "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
31069 "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
31070 "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
31071 "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
31072 "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
31073 "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
31074 "\x7d\x60\x87\x11\x06\x83\x25\xe3"
31075 "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
31076 "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
31077 "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
31078 "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
31079 "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
31080 "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
31081 "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
31082 "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
31083 "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
31084 "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
31085 "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
31086 "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
31087 "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
31088 "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
31089 "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
31090 "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
31091 "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
31092 "\xed\x73\xdb\xc1\x70\xda\xde\x67"
31093 "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
31094 "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
31095 "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
31096 "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
31097 "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
31098 "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
31099 "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
31100 "\xc4\x12\x70\x5a\x37\x83\x49\xac"
31101 "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
31102 "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
31103 "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
31104 "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
31105 "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
31106 "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
31107 "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
31108 "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
31109 "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
31110 "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
31111 "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
31112 "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
31113 "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
31114 "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
31115 "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
31116 "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
31117 "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
31118 "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
31119 "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
31120 "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
31121 "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
31122 "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
31123 "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
31124 "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
31125 "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
31126 "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
31127 "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
31128 "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
31129 "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
31130 "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
31131 "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
31132 "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
31133 "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
31134 "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
31135 "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
31136 "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
31137 "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
31138 "\x25\x87\x45\x4c\x07\xa7\x15\x99"
31139 "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
31140 "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
31141 "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
31142 "\x95\x25\x55\x33\x41\x5b\x8d\x75"
31143 "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
31144 "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
31145 "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
31146 "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
31147 "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
31148 "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
31149 "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
31150 "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
31151 "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
31152 "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
31153 "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
31154 "\x32\x78\xa9\xf6\x03\x98\x18\xed"
31155 "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
31156 "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
31157 "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
31158 "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
31159 "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
31160 "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
31161 "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
31162 "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
31163 "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
31164 "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
31165 "\x54\x76\xaa\x58\xae\x87\x23\x93"
31166 "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
31167 "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
31168 "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
31169 "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
31170 "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
31171 "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
31172 "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
31173 "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
31174 "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
31175 "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
31176 "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
31177 "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
31178 "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
31179 "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
31180 "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
31181 "\x03\x01\xce\xbb\x58\xff\xee\x74"
31182 "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
31183 "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
31184 "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
31185 "\x27\xc3\x51\x50\xa0\x02\x73\x00"
31186 "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
31187 "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
31188 "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
31189 "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
31190 "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
31191 "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
31192 "\xe9\x60\x82\x77\x44\x3f\x89\x23"
31193 "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
31194 "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
31195 "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
31196 "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
31197 "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
31198 "\x63\x36\xa8\x02\x54\x93\xb0\xba"
31199 "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
31200 "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
31201 "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
31202 "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
31203 "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
31204 "\x96\x94\xf2\x67\x57\x23\x9c\x29"
31205 "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
31206 "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
31207 "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
31208 "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
31209 "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
31210 "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
31211 "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
31212 "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
31213 "\x02\xdc\x15\x87\x48\x16\x26\x18"
31214 "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
31215 "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
31216 "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
31217 "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
31218 "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
31219 "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
31220 "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
31221 "\x72\xee\x34\xbe\x41\x90\xd4\x07"
31222 "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
31223 "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
31224 "\xe8\x71\xce\xa8\x73\x77\x82\x74"
31225 "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
31226 "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
31227 "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
31228 "\xae\x96\x09\xbf\x47\xae\x7d\x12"
31229 "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
31230 "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
31231 "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
31232 "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
31233 "\x82\xef\x31\x85\x8e\x38\x56\xff"
31234 "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
31235 "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
31236 "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
31237 "\xdc\x83\x81\x3c\x24\x28\x87\x08"
31238 "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
31239 "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
31240 "\x93\x45\x5d\x45\x64\x59\x16\x3f"
31241 "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
31242 "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
31243 "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
31244 "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
31245 "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
31246 "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
31247 "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
31248 "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
31249 "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
31250 "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
31251 "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
31252 "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
31253 "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
31254 "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
31255 "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
31256 "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
31257 "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
31258 "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
31259 "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
31260 "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
31261 "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
31262 "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
31263 "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
31264 "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
31265 "\xed\x87\xb8\x74\x98\x0d\x16\x86"
31266 "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
31267 "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
31268 "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
31269 "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
31270 "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
31271 "\x61\x78\x60\xd5\x81\x70\xa4\x11"
31272 "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
31273 "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
31274 "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
31275 "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
31276 "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
31277 "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
31278 "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
31279 "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
31280 "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
31281 "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
31282 "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
31283 "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
31284 "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
31285 "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
31286 "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
31287 "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
31288 "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
31289 "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
31290 "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
31291 "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
31292 "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
31293 "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
31294 "\x86\xda\x71\xfb\x72\xab\x87\x0f"
31295 "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
31296 "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
31297 "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
31298 "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
31299 "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
31300 "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
31301 "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
31302 "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
31303 "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
31304 "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
31305 "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
31306 "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
31307 "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
31308 "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
31309 "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
31310 "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
31311 "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
31312 "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
31313 "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
31314 "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
31315 "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
31316 "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
31317 "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
31318 "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
31319 "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
31320 "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
31321 "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
31322 "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
31323 "\x70\x0c\x72\x80\x64\x94\x67\xad"
31324 "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
31325 "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
31326 "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
31327 "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
31328 "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
31329 "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
31330 "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
31331 "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
31332 "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
31333 "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
31334 "\xa1\x6e\x73\x62\x96\x73\x56\x66"
31335 "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
31336 "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
31337 "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
31338 "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
31339 "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
31340 "\x03\x41\x19\x5b\x31\xf3\x48\x83"
31341 "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
31342 "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
31343 "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
31344 "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
31345 "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
31346 "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
31347 "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
31348 "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
31349 "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
31350 "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
31351 "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
31352 "\xed\x2a\x70\x79\x39\xcf\x36\x72"
31353 "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
31354 "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
31355 "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
31356 "\x3b\x74\x29\x63\xda\x23\xbc\x43"
31357 "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
31358 "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
31359 "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
31360 "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
31361 "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
31362 "\xa9\x13\x11\x60\x19\x23\xc7\x35"
31363 "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
31364 "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
31365 "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
31366 "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
31367 "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
31368 "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
31369 "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
31370 "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
31371 "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
31372 "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
31373 "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
31374 "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
31375 "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
31376 "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
31377 "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
31378 "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
31379 "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
31380 "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
31381 "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
31382 "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
31383 "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
31384 "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
31385 "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
31386 "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
31387 "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
31388 "\x87\x24\xa9\xe9\x87\xde\x75\x77"
31389 "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
31390 "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
31391 "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
31392 "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
31393 "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
31394 "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
31395 "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
31396 "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
31397 "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
31398 "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
31399 "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
31400 "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
31401 "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
31402 "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
31403 "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
31404 "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
31405 "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
31406 "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
31407 "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
31408 "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
31409 "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
31410 "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
31411 "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
31412 "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
31413 "\xdc\x66\xad\xe4\x54\xff\x09\xef"
31414 "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
31415 "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
31416 "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
31417 "\x51\x0c\x0f\x84\x26\x75\x69\x23"
31418 "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
31419 "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
31420 "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
31421 "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
31422 "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
31423 "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
31424 "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
31425 "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
31426 "\x6b\x55\x85\x47\xbb\x90\xba\x69"
31427 "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
31428 "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
31429 "\x09\x76\x51\x83\x0a\x46\x19\x61"
31430 "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
31431 "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
31432 "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
31433 "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
31434 "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
31435 "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
31436 "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
31437 "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
31438 "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
31439 "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
31440 "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
31441 "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
31442 "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
31443 "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
31444 "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
31445 "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
31446 "\x24\x24\x51\x22\x1e\xad\xef\x2f"
31447 "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
31448 "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
31449 "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
31450 "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
31451 "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
31452 "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
31453 "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
31454 "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
31455 "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
31456 "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
31457 "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
31458 "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
31459 "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
31460 "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
31461 "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
31462 "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
31463 "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
31464 "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
31465 "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
31466 "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
31467 "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
31468 "\x42\xff\x4e\x57\xde\x0c\x67\x45"
31469 "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
31470 "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
31471 "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
31472 "\xf8\x87\x0e\x14\x19\x81\x23\x53"
31473 "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
31474 "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
31475 "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
31476 "\x73\xde\x5e\x90\xce\x6c\x85\x43"
31477 "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
31478 "\xb8\x05\x80\x81\xf6\x22\x30\xad"
31479 "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
31480 "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
31481 "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
31482 "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
31483 "\xb7\x73\x14\x69\xef\xf8\x28\x43"
31484 "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
31485 "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
31486 "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
31487 "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
31488 "\x4d\xb1\x17\x40\x02\x84\xed\x53"
31489 "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
31490 "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
31491 "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
31492 "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
31493 "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
31494 "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
31495 "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
31496 "\x90\xe9\x60\x64\xfa\x52\x87\x37"
31497 "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
31498 "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
31499 "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
31500 "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
31501 "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
31502 "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
31503 "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
31504 "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
31505 "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
31506 "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
31507 "\xb6\x86\x9e\x13\x78\x34\x36\x85"
31508 "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
31509 "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
31510 "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
31511 "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
31512 "\x13\xdd\x9e\x20\x51\x18\x73\x37"
31513 "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
31514 "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
31515 "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
31516 "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
31517 "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
31518 "\x66\x2a\xac\x59\xb3\x73\x86\xae"
31519 "\x6d\x85\x97\x37\x68\xef\xa7\x85"
31520 "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
31521 "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
31522 "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
31523 "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
31524 .len = 4096,
31525 }
31526};
31527
31528/* Adiantum with XChaCha20 instead of XChaCha12 */
31529/* Test vectors from https://github.com/google/adiantum */
31530static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
31531 {
31532 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
31533 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
31534 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
31535 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
31536 .klen = 32,
31537 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
31538 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
31539 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
31540 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
31541 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
31542 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
31543 .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
31544 "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
31545 .len = 16,
31546 }, {
31547 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
31548 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
31549 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
31550 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
31551 .klen = 32,
31552 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
31553 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
31554 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
31555 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
31556 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
31557 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
31558 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
31559 "\x43\x5a\x46\x06\x94\x2d\xf2",
31560 .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
31561 "\x0e\x14\x42\x5f\x00\x74\x09\x36"
31562 "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
31563 "\x0c\x04\x91\x14\x91\xe9\x37",
31564 .len = 31,
31565 }, {
31566 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
31567 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
31568 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
31569 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
31570 .klen = 32,
31571 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
31572 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
31573 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
31574 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
31575 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
31576 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
31577 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
31578 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
31579 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
31580 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
31581 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
31582 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
31583 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
31584 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
31585 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
31586 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
31587 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
31588 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
31589 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
31590 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
31591 .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
31592 "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
31593 "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
31594 "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
31595 "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
31596 "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
31597 "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
31598 "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
31599 "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
31600 "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
31601 "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
31602 "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
31603 "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
31604 "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
31605 "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
31606 "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
31607 .len = 128,
31608 }, {
31609 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
31610 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
31611 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
31612 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
31613 .klen = 32,
31614 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
31615 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
31616 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
31617 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
31618 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
31619 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
31620 "\x05\xa3\x69\x60\x91\x36\x98\x57"
31621 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
31622 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
31623 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
31624 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
31625 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
31626 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
31627 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
31628 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
31629 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
31630 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
31631 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
31632 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
31633 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
31634 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
31635 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
31636 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
31637 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
31638 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
31639 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
31640 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
31641 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
31642 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
31643 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
31644 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
31645 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
31646 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
31647 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
31648 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
31649 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
31650 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
31651 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
31652 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
31653 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
31654 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
31655 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
31656 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
31657 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
31658 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
31659 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
31660 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
31661 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
31662 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
31663 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
31664 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
31665 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
31666 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
31667 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
31668 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
31669 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
31670 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
31671 "\x17\x7c\x25\x48\x52\x67\x11\x27"
31672 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
31673 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
31674 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
31675 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
31676 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
31677 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
31678 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
31679 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
31680 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
31681 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
31682 .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
31683 "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
31684 "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
31685 "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
31686 "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
31687 "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
31688 "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
31689 "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
31690 "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
31691 "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
31692 "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
31693 "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
31694 "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
31695 "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
31696 "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
31697 "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
31698 "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
31699 "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
31700 "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
31701 "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
31702 "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
31703 "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
31704 "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
31705 "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
31706 "\x26\x39\x95\x07\xad\x7a\xc9\x69"
31707 "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
31708 "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
31709 "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
31710 "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
31711 "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
31712 "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
31713 "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
31714 "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
31715 "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
31716 "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
31717 "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
31718 "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
31719 "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
31720 "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
31721 "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
31722 "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
31723 "\x34\x42\xe5\xae\x45\x13\x63\xfe"
31724 "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
31725 "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
31726 "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
31727 "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
31728 "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
31729 "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
31730 "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
31731 "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
31732 "\x65\xa8\xac\xea\x8d\x68\x46\x34"
31733 "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
31734 "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
31735 "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
31736 "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
31737 "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
31738 "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
31739 "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
31740 "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
31741 "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
31742 "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
31743 "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
31744 "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
31745 "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
31746 .len = 512,
31747 }, {
31748 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
31749 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
31750 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
31751 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
31752 .klen = 32,
31753 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
31754 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
31755 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
31756 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
31757 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
31758 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
31759 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
31760 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
31761 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
31762 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
31763 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
31764 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
31765 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
31766 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
31767 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
31768 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
31769 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
31770 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
31771 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
31772 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
31773 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
31774 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
31775 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
31776 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
31777 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
31778 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
31779 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
31780 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
31781 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
31782 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
31783 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
31784 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
31785 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
31786 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
31787 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
31788 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
31789 "\x28\x04\x4c\xff\x98\x20\x08\x10"
31790 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
31791 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
31792 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
31793 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
31794 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
31795 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
31796 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
31797 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
31798 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
31799 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
31800 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
31801 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
31802 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
31803 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
31804 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
31805 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
31806 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
31807 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
31808 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
31809 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
31810 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
31811 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
31812 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
31813 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
31814 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
31815 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
31816 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
31817 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
31818 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
31819 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
31820 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
31821 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
31822 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
31823 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
31824 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
31825 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
31826 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
31827 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
31828 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
31829 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
31830 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
31831 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
31832 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
31833 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
31834 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
31835 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
31836 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
31837 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
31838 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
31839 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
31840 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
31841 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
31842 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
31843 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
31844 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
31845 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
31846 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
31847 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
31848 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
31849 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
31850 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
31851 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
31852 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
31853 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
31854 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
31855 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
31856 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
31857 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
31858 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
31859 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
31860 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
31861 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
31862 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
31863 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
31864 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
31865 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
31866 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
31867 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
31868 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
31869 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
31870 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
31871 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
31872 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
31873 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
31874 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
31875 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
31876 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
31877 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
31878 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
31879 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
31880 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
31881 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
31882 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
31883 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
31884 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
31885 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
31886 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
31887 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
31888 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
31889 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
31890 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
31891 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
31892 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
31893 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
31894 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
31895 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
31896 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
31897 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
31898 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
31899 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
31900 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
31901 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
31902 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
31903 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
31904 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
31905 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
31906 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
31907 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
31908 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
31909 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
31910 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
31911 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
31912 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
31913 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
31914 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
31915 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
31916 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
31917 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
31918 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
31919 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
31920 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
31921 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
31922 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
31923 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
31924 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
31925 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
31926 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
31927 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
31928 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
31929 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
31930 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
31931 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
31932 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
31933 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
31934 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
31935 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
31936 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
31937 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
31938 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
31939 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
31940 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
31941 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
31942 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
31943 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
31944 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
31945 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
31946 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
31947 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
31948 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
31949 .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
31950 "\x71\x28\x98\x61\xe5\x2c\x45\x49"
31951 "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
31952 "\xbe\x05\x02\x35\xc1\x18\x61\x28"
31953 "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
31954 "\x14\x80\x88\x56\xcf\x98\x32\xcc"
31955 "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
31956 "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
31957 "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
31958 "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
31959 "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
31960 "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
31961 "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
31962 "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
31963 "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
31964 "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
31965 "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
31966 "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
31967 "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
31968 "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
31969 "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
31970 "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
31971 "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
31972 "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
31973 "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
31974 "\x35\x17\x51\x06\x19\x82\x9d\x44"
31975 "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
31976 "\x95\x63\xc3\xf0\x91\x73\x77\x44"
31977 "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
31978 "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
31979 "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
31980 "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
31981 "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
31982 "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
31983 "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
31984 "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
31985 "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
31986 "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
31987 "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
31988 "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
31989 "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
31990 "\x9a\x14\xab\x08\xc2\x67\x59\x30"
31991 "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
31992 "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
31993 "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
31994 "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
31995 "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
31996 "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
31997 "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
31998 "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
31999 "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
32000 "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
32001 "\x73\x23\x27\x71\x85\x04\x07\x59"
32002 "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
32003 "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
32004 "\x21\x5b\x22\x25\x61\x01\x96\xce"
32005 "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
32006 "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
32007 "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
32008 "\xae\x89\x30\xa3\xc1\x65\x41\x67"
32009 "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
32010 "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
32011 "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
32012 "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
32013 "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
32014 "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
32015 "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
32016 "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
32017 "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
32018 "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
32019 "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
32020 "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
32021 "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
32022 "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
32023 "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
32024 "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
32025 "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
32026 "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
32027 "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
32028 "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
32029 "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
32030 "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
32031 "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
32032 "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
32033 "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
32034 "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
32035 "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
32036 "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
32037 "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
32038 "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
32039 "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
32040 "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
32041 "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
32042 "\x90\xda\x98\x98\x81\x04\x1c\x4d"
32043 "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
32044 "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
32045 "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
32046 "\x04\x59\x51\xbb\x17\x03\xc0\x07"
32047 "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
32048 "\xbc\x60\x86\x3b\x68\x91\x67\x14"
32049 "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
32050 "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
32051 "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
32052 "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
32053 "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
32054 "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
32055 "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
32056 "\x02\x98\xee\x83\xca\x4c\x94\xa3"
32057 "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
32058 "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
32059 "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
32060 "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
32061 "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
32062 "\xad\xf0\x38\x49\x88\x78\x73\xcd"
32063 "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
32064 "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
32065 "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
32066 "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
32067 "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
32068 "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
32069 "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
32070 "\x08\x42\xef\x07\x03\xb7\xa3\xea"
32071 "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
32072 "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
32073 "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
32074 "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
32075 "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
32076 "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
32077 "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
32078 "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
32079 "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
32080 "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
32081 "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
32082 "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
32083 "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
32084 "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
32085 "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
32086 "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
32087 "\x80\xae\x2d\xda\x85\x90\x69\x3c"
32088 "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
32089 "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
32090 "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
32091 "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
32092 "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
32093 "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
32094 "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
32095 "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
32096 "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
32097 "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
32098 "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
32099 "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
32100 "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
32101 "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
32102 "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
32103 "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
32104 "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
32105 "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
32106 "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
32107 "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
32108 "\x67\x04\x70\x86\x0a\x71\x69\x34"
32109 "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
32110 "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
32111 "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
32112 "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
32113 "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
32114 "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
32115 "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
32116 "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
32117 "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
32118 "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
32119 "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
32120 "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
32121 "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
32122 "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
32123 "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
32124 "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
32125 "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
32126 "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
32127 "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
32128 "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
32129 "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
32130 "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
32131 "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
32132 "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
32133 "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
32134 "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
32135 "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
32136 "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
32137 "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
32138 "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
32139 "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
32140 "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
32141 .len = 1536,
32142 }, {
32143 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
32144 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
32145 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
32146 "\x56\x95\x83\x98\x38\x80\x84\x8a",
32147 .klen = 32,
32148 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
32149 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
32150 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
32151 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
32152 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
32153 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
32154 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
32155 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
32156 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
32157 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
32158 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
32159 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
32160 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
32161 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
32162 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
32163 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
32164 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
32165 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
32166 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
32167 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
32168 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
32169 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
32170 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
32171 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
32172 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
32173 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
32174 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
32175 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
32176 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
32177 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
32178 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
32179 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
32180 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
32181 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
32182 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
32183 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
32184 "\x96\x87\xc9\x34\x02\x26\xde\x20"
32185 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
32186 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
32187 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
32188 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
32189 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
32190 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
32191 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
32192 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
32193 "\x85\xfd\x22\x08\x00\xae\x72\x10"
32194 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
32195 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
32196 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
32197 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
32198 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
32199 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
32200 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
32201 "\x21\x73\xbd\x81\x73\xac\x15\x74"
32202 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
32203 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
32204 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
32205 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
32206 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
32207 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
32208 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
32209 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
32210 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
32211 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
32212 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
32213 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
32214 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
32215 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
32216 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
32217 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
32218 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
32219 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
32220 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
32221 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
32222 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
32223 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
32224 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
32225 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
32226 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
32227 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
32228 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
32229 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
32230 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
32231 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
32232 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
32233 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
32234 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
32235 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
32236 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
32237 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
32238 "\x08\x67\x02\x01\xe3\x64\x82\xee"
32239 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
32240 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
32241 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
32242 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
32243 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
32244 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
32245 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
32246 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
32247 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
32248 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
32249 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
32250 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
32251 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
32252 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
32253 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
32254 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
32255 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
32256 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
32257 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
32258 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
32259 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
32260 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
32261 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
32262 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
32263 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
32264 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
32265 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
32266 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
32267 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
32268 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
32269 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
32270 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
32271 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
32272 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
32273 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
32274 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
32275 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
32276 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
32277 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
32278 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
32279 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
32280 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
32281 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
32282 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
32283 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
32284 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
32285 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
32286 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
32287 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
32288 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
32289 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
32290 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
32291 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
32292 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
32293 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
32294 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
32295 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
32296 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
32297 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
32298 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
32299 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
32300 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
32301 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
32302 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
32303 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
32304 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
32305 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
32306 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
32307 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
32308 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
32309 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
32310 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
32311 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
32312 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
32313 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
32314 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
32315 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
32316 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
32317 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
32318 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
32319 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
32320 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
32321 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
32322 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
32323 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
32324 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
32325 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
32326 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
32327 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
32328 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
32329 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
32330 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
32331 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
32332 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
32333 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
32334 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
32335 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
32336 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
32337 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
32338 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
32339 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
32340 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
32341 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
32342 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
32343 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
32344 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
32345 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
32346 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
32347 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
32348 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
32349 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
32350 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
32351 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
32352 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
32353 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
32354 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
32355 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
32356 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
32357 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
32358 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
32359 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
32360 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
32361 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
32362 "\x53\xf1\x61\x97\x63\x52\x38\x86"
32363 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
32364 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
32365 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
32366 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
32367 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
32368 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
32369 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
32370 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
32371 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
32372 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
32373 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
32374 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
32375 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
32376 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
32377 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
32378 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
32379 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
32380 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
32381 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
32382 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
32383 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
32384 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
32385 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
32386 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
32387 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
32388 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
32389 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
32390 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
32391 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
32392 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
32393 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
32394 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
32395 "\x20\x89\xef\x44\x22\x38\x3c\x14"
32396 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
32397 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
32398 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
32399 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
32400 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
32401 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
32402 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
32403 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
32404 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
32405 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
32406 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
32407 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
32408 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
32409 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
32410 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
32411 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
32412 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
32413 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
32414 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
32415 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
32416 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
32417 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
32418 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
32419 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
32420 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
32421 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
32422 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
32423 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
32424 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
32425 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
32426 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
32427 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
32428 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
32429 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
32430 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
32431 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
32432 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
32433 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
32434 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
32435 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
32436 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
32437 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
32438 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
32439 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
32440 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
32441 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
32442 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
32443 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
32444 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
32445 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
32446 "\xee\xad\x50\x68\x31\x26\x16\x0f"
32447 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
32448 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
32449 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
32450 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
32451 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
32452 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
32453 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
32454 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
32455 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
32456 "\x5a\x63\x94\x90\x22\x72\x54\x26"
32457 "\x93\x65\x99\x45\x55\xd3\x55\x56"
32458 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
32459 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
32460 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
32461 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
32462 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
32463 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
32464 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
32465 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
32466 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
32467 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
32468 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
32469 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
32470 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
32471 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
32472 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
32473 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
32474 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
32475 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
32476 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
32477 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
32478 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
32479 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
32480 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
32481 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
32482 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
32483 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
32484 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
32485 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
32486 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
32487 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
32488 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
32489 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
32490 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
32491 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
32492 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
32493 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
32494 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
32495 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
32496 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
32497 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
32498 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
32499 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
32500 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
32501 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
32502 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
32503 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
32504 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
32505 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
32506 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
32507 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
32508 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
32509 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
32510 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
32511 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
32512 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
32513 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
32514 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
32515 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
32516 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
32517 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
32518 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
32519 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
32520 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
32521 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
32522 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
32523 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
32524 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
32525 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
32526 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
32527 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
32528 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
32529 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
32530 "\x54\x14\x91\x12\x41\x41\x54\xa2"
32531 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
32532 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
32533 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
32534 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
32535 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
32536 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
32537 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
32538 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
32539 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
32540 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
32541 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
32542 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
32543 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
32544 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
32545 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
32546 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
32547 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
32548 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
32549 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
32550 "\x96\x59\xac\x34\x45\x29\xc6\x57"
32551 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
32552 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
32553 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
32554 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
32555 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
32556 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
32557 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
32558 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
32559 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
32560 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
32561 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
32562 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
32563 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
32564 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
32565 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
32566 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
32567 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
32568 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
32569 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
32570 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
32571 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
32572 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
32573 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
32574 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
32575 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
32576 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
32577 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
32578 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
32579 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
32580 "\x32\x06\x3f\x12\x23\x19\x22\x82"
32581 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
32582 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
32583 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
32584 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
32585 "\x35\x79\x84\x78\x06\x68\x97\x30"
32586 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
32587 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
32588 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
32589 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
32590 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
32591 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
32592 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
32593 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
32594 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
32595 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
32596 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
32597 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
32598 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
32599 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
32600 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
32601 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
32602 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
32603 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
32604 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
32605 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
32606 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
32607 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
32608 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
32609 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
32610 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
32611 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
32612 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
32613 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
32614 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
32615 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
32616 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
32617 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
32618 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
32619 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
32620 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
32621 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
32622 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
32623 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
32624 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
32625 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
32626 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
32627 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
32628 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
32629 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
32630 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
32631 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
32632 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
32633 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
32634 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
32635 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
32636 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
32637 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
32638 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
32639 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
32640 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
32641 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
32642 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
32643 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
32644 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
32645 "\x12\xab\x95\x66\xec\x09\x64\xea"
32646 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
32647 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
32648 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
32649 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
32650 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
32651 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
32652 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
32653 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
32654 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
32655 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
32656 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
32657 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
32658 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
32659 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
32660 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
32661 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
32662 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
32663 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
32664 .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
32665 "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
32666 "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
32667 "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
32668 "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
32669 "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
32670 "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
32671 "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
32672 "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
32673 "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
32674 "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
32675 "\x86\xac\x06\x97\x70\x42\xec\x3a"
32676 "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
32677 "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
32678 "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
32679 "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
32680 "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
32681 "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
32682 "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
32683 "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
32684 "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
32685 "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
32686 "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
32687 "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
32688 "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
32689 "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
32690 "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
32691 "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
32692 "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
32693 "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
32694 "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
32695 "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
32696 "\x78\x1e\x29\xef\x12\x54\x16\x28"
32697 "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
32698 "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
32699 "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
32700 "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
32701 "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
32702 "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
32703 "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
32704 "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
32705 "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
32706 "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
32707 "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
32708 "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
32709 "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
32710 "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
32711 "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
32712 "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
32713 "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
32714 "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
32715 "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
32716 "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
32717 "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
32718 "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
32719 "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
32720 "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
32721 "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
32722 "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
32723 "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
32724 "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
32725 "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
32726 "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
32727 "\x38\x90\x06\x18\x84\xf2\xfa\x81"
32728 "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
32729 "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
32730 "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
32731 "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
32732 "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
32733 "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
32734 "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
32735 "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
32736 "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
32737 "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
32738 "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
32739 "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
32740 "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
32741 "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
32742 "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
32743 "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
32744 "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
32745 "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
32746 "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
32747 "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
32748 "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
32749 "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
32750 "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
32751 "\x65\x1a\x03\x48\x12\x66\x50\x3e"
32752 "\x0e\x5d\x60\x29\x44\x69\x90\xee"
32753 "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
32754 "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
32755 "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
32756 "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
32757 "\xb0\xab\x73\x61\x40\x39\xac\x11"
32758 "\x55\x27\x51\x5f\x11\xef\xb1\x23"
32759 "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
32760 "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
32761 "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
32762 "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
32763 "\x83\x40\x0c\x98\x67\xba\x7c\x93"
32764 "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
32765 "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
32766 "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
32767 "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
32768 "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
32769 "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
32770 "\xdd\x37\x35\x78\x09\x28\x29\x4a"
32771 "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
32772 "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
32773 "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
32774 "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
32775 "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
32776 "\x64\x09\xf3\xee\x05\x42\x34\x93"
32777 "\x38\xa8\x60\xea\x1d\x95\x90\x65"
32778 "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
32779 "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
32780 "\x45\x73\xce\x54\x4e\xb1\x75\x26"
32781 "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
32782 "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
32783 "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
32784 "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
32785 "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
32786 "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
32787 "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
32788 "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
32789 "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
32790 "\x99\x40\x90\xd5\x7d\x73\x56\xef"
32791 "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
32792 "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
32793 "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
32794 "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
32795 "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
32796 "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
32797 "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
32798 "\x4e\x50\x97\xd4\x94\x58\x67\x57"
32799 "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
32800 "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
32801 "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
32802 "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
32803 "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
32804 "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
32805 "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
32806 "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
32807 "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
32808 "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
32809 "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
32810 "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
32811 "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
32812 "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
32813 "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
32814 "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
32815 "\x5b\x94\x12\x33\x78\x85\x90\x84"
32816 "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
32817 "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
32818 "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
32819 "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
32820 "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
32821 "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
32822 "\x55\x76\x09\xf5\x8a\x09\x91\x93"
32823 "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
32824 "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
32825 "\x1e\x90\x74\x6d\x93\x52\x61\x81"
32826 "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
32827 "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
32828 "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
32829 "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
32830 "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
32831 "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
32832 "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
32833 "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
32834 "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
32835 "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
32836 "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
32837 "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
32838 "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
32839 "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
32840 "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
32841 "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
32842 "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
32843 "\x5f\x93\x83\x39\xda\xb4\x22\x17"
32844 "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
32845 "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
32846 "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
32847 "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
32848 "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
32849 "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
32850 "\x97\x60\x54\xa3\x52\x31\x78\x57"
32851 "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
32852 "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
32853 "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
32854 "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
32855 "\x92\x90\xde\x01\x97\x81\x46\x87"
32856 "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
32857 "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
32858 "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
32859 "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
32860 "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
32861 "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
32862 "\x67\xe6\x32\xee\xad\xbf\x60\x07"
32863 "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
32864 "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
32865 "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
32866 "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
32867 "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
32868 "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
32869 "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
32870 "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
32871 "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
32872 "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
32873 "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
32874 "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
32875 "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
32876 "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
32877 "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
32878 "\xaf\x7e\x94\x57\x19\x07\x06\x74"
32879 "\x57\x5b\x62\x61\x99\x20\xe7\x95"
32880 "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
32881 "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
32882 "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
32883 "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
32884 "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
32885 "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
32886 "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
32887 "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
32888 "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
32889 "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
32890 "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
32891 "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
32892 "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
32893 "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
32894 "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
32895 "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
32896 "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
32897 "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
32898 "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
32899 "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
32900 "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
32901 "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
32902 "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
32903 "\x49\x00\x00\x31\x0f\xa8\x24\x67"
32904 "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
32905 "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
32906 "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
32907 "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
32908 "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
32909 "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
32910 "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
32911 "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
32912 "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
32913 "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
32914 "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
32915 "\x23\x79\x99\x5f\x34\xad\x9f\x41"
32916 "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
32917 "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
32918 "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
32919 "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
32920 "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
32921 "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
32922 "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
32923 "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
32924 "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
32925 "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
32926 "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
32927 "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
32928 "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
32929 "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
32930 "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
32931 "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
32932 "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
32933 "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
32934 "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
32935 "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
32936 "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
32937 "\x91\x41\x48\xaa\x65\xdb\x34\x72"
32938 "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
32939 "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
32940 "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
32941 "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
32942 "\x89\x8b\x27\x70\xae\xa1\x90\x28"
32943 "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
32944 "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
32945 "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
32946 "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
32947 "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
32948 "\xec\x10\x74\xc5\xb6\x53\x09\x93"
32949 "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
32950 "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
32951 "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
32952 "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
32953 "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
32954 "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
32955 "\x27\x17\x78\x03\xd4\xda\xe4\x73"
32956 "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
32957 "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
32958 "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
32959 "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
32960 "\x06\x03\xe0\x76\xff\x19\x1a\x16"
32961 "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
32962 "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
32963 "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
32964 "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
32965 "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
32966 "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
32967 "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
32968 "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
32969 "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
32970 "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
32971 "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
32972 "\x82\x10\xd6\x29\x58\x83\x50\x3c"
32973 "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
32974 "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
32975 "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
32976 "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
32977 "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
32978 "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
32979 "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
32980 "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
32981 "\x66\x34\xb3\x9f\x52\x37\x98\x10"
32982 "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
32983 "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
32984 "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
32985 "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
32986 "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
32987 "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
32988 "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
32989 "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
32990 "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
32991 "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
32992 "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
32993 "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
32994 "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
32995 "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
32996 "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
32997 "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
32998 "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
32999 "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
33000 "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
33001 "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
33002 "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
33003 "\xa7\xff\x10\x19\x5e\xef\x46\x54"
33004 "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
33005 "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
33006 "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
33007 "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
33008 "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
33009 "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
33010 "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
33011 "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
33012 "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
33013 "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
33014 "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
33015 "\xb1\x03\x06\x23\x65\x37\x33\x92"
33016 "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
33017 "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
33018 "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
33019 "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
33020 "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
33021 "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
33022 "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
33023 "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
33024 "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
33025 "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
33026 "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
33027 "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
33028 "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
33029 "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
33030 "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
33031 "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
33032 "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
33033 "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
33034 "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
33035 "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
33036 "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
33037 "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
33038 "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
33039 "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
33040 "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
33041 "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
33042 "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
33043 "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
33044 "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
33045 "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
33046 "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
33047 "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
33048 "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
33049 "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
33050 "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
33051 "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
33052 "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
33053 "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
33054 "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
33055 "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
33056 "\xa5\x45\x75\x12\x01\x40\xff\x3e"
33057 "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
33058 "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
33059 "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
33060 "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
33061 "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
33062 "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
33063 "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
33064 "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
33065 "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
33066 "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
33067 "\x12\x26\x68\x12\x25\x0b\x08\x61"
33068 "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
33069 "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
33070 "\x25\x06\xa2\x08\x69\x09\xd9\x09"
33071 "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
33072 "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
33073 "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
33074 "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
33075 "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
33076 "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
33077 "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
33078 "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
33079 "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
33080 "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
33081 "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
33082 "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
33083 "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
33084 "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
33085 "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
33086 "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
33087 "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
33088 "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
33089 "\xc2\xde\x27\x58\x69\xf9\x07\xca"
33090 "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
33091 "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
33092 "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
33093 "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
33094 "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
33095 "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
33096 "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
33097 "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
33098 "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
33099 "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
33100 "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
33101 "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
33102 "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
33103 "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
33104 "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
33105 "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
33106 "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
33107 "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
33108 "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
33109 "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
33110 "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
33111 "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
33112 "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
33113 "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
33114 "\xd9\x79\xde\x93\x37\x93\x92\x46"
33115 "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
33116 "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
33117 "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
33118 "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
33119 "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
33120 "\xc8\xae\x92\x29\xce\x71\xd0\xba"
33121 "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
33122 "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
33123 "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
33124 "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
33125 "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
33126 "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
33127 "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
33128 "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
33129 "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
33130 "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
33131 "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
33132 "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
33133 "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
33134 "\x93\x81\x38\x47\xc0\x83\x21\xa3"
33135 "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
33136 "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
33137 "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
33138 "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
33139 "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
33140 "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
33141 "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
33142 "\x01\xda\xfb\xc4\x85\x26\x85\x31"
33143 "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
33144 "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
33145 "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
33146 "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
33147 "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
33148 "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
33149 "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
33150 "\xd9\x27\x34\x53\x9c\x52\x00\x94"
33151 "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
33152 "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
33153 "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
33154 "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
33155 "\x34\x97\x32\xd5\x11\x02\x06\x45"
33156 "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
33157 "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
33158 "\x60\x50\x66\x79\xbb\x45\x21\xc4"
33159 "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
33160 "\x6b\x20\xef\xac\x16\x74\xe9\x23"
33161 "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
33162 "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
33163 "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
33164 "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
33165 "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
33166 "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
33167 "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
33168 "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
33169 "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
33170 "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
33171 "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
33172 "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
33173 "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
33174 "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
33175 "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
33176 .len = 4096,
33177 }
33178};
33179
33180/*
33181 * CTS (Cipher Text Stealing) mode tests
33182 */
33183static const struct cipher_testvec cts_mode_tv_template[] = {
33184 { /* from rfc3962 */
33185 .klen = 16,
33186 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33187 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33188 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33189 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33190 "\x20",
33191 .len = 17,
33192 .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33193 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33194 "\x97",
33195 }, {
33196 .klen = 16,
33197 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33198 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33199 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33200 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33201 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33202 "\x20\x47\x61\x75\x27\x73\x20",
33203 .len = 31,
33204 .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33205 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33206 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33207 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33208 }, {
33209 .klen = 16,
33210 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33211 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33212 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33213 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33214 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33215 "\x20\x47\x61\x75\x27\x73\x20\x43",
33216 .len = 32,
33217 .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33218 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33219 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33220 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33221 }, {
33222 .klen = 16,
33223 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33224 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33225 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33226 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33227 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33228 "\x20\x47\x61\x75\x27\x73\x20\x43"
33229 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33230 "\x70\x6c\x65\x61\x73\x65\x2c",
33231 .len = 47,
33232 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33233 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33234 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33235 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33236 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33237 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33238 }, {
33239 .klen = 16,
33240 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33241 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33242 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33243 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33244 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33245 "\x20\x47\x61\x75\x27\x73\x20\x43"
33246 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33247 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33248 .len = 48,
33249 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33250 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33251 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33252 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33253 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33254 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33255 }, {
33256 .klen = 16,
33257 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33258 "\x74\x65\x72\x69\x79\x61\x6b\x69",
33259 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33260 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33261 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33262 "\x20\x47\x61\x75\x27\x73\x20\x43"
33263 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33264 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33265 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33266 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33267 .len = 64,
33268 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33269 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33270 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33271 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33272 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33273 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33274 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33275 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33276 }
33277};
33278
33279/*
33280 * Compression stuff.
33281 */
33282#define COMP_BUF_SIZE 512
33283
33284struct comp_testvec {
33285 int inlen, outlen;
33286 char input[COMP_BUF_SIZE];
33287 char output[COMP_BUF_SIZE];
33288};
33289
33290/*
33291 * Deflate test vectors (null-terminated strings).
33292 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33293 */
33294
33295static const struct comp_testvec deflate_comp_tv_template[] = {
33296 {
33297 .inlen = 70,
33298 .outlen = 38,
33299 .input = "Join us now and share the software "
33300 "Join us now and share the software ",
33301 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33302 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33303 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33304 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33305 "\x71\xbc\x08\x2b\x01\x00",
33306 }, {
33307 .inlen = 191,
33308 .outlen = 122,
33309 .input = "This document describes a compression method based on the DEFLATE"
33310 "compression algorithm. This document defines the application of "
33311 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33312 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33313 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33314 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33315 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33316 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33317 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33318 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33319 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33320 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33321 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33322 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33323 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33324 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33325 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33326 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33327 "\xfa\x02",
33328 },
33329};
33330
33331static const struct comp_testvec deflate_decomp_tv_template[] = {
33332 {
33333 .inlen = 122,
33334 .outlen = 191,
33335 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33336 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33337 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33338 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33339 "\x68\x12\x51\xae\x76\x67\xd6\x27"
33340 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33341 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33342 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33343 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33344 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33345 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33346 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33347 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33348 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33349 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33350 "\xfa\x02",
33351 .output = "This document describes a compression method based on the DEFLATE"
33352 "compression algorithm. This document defines the application of "
33353 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
33354 }, {
33355 .inlen = 38,
33356 .outlen = 70,
33357 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33358 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33359 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33360 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33361 "\x71\xbc\x08\x2b\x01\x00",
33362 .output = "Join us now and share the software "
33363 "Join us now and share the software ",
33364 },
33365};
33366
33367/*
33368 * LZO test vectors (null-terminated strings).
33369 */
33370static const struct comp_testvec lzo_comp_tv_template[] = {
33371 {
33372 .inlen = 70,
33373 .outlen = 57,
33374 .input = "Join us now and share the software "
33375 "Join us now and share the software ",
33376 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33377 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33378 "\x64\x20\x73\x68\x61\x72\x65\x20"
33379 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33380 "\x77\x70\x01\x32\x88\x00\x0c\x65"
33381 "\x20\x74\x68\x65\x20\x73\x6f\x66"
33382 "\x74\x77\x61\x72\x65\x20\x11\x00"
33383 "\x00",
33384 }, {
33385 .inlen = 159,
33386 .outlen = 131,
33387 .input = "This document describes a compression method based on the LZO "
33388 "compression algorithm. This document defines the application of "
33389 "the LZO algorithm used in UBIFS.",
33390 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
33391 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33392 "\x64\x65\x73\x63\x72\x69\x62\x65"
33393 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33394 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33395 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33396 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33397 "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33398 "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33399 "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33400 "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33401 "\x73\x20\x74\x06\x05\x61\x70\x70"
33402 "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33403 "\x66\x88\x02\x60\x09\x27\xf0\x00"
33404 "\x0c\x20\x75\x73\x65\x64\x20\x69"
33405 "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33406 "\x11\x00\x00",
33407 },
33408};
33409
33410static const struct comp_testvec lzo_decomp_tv_template[] = {
33411 {
33412 .inlen = 133,
33413 .outlen = 159,
33414 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
33415 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33416 "\x64\x65\x73\x63\x72\x69\x62\x65"
33417 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33418 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33419 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33420 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33421 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33422 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33423 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33424 "\x68\x69\x73\x2a\x54\x01\x02\x66"
33425 "\x69\x6e\x65\x73\x94\x06\x05\x61"
33426 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33427 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33428 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33429 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33430 "\x53\x2e\x11\x00\x00",
33431 .output = "This document describes a compression method based on the LZO "
33432 "compression algorithm. This document defines the application of "
33433 "the LZO algorithm used in UBIFS.",
33434 }, {
33435 .inlen = 46,
33436 .outlen = 70,
33437 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33438 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33439 "\x64\x20\x73\x68\x61\x72\x65\x20"
33440 "\x74\x68\x65\x20\x73\x6f\x66\x74"
33441 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33442 "\x3d\x88\x00\x11\x00\x00",
33443 .output = "Join us now and share the software "
33444 "Join us now and share the software ",
33445 },
33446};
33447
33448static const struct comp_testvec lzorle_comp_tv_template[] = {
33449 {
33450 .inlen = 70,
33451 .outlen = 59,
33452 .input = "Join us now and share the software "
33453 "Join us now and share the software ",
33454 .output = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
33455 "\x20\x75\x73\x20\x6e\x6f\x77\x20"
33456 "\x61\x6e\x64\x20\x73\x68\x61\x72"
33457 "\x65\x20\x74\x68\x65\x20\x73\x6f"
33458 "\x66\x74\x77\x70\x01\x32\x88\x00"
33459 "\x0c\x65\x20\x74\x68\x65\x20\x73"
33460 "\x6f\x66\x74\x77\x61\x72\x65\x20"
33461 "\x11\x00\x00",
33462 }, {
33463 .inlen = 159,
33464 .outlen = 133,
33465 .input = "This document describes a compression method based on the LZO "
33466 "compression algorithm. This document defines the application of "
33467 "the LZO algorithm used in UBIFS.",
33468 .output = "\x11\x01\x00\x2c\x54\x68\x69\x73"
33469 "\x20\x64\x6f\x63\x75\x6d\x65\x6e"
33470 "\x74\x20\x64\x65\x73\x63\x72\x69"
33471 "\x62\x65\x73\x20\x61\x20\x63\x6f"
33472 "\x6d\x70\x72\x65\x73\x73\x69\x6f"
33473 "\x6e\x20\x6d\x65\x74\x68\x6f\x64"
33474 "\x20\x62\x61\x73\x65\x64\x20\x6f"
33475 "\x6e\x20\x74\x68\x65\x20\x4c\x5a"
33476 "\x4f\x20\x2a\x8c\x00\x09\x61\x6c"
33477 "\x67\x6f\x72\x69\x74\x68\x6d\x2e"
33478 "\x20\x20\x2e\x54\x01\x03\x66\x69"
33479 "\x6e\x65\x73\x20\x74\x06\x05\x61"
33480 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33481 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33482 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33483 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33484 "\x53\x2e\x11\x00\x00",
33485 },
33486};
33487
33488static const struct comp_testvec lzorle_decomp_tv_template[] = {
33489 {
33490 .inlen = 133,
33491 .outlen = 159,
33492 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
33493 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33494 "\x64\x65\x73\x63\x72\x69\x62\x65"
33495 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33496 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33497 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33498 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33499 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33500 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33501 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33502 "\x68\x69\x73\x2a\x54\x01\x02\x66"
33503 "\x69\x6e\x65\x73\x94\x06\x05\x61"
33504 "\x70\x70\x6c\x69\x63\x61\x74\x76"
33505 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33506 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33507 "\x20\x69\x6e\x20\x55\x42\x49\x46"
33508 "\x53\x2e\x11\x00\x00",
33509 .output = "This document describes a compression method based on the LZO "
33510 "compression algorithm. This document defines the application of "
33511 "the LZO algorithm used in UBIFS.",
33512 }, {
33513 .inlen = 59,
33514 .outlen = 70,
33515 .input = "\x11\x01\x00\x0d\x4a\x6f\x69\x6e"
33516 "\x20\x75\x73\x20\x6e\x6f\x77\x20"
33517 "\x61\x6e\x64\x20\x73\x68\x61\x72"
33518 "\x65\x20\x74\x68\x65\x20\x73\x6f"
33519 "\x66\x74\x77\x70\x01\x32\x88\x00"
33520 "\x0c\x65\x20\x74\x68\x65\x20\x73"
33521 "\x6f\x66\x74\x77\x61\x72\x65\x20"
33522 "\x11\x00\x00",
33523 .output = "Join us now and share the software "
33524 "Join us now and share the software ",
33525 },
33526};
33527
33528/*
33529 * Michael MIC test vectors from IEEE 802.11i
33530 */
33531#define MICHAEL_MIC_TEST_VECTORS 6
33532
33533static const struct hash_testvec michael_mic_tv_template[] = {
33534 {
33535 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
33536 .ksize = 8,
33537 .plaintext = zeroed_string,
33538 .psize = 0,
33539 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33540 },
33541 {
33542 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33543 .ksize = 8,
33544 .plaintext = "M",
33545 .psize = 1,
33546 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33547 },
33548 {
33549 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33550 .ksize = 8,
33551 .plaintext = "Mi",
33552 .psize = 2,
33553 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33554 },
33555 {
33556 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33557 .ksize = 8,
33558 .plaintext = "Mic",
33559 .psize = 3,
33560 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33561 },
33562 {
33563 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33564 .ksize = 8,
33565 .plaintext = "Mich",
33566 .psize = 4,
33567 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33568 },
33569 {
33570 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33571 .ksize = 8,
33572 .plaintext = "Michael",
33573 .psize = 7,
33574 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
33575 }
33576};
33577
33578/*
33579 * CRC32 test vectors
33580 */
33581static const struct hash_testvec crc32_tv_template[] = {
33582 {
33583 .psize = 0,
33584 .digest = "\x00\x00\x00\x00",
33585 },
33586 {
33587 .plaintext = "abcdefg",
33588 .psize = 7,
33589 .digest = "\xd8\xb5\x46\xac",
33590 },
33591 {
33592 .key = "\x87\xa9\xcb\xed",
33593 .ksize = 4,
33594 .psize = 0,
33595 .digest = "\x87\xa9\xcb\xed",
33596 },
33597 {
33598 .key = "\xff\xff\xff\xff",
33599 .ksize = 4,
33600 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33601 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33602 "\x11\x12\x13\x14\x15\x16\x17\x18"
33603 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33604 "\x21\x22\x23\x24\x25\x26\x27\x28",
33605 .psize = 40,
33606 .digest = "\x3a\xdf\x4b\xb0",
33607 },
33608 {
33609 .key = "\xff\xff\xff\xff",
33610 .ksize = 4,
33611 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33612 "\x31\x32\x33\x34\x35\x36\x37\x38"
33613 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33614 "\x41\x42\x43\x44\x45\x46\x47\x48"
33615 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33616 .psize = 40,
33617 .digest = "\xa9\x7a\x7f\x7b",
33618 },
33619 {
33620 .key = "\xff\xff\xff\xff",
33621 .ksize = 4,
33622 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33623 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33624 "\x61\x62\x63\x64\x65\x66\x67\x68"
33625 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33626 "\x71\x72\x73\x74\x75\x76\x77\x78",
33627 .psize = 40,
33628 .digest = "\xba\xd3\xf8\x1c",
33629 },
33630 {
33631 .key = "\xff\xff\xff\xff",
33632 .ksize = 4,
33633 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33634 "\x81\x82\x83\x84\x85\x86\x87\x88"
33635 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33636 "\x91\x92\x93\x94\x95\x96\x97\x98"
33637 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33638 .psize = 40,
33639 .digest = "\xa8\xa9\xc2\x02",
33640 },
33641 {
33642 .key = "\xff\xff\xff\xff",
33643 .ksize = 4,
33644 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33645 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33646 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33647 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33648 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33649 .psize = 40,
33650 .digest = "\x27\xf0\x57\xe2",
33651 },
33652 {
33653 .key = "\xff\xff\xff\xff",
33654 .ksize = 4,
33655 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33656 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33657 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33658 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33659 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33660 .psize = 40,
33661 .digest = "\x49\x78\x10\x08",
33662 },
33663 {
33664 .key = "\x80\xea\xd3\xf1",
33665 .ksize = 4,
33666 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33667 "\x31\x32\x33\x34\x35\x36\x37\x38"
33668 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33669 "\x41\x42\x43\x44\x45\x46\x47\x48"
33670 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33671 .psize = 40,
33672 .digest = "\x9a\xb1\xdc\xf0",
33673 },
33674 {
33675 .key = "\xf3\x4a\x1d\x5d",
33676 .ksize = 4,
33677 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33678 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33679 "\x61\x62\x63\x64\x65\x66\x67\x68"
33680 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33681 "\x71\x72\x73\x74\x75\x76\x77\x78",
33682 .psize = 40,
33683 .digest = "\xb4\x97\xcc\xd4",
33684 },
33685 {
33686 .key = "\x2e\x80\x04\x59",
33687 .ksize = 4,
33688 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33689 "\x81\x82\x83\x84\x85\x86\x87\x88"
33690 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33691 "\x91\x92\x93\x94\x95\x96\x97\x98"
33692 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33693 .psize = 40,
33694 .digest = "\x67\x9b\xfa\x79",
33695 },
33696 {
33697 .key = "\xa6\xcc\x19\x85",
33698 .ksize = 4,
33699 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33700 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33701 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33702 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33703 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33704 .psize = 40,
33705 .digest = "\x24\xb5\x16\xef",
33706 },
33707 {
33708 .key = "\x41\xfc\xfe\x2d",
33709 .ksize = 4,
33710 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33711 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33712 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33713 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33714 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33715 .psize = 40,
33716 .digest = "\x15\x94\x80\x39",
33717 },
33718 {
33719 .key = "\xff\xff\xff\xff",
33720 .ksize = 4,
33721 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33722 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33723 "\x11\x12\x13\x14\x15\x16\x17\x18"
33724 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33725 "\x21\x22\x23\x24\x25\x26\x27\x28"
33726 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33727 "\x31\x32\x33\x34\x35\x36\x37\x38"
33728 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33729 "\x41\x42\x43\x44\x45\x46\x47\x48"
33730 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33731 "\x51\x52\x53\x54\x55\x56\x57\x58"
33732 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33733 "\x61\x62\x63\x64\x65\x66\x67\x68"
33734 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33735 "\x71\x72\x73\x74\x75\x76\x77\x78"
33736 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33737 "\x81\x82\x83\x84\x85\x86\x87\x88"
33738 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33739 "\x91\x92\x93\x94\x95\x96\x97\x98"
33740 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33741 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33742 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33743 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33744 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33745 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33746 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33747 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33748 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33749 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33750 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33751 .psize = 240,
33752 .digest = "\x6c\xc6\x56\xde",
33753 }, {
33754 .key = "\xff\xff\xff\xff",
33755 .ksize = 4,
33756 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33757 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33758 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33759 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33760 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33761 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33762 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33763 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33764 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33765 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33766 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33767 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33768 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33769 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33770 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33771 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33772 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33773 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33774 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33775 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
33776 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33777 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
33778 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33779 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33780 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33781 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33782 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33783 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33784 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33785 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
33786 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33787 "\x47\xde\x75\x0c\x80\x17\xae\x22"
33788 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33789 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33790 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33791 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33792 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33793 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33794 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33795 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33796 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33797 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33798 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33799 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33800 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33801 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33802 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33803 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33804 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33805 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33806 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33807 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33808 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33809 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33810 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33811 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33812 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33813 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33814 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33815 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33816 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33817 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33818 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33819 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33820 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33821 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33822 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33823 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33824 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33825 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33826 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33827 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33828 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33829 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33830 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33831 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33832 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33833 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33834 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33835 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33836 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33837 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33838 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33839 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33840 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33841 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33842 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33843 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33844 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33845 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33846 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33847 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33848 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33849 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33850 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33851 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33852 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33853 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33854 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33855 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33856 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33857 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33858 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33859 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33860 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33861 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33862 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33863 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33864 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33865 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33866 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33867 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33868 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33869 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33870 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33871 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33872 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33873 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33874 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33875 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33876 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33877 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33878 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33879 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33880 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33881 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33882 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33883 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33884 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33885 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33886 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33887 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33888 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33889 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33890 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33891 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33892 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33893 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33894 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33895 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33896 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33897 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33898 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33899 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33900 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33901 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33902 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33903 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33904 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33905 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33906 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33907 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33908 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33909 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33910 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33911 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33912 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33913 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33914 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
33915 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33916 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33917 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33918 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33919 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33920 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33921 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33922 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33923 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33924 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
33925 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33926 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33927 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33928 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33929 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33930 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33931 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33932 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33933 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33934 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33935 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33936 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33937 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33938 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
33939 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33940 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
33941 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33942 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33943 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33944 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33945 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33946 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33947 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33948 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
33949 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33950 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
33951 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33952 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33953 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33954 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
33955 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33956 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33957 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33958 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33959 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33960 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33961 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33962 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33963 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33964 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33965 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33966 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33967 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33968 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33969 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33970 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33971 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33972 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33973 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33974 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33975 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33976 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33977 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33978 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33979 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
33980 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
33981 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
33982 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
33983 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
33984 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
33985 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
33986 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
33987 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
33988 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
33989 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
33990 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
33991 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
33992 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
33993 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
33994 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
33995 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
33996 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
33997 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
33998 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
33999 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34000 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34001 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34002 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34003 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34004 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34005 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34006 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34007 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34008 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34009 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34010 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34011 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34012 .psize = 2048,
34013 .digest = "\xfb\x3a\x7a\xda",
34014 }
34015};
34016
34017/*
34018 * CRC32C test vectors
34019 */
34020static const struct hash_testvec crc32c_tv_template[] = {
34021 {
34022 .psize = 0,
34023 .digest = "\x00\x00\x00\x00",
34024 },
34025 {
34026 .plaintext = "abcdefg",
34027 .psize = 7,
34028 .digest = "\x41\xf4\x27\xe6",
34029 },
34030 {
34031 .key = "\x87\xa9\xcb\xed",
34032 .ksize = 4,
34033 .psize = 0,
34034 .digest = "\x78\x56\x34\x12",
34035 },
34036 {
34037 .key = "\xff\xff\xff\xff",
34038 .ksize = 4,
34039 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34040 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34041 "\x11\x12\x13\x14\x15\x16\x17\x18"
34042 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34043 "\x21\x22\x23\x24\x25\x26\x27\x28",
34044 .psize = 40,
34045 .digest = "\x7f\x15\x2c\x0e",
34046 },
34047 {
34048 .key = "\xff\xff\xff\xff",
34049 .ksize = 4,
34050 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34051 "\x31\x32\x33\x34\x35\x36\x37\x38"
34052 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34053 "\x41\x42\x43\x44\x45\x46\x47\x48"
34054 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34055 .psize = 40,
34056 .digest = "\xf6\xeb\x80\xe9",
34057 },
34058 {
34059 .key = "\xff\xff\xff\xff",
34060 .ksize = 4,
34061 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34062 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34063 "\x61\x62\x63\x64\x65\x66\x67\x68"
34064 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34065 "\x71\x72\x73\x74\x75\x76\x77\x78",
34066 .psize = 40,
34067 .digest = "\xed\xbd\x74\xde",
34068 },
34069 {
34070 .key = "\xff\xff\xff\xff",
34071 .ksize = 4,
34072 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34073 "\x81\x82\x83\x84\x85\x86\x87\x88"
34074 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34075 "\x91\x92\x93\x94\x95\x96\x97\x98"
34076 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34077 .psize = 40,
34078 .digest = "\x62\xc8\x79\xd5",
34079 },
34080 {
34081 .key = "\xff\xff\xff\xff",
34082 .ksize = 4,
34083 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34084 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34085 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34086 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34087 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34088 .psize = 40,
34089 .digest = "\xd0\x9a\x97\xba",
34090 },
34091 {
34092 .key = "\xff\xff\xff\xff",
34093 .ksize = 4,
34094 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34095 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34096 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34097 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34098 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34099 .psize = 40,
34100 .digest = "\x13\xd9\x29\x2b",
34101 },
34102 {
34103 .key = "\x80\xea\xd3\xf1",
34104 .ksize = 4,
34105 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34106 "\x31\x32\x33\x34\x35\x36\x37\x38"
34107 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34108 "\x41\x42\x43\x44\x45\x46\x47\x48"
34109 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34110 .psize = 40,
34111 .digest = "\x0c\xb5\xe2\xa2",
34112 },
34113 {
34114 .key = "\xf3\x4a\x1d\x5d",
34115 .ksize = 4,
34116 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34117 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34118 "\x61\x62\x63\x64\x65\x66\x67\x68"
34119 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34120 "\x71\x72\x73\x74\x75\x76\x77\x78",
34121 .psize = 40,
34122 .digest = "\xd1\x7f\xfb\xa6",
34123 },
34124 {
34125 .key = "\x2e\x80\x04\x59",
34126 .ksize = 4,
34127 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34128 "\x81\x82\x83\x84\x85\x86\x87\x88"
34129 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34130 "\x91\x92\x93\x94\x95\x96\x97\x98"
34131 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34132 .psize = 40,
34133 .digest = "\x59\x33\xe6\x7a",
34134 },
34135 {
34136 .key = "\xa6\xcc\x19\x85",
34137 .ksize = 4,
34138 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34139 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34140 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34141 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34142 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34143 .psize = 40,
34144 .digest = "\xbe\x03\x01\xd2",
34145 },
34146 {
34147 .key = "\x41\xfc\xfe\x2d",
34148 .ksize = 4,
34149 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34150 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34151 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34152 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34153 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34154 .psize = 40,
34155 .digest = "\x75\xd3\xc5\x24",
34156 },
34157 {
34158 .key = "\xff\xff\xff\xff",
34159 .ksize = 4,
34160 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34161 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34162 "\x11\x12\x13\x14\x15\x16\x17\x18"
34163 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34164 "\x21\x22\x23\x24\x25\x26\x27\x28"
34165 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34166 "\x31\x32\x33\x34\x35\x36\x37\x38"
34167 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34168 "\x41\x42\x43\x44\x45\x46\x47\x48"
34169 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34170 "\x51\x52\x53\x54\x55\x56\x57\x58"
34171 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34172 "\x61\x62\x63\x64\x65\x66\x67\x68"
34173 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34174 "\x71\x72\x73\x74\x75\x76\x77\x78"
34175 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34176 "\x81\x82\x83\x84\x85\x86\x87\x88"
34177 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34178 "\x91\x92\x93\x94\x95\x96\x97\x98"
34179 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34180 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34181 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34182 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34183 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34184 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34185 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34186 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34187 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34188 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34189 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34190 .psize = 240,
34191 .digest = "\x75\xd3\xc5\x24",
34192 }, {
34193 .key = "\xff\xff\xff\xff",
34194 .ksize = 4,
34195 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34196 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34197 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34198 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34199 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34200 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34201 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34202 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34203 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34204 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34205 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34206 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34207 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34208 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34209 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34210 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34211 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34212 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34213 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34214 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
34215 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34216 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
34217 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34218 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34219 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34220 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34221 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34222 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34223 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34224 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
34225 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34226 "\x47\xde\x75\x0c\x80\x17\xae\x22"
34227 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34228 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34229 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34230 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34231 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34232 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34233 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34234 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34235 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34236 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34237 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34238 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34239 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34240 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34241 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34242 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34243 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34244 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34245 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34246 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34247 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34248 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34249 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34250 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34251 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34252 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34253 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34254 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34255 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34256 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34257 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34258 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34259 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34260 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34261 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34262 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34263 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34264 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34265 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34266 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34267 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34268 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34269 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34270 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34271 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34272 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34273 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34274 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34275 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34276 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34277 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34278 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34279 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34280 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34281 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34282 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34283 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34284 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34285 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34286 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34287 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34288 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34289 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34290 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34291 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34292 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34293 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34294 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34295 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34296 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34297 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34298 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34299 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34300 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34301 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34302 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34303 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34304 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34305 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34306 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34307 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34308 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34309 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34310 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34311 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34312 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34313 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34314 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34315 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34316 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34317 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34318 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34319 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34320 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34321 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34322 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34323 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34324 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34325 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34326 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34327 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34328 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34329 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34330 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34331 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34332 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34333 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34334 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34335 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34336 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34337 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34338 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34339 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34340 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34341 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34342 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34343 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34344 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34345 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34346 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34347 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34348 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34349 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34350 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34351 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34352 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34353 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
34354 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34355 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34356 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34357 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34358 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34359 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34360 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34361 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34362 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34363 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
34364 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34365 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34366 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34367 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34368 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34369 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34370 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34371 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34372 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34373 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34374 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34375 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34376 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34377 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
34378 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34379 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
34380 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34381 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34382 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34383 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34384 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34385 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34386 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34387 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
34388 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34389 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
34390 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34391 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34392 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34393 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
34394 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34395 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34396 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34397 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34398 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34399 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34400 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34401 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34402 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34403 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34404 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34405 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34406 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34407 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34408 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34409 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34410 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34411 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34412 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34413 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34414 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34415 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34416 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34417 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34418 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34419 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34420 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34421 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34422 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34423 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34424 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34425 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34426 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34427 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34428 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34429 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
34430 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34431 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
34432 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34433 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34434 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34435 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34436 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34437 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34438 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34439 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34440 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34441 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34442 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34443 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34444 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34445 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34446 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34447 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
34448 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34449 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34450 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34451 .psize = 2048,
34452 .digest = "\xec\x26\x4d\x95",
34453 }
34454};
34455
34456static const struct hash_testvec xxhash64_tv_template[] = {
34457 {
34458 .psize = 0,
34459 .digest = "\x99\xe9\xd8\x51\x37\xdb\x46\xef",
34460 },
34461 {
34462 .plaintext = "\x40",
34463 .psize = 1,
34464 .digest = "\x20\x5c\x91\xaa\x88\xeb\x59\xd0",
34465 },
34466 {
34467 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34468 "\x88\xc7\x9a\x09\x1a\x9b",
34469 .psize = 14,
34470 .digest = "\xa8\xe8\x2b\xa9\x92\xa1\x37\x4a",
34471 },
34472 {
34473 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34474 "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
34475 "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
34476 "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
34477 "\x31\x65\x05\xbb\x31\xae\x51\x11"
34478 "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
34479 "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
34480 "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
34481 "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
34482 "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
34483 "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
34484 "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
34485 "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
34486 "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
34487 "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
34488 "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
34489 "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
34490 "\x43\x99\x4d\x81\x85\xae\x82\x00"
34491 "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
34492 "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
34493 "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
34494 "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
34495 "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
34496 "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
34497 "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
34498 "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
34499 "\x12\x02\x0c\xdb\x94\x00\x38\x95"
34500 "\xed\xfd\x08\xf7\xe8\x04",
34501 .psize = 222,
34502 .digest = "\x41\xfc\xd4\x29\xfe\xe7\x85\x17",
34503 },
34504 {
34505 .psize = 0,
34506 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34507 .ksize = 8,
34508 .digest = "\xef\x17\x9b\x92\xa2\xfd\x75\xac",
34509 },
34510
34511 {
34512 .plaintext = "\x40",
34513 .psize = 1,
34514 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34515 .ksize = 8,
34516 .digest = "\xd1\x70\x4f\x14\x02\xc4\x9e\x71",
34517 },
34518 {
34519 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34520 "\x88\xc7\x9a\x09\x1a\x9b",
34521 .psize = 14,
34522 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34523 .ksize = 8,
34524 .digest = "\xa4\xcd\xfe\x8e\x37\xe2\x1c\x64"
34525 },
34526 {
34527 .plaintext = "\x40\x8b\xb8\x41\xe4\x42\x15\x2d"
34528 "\x88\xc7\x9a\x09\x1a\x9b\x42\xe0"
34529 "\xd4\x38\xa5\x2a\x26\xa5\x19\x4b"
34530 "\x57\x65\x7f\xad\xc3\x7d\xca\x40"
34531 "\x31\x65\x05\xbb\x31\xae\x51\x11"
34532 "\xa8\xc0\xb3\x28\x42\xeb\x3c\x46"
34533 "\xc8\xed\xed\x0f\x8d\x0b\xfa\x6e"
34534 "\xbc\xe3\x88\x53\xca\x8f\xc8\xd9"
34535 "\x41\x26\x7a\x3d\x21\xdb\x1a\x3c"
34536 "\x01\x1d\xc9\xe9\xb7\x3a\x78\x67"
34537 "\x57\x20\x94\xf1\x1e\xfd\xce\x39"
34538 "\x99\x57\x69\x39\xa5\xd0\x8d\xd9"
34539 "\x43\xfe\x1d\x66\x04\x3c\x27\x6a"
34540 "\xe1\x0d\xe7\xc9\xfa\xc9\x07\x56"
34541 "\xa5\xb3\xec\xd9\x1f\x42\x65\x66"
34542 "\xaa\xbf\x87\x9b\xc5\x41\x9c\x27"
34543 "\x3f\x2f\xa9\x55\x93\x01\x27\x33"
34544 "\x43\x99\x4d\x81\x85\xae\x82\x00"
34545 "\x6c\xd0\xd1\xa3\x57\x18\x06\xcc"
34546 "\xec\x72\xf7\x8e\x87\x2d\x1f\x5e"
34547 "\xd7\x5b\x1f\x36\x4c\xfa\xfd\x18"
34548 "\x89\x76\xd3\x5e\xb5\x5a\xc0\x01"
34549 "\xd2\xa1\x9a\x50\xe6\x08\xb4\x76"
34550 "\x56\x4f\x0e\xbc\x54\xfc\x67\xe6"
34551 "\xb9\xc0\x28\x4b\xb5\xc3\xff\x79"
34552 "\x52\xea\xa1\x90\xc3\xaf\x08\x70"
34553 "\x12\x02\x0c\xdb\x94\x00\x38\x95"
34554 "\xed\xfd\x08\xf7\xe8\x04",
34555 .psize = 222,
34556 .key = "\xb1\x79\x37\x9e\x00\x00\x00\x00",
34557 .ksize = 8,
34558 .digest = "\x58\xbc\x55\xf2\x42\x81\x5c\xf0"
34559 },
34560};
34561
34562static const struct comp_testvec lz4_comp_tv_template[] = {
34563 {
34564 .inlen = 255,
34565 .outlen = 218,
34566 .input = "LZ4 is lossless compression algorithm, providing"
34567 " compression speed at 400 MB/s per core, scalable "
34568 "with multi-cores CPU. It features an extremely fast "
34569 "decoder, with speed in multiple GB/s per core, "
34570 "typically reaching RAM speed limits on multi-core "
34571 "systems.",
34572 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34573 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34574 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34575 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34576 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34577 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34578 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34579 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34580 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34581 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34582 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34583 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34584 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34585 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34586 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34587 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34588 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34589
34590 },
34591};
34592
34593static const struct comp_testvec lz4_decomp_tv_template[] = {
34594 {
34595 .inlen = 218,
34596 .outlen = 255,
34597 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34598 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34599 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34600 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34601 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34602 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34603 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34604 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34605 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34606 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34607 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34608 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34609 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34610 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34611 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34612 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34613 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34614 .output = "LZ4 is lossless compression algorithm, providing"
34615 " compression speed at 400 MB/s per core, scalable "
34616 "with multi-cores CPU. It features an extremely fast "
34617 "decoder, with speed in multiple GB/s per core, "
34618 "typically reaching RAM speed limits on multi-core "
34619 "systems.",
34620 },
34621};
34622
34623static const struct comp_testvec lz4hc_comp_tv_template[] = {
34624 {
34625 .inlen = 255,
34626 .outlen = 216,
34627 .input = "LZ4 is lossless compression algorithm, providing"
34628 " compression speed at 400 MB/s per core, scalable "
34629 "with multi-cores CPU. It features an extremely fast "
34630 "decoder, with speed in multiple GB/s per core, "
34631 "typically reaching RAM speed limits on multi-core "
34632 "systems.",
34633 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34634 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34635 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34636 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34637 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34638 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34639 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34640 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34641 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34642 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34643 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34644 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34645 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34646 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34647 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34648 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34649 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34650
34651 },
34652};
34653
34654static const struct comp_testvec lz4hc_decomp_tv_template[] = {
34655 {
34656 .inlen = 216,
34657 .outlen = 255,
34658 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34659 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34660 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34661 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34662 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34663 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34664 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34665 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34666 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34667 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34668 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34669 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34670 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34671 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34672 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34673 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34674 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34675 .output = "LZ4 is lossless compression algorithm, providing"
34676 " compression speed at 400 MB/s per core, scalable "
34677 "with multi-cores CPU. It features an extremely fast "
34678 "decoder, with speed in multiple GB/s per core, "
34679 "typically reaching RAM speed limits on multi-core "
34680 "systems.",
34681 },
34682};
34683
34684static const struct comp_testvec zstd_comp_tv_template[] = {
34685 {
34686 .inlen = 68,
34687 .outlen = 39,
34688 .input = "The algorithm is zstd. "
34689 "The algorithm is zstd. "
34690 "The algorithm is zstd.",
34691 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
34692 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
34693 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
34694 ,
34695 },
34696 {
34697 .inlen = 244,
34698 .outlen = 151,
34699 .input = "zstd, short for Zstandard, is a fast lossless "
34700 "compression algorithm, targeting real-time "
34701 "compression scenarios at zlib-level and better "
34702 "compression ratios. The zstd compression library "
34703 "provides in-memory compression and decompression "
34704 "functions.",
34705 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
34706 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
34707 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
34708 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
34709 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
34710 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
34711 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
34712 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
34713 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
34714 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
34715 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
34716 "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
34717 },
34718};
34719
34720static const struct comp_testvec zstd_decomp_tv_template[] = {
34721 {
34722 .inlen = 43,
34723 .outlen = 68,
34724 .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
34725 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
34726 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
34727 "\x6b\xf4\x13\x35",
34728 .output = "The algorithm is zstd. "
34729 "The algorithm is zstd. "
34730 "The algorithm is zstd.",
34731 },
34732 {
34733 .inlen = 155,
34734 .outlen = 244,
34735 .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
34736 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
34737 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
34738 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
34739 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
34740 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
34741 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
34742 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
34743 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
34744 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
34745 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
34746 "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
34747 .output = "zstd, short for Zstandard, is a fast lossless "
34748 "compression algorithm, targeting real-time "
34749 "compression scenarios at zlib-level and better "
34750 "compression ratios. The zstd compression library "
34751 "provides in-memory compression and decompression "
34752 "functions.",
34753 },
34754};
34755
34756/* based on aes_cbc_tv_template */
34757static const struct cipher_testvec essiv_aes_cbc_tv_template[] = {
34758 {
34759 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
34760 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
34761 .klen = 16,
34762 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
34763 "\x00\x00\x00\x00\x00\x00\x00\x00",
34764 .ptext = "Single block msg",
34765 .ctext = "\xfa\x59\xe7\x5f\x41\x56\x65\xc3"
34766 "\x36\xca\x6b\x72\x10\x9f\x8c\xd4",
34767 .len = 16,
34768 }, {
34769 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
34770 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
34771 .klen = 16,
34772 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
34773 "\x00\x00\x00\x00\x00\x00\x00\x00",
34774 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
34775 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
34776 "\x10\x11\x12\x13\x14\x15\x16\x17"
34777 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
34778 .ctext = "\xc8\x59\x9a\xfe\x79\xe6\x7b\x20"
34779 "\x06\x7d\x55\x0a\x5e\xc7\xb5\xa7"
34780 "\x0b\x9c\x80\xd2\x15\xa1\xb8\x6d"
34781 "\xc6\xab\x7b\x65\xd9\xfd\x88\xeb",
34782 .len = 32,
34783 }, {
34784 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
34785 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
34786 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
34787 .klen = 24,
34788 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
34789 "\x00\x00\x00\x00\x00\x00\x00\x00",
34790 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
34791 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
34792 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
34793 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
34794 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
34795 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
34796 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
34797 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
34798 .ctext = "\x96\x6d\xa9\x7a\x42\xe6\x01\xc7"
34799 "\x17\xfc\xa7\x41\xd3\x38\x0b\xe5"
34800 "\x51\x48\xf7\x7e\x5e\x26\xa9\xfe"
34801 "\x45\x72\x1c\xd9\xde\xab\xf3\x4d"
34802 "\x39\x47\xc5\x4f\x97\x3a\x55\x63"
34803 "\x80\x29\x64\x4c\x33\xe8\x21\x8a"
34804 "\x6a\xef\x6b\x6a\x8f\x43\xc0\xcb"
34805 "\xf0\xf3\x6e\x74\x54\x44\x92\x44",
34806 .len = 64,
34807 }, {
34808 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
34809 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
34810 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
34811 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
34812 .klen = 32,
34813 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
34814 "\x00\x00\x00\x00\x00\x00\x00\x00",
34815 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
34816 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
34817 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
34818 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
34819 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
34820 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
34821 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
34822 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
34823 .ctext = "\x24\x52\xf1\x48\x74\xd0\xa7\x93"
34824 "\x75\x9b\x63\x46\xc0\x1c\x1e\x17"
34825 "\x4d\xdc\x5b\x3a\x27\x93\x2a\x63"
34826 "\xf7\xf1\xc7\xb3\x54\x56\x5b\x50"
34827 "\xa3\x31\xa5\x8b\xd6\xfd\xb6\x3c"
34828 "\x8b\xf6\xf2\x45\x05\x0c\xc8\xbb"
34829 "\x32\x0b\x26\x1c\xe9\x8b\x02\xc0"
34830 "\xb2\x6f\x37\xa7\x5b\xa8\xa9\x42",
34831 .len = 64,
34832 }, {
34833 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
34834 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
34835 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
34836 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
34837 .klen = 32,
34838 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
34839 "\x00\x00\x00\x00\x00\x00\x00\x00",
34840 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
34841 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
34842 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
34843 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
34844 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
34845 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
34846 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
34847 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
34848 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
34849 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
34850 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
34851 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
34852 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
34853 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
34854 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
34855 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
34856 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
34857 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
34858 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
34859 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
34860 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
34861 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
34862 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
34863 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
34864 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
34865 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
34866 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
34867 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
34868 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
34869 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
34870 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
34871 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
34872 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
34873 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
34874 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
34875 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
34876 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
34877 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
34878 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
34879 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
34880 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
34881 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
34882 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
34883 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
34884 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
34885 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
34886 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
34887 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
34888 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
34889 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
34890 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
34891 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
34892 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
34893 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
34894 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
34895 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
34896 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
34897 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
34898 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
34899 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
34900 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
34901 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
34902 .ctext = "\x97\x7f\x69\x0f\x0f\x34\xa6\x33"
34903 "\x66\x49\x7e\xd0\x4d\x1b\xc9\x64"
34904 "\xf9\x61\x95\x98\x11\x00\x88\xf8"
34905 "\x2e\x88\x01\x0f\x2b\xe1\xae\x3e"
34906 "\xfe\xd6\x47\x30\x11\x68\x7d\x99"
34907 "\xad\x69\x6a\xe8\x41\x5f\x1e\x16"
34908 "\x00\x3a\x47\xdf\x8e\x7d\x23\x1c"
34909 "\x19\x5b\x32\x76\x60\x03\x05\xc1"
34910 "\xa0\xff\xcf\xcc\x74\x39\x46\x63"
34911 "\xfe\x5f\xa6\x35\xa7\xb4\xc1\xf9"
34912 "\x4b\x5e\x38\xcc\x8c\xc1\xa2\xcf"
34913 "\x9a\xc3\xae\x55\x42\x46\x93\xd9"
34914 "\xbd\x22\xd3\x8a\x19\x96\xc3\xb3"
34915 "\x7d\x03\x18\xf9\x45\x09\x9c\xc8"
34916 "\x90\xf3\x22\xb3\x25\x83\x9a\x75"
34917 "\xbb\x04\x48\x97\x3a\x63\x08\x04"
34918 "\xa0\x69\xf6\x52\xd4\x89\x93\x69"
34919 "\xb4\x33\xa2\x16\x58\xec\x4b\x26"
34920 "\x76\x54\x10\x0b\x6e\x53\x1e\xbc"
34921 "\x16\x18\x42\xb1\xb1\xd3\x4b\xda"
34922 "\x06\x9f\x8b\x77\xf7\xab\xd6\xed"
34923 "\xa3\x1d\x90\xda\x49\x38\x20\xb8"
34924 "\x6c\xee\xae\x3e\xae\x6c\x03\xb8"
34925 "\x0b\xed\xc8\xaa\x0e\xc5\x1f\x90"
34926 "\x60\xe2\xec\x1b\x76\xd0\xcf\xda"
34927 "\x29\x1b\xb8\x5a\xbc\xf4\xba\x13"
34928 "\x91\xa6\xcb\x83\x3f\xeb\xe9\x7b"
34929 "\x03\xba\x40\x9e\xe6\x7a\xb2\x4a"
34930 "\x73\x49\xfc\xed\xfb\x55\xa4\x24"
34931 "\xc7\xa4\xd7\x4b\xf5\xf7\x16\x62"
34932 "\x80\xd3\x19\x31\x52\x25\xa8\x69"
34933 "\xda\x9a\x87\xf5\xf2\xee\x5d\x61"
34934 "\xc1\x12\x72\x3e\x52\x26\x45\x3a"
34935 "\xd8\x9d\x57\xfa\x14\xe2\x9b\x2f"
34936 "\xd4\xaa\x5e\x31\xf4\x84\x89\xa4"
34937 "\xe3\x0e\xb0\x58\x41\x75\x6a\xcb"
34938 "\x30\x01\x98\x90\x15\x80\xf5\x27"
34939 "\x92\x13\x81\xf0\x1c\x1e\xfc\xb1"
34940 "\x33\xf7\x63\xb0\x67\xec\x2e\x5c"
34941 "\x85\xe3\x5b\xd0\x43\x8a\xb8\x5f"
34942 "\x44\x9f\xec\x19\xc9\x8f\xde\xdf"
34943 "\x79\xef\xf8\xee\x14\x87\xb3\x34"
34944 "\x76\x00\x3a\x9b\xc7\xed\xb1\x3d"
34945 "\xef\x07\xb0\xe4\xfd\x68\x9e\xeb"
34946 "\xc2\xb4\x1a\x85\x9a\x7d\x11\x88"
34947 "\xf8\xab\x43\x55\x2b\x8a\x4f\x60"
34948 "\x85\x9a\xf4\xba\xae\x48\x81\xeb"
34949 "\x93\x07\x97\x9e\xde\x2a\xfc\x4e"
34950 "\x31\xde\xaa\x44\xf7\x2a\xc3\xee"
34951 "\x60\xa2\x98\x2c\x0a\x88\x50\xc5"
34952 "\x6d\x89\xd3\xe4\xb6\xa7\xf4\xb0"
34953 "\xcf\x0e\x89\xe3\x5e\x8f\x82\xf4"
34954 "\x9d\xd1\xa9\x51\x50\x8a\xd2\x18"
34955 "\x07\xb2\xaa\x3b\x7f\x58\x9b\xf4"
34956 "\xb7\x24\x39\xd3\x66\x2f\x1e\xc0"
34957 "\x11\xa3\x56\x56\x2a\x10\x73\xbc"
34958 "\xe1\x23\xbf\xa9\x37\x07\x9c\xc3"
34959 "\xb2\xc9\xa8\x1c\x5b\x5c\x58\xa4"
34960 "\x77\x02\x26\xad\xc3\x40\x11\x53"
34961 "\x93\x68\x72\xde\x05\x8b\x10\xbc"
34962 "\xa6\xd4\x1b\xd9\x27\xd8\x16\x12"
34963 "\x61\x2b\x31\x2a\x44\x87\x96\x58",
34964 .len = 496,
34965 },
34966};
34967
34968/* based on hmac_sha256_aes_cbc_tv_temp */
34969static const struct aead_testvec essiv_hmac_sha256_aes_cbc_tv_temp[] = {
34970 {
34971#ifdef __LITTLE_ENDIAN
34972 .key = "\x08\x00" /* rta length */
34973 "\x01\x00" /* rta type */
34974#else
34975 .key = "\x00\x08" /* rta length */
34976 "\x00\x01" /* rta type */
34977#endif
34978 "\x00\x00\x00\x10" /* enc key length */
34979 "\x00\x00\x00\x00\x00\x00\x00\x00"
34980 "\x00\x00\x00\x00\x00\x00\x00\x00"
34981 "\x00\x00\x00\x00\x00\x00\x00\x00"
34982 "\x00\x00\x00\x00\x00\x00\x00\x00"
34983 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
34984 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
34985 .klen = 8 + 32 + 16,
34986 .iv = "\xb3\x0c\x5a\x11\x41\xad\xc1\x04"
34987 "\xbc\x1e\x7e\x35\xb0\x5d\x78\x29",
34988 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
34989 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
34990 .alen = 16,
34991 .ptext = "Single block msg",
34992 .plen = 16,
34993 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
34994 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
34995 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
34996 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
34997 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
34998 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
34999 .clen = 16 + 32,
35000 }, {
35001#ifdef __LITTLE_ENDIAN
35002 .key = "\x08\x00" /* rta length */
35003 "\x01\x00" /* rta type */
35004#else
35005 .key = "\x00\x08" /* rta length */
35006 "\x00\x01" /* rta type */
35007#endif
35008 "\x00\x00\x00\x10" /* enc key length */
35009 "\x20\x21\x22\x23\x24\x25\x26\x27"
35010 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35011 "\x30\x31\x32\x33\x34\x35\x36\x37"
35012 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
35013 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
35014 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
35015 .klen = 8 + 32 + 16,
35016 .iv = "\x56\xe8\x14\xa5\x74\x18\x75\x13"
35017 "\x2f\x79\xe7\xc8\x65\xe3\x48\x45",
35018 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
35019 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
35020 .alen = 16,
35021 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
35022 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35023 "\x10\x11\x12\x13\x14\x15\x16\x17"
35024 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
35025 .plen = 32,
35026 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
35027 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
35028 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
35029 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
35030 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
35031 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
35032 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
35033 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
35034 .clen = 32 + 32,
35035 }, {
35036#ifdef __LITTLE_ENDIAN
35037 .key = "\x08\x00" /* rta length */
35038 "\x01\x00" /* rta type */
35039#else
35040 .key = "\x00\x08" /* rta length */
35041 "\x00\x01" /* rta type */
35042#endif
35043 "\x00\x00\x00\x10" /* enc key length */
35044 "\x11\x22\x33\x44\x55\x66\x77\x88"
35045 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35046 "\x22\x33\x44\x55\x66\x77\x88\x99"
35047 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35048 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
35049 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
35050 .klen = 8 + 32 + 16,
35051 .iv = "\x1f\x6b\xfb\xd6\x6b\x72\x2f\xc9"
35052 "\xb6\x9f\x8c\x10\xa8\x96\x15\x64",
35053 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
35054 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
35055 .alen = 16,
35056 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
35057 .plen = 48,
35058 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
35059 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
35060 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
35061 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
35062 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
35063 "\x85\x79\x69\x5d\x83\xba\x26\x84"
35064 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
35065 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
35066 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
35067 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
35068 .clen = 48 + 32,
35069 }, {
35070#ifdef __LITTLE_ENDIAN
35071 .key = "\x08\x00" /* rta length */
35072 "\x01\x00" /* rta type */
35073#else
35074 .key = "\x00\x08" /* rta length */
35075 "\x00\x01" /* rta type */
35076#endif
35077 "\x00\x00\x00\x10" /* enc key length */
35078 "\x11\x22\x33\x44\x55\x66\x77\x88"
35079 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35080 "\x22\x33\x44\x55\x66\x77\x88\x99"
35081 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35082 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
35083 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
35084 .klen = 8 + 32 + 16,
35085 .iv = "\x13\xe5\xf2\xef\x61\x97\x59\x35"
35086 "\x9b\x36\x84\x46\x4e\x63\xd1\x41",
35087 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
35088 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
35089 .alen = 16,
35090 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
35091 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
35092 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
35093 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
35094 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
35095 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
35096 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
35097 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
35098 .plen = 64,
35099 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
35100 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
35101 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
35102 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
35103 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
35104 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
35105 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
35106 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
35107 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
35108 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
35109 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
35110 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
35111 .clen = 64 + 32,
35112 }, {
35113#ifdef __LITTLE_ENDIAN
35114 .key = "\x08\x00" /* rta length */
35115 "\x01\x00" /* rta type */
35116#else
35117 .key = "\x00\x08" /* rta length */
35118 "\x00\x01" /* rta type */
35119#endif
35120 "\x00\x00\x00\x10" /* enc key length */
35121 "\x11\x22\x33\x44\x55\x66\x77\x88"
35122 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35123 "\x22\x33\x44\x55\x66\x77\x88\x99"
35124 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35125 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
35126 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
35127 .klen = 8 + 32 + 16,
35128 .iv = "\xe4\x13\xa1\x15\xe9\x6b\xb8\x23"
35129 "\x81\x7a\x94\x29\xab\xfd\xd2\x2c",
35130 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
35131 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
35132 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
35133 .alen = 24,
35134 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
35135 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
35136 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35137 "\x10\x11\x12\x13\x14\x15\x16\x17"
35138 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
35139 "\x20\x21\x22\x23\x24\x25\x26\x27"
35140 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35141 "\x30\x31\x32\x33\x34\x35\x36\x37"
35142 "\x01\x02\x03\x04\x05\x06\x07\x08"
35143 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
35144 .plen = 80,
35145 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
35146 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
35147 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
35148 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
35149 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
35150 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
35151 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
35152 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
35153 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
35154 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
35155 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
35156 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
35157 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
35158 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
35159 .clen = 80 + 32,
35160 }, {
35161#ifdef __LITTLE_ENDIAN
35162 .key = "\x08\x00" /* rta length */
35163 "\x01\x00" /* rta type */
35164#else
35165 .key = "\x00\x08" /* rta length */
35166 "\x00\x01" /* rta type */
35167#endif
35168 "\x00\x00\x00\x18" /* enc key length */
35169 "\x11\x22\x33\x44\x55\x66\x77\x88"
35170 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
35171 "\x22\x33\x44\x55\x66\x77\x88\x99"
35172 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
35173 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
35174 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
35175 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
35176 .klen = 8 + 32 + 24,
35177 .iv = "\x49\xca\x41\xc9\x6b\xbf\x6c\x98"
35178 "\x38\x2f\xa7\x3d\x4d\x80\x49\xb0",
35179 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
35180 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
35181 .alen = 16,
35182 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35183 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35184 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35185 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35186 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35187 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35188 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35189 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35190 .plen = 64,
35191 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
35192 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
35193 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
35194 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
35195 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
35196 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
35197 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
35198 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
35199 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
35200 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
35201 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
35202 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
35203 .clen = 64 + 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\x20" /* 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 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
35218 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
35219 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
35220 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
35221 .klen = 8 + 32 + 32,
35222 .iv = "\xdf\xab\xf2\x7c\xdc\xe0\x33\x4c"
35223 "\xf9\x75\xaf\xf9\x2f\x60\x3a\x9b",
35224 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
35225 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
35226 .alen = 16,
35227 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
35228 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
35229 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
35230 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
35231 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
35232 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
35233 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
35234 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
35235 .plen = 64,
35236 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
35237 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
35238 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
35239 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
35240 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
35241 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
35242 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
35243 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
35244 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
35245 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
35246 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
35247 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
35248 .clen = 64 + 32,
35249 },
35250};
35251
35252static const char blake2_ordered_sequence[] =
35253 "\x00\x01\x02\x03\x04\x05\x06\x07"
35254 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
35255 "\x10\x11\x12\x13\x14\x15\x16\x17"
35256 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
35257 "\x20\x21\x22\x23\x24\x25\x26\x27"
35258 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
35259 "\x30\x31\x32\x33\x34\x35\x36\x37"
35260 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
35261 "\x40\x41\x42\x43\x44\x45\x46\x47"
35262 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
35263 "\x50\x51\x52\x53\x54\x55\x56\x57"
35264 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
35265 "\x60\x61\x62\x63\x64\x65\x66\x67"
35266 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
35267 "\x70\x71\x72\x73\x74\x75\x76\x77"
35268 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
35269 "\x80\x81\x82\x83\x84\x85\x86\x87"
35270 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
35271 "\x90\x91\x92\x93\x94\x95\x96\x97"
35272 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
35273 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
35274 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
35275 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
35276 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
35277 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
35278 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
35279 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
35280 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
35281 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
35282 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
35283 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
35284 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
35285
35286static const struct hash_testvec blake2b_160_tv_template[] = {{
35287 .digest = (u8[]){ 0x33, 0x45, 0x52, 0x4a, 0xbf, 0x6b, 0xbe, 0x18,
35288 0x09, 0x44, 0x92, 0x24, 0xb5, 0x97, 0x2c, 0x41,
35289 0x79, 0x0b, 0x6c, 0xf2, },
35290}, {
35291 .plaintext = blake2_ordered_sequence,
35292 .psize = 64,
35293 .digest = (u8[]){ 0x11, 0xcc, 0x66, 0x61, 0xe9, 0x22, 0xb0, 0xe4,
35294 0x07, 0xe0, 0xa5, 0x72, 0x49, 0xc3, 0x8d, 0x4f,
35295 0xf7, 0x6d, 0x8e, 0xc8, },
35296}, {
35297 .ksize = 32,
35298 .key = blake2_ordered_sequence,
35299 .plaintext = blake2_ordered_sequence,
35300 .psize = 1,
35301 .digest = (u8[]){ 0x31, 0xe3, 0xd9, 0xd5, 0x4e, 0x72, 0xd8, 0x0b,
35302 0x2b, 0x3b, 0xd7, 0x6b, 0x82, 0x7a, 0x1d, 0xfb,
35303 0x56, 0x2f, 0x79, 0x4c, },
35304}, {
35305 .ksize = 64,
35306 .key = blake2_ordered_sequence,
35307 .plaintext = blake2_ordered_sequence,
35308 .psize = 7,
35309 .digest = (u8[]){ 0x28, 0x20, 0xd1, 0xbe, 0x7f, 0xcc, 0xc1, 0x62,
35310 0xd9, 0x0d, 0x9a, 0x4b, 0x47, 0xd1, 0x5e, 0x04,
35311 0x74, 0x2a, 0x53, 0x17, },
35312}, {
35313 .ksize = 1,
35314 .key = "B",
35315 .plaintext = blake2_ordered_sequence,
35316 .psize = 15,
35317 .digest = (u8[]){ 0x45, 0xe9, 0x95, 0xb6, 0xc4, 0xe8, 0x22, 0xea,
35318 0xfe, 0xd2, 0x37, 0xdb, 0x46, 0xbf, 0xf1, 0x25,
35319 0xd5, 0x03, 0x1d, 0x81, },
35320}, {
35321 .ksize = 32,
35322 .key = blake2_ordered_sequence,
35323 .plaintext = blake2_ordered_sequence,
35324 .psize = 247,
35325 .digest = (u8[]){ 0x7e, 0xb9, 0xf2, 0x9b, 0x2f, 0xc2, 0x01, 0xd4,
35326 0xb0, 0x4f, 0x08, 0x2b, 0x8e, 0xbd, 0x06, 0xef,
35327 0x1c, 0xc4, 0x25, 0x95, },
35328}, {
35329 .ksize = 64,
35330 .key = blake2_ordered_sequence,
35331 .plaintext = blake2_ordered_sequence,
35332 .psize = 256,
35333 .digest = (u8[]){ 0x6e, 0x35, 0x01, 0x70, 0xbf, 0xb6, 0xc4, 0xba,
35334 0x33, 0x1b, 0xa6, 0xd3, 0xc2, 0x5d, 0xb4, 0x03,
35335 0x95, 0xaf, 0x29, 0x16, },
35336}};
35337
35338static const struct hash_testvec blake2b_256_tv_template[] = {{
35339 .plaintext = blake2_ordered_sequence,
35340 .psize = 7,
35341 .digest = (u8[]){ 0x9d, 0xf1, 0x4b, 0x72, 0x48, 0x76, 0x4a, 0x86,
35342 0x91, 0x97, 0xc3, 0x5e, 0x39, 0x2d, 0x2a, 0x6d,
35343 0x6f, 0xdc, 0x5b, 0x79, 0xd5, 0x97, 0x29, 0x79,
35344 0x20, 0xfd, 0x3f, 0x14, 0x91, 0xb4, 0x42, 0xd2, },
35345}, {
35346 .plaintext = blake2_ordered_sequence,
35347 .psize = 256,
35348 .digest = (u8[]){ 0x39, 0xa7, 0xeb, 0x9f, 0xed, 0xc1, 0x9a, 0xab,
35349 0xc8, 0x34, 0x25, 0xc6, 0x75, 0x5d, 0xd9, 0x0e,
35350 0x6f, 0x9d, 0x0c, 0x80, 0x49, 0x64, 0xa1, 0xf4,
35351 0xaa, 0xee, 0xa3, 0xb9, 0xfb, 0x59, 0x98, 0x35, },
35352}, {
35353 .ksize = 1,
35354 .key = "B",
35355 .digest = (u8[]){ 0xc3, 0x08, 0xb1, 0xbf, 0xe4, 0xf9, 0xbc, 0xb4,
35356 0x75, 0xaf, 0x3f, 0x59, 0x6e, 0xae, 0xde, 0x6a,
35357 0xa3, 0x8e, 0xb5, 0x94, 0xad, 0x30, 0xf0, 0x17,
35358 0x1c, 0xfb, 0xd8, 0x3e, 0x8a, 0xbe, 0xed, 0x9c, },
35359}, {
35360 .ksize = 64,
35361 .key = blake2_ordered_sequence,
35362 .plaintext = blake2_ordered_sequence,
35363 .psize = 1,
35364 .digest = (u8[]){ 0x34, 0x75, 0x8b, 0x64, 0x71, 0x35, 0x62, 0x82,
35365 0x97, 0xfb, 0x09, 0xc7, 0x93, 0x0c, 0xd0, 0x4e,
35366 0x95, 0x28, 0xe5, 0x66, 0x91, 0x12, 0xf5, 0xb1,
35367 0x31, 0x84, 0x93, 0xe1, 0x4d, 0xe7, 0x7e, 0x55, },
35368}, {
35369 .ksize = 32,
35370 .key = blake2_ordered_sequence,
35371 .plaintext = blake2_ordered_sequence,
35372 .psize = 15,
35373 .digest = (u8[]){ 0xce, 0x74, 0xa9, 0x2e, 0xe9, 0x40, 0x3d, 0xa2,
35374 0x11, 0x4a, 0x99, 0x25, 0x7a, 0x34, 0x5d, 0x35,
35375 0xdf, 0x6a, 0x48, 0x79, 0x2a, 0x93, 0x93, 0xff,
35376 0x1f, 0x3c, 0x39, 0xd0, 0x71, 0x1f, 0x20, 0x7b, },
35377}, {
35378 .ksize = 1,
35379 .key = "B",
35380 .plaintext = blake2_ordered_sequence,
35381 .psize = 64,
35382 .digest = (u8[]){ 0x2e, 0x84, 0xdb, 0xa2, 0x5f, 0x0e, 0xe9, 0x52,
35383 0x79, 0x50, 0x69, 0x9f, 0xf1, 0xfd, 0xfc, 0x9d,
35384 0x89, 0x83, 0xa9, 0xb6, 0xa4, 0xd5, 0xfa, 0xb5,
35385 0xbe, 0x35, 0x1a, 0x17, 0x8a, 0x2c, 0x7f, 0x7d, },
35386}, {
35387 .ksize = 64,
35388 .key = blake2_ordered_sequence,
35389 .plaintext = blake2_ordered_sequence,
35390 .psize = 247,
35391 .digest = (u8[]){ 0x2e, 0x26, 0xf0, 0x09, 0x02, 0x65, 0x90, 0x09,
35392 0xcc, 0xf5, 0x4c, 0x44, 0x74, 0x0e, 0xa0, 0xa8,
35393 0x25, 0x4a, 0xda, 0x61, 0x56, 0x95, 0x7d, 0x3f,
35394 0x6d, 0xc0, 0x43, 0x17, 0x95, 0x89, 0xcd, 0x9d, },
35395}};
35396
35397static const struct hash_testvec blake2b_384_tv_template[] = {{
35398 .plaintext = blake2_ordered_sequence,
35399 .psize = 1,
35400 .digest = (u8[]){ 0xcc, 0x01, 0x08, 0x85, 0x36, 0xf7, 0x84, 0xf0,
35401 0xbb, 0x76, 0x9e, 0x41, 0xc4, 0x95, 0x7b, 0x6d,
35402 0x0c, 0xde, 0x1f, 0xcc, 0x8c, 0xf1, 0xd9, 0x1f,
35403 0xc4, 0x77, 0xd4, 0xdd, 0x6e, 0x3f, 0xbf, 0xcd,
35404 0x43, 0xd1, 0x69, 0x8d, 0x14, 0x6f, 0x34, 0x8b,
35405 0x2c, 0x36, 0xa3, 0x39, 0x68, 0x2b, 0xec, 0x3f, },
35406}, {
35407 .plaintext = blake2_ordered_sequence,
35408 .psize = 247,
35409 .digest = (u8[]){ 0xc8, 0xf8, 0xf0, 0xa2, 0x69, 0xfa, 0xcc, 0x4d,
35410 0x32, 0x5f, 0x13, 0x88, 0xca, 0x71, 0x99, 0x8f,
35411 0xf7, 0x30, 0x41, 0x5d, 0x6e, 0x34, 0xb7, 0x6e,
35412 0x3e, 0xd0, 0x46, 0xb6, 0xca, 0x30, 0x66, 0xb2,
35413 0x6f, 0x0c, 0x35, 0x54, 0x17, 0xcd, 0x26, 0x1b,
35414 0xef, 0x48, 0x98, 0xe0, 0x56, 0x7c, 0x05, 0xd2, },
35415}, {
35416 .ksize = 32,
35417 .key = blake2_ordered_sequence,
35418 .digest = (u8[]){ 0x15, 0x09, 0x7a, 0x90, 0x13, 0x23, 0xab, 0x0c,
35419 0x0b, 0x43, 0x21, 0x9a, 0xb5, 0xc6, 0x0c, 0x2e,
35420 0x7c, 0x57, 0xfc, 0xcc, 0x4b, 0x0f, 0xf0, 0x57,
35421 0xb7, 0x9c, 0xe7, 0x0f, 0xe1, 0x57, 0xac, 0x37,
35422 0x77, 0xd4, 0xf4, 0x2f, 0x03, 0x3b, 0x64, 0x09,
35423 0x84, 0xa0, 0xb3, 0x24, 0xb7, 0xae, 0x47, 0x5e, },
35424}, {
35425 .ksize = 1,
35426 .key = "B",
35427 .plaintext = blake2_ordered_sequence,
35428 .psize = 7,
35429 .digest = (u8[]){ 0x0b, 0x82, 0x88, 0xca, 0x05, 0x2f, 0x1b, 0x15,
35430 0xdc, 0xbb, 0x22, 0x27, 0x11, 0x6b, 0xf4, 0xd1,
35431 0xe9, 0x8f, 0x1b, 0x0b, 0x58, 0x3f, 0x5e, 0x86,
35432 0x80, 0x82, 0x6f, 0x8e, 0x54, 0xc1, 0x9f, 0x12,
35433 0xcf, 0xe9, 0x56, 0xc1, 0xfc, 0x1a, 0x08, 0xb9,
35434 0x4a, 0x57, 0x0a, 0x76, 0x3c, 0x15, 0x33, 0x18, },
35435}, {
35436 .ksize = 64,
35437 .key = blake2_ordered_sequence,
35438 .plaintext = blake2_ordered_sequence,
35439 .psize = 15,
35440 .digest = (u8[]){ 0x4a, 0x81, 0x55, 0xb9, 0x79, 0x42, 0x8c, 0xc6,
35441 0x4f, 0xfe, 0xca, 0x82, 0x3b, 0xb2, 0xf7, 0xbc,
35442 0x5e, 0xfc, 0xab, 0x09, 0x1c, 0xd6, 0x3b, 0xe1,
35443 0x50, 0x82, 0x3b, 0xde, 0xc7, 0x06, 0xee, 0x3b,
35444 0x29, 0xce, 0xe5, 0x68, 0xe0, 0xff, 0xfa, 0xe1,
35445 0x7a, 0xf1, 0xc0, 0xfe, 0x57, 0xf4, 0x60, 0x49, },
35446}, {
35447 .ksize = 32,
35448 .key = blake2_ordered_sequence,
35449 .plaintext = blake2_ordered_sequence,
35450 .psize = 64,
35451 .digest = (u8[]){ 0x34, 0xbd, 0xe1, 0x99, 0x43, 0x9f, 0x82, 0x72,
35452 0xe7, 0xed, 0x94, 0x9e, 0xe1, 0x84, 0xee, 0x82,
35453 0xfd, 0x26, 0x23, 0xc4, 0x17, 0x8d, 0xf5, 0x04,
35454 0xeb, 0xb7, 0xbc, 0xb8, 0xf3, 0x68, 0xb7, 0xad,
35455 0x94, 0x8e, 0x05, 0x3f, 0x8a, 0x5d, 0x8d, 0x81,
35456 0x3e, 0x88, 0xa7, 0x8c, 0xa2, 0xd5, 0xdc, 0x76, },
35457}, {
35458 .ksize = 1,
35459 .key = "B",
35460 .plaintext = blake2_ordered_sequence,
35461 .psize = 256,
35462 .digest = (u8[]){ 0x22, 0x14, 0xf4, 0xb0, 0x4c, 0xa8, 0xb5, 0x7d,
35463 0xa7, 0x5c, 0x04, 0xeb, 0xd8, 0x8d, 0x04, 0x71,
35464 0xc7, 0x3c, 0xc7, 0x6e, 0x8b, 0x20, 0x36, 0x40,
35465 0x9d, 0xd0, 0x60, 0xc6, 0xe3, 0x0b, 0x6e, 0x50,
35466 0xf5, 0xaf, 0xf5, 0xc6, 0x3b, 0xe3, 0x84, 0x6a,
35467 0x93, 0x1b, 0x12, 0xd6, 0x18, 0x27, 0xba, 0x36, },
35468}};
35469
35470static const struct hash_testvec blake2b_512_tv_template[] = {{
35471 .plaintext = blake2_ordered_sequence,
35472 .psize = 15,
35473 .digest = (u8[]){ 0x44, 0x4b, 0x24, 0x0f, 0xe3, 0xed, 0x86, 0xd0,
35474 0xe2, 0xef, 0x4c, 0xe7, 0xd8, 0x51, 0xed, 0xde,
35475 0x22, 0x15, 0x55, 0x82, 0xaa, 0x09, 0x14, 0x79,
35476 0x7b, 0x72, 0x6c, 0xd0, 0x58, 0xb6, 0xf4, 0x59,
35477 0x32, 0xe0, 0xe1, 0x29, 0x51, 0x68, 0x76, 0x52,
35478 0x7b, 0x1d, 0xd8, 0x8f, 0xc6, 0x6d, 0x71, 0x19,
35479 0xf4, 0xab, 0x3b, 0xed, 0x93, 0xa6, 0x1a, 0x0e,
35480 0x2d, 0x2d, 0x2a, 0xea, 0xc3, 0x36, 0xd9, 0x58, },
35481}, {
35482 .ksize = 64,
35483 .key = blake2_ordered_sequence,
35484 .digest = (u8[]){ 0x10, 0xeb, 0xb6, 0x77, 0x00, 0xb1, 0x86, 0x8e,
35485 0xfb, 0x44, 0x17, 0x98, 0x7a, 0xcf, 0x46, 0x90,
35486 0xae, 0x9d, 0x97, 0x2f, 0xb7, 0xa5, 0x90, 0xc2,
35487 0xf0, 0x28, 0x71, 0x79, 0x9a, 0xaa, 0x47, 0x86,
35488 0xb5, 0xe9, 0x96, 0xe8, 0xf0, 0xf4, 0xeb, 0x98,
35489 0x1f, 0xc2, 0x14, 0xb0, 0x05, 0xf4, 0x2d, 0x2f,
35490 0xf4, 0x23, 0x34, 0x99, 0x39, 0x16, 0x53, 0xdf,
35491 0x7a, 0xef, 0xcb, 0xc1, 0x3f, 0xc5, 0x15, 0x68, },
35492}, {
35493 .ksize = 1,
35494 .key = "B",
35495 .plaintext = blake2_ordered_sequence,
35496 .psize = 1,
35497 .digest = (u8[]){ 0xd2, 0x11, 0x31, 0x29, 0x3f, 0xea, 0xca, 0x72,
35498 0x21, 0xe4, 0x06, 0x65, 0x05, 0x2a, 0xd1, 0x02,
35499 0xc0, 0x8d, 0x7b, 0xf1, 0x09, 0x3c, 0xef, 0x88,
35500 0xe1, 0x68, 0x0c, 0xf1, 0x3b, 0xa4, 0xe3, 0x03,
35501 0xed, 0xa0, 0xe3, 0x60, 0x58, 0xa0, 0xdb, 0x52,
35502 0x8a, 0x66, 0x43, 0x09, 0x60, 0x1a, 0xbb, 0x67,
35503 0xc5, 0x84, 0x31, 0x40, 0xfa, 0xde, 0xc1, 0xd0,
35504 0xff, 0x3f, 0x4a, 0x69, 0xd9, 0x92, 0x26, 0x86, },
35505}, {
35506 .ksize = 32,
35507 .key = blake2_ordered_sequence,
35508 .plaintext = blake2_ordered_sequence,
35509 .psize = 7,
35510 .digest = (u8[]){ 0xa3, 0x3e, 0x50, 0xbc, 0xfb, 0xd9, 0xf0, 0x82,
35511 0xa6, 0xd1, 0xdf, 0xaf, 0x82, 0xd0, 0xcf, 0x84,
35512 0x9a, 0x25, 0x3c, 0xae, 0x6d, 0xb5, 0xaf, 0x01,
35513 0xd7, 0xaf, 0xed, 0x50, 0xdc, 0xe2, 0xba, 0xcc,
35514 0x8c, 0x38, 0xf5, 0x16, 0x89, 0x38, 0x86, 0xce,
35515 0x68, 0x10, 0x63, 0x64, 0xa5, 0x79, 0x53, 0xb5,
35516 0x2e, 0x8e, 0xbc, 0x0a, 0xce, 0x95, 0xc0, 0x1e,
35517 0x69, 0x59, 0x1d, 0x3b, 0xd8, 0x19, 0x90, 0xd7, },
35518}, {
35519 .ksize = 64,
35520 .key = blake2_ordered_sequence,
35521 .plaintext = blake2_ordered_sequence,
35522 .psize = 64,
35523 .digest = (u8[]){ 0x65, 0x67, 0x6d, 0x80, 0x06, 0x17, 0x97, 0x2f,
35524 0xbd, 0x87, 0xe4, 0xb9, 0x51, 0x4e, 0x1c, 0x67,
35525 0x40, 0x2b, 0x7a, 0x33, 0x10, 0x96, 0xd3, 0xbf,
35526 0xac, 0x22, 0xf1, 0xab, 0xb9, 0x53, 0x74, 0xab,
35527 0xc9, 0x42, 0xf1, 0x6e, 0x9a, 0xb0, 0xea, 0xd3,
35528 0x3b, 0x87, 0xc9, 0x19, 0x68, 0xa6, 0xe5, 0x09,
35529 0xe1, 0x19, 0xff, 0x07, 0x78, 0x7b, 0x3e, 0xf4,
35530 0x83, 0xe1, 0xdc, 0xdc, 0xcf, 0x6e, 0x30, 0x22, },
35531}, {
35532 .ksize = 1,
35533 .key = "B",
35534 .plaintext = blake2_ordered_sequence,
35535 .psize = 247,
35536 .digest = (u8[]){ 0xc2, 0x96, 0x2c, 0x6b, 0x84, 0xff, 0xee, 0xea,
35537 0x9b, 0xb8, 0x55, 0x2d, 0x6b, 0xa5, 0xd5, 0xe5,
35538 0xbd, 0xb1, 0x54, 0xb6, 0x1e, 0xfb, 0x63, 0x16,
35539 0x6e, 0x22, 0x04, 0xf0, 0x82, 0x7a, 0xc6, 0x99,
35540 0xf7, 0x4c, 0xff, 0x93, 0x71, 0x57, 0x64, 0xd0,
35541 0x08, 0x60, 0x39, 0x98, 0xb8, 0xd2, 0x2b, 0x4e,
35542 0x81, 0x8d, 0xe4, 0x8f, 0xb2, 0x1e, 0x8f, 0x99,
35543 0x98, 0xf1, 0x02, 0x9b, 0x4c, 0x7c, 0x97, 0x1a, },
35544}, {
35545 .ksize = 32,
35546 .key = blake2_ordered_sequence,
35547 .plaintext = blake2_ordered_sequence,
35548 .psize = 256,
35549 .digest = (u8[]){ 0x0f, 0x32, 0x05, 0x09, 0xad, 0x9f, 0x25, 0xf7,
35550 0xf2, 0x00, 0x71, 0xc9, 0x9f, 0x08, 0x58, 0xd1,
35551 0x67, 0xc3, 0xa6, 0x2c, 0x0d, 0xe5, 0x7c, 0x15,
35552 0x35, 0x18, 0x5a, 0x68, 0xc1, 0xca, 0x1c, 0x6e,
35553 0x0f, 0xc4, 0xf6, 0x0c, 0x43, 0xe1, 0xb4, 0x3d,
35554 0x28, 0xe4, 0xc7, 0xa1, 0xcf, 0x6b, 0x17, 0x4e,
35555 0xf1, 0x5b, 0xb5, 0x53, 0xd4, 0xa7, 0xd0, 0x5b,
35556 0xae, 0x15, 0x81, 0x15, 0xd0, 0x88, 0xa0, 0x3c, },
35557}};
35558
35559/*
35560 * Test vectors generated using https://github.com/google/hctr2
35561 */
35562static const struct cipher_testvec aes_xctr_tv_template[] = {
35563 {
35564 .key = "\x9c\x8d\xc4\xbd\x71\x36\xdc\x82"
35565 "\x7c\xa1\xca\xa3\x23\x5a\xdb\xa4",
35566 .iv = "\x8d\xe7\xa5\x6a\x95\x86\x42\xde"
35567 "\xba\xea\x6e\x69\x03\x33\x86\x0f",
35568 .ptext = "\xbd",
35569 .ctext = "\xb9",
35570 .klen = 16,
35571 .len = 1,
35572 },
35573 {
35574 .key = "\xbc\x1b\x12\x0c\x3f\x18\xcc\x1f"
35575 "\x5a\x1d\xab\x81\xa8\x68\x7c\x63",
35576 .iv = "\x22\xc1\xdd\x25\x0b\x18\xcb\xa5"
35577 "\x4a\xda\x15\x07\x73\xd9\x88\x10",
35578 .ptext = "\x24\x6e\x64\xc6\x15\x26\x9c\xda"
35579 "\x2a\x4b\x57\x12\xff\x7c\xd6\xb5",
35580 .ctext = "\xd6\x47\x8d\x58\x92\xb2\x84\xf9"
35581 "\xb7\xee\x0d\x98\xa1\x39\x4d\x8f",
35582 .klen = 16,
35583 .len = 16,
35584 },
35585 {
35586 .key = "\x44\x03\xbf\x4c\x30\xf0\xa7\xd6"
35587 "\xbd\x54\xbb\x66\x8e\xa6\x0e\x8a",
35588 .iv = "\xe6\xf7\x26\xdf\x8c\x3c\xaa\x88"
35589 "\xce\xc1\xbd\x43\x3b\x09\x62\xad",
35590 .ptext = "\x3c\xe3\x46\xb9\x8f\x9d\x3f\x8d"
35591 "\xef\xf2\x53\xab\x24\xe2\x29\x08"
35592 "\xf8\x7e\x1d\xa6\x6d\x86\x7d\x60"
35593 "\x97\x63\x93\x29\x71\x94\xb4",
35594 .ctext = "\xd4\xa3\xc6\xb8\xc1\x6f\x70\x1a"
35595 "\x52\x0c\xed\x4c\xaf\x51\x56\x23"
35596 "\x48\x45\x07\x10\x34\xc5\xba\x71"
35597 "\xe5\xf8\x1e\xd8\xcb\xa6\xe7",
35598 .klen = 16,
35599 .len = 31,
35600 },
35601 {
35602 .key = "\x5b\x17\x30\x94\x19\x31\xa1\xae"
35603 "\x24\x8e\x42\x1e\x82\xe6\xec\xb8",
35604 .iv = "\xd1\x2e\xb9\xb8\xf8\x49\xeb\x68"
35605 "\x06\xeb\x65\x33\x34\xa2\xeb\xf0",
35606 .ptext = "\x19\x75\xec\x59\x60\x1b\x7a\x3e"
35607 "\x62\x46\x87\xf0\xde\xab\x81\x36"
35608 "\x63\x53\x11\xa0\x1f\xce\x25\x85"
35609 "\x49\x6b\x28\xfa\x1c\x92\xe5\x18"
35610 "\x38\x14\x00\x79\xf2\x9e\xeb\xfc"
35611 "\x36\xa7\x6b\xe1\xe5\xcf\x04\x48"
35612 "\x44\x6d\xbd\x64\xb3\xcb\x78\x05"
35613 "\x8d\x7f\x9a\xaf\x3c\xcf\x6c\x45"
35614 "\x6c\x7c\x46\x4c\xa8\xc0\x1e\xe4"
35615 "\x33\xa5\x7b\xbb\x26\xd9\xc0\x32"
35616 "\x9d\x8a\xb3\xf3\x3d\x52\xe6\x48"
35617 "\x4c\x9b\x4c\x6e\xa4\xa3\xad\x66"
35618 "\x56\x48\xd5\x98\x3a\x93\xc4\x85"
35619 "\xe9\x89\xca\xa6\xc1\xc8\xe7\xf8"
35620 "\xc3\xe9\xef\xbe\x77\xe6\xd1\x3a"
35621 "\xa6\x99\xc8\x2d\xdf\x40\x0f\x44",
35622 .ctext = "\xc6\x1a\x01\x1a\x00\xba\x04\xff"
35623 "\x10\xd1\x7e\x5d\xad\x91\xde\x8c"
35624 "\x08\x55\x95\xae\xd7\x22\x77\x40"
35625 "\xf0\x33\x1b\x51\xef\xfe\x3d\x67"
35626 "\xdf\xc4\x9f\x39\x47\x67\x93\xab"
35627 "\xaa\x37\x55\xfe\x41\xe0\xba\xcd"
35628 "\x25\x02\x7c\x61\x51\xa1\xcc\x72"
35629 "\x7a\x20\x26\xb9\x06\x68\xbd\x19"
35630 "\xc5\x2e\x1b\x75\x4a\x40\xb2\xd2"
35631 "\xc4\xee\xd8\x5b\xa4\x55\x7d\x25"
35632 "\xfc\x01\x4d\x6f\x0a\xfd\x37\x5d"
35633 "\x3e\x67\xc0\x35\x72\x53\x7b\xe2"
35634 "\xd6\x19\x5b\x92\x6c\x3a\x8c\x2a"
35635 "\xe2\xc2\xa2\x4f\x2a\xf2\xb5\x15"
35636 "\x65\xc5\x8d\x97\xf9\xbf\x8c\x98"
35637 "\xe4\x50\x1a\xf2\x76\x55\x07\x49",
35638 .klen = 16,
35639 .len = 128,
35640 },
35641 {
35642 .key = "\x17\xa6\x01\x3d\x5d\xd6\xef\x2d"
35643 "\x69\x8f\x4c\x54\x5b\xae\x43\xf0",
35644 .iv = "\xa9\x1b\x47\x60\x26\x82\xf7\x1c"
35645 "\x80\xf8\x88\xdd\xfb\x44\xd9\xda",
35646 .ptext = "\xf7\x67\xcd\xa6\x04\x65\x53\x99"
35647 "\x90\x5c\xa2\x56\x74\xd7\x9d\xf2"
35648 "\x0b\x03\x7f\x4e\xa7\x84\x72\x2b"
35649 "\xf0\xa5\xbf\xe6\x9a\x62\x3a\xfe"
35650 "\x69\x5c\x93\x79\x23\x86\x64\x85"
35651 "\xeb\x13\xb1\x5a\xd5\x48\x39\xa0"
35652 "\x70\xfb\x06\x9a\xd7\x12\x5a\xb9"
35653 "\xbe\xed\x2c\x81\x64\xf7\xcf\x80"
35654 "\xee\xe6\x28\x32\x2d\x37\x4c\x32"
35655 "\xf4\x1f\x23\x21\xe9\xc8\xc9\xbf"
35656 "\x54\xbc\xcf\xb4\xc2\x65\x39\xdf"
35657 "\xa5\xfb\x14\x11\xed\x62\x38\xcf"
35658 "\x9b\x58\x11\xdd\xe9\xbd\x37\x57"
35659 "\x75\x4c\x9e\xd5\x67\x0a\x48\xc6"
35660 "\x0d\x05\x4e\xb1\x06\xd7\xec\x2e"
35661 "\x9e\x59\xde\x4f\xab\x38\xbb\xe5"
35662 "\x87\x04\x5a\x2c\x2a\xa2\x8f\x3c"
35663 "\xe7\xe1\x46\xa9\x49\x9f\x24\xad"
35664 "\x2d\xb0\x55\x40\x64\xd5\xda\x7e"
35665 "\x1e\x77\xb8\x29\x72\x73\xc3\x84"
35666 "\xcd\xf3\x94\x90\x58\x76\xc9\x2c"
35667 "\x2a\xad\x56\xde\x33\x18\xb6\x3b"
35668 "\x10\xe9\xe9\x8d\xf0\xa9\x7f\x05"
35669 "\xf7\xb5\x8c\x13\x7e\x11\x3d\x1e"
35670 "\x02\xbb\x5b\xea\x69\xff\x85\xcf"
35671 "\x6a\x18\x97\x45\xe3\x96\xba\x4d"
35672 "\x2d\x7a\x70\x78\x15\x2c\xe9\xdc"
35673 "\x4e\x09\x92\x57\x04\xd8\x0b\xa6"
35674 "\x20\x71\x76\x47\x76\x96\x89\xa0"
35675 "\xd9\x29\xa2\x5a\x06\xdb\x56\x39"
35676 "\x60\x33\x59\x04\x95\x89\xf6\x18"
35677 "\x1d\x70\x75\x85\x3a\xb7\x6e",
35678 .ctext = "\xe1\xe7\x3f\xd3\x6a\xb9\x2f\x64"
35679 "\x37\xc5\xa4\xe9\xca\x0a\xa1\xd6"
35680 "\xea\x7d\x39\xe5\xe6\xcc\x80\x54"
35681 "\x74\x31\x2a\x04\x33\x79\x8c\x8e"
35682 "\x4d\x47\x84\x28\x27\x9b\x3c\x58"
35683 "\x54\x58\x20\x4f\x70\x01\x52\x5b"
35684 "\xac\x95\x61\x49\x5f\xef\xba\xce"
35685 "\xd7\x74\x56\xe7\xbb\xe0\x3c\xd0"
35686 "\x7f\xa9\x23\x57\x33\x2a\xf6\xcb"
35687 "\xbe\x42\x14\x95\xa8\xf9\x7a\x7e"
35688 "\x12\x53\x3a\xe2\x13\xfe\x2d\x89"
35689 "\xeb\xac\xd7\xa8\xa5\xf8\x27\xf3"
35690 "\x74\x9a\x65\x63\xd1\x98\x3a\x7e"
35691 "\x27\x7b\xc0\x20\x00\x4d\xf4\xe5"
35692 "\x7b\x69\xa6\xa8\x06\x50\x85\xb6"
35693 "\x7f\xac\x7f\xda\x1f\xf5\x37\x56"
35694 "\x9b\x2f\xd3\x86\x6b\x70\xbd\x0e"
35695 "\x55\x9a\x9d\x4b\x08\xb5\x5b\x7b"
35696 "\xd4\x7c\xb4\x71\x49\x92\x4a\x1e"
35697 "\xed\x6d\x11\x09\x47\x72\x32\x6a"
35698 "\x97\x53\x36\xaf\xf3\x06\x06\x2c"
35699 "\x69\xf1\x59\x00\x36\x95\x28\x2a"
35700 "\xb6\xcd\x10\x21\x84\x73\x5c\x96"
35701 "\x86\x14\x2c\x3d\x02\xdb\x53\x9a"
35702 "\x61\xde\xea\x99\x84\x7a\x27\xf6"
35703 "\xf7\xc8\x49\x73\x4b\xb8\xeb\xd3"
35704 "\x41\x33\xdd\x09\x68\xe2\x64\xb8"
35705 "\x5f\x75\x74\x97\x91\x54\xda\xc2"
35706 "\x73\x2c\x1e\x5a\x84\x48\x01\x1a"
35707 "\x0d\x8b\x0a\xdf\x07\x2e\xee\x77"
35708 "\x1d\x17\x41\x7a\xc9\x33\x63\xfa"
35709 "\x9f\xc3\x74\x57\x5f\x03\x4c",
35710 .klen = 16,
35711 .len = 255,
35712 },
35713 {
35714 .key = "\xe5\xf1\x48\x2e\x88\xdb\xc7\x28"
35715 "\xa2\x55\x5d\x2f\x90\x02\xdc\xd3"
35716 "\xf5\xd3\x9e\x87\xd5\x58\x30\x4a",
35717 .iv = "\xa6\x40\x39\xf9\x63\x6c\x2d\xd4"
35718 "\x1b\x71\x05\xa4\x88\x86\x11\xd3",
35719 .ptext = "\xb6\x06\xae\x15\x11\x96\xc1\x44"
35720 "\x44\xc2\x98\xf9\xa8\x0a\x0b",
35721 .ctext = "\x27\x3b\x68\x40\xa9\x5e\x74\x6b"
35722 "\x74\x67\x18\xf9\x37\xed\xed",
35723 .klen = 24,
35724 .len = 15,
35725 },
35726 {
35727 .key = "\xc8\xa0\x27\x67\x04\x3f\xed\xa5"
35728 "\xb4\x0c\x51\x91\x2d\x27\x77\x33"
35729 "\xa5\xfc\x2a\x9f\x78\xd8\x1c\x68",
35730 .iv = "\x83\x99\x1a\xe2\x84\xca\xa9\x16"
35731 "\x8d\xc4\x2d\x1b\x67\xc8\x86\x21",
35732 .ptext = "\xd6\x22\x85\xb8\x5d\x7e\x26\x2e"
35733 "\xbe\x04\x9d\x0c\x03\x91\x45\x4a"
35734 "\x36",
35735 .ctext = "\x0f\x44\xa9\x62\x72\xec\x12\x26"
35736 "\x3a\xc6\x83\x26\x62\x5e\xb7\x13"
35737 "\x05",
35738 .klen = 24,
35739 .len = 17,
35740 },
35741 {
35742 .key = "\xc5\x87\x18\x09\x0a\x4e\x66\x3e"
35743 "\x50\x90\x19\x93\xc0\x33\xcf\x80"
35744 "\x3a\x36\x6b\x6c\x43\xd7\xe4\x93",
35745 .iv = "\xdd\x0b\x75\x1f\xee\x2f\xb4\x52"
35746 "\x10\x82\x1f\x79\x8a\xa4\x9b\x87",
35747 .ptext = "\x56\xf9\x13\xce\x9f\x30\x10\x11"
35748 "\x1b\x59\xfd\x39\x5a\x29\xa3\x44"
35749 "\x78\x97\x8c\xf6\x99\x6d\x26\xf1"
35750 "\x32\x60\x6a\xeb\x04\x47\x29\x4c"
35751 "\x7e\x14\xef\x4d\x55\x29\xfe\x36"
35752 "\x37\xcf\x0b\x6e\xf3\xce\x15\xd2",
35753 .ctext = "\x8f\x98\xe1\x5a\x7f\xfe\xc7\x05"
35754 "\x76\xb0\xd5\xde\x90\x52\x2b\xa8"
35755 "\xf3\x6e\x3c\x77\xa5\x33\x63\xdd"
35756 "\x6f\x62\x12\xb0\x80\x10\xc1\x28"
35757 "\x58\xe5\xd6\x24\x44\x04\x55\xf3"
35758 "\x6d\x94\xcb\x2c\x7e\x7a\x85\x79",
35759 .klen = 24,
35760 .len = 48,
35761 },
35762 {
35763 .key = "\x84\x9b\xe8\x10\x4c\xb3\xd1\x7a"
35764 "\xb3\xab\x4e\x6f\x90\x12\x07\xf8"
35765 "\xef\xde\x42\x09\xbf\x34\x95\xb2",
35766 .iv = "\x66\x62\xf9\x48\x9d\x17\xf7\xdf"
35767 "\x06\x67\xf4\x6d\xf2\xbc\xa2\xe5",
35768 .ptext = "\x2f\xd6\x16\x6b\xf9\x4b\x44\x14"
35769 "\x90\x93\xe5\xfd\x05\xaa\x00\x26"
35770 "\xbd\xab\x11\xb8\xf0\xcb\x11\x72"
35771 "\xdd\xc5\x15\x4f\x4e\x1b\xf8\xc9"
35772 "\x8f\x4a\xd5\x69\xf8\x9e\xfb\x05"
35773 "\x8a\x37\x46\xfe\xfa\x58\x9b\x0e"
35774 "\x72\x90\x9a\x06\xa5\x42\xf4\x7c"
35775 "\x35\xd5\x64\x70\x72\x67\xfc\x8b"
35776 "\xab\x5a\x2f\x64\x9b\xa1\xec\xe7"
35777 "\xe6\x92\x69\xdb\x62\xa4\xe7\x44"
35778 "\x88\x28\xd4\x52\x64\x19\xa9\xd7"
35779 "\x0c\x00\xe6\xe7\xc1\x28\xc1\xf5"
35780 "\x72\xc5\xfa\x09\x22\x2e\xf4\x82"
35781 "\xa3\xdc\xc1\x68\xf9\x29\x55\x8d"
35782 "\x04\x67\x13\xa6\x52\x04\x3c\x0c"
35783 "\x14\xf2\x87\x23\x61\xab\x82\xcb"
35784 "\x49\x5b\x6b\xd4\x4f\x0d\xd4\x95"
35785 "\x82\xcd\xe3\x69\x47\x1b\x31\x73"
35786 "\x73\x77\xc1\x53\x7d\x43\x5e\x4a"
35787 "\x80\x3a\xca\x9c\xc7\x04\x1a\x31"
35788 "\x8e\xe6\x76\x7f\xe1\xb3\xd0\x57"
35789 "\xa2\xb2\xf6\x09\x51\xc9\x6d\xbc"
35790 "\x79\xed\x57\x50\x36\xd2\x93\xa4"
35791 "\x40\x5d\xac\x3a\x3b\xb6\x2d\x89"
35792 "\x78\xa2\xbd\x23\xec\x35\x06\xf0"
35793 "\xa8\xc8\xc9\xb0\xe3\x28\x2b\xba"
35794 "\x70\xa0\xfe\xed\x13\xc4\xd7\x90"
35795 "\xb1\x6a\xe0\xe1\x30\x71\x15\xd0"
35796 "\xe2\xb3\xa6\x4e\xb0\x01\xf9\xe7"
35797 "\x59\xc6\x1e\xed\x46\x2b\xe3\xa8"
35798 "\x22\xeb\x7f\x1c\xd9\xcd\xe0\xa6"
35799 "\x72\x42\x2c\x06\x75\xbb\xb7\x6b"
35800 "\xca\x49\x5e\xa1\x47\x8d\x9e\xfe"
35801 "\x60\xcc\x34\x95\x8e\xfa\x1e\x3e"
35802 "\x85\x4b\x03\x54\xea\x34\x1c\x41"
35803 "\x90\x45\xa6\xbe\xcf\x58\x4f\xca"
35804 "\x2c\x79\xc0\x3e\x8f\xd7\x3b\xd4"
35805 "\x55\x74\xa8\xe1\x57\x09\xbf\xab"
35806 "\x2c\xf9\xe4\xdd\x17\x99\x57\x60"
35807 "\x4b\x88\x2a\x7f\x43\x86\xb9\x9a"
35808 "\x60\xbf\x4c\xcf\x9b\x41\xb8\x99"
35809 "\x69\x15\x4f\x91\x4d\xeb\xdf\x6f"
35810 "\xcc\x4c\xf9\x6f\xf2\x33\x23\xe7"
35811 "\x02\x44\xaa\xa2\xfa\xb1\x39\xa5"
35812 "\xff\x88\xf5\x37\x02\x33\x24\xfc"
35813 "\x79\x11\x4c\x94\xc2\x31\x87\x9c"
35814 "\x53\x19\x99\x32\xe4\xde\x18\xf4"
35815 "\x8f\xe2\xe8\xa3\xfb\x0b\xaa\x7c"
35816 "\xdb\x83\x0f\xf6\xc0\x8a\x9b\xcd"
35817 "\x7b\x16\x05\x5b\xe4\xb4\x34\x03"
35818 "\xe3\x8f\xc9\x4b\x56\x84\x2a\x4c"
35819 "\x36\x72\x3c\x84\x4f\xba\xa2\x7f"
35820 "\xf7\x1b\xba\x4d\x8a\xb8\x5d\x51"
35821 "\x36\xfb\xef\x23\x18\x6f\x33\x2d"
35822 "\xbb\x06\x24\x8e\x33\x98\x6e\xcd"
35823 "\x63\x11\x18\x6b\xcc\x1b\x66\xb9"
35824 "\x38\x8d\x06\x8d\x98\x1a\xef\xaa"
35825 "\x35\x4a\x90\xfa\xb1\xd3\xcc\x11"
35826 "\x50\x4c\x54\x18\x60\x5d\xe4\x11"
35827 "\xfc\x19\xe1\x53\x20\x5c\xe7\xef"
35828 "\x8a\x2b\xa8\x82\x51\x5f\x5d\x43"
35829 "\x34\xe5\xcf\x7b\x1b\x6f\x81\x19"
35830 "\xb7\xdf\xa8\x9e\x81\x89\x5f\x33"
35831 "\x69\xaf\xde\x89\x68\x88\xf0\x71",
35832 .ctext = "\xab\x15\x46\x5b\xed\x4f\xa8\xac"
35833 "\xbf\x31\x30\x84\x55\xa4\xb8\x98"
35834 "\x79\xba\xa0\x15\xa4\x55\x20\xec"
35835 "\xf9\x94\x71\xe6\x6a\x6f\xee\x87"
35836 "\x2e\x3a\xa2\x95\xae\x6e\x56\x09"
35837 "\xe9\xc0\x0f\xe2\xc6\xb7\x30\xa9"
35838 "\x73\x8e\x59\x7c\xfd\xe3\x71\xf7"
35839 "\xae\x8b\x91\xab\x5e\x36\xe9\xa8"
35840 "\xff\x17\xfa\xa2\x94\x93\x11\x42"
35841 "\x67\x96\x99\xc5\xf0\xad\x2a\x57"
35842 "\xf9\xa6\x70\x4a\xdf\x71\xff\xc0"
35843 "\xe2\xaf\x9a\xae\x57\x58\x13\x3b"
35844 "\x2d\xf1\xc7\x8f\xdb\x8a\xcc\xce"
35845 "\x53\x1a\x69\x55\x39\xc8\xbe\xc3"
35846 "\x2d\xb1\x03\xd9\xa3\x99\xf4\x8d"
35847 "\xd9\x2d\x27\xae\xa5\xe7\x77\x7f"
35848 "\xbb\x88\x84\xea\xfa\x19\x3f\x44"
35849 "\x61\x21\x8a\x1f\xbe\xac\x60\xb4"
35850 "\xaf\xe9\x00\xab\xef\x3c\x53\x56"
35851 "\xcd\x4b\x53\xd8\x9b\xfe\x88\x23"
35852 "\x5b\x85\x76\x08\xec\xd1\x6e\x4a"
35853 "\x87\xa4\x7d\x29\x4e\x4f\x3f\xc9"
35854 "\xa4\xab\x63\xea\xdd\xef\x9f\x79"
35855 "\x38\x18\x7d\x90\x90\xf9\x12\x57"
35856 "\x1d\x89\xea\xfe\xd4\x47\x45\x32"
35857 "\x6a\xf6\xe7\xde\x22\x7e\xee\xc1"
35858 "\xbc\x2d\xc3\xbb\xe5\xd4\x13\xac"
35859 "\x63\xff\x5b\xb1\x05\x96\xd5\xf3"
35860 "\x07\x9a\x62\xb6\x30\xea\x7d\x1e"
35861 "\xee\x75\x0a\x1b\xcc\x6e\x4d\xa7"
35862 "\xf7\x4d\x74\xd8\x60\x32\x5e\xd0"
35863 "\x93\xd7\x19\x90\x4e\x26\xdb\xe4"
35864 "\x5e\xd4\xa8\xb9\x76\xba\x56\x91"
35865 "\xc4\x75\x04\x1e\xc2\x77\x24\x6f"
35866 "\xf9\xe8\x4a\xec\x7f\x86\x95\xb3"
35867 "\x5c\x2c\x97\xab\xf0\xf7\x74\x5b"
35868 "\x0b\xc2\xda\x42\x40\x34\x16\xed"
35869 "\x06\xc1\x25\x53\x17\x0d\x81\x4e"
35870 "\xe6\xf2\x0f\x6d\x94\x3c\x90\x7a"
35871 "\xae\x20\xe9\x3f\xf8\x18\x67\x6a"
35872 "\x49\x1e\x41\xb6\x46\xab\xc8\xa7"
35873 "\xcb\x19\x96\xf5\x99\xc0\x66\x3e"
35874 "\x77\xcf\x73\x52\x83\x2a\xe2\x48"
35875 "\x27\x6c\xeb\xe7\xe7\xc4\xd5\x6a"
35876 "\x40\x67\xbc\xbf\x6b\x3c\xf3\xbb"
35877 "\x51\x5e\x31\xac\x03\x81\xab\x61"
35878 "\xfa\xa5\xa6\x7d\x8b\xc3\x8a\x75"
35879 "\x28\x7a\x71\x9c\xac\x8f\x76\xfc"
35880 "\xf9\x6c\x5d\x9b\xd7\xf6\x36\x2d"
35881 "\x61\xd5\x61\xaa\xdd\x01\xfc\x57"
35882 "\x91\x10\xcd\xcd\x6d\x27\x63\x24"
35883 "\x67\x46\x7a\xbb\x61\x56\x39\xb1"
35884 "\xd6\x79\xfe\x77\xca\xd6\x73\x59"
35885 "\x6e\x58\x11\x90\x03\x26\x74\x2a"
35886 "\xfa\x52\x12\x47\xfb\x12\xeb\x3e"
35887 "\x88\xf0\x52\x6c\xc0\x54\x7a\x88"
35888 "\x8c\xe5\xde\x9e\xba\xb9\xf2\xe1"
35889 "\x97\x2e\x5c\xbd\xf4\x13\x7e\xf3"
35890 "\xc4\xe1\x87\xa5\x35\xfa\x7c\x71"
35891 "\x1a\xc9\xf4\xa8\x57\xe2\x5a\x6b"
35892 "\x14\xe0\x73\xaf\x56\x6b\xa0\x00"
35893 "\x9e\x5f\x64\xac\x00\xfb\xc4\x92"
35894 "\xe5\xe2\x8a\xb2\x9e\x75\x49\x85"
35895 "\x25\x66\xa5\x1a\xf9\x7d\x1d\x60",
35896 .klen = 24,
35897 .len = 512,
35898 },
35899 {
35900 .key = "\x05\x60\x3a\x7e\x60\x90\x46\x18"
35901 "\x6c\x60\xba\xeb\x12\xd7\xbe\xd1"
35902 "\xd3\xf6\x10\x46\x9d\xf1\x0c\xb4"
35903 "\x73\xe3\x93\x27\xa8\x2c\x13\xaa",
35904 .iv = "\xf5\x96\xd1\xb6\xcb\x44\xd8\xd0"
35905 "\x3e\xdb\x92\x80\x08\x94\xcd\xd3",
35906 .ptext = "\x78",
35907 .ctext = "\xc5",
35908 .klen = 32,
35909 .len = 1,
35910 },
35911 {
35912 .key = "\x35\xca\x38\xf3\xd9\xd6\x34\xef"
35913 "\xcd\xee\xa3\x26\x86\xba\xfb\x45"
35914 "\x01\xfa\x52\x67\xff\xc5\x9d\xaa"
35915 "\x64\x9a\x05\xbb\x85\x20\xa7\xf2",
35916 .iv = "\xe3\xda\xf5\xff\x42\x59\x87\x86"
35917 "\xee\x7b\xd6\xb4\x6a\x25\x44\xff",
35918 .ptext = "\x44\x67\x1e\x04\x53\xd2\x4b\xd9"
35919 "\x96\x33\x07\x54\xe4\x8e\x20",
35920 .ctext = "\xcc\x55\x40\x79\x47\x5c\x8b\xa6"
35921 "\xca\x7b\x9f\x50\xe3\x21\xea",
35922 .klen = 32,
35923 .len = 15,
35924 },
35925 {
35926 .key = "\xaf\xd9\x14\x14\xd5\xdb\xc9\xce"
35927 "\x76\x5c\x5a\xbf\x43\x05\x29\x24"
35928 "\xc4\x13\x68\xcc\xe8\x37\xbd\xb9"
35929 "\x41\x20\xf5\x53\x48\xd0\xa2\xd6",
35930 .iv = "\xa7\xb4\x00\x08\x79\x10\xae\xf5"
35931 "\x02\xbf\x85\xb2\x69\x4c\xc6\x04",
35932 .ptext = "\xac\x6a\xa8\x0c\xb0\x84\xbf\x4c"
35933 "\xae\x94\x20\x58\x7e\x00\x93\x89",
35934 .ctext = "\xd5\xaa\xe2\xe9\x86\x4c\x95\x4e"
35935 "\xde\xb6\x15\xcb\xdc\x1f\x13\x38",
35936 .klen = 32,
35937 .len = 16,
35938 },
35939 {
35940 .key = "\xed\xe3\x8b\xe7\x1c\x17\xbf\x4a"
35941 "\x02\xe2\xfc\x76\xac\xf5\x3c\x00"
35942 "\x5d\xdc\xfc\x83\xeb\x45\xb4\xcb"
35943 "\x59\x62\x60\xec\x69\x9c\x16\x45",
35944 .iv = "\xe4\x0e\x2b\x90\xd2\xfa\x94\x2e"
35945 "\x10\xe5\x64\x2b\x97\x28\x15\xc7",
35946 .ptext = "\xe6\x53\xff\x60\x0e\xc4\x51\xe4"
35947 "\x93\x4d\xe5\x55\xc5\xd9\xad\x48"
35948 "\x52",
35949 .ctext = "\xba\x25\x28\xf5\xcf\x31\x91\x80"
35950 "\xda\x2b\x95\x5f\x20\xcb\xfb\x9f"
35951 "\xc6",
35952 .klen = 32,
35953 .len = 17,
35954 },
35955 {
35956 .key = "\x77\x5c\xc0\x73\x9a\x64\x97\x91"
35957 "\x2f\xee\xe0\x20\xc2\x04\x59\x2e"
35958 "\x97\xd2\xa7\x70\xb3\xb0\x21\x6b"
35959 "\x8f\xbf\xb8\x51\xa8\xea\x0f\x62",
35960 .iv = "\x31\x8e\x1f\xcd\xfd\x23\xeb\x7f"
35961 "\x8a\x1f\x1b\x23\x53\x27\x44\xe5",
35962 .ptext = "\xcd\xff\x8c\x9b\x94\x5a\x51\x3f"
35963 "\x40\x93\x56\x93\x66\x39\x63\x1f"
35964 "\xbf\xe6\xa4\xfa\xbe\x79\x93\x03"
35965 "\xf5\x66\x74\x16\xfc\xe4\xce",
35966 .ctext = "\x8b\xd3\xc3\xce\x66\xf8\x66\x4c"
35967 "\xad\xd6\xf5\x0f\xd8\x99\x5a\x75"
35968 "\xa1\x3c\xab\x0b\x21\x36\x57\x72"
35969 "\x88\x29\xe9\xea\x4a\x8d\xe9",
35970 .klen = 32,
35971 .len = 31,
35972 },
35973 {
35974 .key = "\xa1\x2f\x4d\xde\xfe\xa1\xff\xa8"
35975 "\x73\xdd\xe3\xe2\x95\xfc\xea\x9c"
35976 "\xd0\x80\x42\x0c\xb8\x43\x3e\x99"
35977 "\x39\x38\x0a\x8c\xe8\x45\x3a\x7b",
35978 .iv = "\x32\xc4\x6f\xb1\x14\x43\xd1\x87"
35979 "\xe2\x6f\x5a\x58\x02\x36\x7e\x2a",
35980 .ptext = "\x9e\x5c\x1e\xf1\xd6\x7d\x09\x57"
35981 "\x18\x48\x55\xda\x7d\x44\xf9\x6d"
35982 "\xac\xcd\x59\xbb\x10\xa2\x94\x67"
35983 "\xd1\x6f\xfe\x6b\x4a\x11\xe8\x04"
35984 "\x09\x26\x4f\x8d\x5d\xa1\x7b\x42"
35985 "\xf9\x4b\x66\x76\x38\x12\xfe\xfe",
35986 .ctext = "\x42\xbc\xa7\x64\x15\x9a\x04\x71"
35987 "\x2c\x5f\x94\xba\x89\x3a\xad\xbc"
35988 "\x87\xb3\xf4\x09\x4f\x57\x06\x18"
35989 "\xdc\x84\x20\xf7\x64\x85\xca\x3b"
35990 "\xab\xe6\x33\x56\x34\x60\x5d\x4b"
35991 "\x2e\x16\x13\xd4\x77\xde\x2d\x2b",
35992 .klen = 32,
35993 .len = 48,
35994 },
35995 {
35996 .key = "\xfb\xf5\xb7\x3d\xa6\x95\x42\xbf"
35997 "\xd2\x94\x6c\x74\x0f\xbc\x5a\x28"
35998 "\x35\x3c\x51\x58\x84\xfb\x7d\x11"
35999 "\x16\x1e\x00\x97\x37\x08\xb7\x16",
36000 .iv = "\x9b\x53\x57\x40\xe6\xd9\xa7\x27"
36001 "\x78\xd4\x9b\xd2\x29\x1d\x24\xa9",
36002 .ptext = "\x8b\x02\x60\x0a\x3e\xb7\x10\x59"
36003 "\xc3\xac\xd5\x2a\x75\x81\xf2\xdb"
36004 "\x55\xca\x65\x86\x44\xfb\xfe\x91"
36005 "\x26\xbb\x45\xb2\x46\x22\x3e\x08"
36006 "\xa2\xbf\x46\xcb\x68\x7d\x45\x7b"
36007 "\xa1\x6a\x3c\x6e\x25\xeb\xed\x31"
36008 "\x7a\x8b\x47\xf9\xde\xec\x3d\x87"
36009 "\x09\x20\x2e\xfa\xba\x8b\x9b\xc5"
36010 "\x6c\x25\x9c\x9d\x2a\xe8\xab\x90"
36011 "\x3f\x86\xee\x61\x13\x21\xd4\xde"
36012 "\xe1\x0c\x95\xfc\x5c\x8a\x6e\x0a"
36013 "\x73\xcf\x08\x69\x44\x4e\xde\x25"
36014 "\xaf\xaa\x56\x04\xc4\xb3\x60\x44"
36015 "\x3b\x8b\x3d\xee\xae\x42\x4b\xd2"
36016 "\x9a\x6c\xa0\x8e\x52\x06\xb2\xd1"
36017 "\x5d\x38\x30\x6d\x27\x9b\x1a\xd8",
36018 .ctext = "\xa3\x78\x33\x78\x95\x95\x97\x07"
36019 "\x53\xa3\xa1\x5b\x18\x32\x27\xf7"
36020 "\x09\x12\x53\x70\x83\xb5\x6a\x9f"
36021 "\x26\x6d\x10\x0d\xe0\x1c\xe6\x2b"
36022 "\x70\x00\xdc\xa1\x60\xef\x1b\xee"
36023 "\xc5\xa5\x51\x17\xae\xcc\xf2\xed"
36024 "\xc4\x60\x07\xdf\xd5\x7a\xe9\x90"
36025 "\x3c\x9f\x96\x5d\x72\x65\x5d\xef"
36026 "\xd0\x94\x32\xc4\x85\x90\x78\xa1"
36027 "\x2e\x64\xf6\xee\x8e\x74\x3f\x20"
36028 "\x2f\x12\x3b\x3d\xd5\x39\x8e\x5a"
36029 "\xf9\x8f\xce\x94\x5d\x82\x18\x66"
36030 "\x14\xaf\x4c\xfe\xe0\x91\xc3\x4a"
36031 "\x85\xcf\xe7\xe8\xf7\xcb\xf0\x31"
36032 "\x88\x7d\xc9\x5b\x71\x9d\x5f\xd2"
36033 "\xfa\xed\xa6\x24\xda\xbb\xb1\x84",
36034 .klen = 32,
36035 .len = 128,
36036 },
36037 {
36038 .key = "\x32\x37\x2b\x8f\x7b\xb1\x23\x79"
36039 "\x05\x52\xde\x05\xf1\x68\x3f\x6c"
36040 "\xa4\xae\xbc\x21\xc2\xc6\xf0\xbd"
36041 "\x0f\x20\xb7\xa4\xc5\x05\x7b\x64",
36042 .iv = "\xff\x26\x4e\x67\x48\xdd\xcf\xfe"
36043 "\x42\x09\x04\x98\x5f\x1e\xfa\x80",
36044 .ptext = "\x99\xdc\x3b\x19\x41\xf9\xff\x6e"
36045 "\x76\xb5\x03\xfa\x61\xed\xf8\x44"
36046 "\x70\xb9\xf0\x83\x80\x6e\x31\x77"
36047 "\x77\xe4\xc7\xb4\x77\x02\xab\x91"
36048 "\x82\xc6\xf8\x7c\x46\x61\x03\x69"
36049 "\x09\xa0\xf7\x12\xb7\x81\x6c\xa9"
36050 "\x10\x5c\xbb\x55\xb3\x44\xed\xb5"
36051 "\xa2\x52\x48\x71\x90\x5d\xda\x40"
36052 "\x0b\x7f\x4a\x11\x6d\xa7\x3d\x8e"
36053 "\x1b\xcd\x9d\x4e\x75\x8b\x7d\x87"
36054 "\xe5\x39\x34\x32\x1e\xe6\x8d\x51"
36055 "\xd4\x1f\xe3\x1d\x50\xa0\x22\x37"
36056 "\x7c\xb0\xd9\xfb\xb6\xb2\x16\xf6"
36057 "\x6d\x26\xa0\x4e\x8c\x6a\xe6\xb6"
36058 "\xbe\x4c\x7c\xe3\x88\x10\x18\x90"
36059 "\x11\x50\x19\x90\xe7\x19\x3f\xd0"
36060 "\x31\x15\x0f\x06\x96\xfe\xa7\x7b"
36061 "\xc3\x32\x88\x69\xa4\x12\xe3\x64"
36062 "\x02\x30\x17\x74\x6c\x88\x7c\x9b"
36063 "\xd6\x6d\x75\xdf\x11\x86\x70\x79"
36064 "\x48\x7d\x34\x3e\x33\x58\x07\x8b"
36065 "\xd2\x50\xac\x35\x15\x45\x05\xb4"
36066 "\x4d\x31\x97\x19\x87\x23\x4b\x87"
36067 "\x53\xdc\xa9\x19\x78\xf1\xbf\x35"
36068 "\x30\x04\x14\xd4\xcf\xb2\x8c\x87"
36069 "\x7d\xdb\x69\xc9\xcd\xfe\x40\x3e"
36070 "\x8d\x66\x5b\x61\xe5\xf0\x2d\x87"
36071 "\x93\x3a\x0c\x2b\x04\x98\x05\xc2"
36072 "\x56\x4d\xc4\x6c\xcd\x7a\x98\x7e"
36073 "\xe2\x2d\x79\x07\x91\x9f\xdf\x2f"
36074 "\x72\xc9\x8f\xcb\x0b\x87\x1b\xb7"
36075 "\x04\x86\xcb\x47\xfa\x5d\x03",
36076 .ctext = "\x0b\x00\xf7\xf2\xc8\x6a\xba\x9a"
36077 "\x0a\x97\x18\x7a\x00\xa0\xdb\xf4"
36078 "\x5e\x8e\x4a\xb7\xe0\x51\xf1\x75"
36079 "\x17\x8b\xb4\xf1\x56\x11\x05\x9f"
36080 "\x2f\x2e\xba\x67\x04\xe1\xb4\xa5"
36081 "\xfc\x7c\x8c\xad\xc6\xb9\xd1\x64"
36082 "\xca\xbd\x5d\xaf\xdb\x65\x48\x4f"
36083 "\x1b\xb3\x94\x5c\x0b\xd0\xee\xcd"
36084 "\xb5\x7f\x43\x8a\xd8\x8b\x66\xde"
36085 "\xd2\x9c\x13\x65\xa4\x47\xa7\x03"
36086 "\xc5\xa1\x46\x8f\x2f\x84\xbc\xef"
36087 "\x48\x9d\x9d\xb5\xbd\x43\xff\xd2"
36088 "\xd2\x7a\x5a\x13\xbf\xb4\xf6\x05"
36089 "\x17\xcd\x01\x12\xf0\x35\x27\x96"
36090 "\xf4\xc1\x65\xf7\x69\xef\x64\x1b"
36091 "\x6e\x4a\xe8\x77\xce\x83\x01\xb7"
36092 "\x60\xe6\x45\x2a\xcd\x41\x4a\xb5"
36093 "\x8e\xcc\x45\x93\xf1\xd6\x64\x5f"
36094 "\x32\x60\xe4\x29\x4a\x82\x6c\x86"
36095 "\x16\xe4\xcc\xdb\x5f\xc8\x11\xa6"
36096 "\xfe\x88\xd6\xc3\xe5\x5c\xbb\x67"
36097 "\xec\xa5\x7b\xf5\xa8\x4f\x77\x25"
36098 "\x5d\x0c\x2a\x99\xf9\xb9\xd1\xae"
36099 "\x3c\x83\x2a\x93\x9b\x66\xec\x68"
36100 "\x2c\x93\x02\x8a\x8a\x1e\x2f\x50"
36101 "\x09\x37\x19\x5c\x2a\x3a\xc2\xcb"
36102 "\xcb\x89\x82\x81\xb7\xbb\xef\x73"
36103 "\x8b\xc9\xae\x42\x96\xef\x70\xc0"
36104 "\x89\xc7\x3e\x6a\x26\xc3\xe4\x39"
36105 "\x53\xa9\xcf\x63\x7d\x05\xf3\xff"
36106 "\x52\x04\xf6\x7f\x23\x96\xe9\xf7"
36107 "\xff\xd6\x50\xa3\x0e\x20\x71",
36108 .klen = 32,
36109 .len = 255,
36110 },
36111 {
36112 .key = "\x39\x5f\xf4\x9c\x90\x3a\x9a\x25"
36113 "\x15\x11\x79\x39\xed\x26\x5e\xf6"
36114 "\xda\xcf\x33\x4f\x82\x97\xab\x10"
36115 "\xc1\x55\x48\x82\x80\xa8\x02\xb2",
36116 .iv = "\x82\x60\xd9\x06\xeb\x40\x99\x76"
36117 "\x08\xc5\xa4\x83\x45\xb8\x38\x5a",
36118 .ptext = "\xa1\xa8\xac\xac\x08\xaf\x8f\x84"
36119 "\xbf\xcc\x79\x31\x5e\x61\x01\xd1"
36120 "\x4d\x5f\x9b\xcd\x91\x92\x9a\xa1"
36121 "\x99\x0d\x49\xb2\xd7\xfd\x25\x93"
36122 "\x51\x96\xbd\x91\x8b\x08\xf1\xc6"
36123 "\x0d\x17\xf6\xef\xfd\xd2\x78\x16"
36124 "\xc8\x08\x27\x7b\xca\x98\xc6\x12"
36125 "\x86\x11\xdb\xd5\x08\x3d\x5a\x2c"
36126 "\xcf\x15\x0e\x9b\x42\x78\xeb\x1f"
36127 "\x52\xbc\xd7\x5a\x8a\x33\x6c\x14"
36128 "\xfc\x61\xad\x2e\x1e\x03\x66\xea"
36129 "\x79\x0e\x88\x88\xde\x93\xe3\x81"
36130 "\xb5\xc4\x1c\xe6\x9c\x08\x18\x8e"
36131 "\xa0\x87\xda\xe6\xf8\xcb\x30\x44"
36132 "\x2d\x4e\xc0\xa3\x60\xf9\x62\x7b"
36133 "\x4b\xd5\x61\x6d\xe2\x67\x95\x54"
36134 "\x10\xd1\xca\x22\xe8\xb6\xb1\x3a"
36135 "\x2d\xd7\x35\x5b\x22\x88\x55\x67"
36136 "\x3d\x83\x8f\x07\x98\xa8\xf2\xcf"
36137 "\x04\xb7\x9e\x52\xca\xe0\x98\x72"
36138 "\x5c\xc1\x00\xd4\x1f\x2c\x61\xf3"
36139 "\xe8\x40\xaf\x4a\xee\x66\x41\xa0"
36140 "\x02\x77\x29\x30\x65\x59\x4b\x20"
36141 "\x7b\x0d\x80\x97\x27\x7f\xd5\x90"
36142 "\xbb\x9d\x76\x90\xe5\x43\x43\x72"
36143 "\xd0\xd4\x14\x75\x66\xb3\xb6\xaf"
36144 "\x09\xe4\x23\xb0\x62\xad\x17\x28"
36145 "\x39\x26\xab\xf5\xf7\x5c\xb6\x33"
36146 "\xbd\x27\x09\x5b\x29\xe4\x40\x0b"
36147 "\xc1\x26\x32\xdb\x9a\xdf\xf9\x5a"
36148 "\xae\x03\x2c\xa4\x40\x84\x9a\xb7"
36149 "\x4e\x47\xa8\x0f\x23\xc7\xbb\xcf"
36150 "\x2b\xf2\x32\x6c\x35\x6a\x91\xba"
36151 "\x0e\xea\xa2\x8b\x2f\xbd\xb5\xea"
36152 "\x6e\xbc\xb5\x4b\x03\xb3\x86\xe0"
36153 "\x86\xcf\xba\xcb\x38\x2c\x32\xa6"
36154 "\x6d\xe5\x28\xa6\xad\xd2\x7f\x73"
36155 "\x43\x14\xf8\xb1\x99\x12\x2d\x2b"
36156 "\xdf\xcd\xf2\x81\x43\x94\xdf\xb1"
36157 "\x17\xc9\x33\xa6\x3d\xef\x96\xb8"
36158 "\xd6\x0d\x00\xec\x49\x66\x85\x5d"
36159 "\x44\x62\x12\x04\x55\x5c\x48\xd3"
36160 "\xbd\x73\xac\x54\x8f\xbf\x97\x8e"
36161 "\x85\xfd\xc2\xa1\x25\x32\x38\x6a"
36162 "\x1f\xac\x57\x3c\x4f\x56\x73\xf2"
36163 "\x1d\xb6\x48\x68\xc7\x0c\xe7\x60"
36164 "\xd2\x8e\x4d\xfb\xc7\x20\x7b\xb7"
36165 "\x45\x28\x12\xc6\x26\xae\xea\x7c"
36166 "\x5d\xe2\x46\xb5\xae\xe1\xc3\x98"
36167 "\x6f\x72\xd5\xa2\xfd\xed\x40\xfd"
36168 "\xf9\xdf\x61\xec\x45\x2c\x15\xe0"
36169 "\x1e\xbb\xde\x71\x37\x5f\x73\xc2"
36170 "\x11\xcc\x6e\x6d\xe1\xb5\x1b\xd2"
36171 "\x2a\xdd\x19\x8a\xc2\xe1\xa0\xa4"
36172 "\x26\xeb\xb2\x2c\x4f\x77\x52\xf1"
36173 "\x42\x72\x6c\xad\xd7\x78\x5d\x72"
36174 "\xc9\x16\x26\x25\x1b\x4c\xe6\x58"
36175 "\x79\x57\xb5\x06\x15\x4f\xe5\xba"
36176 "\xa2\x7f\x2d\x5b\x87\x8a\x44\x70"
36177 "\xec\xc7\xef\x84\xae\x60\xa2\x61"
36178 "\x86\xe9\x18\xcd\x28\xc4\xa4\xf5"
36179 "\xbc\x84\xb8\x86\xa0\xba\xf1\xf1"
36180 "\x08\x3b\x32\x75\x35\x22\x7a\x65"
36181 "\xca\x48\xe8\xef\x6e\xe2\x8e\x00",
36182 .ctext = "\x2f\xae\xd8\x67\xeb\x15\xde\x75"
36183 "\x53\xa3\x0e\x5a\xcf\x1c\xbe\xea"
36184 "\xde\xf9\xcf\xc2\x9f\xfd\x0f\x44"
36185 "\xc0\xe0\x7a\x76\x1d\xcb\x4a\xf8"
36186 "\x35\xd6\xe3\x95\x98\x6b\x3f\x89"
36187 "\xc4\xe6\xb6\x6f\xe1\x8b\x39\x4b"
36188 "\x1c\x6c\x77\xe4\xe1\x8a\xbc\x61"
36189 "\x00\x6a\xb1\x37\x2f\x45\xe6\x04"
36190 "\x52\x0b\xfc\x1e\x32\xc1\xd8\x9d"
36191 "\xfa\xdd\x67\x5c\xe0\x75\x83\xd0"
36192 "\x21\x9e\x02\xea\xc0\x7f\xc0\x29"
36193 "\xb3\x6c\xa5\x97\xb3\x29\x82\x1a"
36194 "\x94\xa5\xb4\xb6\x49\xe5\xa5\xad"
36195 "\x95\x40\x52\x7c\x84\x88\xa4\xa8"
36196 "\x26\xe4\xd9\x5d\x41\xf2\x93\x7b"
36197 "\xa4\x48\x1b\x66\x91\xb9\x7c\xc2"
36198 "\x99\x29\xdf\xd8\x30\xac\xd4\x47"
36199 "\x42\xa0\x14\x87\x67\xb8\xfd\x0b"
36200 "\x1e\xcb\x5e\x5c\x9a\xc2\x04\x8b"
36201 "\x17\x29\x9d\x99\x7f\x86\x4c\xe2"
36202 "\x5c\x96\xa6\x0f\xb6\x47\x33\x5c"
36203 "\xe4\x50\x49\xd5\x4f\x92\x0b\x9a"
36204 "\xbc\x52\x4c\x41\xf5\xc9\x3e\x76"
36205 "\x55\x55\xd4\xdc\x71\x14\x23\xfc"
36206 "\x5f\xd5\x08\xde\xa0\xf7\x28\xc0"
36207 "\xe1\x61\xac\x64\x66\xf6\xd1\x31"
36208 "\xe4\xa4\xa9\xed\xbc\xad\x4f\x3b"
36209 "\x59\xb9\x48\x1b\xe7\xb1\x6f\xc6"
36210 "\xba\x40\x1c\x0b\xe7\x2f\x31\x65"
36211 "\x85\xf5\xe9\x14\x0a\x31\xf5\xf3"
36212 "\xc0\x1c\x20\x35\x73\x38\x0f\x8e"
36213 "\x39\xf0\x68\xae\x08\x9c\x87\x4b"
36214 "\x42\xfc\x22\x17\xee\x96\x51\x2a"
36215 "\xd8\x57\x5a\x35\xea\x72\x74\xfc"
36216 "\xb3\x0e\x69\x9a\xe1\x4f\x24\x90"
36217 "\xc5\x4b\xe5\xd7\xe3\x82\x2f\xc5"
36218 "\x62\x46\x3e\xab\x72\x4e\xe0\xf3"
36219 "\x90\x09\x4c\xb2\xe1\xe8\xa0\xf5"
36220 "\x46\x40\x2b\x47\x85\x3c\x21\x90"
36221 "\x3d\xad\x25\x5a\x36\xdf\xe5\xbc"
36222 "\x7e\x80\x4d\x53\x77\xf1\x79\xa6"
36223 "\xec\x22\x80\x88\x68\xd6\x2d\x8b"
36224 "\x3e\xf7\x52\xc7\x2a\x20\x42\x5c"
36225 "\xed\x99\x4f\x32\x80\x00\x7e\x73"
36226 "\xd7\x6d\x7f\x7d\x42\x54\x4a\xfe"
36227 "\xff\x6f\x61\xca\x2a\xbb\x4f\xeb"
36228 "\x4f\xe4\x4e\xaf\x2c\x4f\x82\xcd"
36229 "\xa1\xa7\x11\xb3\x34\x33\xcf\x32"
36230 "\x63\x0e\x24\x3a\x35\xbe\x06\xd5"
36231 "\x17\xcb\x02\x30\x33\x6e\x8c\x49"
36232 "\x40\x6e\x34\x8c\x07\xd4\x3e\xe6"
36233 "\xaf\x78\x6d\x8c\x10\x5f\x21\x58"
36234 "\x49\x26\xc5\xaf\x0d\x7d\xd4\xaf"
36235 "\xcd\x5b\xa1\xe3\xf6\x39\x1c\x9b"
36236 "\x8e\x00\xa1\xa7\x9e\x17\x4a\xc0"
36237 "\x54\x56\x9e\xcf\xcf\x88\x79\x8d"
36238 "\x50\xf7\x56\x8e\x0a\x73\x46\x6b"
36239 "\xc3\xb9\x9b\x6c\x7d\xc4\xc8\xb6"
36240 "\x03\x5f\x30\x62\x7d\xe6\xdb\x15"
36241 "\xe1\x39\x02\x8c\xff\xda\xc8\x43"
36242 "\xf2\xa9\xbf\x00\xe7\x3a\x61\x89"
36243 "\xdf\xb0\xca\x7d\x8c\x8a\x6a\x9f"
36244 "\x18\x89\x3d\x39\xac\x36\x6f\x05"
36245 "\x1f\xb5\xda\x00\xea\xe1\x51\x21",
36246 .klen = 32,
36247 .len = 512,
36248 },
36249
36250};
36251
36252/*
36253 * Test vectors generated using https://github.com/google/hctr2
36254 */
36255static const struct cipher_testvec aes_hctr2_tv_template[] = {
36256 {
36257 .key = "\xe1\x15\x66\x3c\x8d\xc6\x3a\xff"
36258 "\xef\x41\xd7\x47\xa2\xcc\x8a\xba",
36259 .iv = "\xc3\xbe\x2a\xcb\xb5\x39\x86\xf1"
36260 "\x91\xad\x6c\xf4\xde\x74\x45\x63"
36261 "\x5c\x7a\xd5\xcc\x8b\x76\xef\x0e"
36262 "\xcf\x2c\x60\x69\x37\xfd\x07\x96",
36263 .ptext = "\x65\x75\xae\xd3\xe2\xbc\x43\x5c"
36264 "\xb3\x1a\xd8\x05\xc3\xd0\x56\x29",
36265 .ctext = "\x11\x91\xea\x74\x58\xcc\xd5\xa2"
36266 "\xd0\x55\x9e\x3d\xfe\x7f\xc8\xfe",
36267 .klen = 16,
36268 .len = 16,
36269 },
36270 {
36271 .key = "\xe7\xd1\x77\x48\x76\x0b\xcd\x34"
36272 "\x2a\x2d\xe7\x74\xca\x11\x9c\xae",
36273 .iv = "\x71\x1c\x49\x62\xd9\x5b\x50\x5e"
36274 "\x68\x87\xbc\xf6\x89\xff\xed\x30"
36275 "\xe4\xe5\xbd\xb6\x10\x4f\x9f\x66"
36276 "\x28\x06\x5a\xf4\x27\x35\xcd\xe5",
36277 .ptext = "\x87\x03\x8f\x06\xa8\x61\x54\xda"
36278 "\x01\x45\xd4\x01\xef\x4a\x22\xcf"
36279 "\x78\x15\x9f\xbd\x64\xbd\x2c\xb9"
36280 "\x40\x1d\x72\xae\x53\x63\xa5",
36281 .ctext = "\x4e\xa1\x05\x27\xb8\x45\xe4\xa1"
36282 "\xbb\x30\xb4\xa6\x12\x74\x63\xd6"
36283 "\x17\xc9\xcc\x2f\x18\x64\xe0\x06"
36284 "\x0a\xa0\xff\x72\x10\x7b\x22",
36285 .klen = 16,
36286 .len = 31,
36287 },
36288 {
36289 .key = "\x59\x65\x3b\x1d\x43\x5e\xc0\xae"
36290 "\xb8\x9d\x9b\xdd\x22\x03\xbf\xca",
36291 .iv = "\xec\x95\xfa\x5a\xcf\x5e\xd2\x93"
36292 "\xa3\xb5\xe5\xbe\xf3\x01\x7b\x01"
36293 "\xd1\xca\x6c\x06\x82\xf0\xbd\x67"
36294 "\xd9\x6c\xa4\xdc\xb4\x38\x0f\x74",
36295 .ptext = "\x45\xdf\x75\x87\xbc\x72\xce\x55"
36296 "\xc9\xfa\xcb\xfc\x9f\x40\x82\x2b"
36297 "\xc6\x4f\x4f\x5b\x8b\x3b\x6d\x67"
36298 "\xa6\x93\x62\x89\x8c\x19\xf4\xe3"
36299 "\x08\x92\x9c\xc9\x47\x2c\x6e\xd0"
36300 "\xa3\x02\x2b\xdb\x2c\xf2\x8d\x46"
36301 "\xcd\xb0\x9d\x26\x63\x4c\x40\x6b"
36302 "\x79\x43\xe5\xce\x42\xa8\xec\x3b"
36303 "\x5b\xd0\xea\xa4\xe6\xdb\x66\x55"
36304 "\x7a\x76\xec\xab\x7d\x2a\x2b\xbd"
36305 "\xa9\xab\x22\x64\x1a\xa1\xae\x84"
36306 "\x86\x79\x67\xe9\xb2\x50\xbe\x12"
36307 "\x2f\xb2\x14\xf0\xdb\x71\xd8\xa7"
36308 "\x41\x8a\x88\xa0\x6a\x6e\x9d\x2a"
36309 "\xfa\x11\x37\x40\x32\x09\x4c\x47"
36310 "\x41\x07\x31\x85\x3d\xa8\xf7\x64",
36311 .ctext = "\x2d\x4b\x9f\x93\xca\x5a\x48\x26"
36312 "\x01\xcc\x54\xe4\x31\x50\x12\xf0"
36313 "\x49\xff\x59\x42\x68\xbd\x87\x8f"
36314 "\x9e\x62\x96\xcd\xb9\x24\x57\xa4"
36315 "\x0b\x7b\xf5\x2e\x0e\xa8\x65\x07"
36316 "\xab\x05\xd5\xca\xe7\x9c\x6c\x34"
36317 "\x5d\x42\x34\xa4\x62\xe9\x75\x48"
36318 "\x3d\x9e\x8f\xfa\x42\xe9\x75\x08"
36319 "\x4e\x54\x91\x2b\xbd\x11\x0f\x8e"
36320 "\xf0\x82\xf5\x24\xf1\xc4\xfc\xae"
36321 "\x42\x54\x7f\xce\x15\xa8\xb2\x33"
36322 "\xc0\x86\xb6\x2b\xe8\x44\xce\x1f"
36323 "\x68\x57\x66\x94\x6e\xad\xeb\xf3"
36324 "\x30\xf8\x11\xbd\x60\x00\xc6\xd5"
36325 "\x4c\x81\xf1\x20\x2b\x4a\x5b\x99"
36326 "\x79\x3b\xc9\x5c\x74\x23\xe6\x5d",
36327 .klen = 16,
36328 .len = 128,
36329 },
36330 {
36331 .key = "\x3e\x08\x5d\x64\x6c\x98\xec\xec"
36332 "\x70\x0e\x0d\xa1\x41\x20\x99\x82",
36333 .iv = "\x11\xb7\x77\x91\x0d\x99\xd9\x8d"
36334 "\x35\x3a\xf7\x14\x6b\x09\x37\xe5"
36335 "\xad\x51\xf6\xc3\x96\x4b\x64\x56"
36336 "\xa8\xbd\x81\xcc\xbe\x94\xaf\xe4",
36337 .ptext = "\xff\x8d\xb9\xc0\xe3\x69\xb3\xb2"
36338 "\x8b\x11\x26\xb3\x11\xec\xfb\xb9"
36339 "\x9c\xc1\x71\xd6\xe3\x26\x0e\xe0"
36340 "\x68\x40\x60\xb9\x3a\x63\x56\x8a"
36341 "\x9e\xc1\xf0\x10\xb1\x64\x32\x70"
36342 "\xf8\xcd\xc6\xc4\x49\x4c\xe1\xce"
36343 "\xf3\xe1\x03\xf8\x35\xae\xe0\x5e"
36344 "\xef\x5f\xbc\x41\x75\x26\x13\xcc"
36345 "\x37\x85\xdf\xc0\x5d\xa6\x47\x98"
36346 "\xf1\x97\x52\x58\x04\xe6\xb5\x01"
36347 "\xc0\xb8\x17\x6d\x74\xbd\x9a\xdf"
36348 "\xa4\x37\x94\x86\xb0\x13\x83\x28"
36349 "\xc9\xa2\x07\x3f\xb5\xb2\x72\x40"
36350 "\x0e\x60\xdf\x57\x07\xb7\x2c\x66"
36351 "\x10\x3f\x8d\xdd\x30\x0a\x47\xd5"
36352 "\xe8\x9d\xfb\xa1\xaf\x53\xd7\x05"
36353 "\xc7\xd2\xba\xe7\x2c\xa0\xbf\xb8"
36354 "\xd1\x93\xe7\x41\x82\xa3\x41\x3a"
36355 "\xaf\x12\xd6\xf8\x34\xda\x92\x46"
36356 "\xad\xa2\x2f\xf6\x7e\x46\x96\xd8"
36357 "\x03\xf3\x49\x64\xde\xd8\x06\x8b"
36358 "\xa0\xbc\x63\x35\x38\xb6\x6b\xda"
36359 "\x5b\x50\x3f\x13\xa5\x84\x1b\x1b"
36360 "\x66\x89\x95\xb7\xc2\x16\x3c\xe9"
36361 "\x24\xb0\x8c\x6f\x49\xef\xf7\x28"
36362 "\x6a\x24\xfd\xbe\x25\xe2\xb4\x90"
36363 "\x77\x44\x08\xb8\xda\xd2\xde\x2c"
36364 "\xa0\x57\x45\x57\x29\x47\x6b\x89"
36365 "\x4a\xf6\xa7\x2a\xc3\x9e\x7b\xc8"
36366 "\xfd\x9f\x89\xab\xee\x6d\xa3\xb4"
36367 "\x23\x90\x7a\xe9\x89\xa0\xc7\xb3"
36368 "\x17\x41\x87\x91\xfc\x97\x42",
36369 .ctext = "\xfc\x9b\x96\x66\xc4\x82\x2a\x4a"
36370 "\xb1\x24\xba\xc7\x78\x5f\x79\xc1"
36371 "\x57\x2e\x47\x29\x4d\x7b\xd2\x9a"
36372 "\xbd\xc6\xc1\x26\x7b\x8e\x3f\x5d"
36373 "\xd4\xb4\x9f\x6a\x02\x24\x4a\xad"
36374 "\x0c\x00\x1b\xdf\x92\xc5\x8a\xe1"
36375 "\x77\x79\xcc\xd5\x20\xbf\x83\xf4"
36376 "\x4b\xad\x11\xbf\xdb\x47\x65\x70"
36377 "\x43\xf3\x65\xdf\xb7\xdc\xb2\xb9"
36378 "\xaa\x3f\xb3\xdf\x79\x69\x0d\xa0"
36379 "\x86\x1c\xba\x48\x0b\x01\xc1\x88"
36380 "\xdf\x03\xb1\x06\x3c\x1d\x56\xa1"
36381 "\x8e\x98\xc1\xa6\x95\xa2\x5b\x72"
36382 "\x76\x59\xd2\x26\x25\xcd\xef\x7c"
36383 "\xc9\x60\xea\x43\xd1\x12\x8a\x8a"
36384 "\x63\x12\x78\xcb\x2f\x88\x1e\x88"
36385 "\x78\x59\xde\xba\x4d\x2c\x78\x61"
36386 "\x75\x37\x54\xfd\x80\xc7\x5e\x98"
36387 "\xcf\x14\x62\x8e\xfb\x72\xee\x4d"
36388 "\x9f\xaf\x8b\x09\xe5\x21\x0a\x91"
36389 "\x8f\x88\x87\xd5\xb1\x84\xab\x18"
36390 "\x08\x57\xed\x72\x35\xa6\x0e\xc6"
36391 "\xff\xcb\xfe\x2c\x48\x39\x14\x44"
36392 "\xba\x59\x32\x3a\x2d\xc4\x5f\xcb"
36393 "\xbe\x68\x8e\x7b\xee\x21\xa4\x32"
36394 "\x11\xa0\x99\xfd\x90\xde\x59\x43"
36395 "\xeb\xed\xd5\x87\x68\x46\xc6\xde"
36396 "\x0b\x07\x17\x59\x6a\xab\xca\x15"
36397 "\x65\x02\x01\xb6\x71\x8c\x3b\xaa"
36398 "\x18\x3b\x30\xae\x38\x5b\x2c\x74"
36399 "\xd4\xee\x4a\xfc\xf7\x1b\x09\xd4"
36400 "\xda\x8b\x1d\x5d\x6f\x21\x6c",
36401 .klen = 16,
36402 .len = 255,
36403 },
36404 {
36405 .key = "\x24\xf6\xe1\x62\xe5\xaf\x99\xda"
36406 "\x84\xec\x41\xb0\xa3\x0b\xd5\xa8"
36407 "\xa0\x3e\x7b\xa6\xdd\x6c\x8f\xa8",
36408 .iv = "\x7f\x80\x24\x62\x32\xdd\xab\x66"
36409 "\xf2\x87\x29\x24\xec\xd2\x4b\x9f"
36410 "\x0c\x33\x52\xd9\xe0\xcc\x6e\xe4"
36411 "\x90\x85\x43\x97\xc4\x62\x14\x33",
36412 .ptext = "\xef\x58\xe7\x7f\xa9\xd9\xb8\xd7"
36413 "\xa2\x91\x97\x07\x27\x9e\xba\xe8"
36414 "\xaa",
36415 .ctext = "\xd7\xc3\x81\x91\xf2\x40\x17\x73"
36416 "\x3e\x3b\x1c\x2a\x8e\x11\x9c\x17"
36417 "\xf1",
36418 .klen = 24,
36419 .len = 17,
36420 },
36421 {
36422 .key = "\xbf\xaf\xd7\x67\x8c\x47\xcf\x21"
36423 "\x8a\xa5\xdd\x32\x25\x47\xbe\x4f"
36424 "\xf1\x3a\x0b\xa6\xaa\x2d\xcf\x09",
36425 .iv = "\xd9\xe8\xf0\x92\x4e\xfc\x1d\xf2"
36426 "\x81\x37\x7c\x8f\xf1\x59\x09\x20"
36427 "\xf4\x46\x51\x86\x4f\x54\x8b\x32"
36428 "\x58\xd1\x99\x8b\x8c\x03\xeb\x5d",
36429 .ptext = "\xcd\x64\x90\xf9\x7c\xe5\x0e\x5a"
36430 "\x75\xe7\x8e\x39\x86\xec\x20\x43"
36431 "\x8a\x49\x09\x15\x47\xf4\x3c\x89"
36432 "\x21\xeb\xcf\x4e\xcf\x91\xb5\x40"
36433 "\xcd\xe5\x4d\x5c\x6f\xf2\xd2\x80"
36434 "\xfa\xab\xb3\x76\x9f\x7f\x84\x0a",
36435 .ctext = "\x44\x98\x64\x15\xb7\x0b\x80\xa3"
36436 "\xb9\xca\x23\xff\x3b\x0b\x68\x74"
36437 "\xbb\x3e\x20\x19\x9f\x28\x71\x2a"
36438 "\x48\x3c\x7c\xe2\xef\xb5\x10\xac"
36439 "\x82\x9f\xcd\x08\x8f\x6b\x16\x6f"
36440 "\xc3\xbb\x07\xfb\x3c\xb0\x1b\x27",
36441 .klen = 24,
36442 .len = 48,
36443 },
36444 {
36445 .key = "\xb8\x35\xa2\x5f\x86\xbb\x82\x99"
36446 "\x27\xeb\x01\x3f\x92\xaf\x80\x24"
36447 "\x4c\x66\xa2\x89\xff\x2e\xa2\x25",
36448 .iv = "\x0a\x1d\x96\xd3\xe0\xe8\x0c\x9b"
36449 "\x9d\x6f\x21\x97\xc2\x17\xdb\x39"
36450 "\x3f\xd8\x64\x48\x80\x04\xee\x43"
36451 "\x02\xce\x88\xe2\x81\x81\x5f\x81",
36452 .ptext = "\xb8\xf9\x16\x8b\x25\x68\xd0\x9c"
36453 "\xd2\x28\xac\xa8\x79\xc2\x30\xc1"
36454 "\x31\xde\x1c\x37\x1b\xa2\xb5\xe6"
36455 "\xf0\xd0\xf8\x9c\x7f\xc6\x46\x07"
36456 "\x5c\xc3\x06\xe4\xf0\x02\xec\xf8"
36457 "\x59\x7c\xc2\x5d\xf8\x0c\x21\xae"
36458 "\x9e\x82\xb1\x1a\x5f\x78\x44\x15"
36459 "\x00\xa7\x2e\x52\xc5\x98\x98\x35"
36460 "\x03\xae\xd0\x8e\x07\x57\xe2\x5a"
36461 "\x17\xbf\x52\x40\x54\x5b\x74\xe5"
36462 "\x2d\x35\xaf\x9e\x37\xf7\x7e\x4a"
36463 "\x8c\x9e\xa1\xdc\x40\xb4\x5b\x36"
36464 "\xdc\x3a\x68\xe6\xb7\x35\x0b\x8a"
36465 "\x90\xec\x74\x8f\x09\x9a\x7f\x02"
36466 "\x4d\x03\x46\x35\x62\xb1\xbd\x08"
36467 "\x3f\x54\x2a\x10\x0b\xdc\x69\xaf"
36468 "\x25\x3a\x0c\x5f\xe0\x51\xe7\x11"
36469 "\xb7\x00\xab\xbb\x9a\xb0\xdc\x4d"
36470 "\xc3\x7d\x1a\x6e\xd1\x09\x52\xbd"
36471 "\x6b\x43\x55\x22\x3a\x78\x14\x7d"
36472 "\x79\xfd\x8d\xfc\x9b\x1d\x0f\xa2"
36473 "\xc7\xb9\xf8\x87\xd5\x96\x50\x61"
36474 "\xa7\x5e\x1e\x57\x97\xe0\xad\x2f"
36475 "\x93\xe6\xe8\x83\xec\x85\x26\x5e"
36476 "\xd9\x2a\x15\xe0\xe9\x09\x25\xa1"
36477 "\x77\x2b\x88\xdc\xa4\xa5\x48\xb6"
36478 "\xf7\xcc\xa6\xa9\xba\xf3\x42\x5c"
36479 "\x70\x9d\xe9\x29\xc1\xf1\x33\xdd"
36480 "\x56\x48\x17\x86\x14\x51\x5c\x10"
36481 "\xab\xfd\xd3\x26\x8c\x21\xf5\x93"
36482 "\x1b\xeb\x47\x97\x73\xbb\x88\x10"
36483 "\xf3\xfe\xf5\xde\xf3\x2e\x05\x46"
36484 "\x1c\x0d\xa3\x10\x48\x9c\x71\x16"
36485 "\x78\x33\x4d\x0a\x74\x3b\xe9\x34"
36486 "\x0b\xa7\x0e\x9e\x61\xe9\xe9\xfd"
36487 "\x85\xa0\xcb\x19\xfd\x7c\x33\xe3"
36488 "\x0e\xce\xc2\x6f\x9d\xa4\x2d\x77"
36489 "\xfd\xad\xee\x5e\x08\x3e\xd7\xf5"
36490 "\xfb\xc3\xd7\x93\x96\x08\x96\xca"
36491 "\x58\x81\x16\x9b\x98\x0a\xe2\xef"
36492 "\x7f\xda\x40\xe4\x1f\x46\x9e\x67"
36493 "\x2b\x84\xcb\x42\xc4\xd6\x6a\xcf"
36494 "\x2d\xb2\x33\xc0\x56\xb3\x35\x6f"
36495 "\x29\x36\x8f\x6a\x5b\xec\xd5\x4f"
36496 "\xa0\x70\xff\xb6\x5b\xde\x6a\x93"
36497 "\x20\x3c\xe2\x76\x7a\xef\x3c\x79"
36498 "\x31\x65\xce\x3a\x0e\xd0\xbe\xa8"
36499 "\x21\x95\xc7\x2b\x62\x8e\x67\xdd"
36500 "\x20\x79\xe4\xe5\x01\x15\xc0\xec"
36501 "\x0f\xd9\x23\xc8\xca\xdf\xd4\x7d"
36502 "\x1d\xf8\x64\x4f\x56\xb1\x83\xa7"
36503 "\x43\xbe\xfc\xcf\xc2\x8c\x33\xda"
36504 "\x36\xd0\x52\xef\x9e\x9e\x88\xf4"
36505 "\xa8\x21\x0f\xaa\xee\x8d\xa0\x24"
36506 "\x4d\xcb\xb1\x72\x07\xf0\xc2\x06"
36507 "\x60\x65\x85\x84\x2c\x60\xcf\x61"
36508 "\xe7\x56\x43\x5b\x2b\x50\x74\xfa"
36509 "\xdb\x4e\xea\x88\xd4\xb3\x83\x8f"
36510 "\x6f\x97\x4b\x57\x7a\x64\x64\xae"
36511 "\x0a\x37\x66\xc5\x03\xad\xb5\xf9"
36512 "\x08\xb0\x3a\x74\xde\x97\x51\xff"
36513 "\x48\x4f\x5c\xa4\xf8\x7a\xb4\x05"
36514 "\x27\x70\x52\x86\x1b\x78\xfc\x18"
36515 "\x06\x27\xa9\x62\xf7\xda\xd2\x8e",
36516 .ctext = "\x3b\xe1\xdb\xb3\xc5\x9a\xde\x69"
36517 "\x58\x05\xcc\xeb\x02\x51\x78\x4a"
36518 "\xac\x28\xe9\xed\xd1\xc9\x15\x7d"
36519 "\x33\x7d\xc1\x47\x12\x41\x11\xf8"
36520 "\x4a\x2c\xb7\xa3\x41\xbe\x59\xf7"
36521 "\x22\xdb\x2c\xda\x9c\x00\x61\x9b"
36522 "\x73\xb3\x0b\x84\x2b\xc1\xf3\x80"
36523 "\x84\xeb\x19\x60\x80\x09\xe1\xcd"
36524 "\x16\x3a\x20\x23\xc4\x82\x4f\xba"
36525 "\x3b\x8e\x55\xd7\xa9\x0b\x75\xd0"
36526 "\xda\xce\xd2\xee\x7e\x4b\x7f\x65"
36527 "\x4d\x28\xc5\xd3\x15\x2c\x40\x96"
36528 "\x52\xd4\x18\x61\x2b\xe7\x83\xec"
36529 "\x89\x62\x9c\x4c\x50\xe6\xe2\xbb"
36530 "\x25\xa1\x0f\xa7\xb0\xb4\xb2\xde"
36531 "\x54\x20\xae\xa3\x56\xa5\x26\x4c"
36532 "\xd5\xcc\xe5\xcb\x28\x44\xb1\xef"
36533 "\x67\x2e\x93\x6d\x00\x88\x83\x9a"
36534 "\xf2\x1c\x48\x38\xec\x1a\x24\x90"
36535 "\x73\x0a\xdb\xe8\xce\x95\x7a\x2c"
36536 "\x8c\xe9\xb7\x07\x1d\xb3\xa3\x20"
36537 "\xbe\xad\x61\x84\xac\xde\x76\xb5"
36538 "\xa6\x28\x29\x47\x63\xc4\xfc\x13"
36539 "\x3f\x71\xfb\x58\x37\x34\x82\xed"
36540 "\x9e\x05\x19\x1f\xc1\x67\xc1\xab"
36541 "\xf5\xfd\x7c\xea\xfa\xa4\xf8\x0a"
36542 "\xac\x4c\x92\xdf\x65\x73\xd7\xdb"
36543 "\xed\x2c\xe0\x84\x5f\x57\x8c\x76"
36544 "\x3e\x05\xc0\xc3\x68\x96\x95\x0b"
36545 "\x88\x97\xfe\x2e\x99\xd5\xc2\xb9"
36546 "\x53\x9f\xf3\x32\x10\x1f\x1f\x5d"
36547 "\xdf\x21\x95\x70\x91\xe8\xa1\x3e"
36548 "\x19\x3e\xb6\x0b\xa8\xdb\xf8\xd4"
36549 "\x54\x27\xb8\xab\x5d\x78\x0c\xe6"
36550 "\xb7\x08\xee\xa4\xb6\x6b\xeb\x5a"
36551 "\x89\x69\x2b\xbd\xd4\x21\x5b\xbf"
36552 "\x79\xbb\x0f\xff\xdb\x23\x9a\xeb"
36553 "\x8d\xf2\xc4\x39\xb4\x90\x77\x6f"
36554 "\x68\xe2\xb8\xf3\xf1\x65\x4f\xd5"
36555 "\x24\x80\x06\xaf\x7c\x8d\x15\x0c"
36556 "\xfd\x56\xe5\xe3\x01\xa5\xf7\x1c"
36557 "\x31\xd6\xa2\x01\x1e\x59\xf9\xa9"
36558 "\x42\xd5\xc2\x34\xda\x25\xde\xc6"
36559 "\x5d\x38\xef\xd1\x4c\xc1\xd9\x1b"
36560 "\x98\xfd\xcd\x57\x6f\xfd\x46\x91"
36561 "\x90\x3d\x52\x2b\x2c\x7d\xcf\x71"
36562 "\xcf\xd1\x77\x23\x71\x36\xb1\xce"
36563 "\xc7\x5d\xf0\x5b\x44\x3d\x43\x71"
36564 "\xac\xb8\xa0\x6a\xea\x89\x5c\xff"
36565 "\x81\x73\xd4\x83\xd1\xc9\xe9\xe2"
36566 "\xa8\xa6\x0f\x36\xe6\xaa\x57\xd4"
36567 "\x27\xd2\xc9\xda\x94\x02\x1f\xfb"
36568 "\xe1\xa1\x07\xbe\xe1\x1b\x15\x94"
36569 "\x1e\xac\x2f\x57\xbb\x41\x22\xaf"
36570 "\x60\x5e\xcc\x66\xcb\x16\x62\xab"
36571 "\xb8\x7c\x99\xf4\x84\x93\x0c\xc2"
36572 "\xa2\x49\xe4\xfd\x17\x55\xe1\xa6"
36573 "\x8d\x5b\xc6\x1b\xc8\xac\xec\x11"
36574 "\x33\xcf\xb0\xe8\xc7\x28\x4f\xb2"
36575 "\x5c\xa6\xe2\x71\xab\x80\x0a\xa7"
36576 "\x5c\x59\x50\x9f\x7a\x32\xb7\xe5"
36577 "\x24\x9a\x8e\x25\x21\x2e\xb7\x18"
36578 "\xd0\xf2\xe7\x27\x6f\xda\xc1\x00"
36579 "\xd9\xa6\x03\x59\xac\x4b\xcb\xba",
36580 .klen = 24,
36581 .len = 512,
36582 },
36583 {
36584 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
36585 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
36586 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
36587 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
36588 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
36589 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
36590 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
36591 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
36592 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
36593 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
36594 .ctext = "\x27\x38\x78\x47\x16\xd9\x71\x35"
36595 "\x2e\x7e\xdd\x7e\x43\x3c\xb8\x40",
36596 .klen = 32,
36597 .len = 16,
36598 },
36599 {
36600 .key = "\x93\xfa\x7e\xe2\x0e\x67\xc4\x39"
36601 "\xe7\xca\x47\x95\x68\x9d\x5e\x5a"
36602 "\x7c\x26\x19\xab\xc6\xca\x6a\x4c"
36603 "\x45\xa6\x96\x42\xae\x6c\xff\xe7",
36604 .iv = "\xea\x82\x47\x95\x3b\x22\xa1\x3a"
36605 "\x6a\xca\x24\x4c\x50\x7e\x23\xcd"
36606 "\x0e\x50\xe5\x41\xb6\x65\x29\xd8"
36607 "\x30\x23\x00\xd2\x54\xa7\xd6\x56",
36608 .ptext = "\xdb\x1f\x1f\xec\xad\x83\x6e\x5d"
36609 "\x19\xa5\xf6\x3b\xb4\x93\x5a\x57"
36610 "\x6f",
36611 .ctext = "\xf1\x46\x6e\x9d\xb3\x01\xf0\x6b"
36612 "\xc2\xac\x57\x88\x48\x6d\x40\x72"
36613 "\x68",
36614 .klen = 32,
36615 .len = 17,
36616 },
36617 {
36618 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
36619 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
36620 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
36621 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
36622 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
36623 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
36624 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
36625 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
36626 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
36627 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
36628 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
36629 "\x43\x5a\x46\x06\x94\x2d\xf2",
36630 .ctext = "\xdb\xfd\xc8\x03\xd0\xec\xc1\xfe"
36631 "\xbd\x64\x37\xb8\x82\x43\x62\x4e"
36632 "\x7e\x54\xa3\xe2\x24\xa7\x27\xe8"
36633 "\xa4\xd5\xb3\x6c\xb2\x26\xb4",
36634 .klen = 32,
36635 .len = 31,
36636 },
36637 {
36638 .key = "\x03\x65\x03\x6e\x4d\xe6\xe8\x4e"
36639 "\x8b\xbe\x22\x19\x48\x31\xee\xd9"
36640 "\xa0\x91\x21\xbe\x62\x89\xde\x78"
36641 "\xd9\xb0\x36\xa3\x3c\xce\x43\xd5",
36642 .iv = "\xa9\xc3\x4b\xe7\x0f\xfc\x6d\xbf"
36643 "\x56\x27\x21\x1c\xfc\xd6\x04\x10"
36644 "\x5f\x43\xe2\x30\x35\x29\x6c\x10"
36645 "\x90\xf1\xbf\x61\xed\x0f\x8a\x91",
36646 .ptext = "\x07\xaa\x02\x26\xb4\x98\x11\x5e"
36647 "\x33\x41\x21\x51\x51\x63\x2c\x72"
36648 "\x00\xab\x32\xa7\x1c\xc8\x3c\x9c"
36649 "\x25\x0e\x8b\x9a\xdf\x85\xed\x2d"
36650 "\xf4\xf2\xbc\x55\xca\x92\x6d\x22"
36651 "\xfd\x22\x3b\x42\x4c\x0b\x74\xec",
36652 .ctext = "\x7b\xb1\x43\x6d\xd8\x72\x6c\xf6"
36653 "\x67\x6a\x00\xc4\xf1\xf0\xf5\xa4"
36654 "\xfc\x60\x91\xab\x46\x0b\x15\xfc"
36655 "\xd7\xc1\x28\x15\xa1\xfc\xf7\x68"
36656 "\x8e\xcc\x27\x62\x00\x64\x56\x72"
36657 "\xa6\x17\xd7\x3f\x67\x80\x10\x58",
36658 .klen = 32,
36659 .len = 48,
36660 },
36661 {
36662 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
36663 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
36664 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
36665 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
36666 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
36667 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
36668 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
36669 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
36670 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
36671 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
36672 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
36673 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
36674 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
36675 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
36676 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
36677 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
36678 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
36679 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
36680 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
36681 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
36682 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
36683 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
36684 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
36685 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
36686 .ctext = "\xeb\xf9\x98\x86\x3c\x40\x9f\x16"
36687 "\x84\x01\xf9\x06\x0f\xeb\x3c\xa9"
36688 "\x4c\xa4\x8e\x5d\xc3\x8d\xe5\xd3"
36689 "\xae\xa6\xe6\xcc\xd6\x2d\x37\x4f"
36690 "\x99\xc8\xa3\x21\x46\xb8\x69\xf2"
36691 "\xe3\x14\x89\xd7\xb9\xf5\x9e\x4e"
36692 "\x07\x93\x6f\x78\x8e\x6b\xea\x8f"
36693 "\xfb\x43\xb8\x3e\x9b\x4c\x1d\x7e"
36694 "\x20\x9a\xc5\x87\xee\xaf\xf6\xf9"
36695 "\x46\xc5\x18\x8a\xe8\x69\xe7\x96"
36696 "\x52\x55\x5f\x00\x1e\x1a\xdc\xcc"
36697 "\x13\xa5\xee\xff\x4b\x27\xca\xdc"
36698 "\x10\xa6\x48\x76\x98\x43\x94\xa3"
36699 "\xc7\xe2\xc9\x65\x9b\x08\x14\x26"
36700 "\x1d\x68\xfb\x15\x0a\x33\x49\x84"
36701 "\x84\x33\x5a\x1b\x24\x46\x31\x92",
36702 .klen = 32,
36703 .len = 128,
36704 },
36705 {
36706 .key = "\x36\x45\x11\xa2\x98\x5f\x96\x7c"
36707 "\xc6\xb4\x94\x31\x0a\x67\x09\x32"
36708 "\x6c\x6f\x6f\x00\xf0\x17\xcb\xac"
36709 "\xa5\xa9\x47\x9e\x2e\x85\x2f\xfa",
36710 .iv = "\x28\x88\xaa\x9b\x59\x3b\x1e\x97"
36711 "\x82\xe5\x5c\x9e\x6d\x14\x11\x19"
36712 "\x6e\x38\x8f\xd5\x40\x2b\xca\xf9"
36713 "\x7b\x4c\xe4\xa3\xd0\xd2\x8a\x13",
36714 .ptext = "\x95\xd2\xf7\x71\x1b\xca\xa5\x86"
36715 "\xd9\x48\x01\x93\x2f\x79\x55\x29"
36716 "\x71\x13\x15\x0e\xe6\x12\xbc\x4d"
36717 "\x8a\x31\xe3\x40\x2a\xc6\x5e\x0d"
36718 "\x68\xbb\x4a\x62\x8d\xc7\x45\x77"
36719 "\xd2\xb8\xc7\x1d\xf1\xd2\x5d\x97"
36720 "\xcf\xac\x52\xe5\x32\x77\xb6\xda"
36721 "\x30\x85\xcf\x2b\x98\xe9\xaa\x34"
36722 "\x62\xb5\x23\x9e\xb7\xa6\xd4\xe0"
36723 "\xb4\x58\x18\x8c\x4d\xde\x4d\x01"
36724 "\x83\x89\x24\xca\xfb\x11\xd4\x82"
36725 "\x30\x7a\x81\x35\xa0\xb4\xd4\xb6"
36726 "\x84\xea\x47\x91\x8c\x19\x86\x25"
36727 "\xa6\x06\x8d\x78\xe6\xed\x87\xeb"
36728 "\xda\xea\x73\x7c\xbf\x66\xb8\x72"
36729 "\xe3\x0a\xb8\x0c\xcb\x1a\x73\xf1"
36730 "\xa7\xca\x0a\xde\x57\x2b\xbd\x2b"
36731 "\xeb\x8b\x24\x38\x22\xd3\x0e\x1f"
36732 "\x17\xa0\x84\x98\x31\x77\xfd\x34"
36733 "\x6a\x4e\x3d\x84\x4c\x0e\xfb\xed"
36734 "\xc8\x2a\x51\xfa\xd8\x73\x21\x8a"
36735 "\xdb\xb5\xfe\x1f\xee\xc4\xe8\x65"
36736 "\x54\x84\xdd\x96\x6d\xfd\xd3\x31"
36737 "\x77\x36\x52\x6b\x80\x4f\x9e\xb4"
36738 "\xa2\x55\xbf\x66\x41\x49\x4e\x87"
36739 "\xa7\x0c\xca\xe7\xa5\xc5\xf6\x6f"
36740 "\x27\x56\xe2\x48\x22\xdd\x5f\x59"
36741 "\x3c\xf1\x9f\x83\xe5\x2d\xfb\x71"
36742 "\xad\xd1\xae\x1b\x20\x5c\x47\xb7"
36743 "\x3b\xd3\x14\xce\x81\x42\xb1\x0a"
36744 "\xf0\x49\xfa\xc2\xe7\x86\xbf\xcd"
36745 "\xb0\x95\x9f\x8f\x79\x41\x54",
36746 .ctext = "\xf6\x57\x51\xc4\x25\x61\x2d\xfa"
36747 "\xd6\xd9\x3f\x9a\x81\x51\xdd\x8e"
36748 "\x3d\xe7\xaa\x2d\xb1\xda\xc8\xa6"
36749 "\x9d\xaa\x3c\xab\x62\xf2\x80\xc3"
36750 "\x2c\xe7\x58\x72\x1d\x44\xc5\x28"
36751 "\x7f\xb4\xf9\xbc\x9c\xb2\xab\x8e"
36752 "\xfa\xd1\x4d\x72\xd9\x79\xf5\xa0"
36753 "\x24\x3e\x90\x25\x31\x14\x38\x45"
36754 "\x59\xc8\xf6\xe2\xc6\xf6\xc1\xa7"
36755 "\xb2\xf8\xa7\xa9\x2b\x6f\x12\x3a"
36756 "\xb0\x81\xa4\x08\x57\x59\xb1\x56"
36757 "\x4c\x8f\x18\x55\x33\x5f\xd6\x6a"
36758 "\xc6\xa0\x4b\xd6\x6b\x64\x3e\x9e"
36759 "\xfd\x66\x16\xe2\xdb\xeb\x5f\xb3"
36760 "\x50\x50\x3e\xde\x8d\x72\x76\x01"
36761 "\xbe\xcc\xc9\x52\x09\x2d\x8d\xe7"
36762 "\xd6\xc3\x66\xdb\x36\x08\xd1\x77"
36763 "\xc8\x73\x46\x26\x24\x29\xbf\x68"
36764 "\x2d\x2a\x99\x43\x56\x55\xe4\x93"
36765 "\xaf\xae\x4d\xe7\x55\x4a\xc0\x45"
36766 "\x26\xeb\x3b\x12\x90\x7c\xdc\xd1"
36767 "\xd5\x6f\x0a\xd0\xa9\xd7\x4b\x89"
36768 "\x0b\x07\xd8\x86\xad\xa1\xc4\x69"
36769 "\x1f\x5e\x8b\xc4\x9e\x91\x41\x25"
36770 "\x56\x98\x69\x78\x3a\x9e\xae\x91"
36771 "\xd8\xd9\xfa\xfb\xff\x81\x25\x09"
36772 "\xfc\xed\x2d\x87\xbc\x04\x62\x97"
36773 "\x35\xe1\x26\xc2\x46\x1c\xcf\xd7"
36774 "\x14\xed\x02\x09\xa5\xb2\xb6\xaa"
36775 "\x27\x4e\x61\xb3\x71\x6b\x47\x16"
36776 "\xb7\xe8\xd4\xaf\x52\xeb\x6a\x6b"
36777 "\xdb\x4c\x65\x21\x9e\x1c\x36",
36778 .klen = 32,
36779 .len = 255,
36780 },
36781 {
36782 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
36783 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
36784 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
36785 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
36786 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
36787 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
36788 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
36789 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
36790 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
36791 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
36792 "\x05\xa3\x69\x60\x91\x36\x98\x57"
36793 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
36794 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
36795 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
36796 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
36797 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
36798 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
36799 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
36800 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
36801 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
36802 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
36803 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
36804 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
36805 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
36806 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
36807 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
36808 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
36809 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
36810 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
36811 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
36812 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
36813 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
36814 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
36815 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
36816 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
36817 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
36818 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
36819 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
36820 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
36821 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
36822 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
36823 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
36824 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
36825 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
36826 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
36827 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
36828 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
36829 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
36830 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
36831 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
36832 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
36833 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
36834 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
36835 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
36836 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
36837 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
36838 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
36839 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
36840 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
36841 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
36842 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
36843 "\x17\x7c\x25\x48\x52\x67\x11\x27"
36844 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
36845 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
36846 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
36847 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
36848 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
36849 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
36850 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
36851 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
36852 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
36853 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
36854 .ctext = "\x9f\x72\x87\xc7\x17\xfb\x20\x15"
36855 "\x65\xb3\x55\xa8\x1c\x8e\x52\x32"
36856 "\xb1\x82\x8d\xbf\xb5\x9f\x10\x0a"
36857 "\xe8\x0c\x70\x62\xef\x89\xb6\x1f"
36858 "\x73\xcc\xe4\xcc\x7a\x3a\x75\x4a"
36859 "\x26\xe7\xf5\xd7\x7b\x17\x39\x2d"
36860 "\xd2\x27\x6e\xf9\x2f\x9e\xe2\xf6"
36861 "\xfa\x16\xc2\xf2\x49\x26\xa7\x5b"
36862 "\xe7\xca\x25\x0e\x45\xa0\x34\xc2"
36863 "\x9a\x37\x79\x7e\x7c\x58\x18\x94"
36864 "\x10\xa8\x7c\x48\xa9\xd7\x63\x89"
36865 "\x9e\x61\x4d\x26\x34\xd9\xf0\xb1"
36866 "\x2d\x17\x2c\x6f\x7c\x35\x0e\xbe"
36867 "\x77\x71\x7c\x17\x5b\xab\x70\xdb"
36868 "\x2f\x54\x0f\xa9\xc8\xf4\xf5\xab"
36869 "\x52\x04\x3a\xb8\x03\xa7\xfd\x57"
36870 "\x45\x5e\xbc\x77\xe1\xee\x79\x8c"
36871 "\x58\x7b\x1f\xf7\x75\xde\x68\x17"
36872 "\x98\x85\x8a\x18\x5c\xd2\x39\x78"
36873 "\x7a\x6f\x26\x6e\xe1\x13\x91\xdd"
36874 "\xdf\x0e\x6e\x67\xcc\x51\x53\xd8"
36875 "\x17\x5e\xce\xa7\xe4\xaf\xfa\xf3"
36876 "\x4f\x9f\x01\x9b\x04\xe7\xfc\xf9"
36877 "\x6a\xdc\x1d\x0c\x9a\xaa\x3a\x7a"
36878 "\x73\x03\xdf\xbf\x3b\x82\xbe\xb0"
36879 "\xb4\xa4\xcf\x07\xd7\xde\x71\x25"
36880 "\xc5\x10\xee\x0a\x15\x96\x8b\x4f"
36881 "\xfe\xb8\x28\xbd\x4a\xcd\xeb\x9f"
36882 "\x5d\x00\xc1\xee\xe8\x16\x44\xec"
36883 "\xe9\x7b\xd6\x85\x17\x29\xcf\x58"
36884 "\x20\xab\xf7\xce\x6b\xe7\x71\x7d"
36885 "\x4f\xa8\xb0\xe9\x7d\x70\xd6\x0b"
36886 "\x2e\x20\xb1\x1a\x63\x37\xaa\x2c"
36887 "\x94\xee\xd5\xf6\x58\x2a\xf4\x7a"
36888 "\x4c\xba\xf5\xe9\x3c\x6f\x95\x13"
36889 "\x5f\x96\x81\x5b\xb5\x62\xf2\xd7"
36890 "\x8d\xbe\xa1\x31\x51\xe6\xfe\xc9"
36891 "\x07\x7d\x0f\x00\x3a\x66\x8c\x4b"
36892 "\x94\xaa\xe5\x56\xde\xcd\x74\xa7"
36893 "\x48\x67\x6f\xed\xc9\x6a\xef\xaf"
36894 "\x9a\xb7\xae\x60\xfa\xc0\x37\x39"
36895 "\xa5\x25\xe5\x22\xea\x82\x55\x68"
36896 "\x3e\x30\xc3\x5a\xb6\x29\x73\x7a"
36897 "\xb6\xfb\x34\xee\x51\x7c\x54\xe5"
36898 "\x01\x4d\x72\x25\x32\x4a\xa3\x68"
36899 "\x80\x9a\x89\xc5\x11\x66\x4c\x8c"
36900 "\x44\x50\xbe\xd7\xa0\xee\xa6\xbb"
36901 "\x92\x0c\xe6\xd7\x83\x51\xb1\x69"
36902 "\x63\x40\xf3\xf4\x92\x84\xc4\x38"
36903 "\x29\xfb\xb4\x84\xa0\x19\x75\x16"
36904 "\x60\xbf\x0a\x9c\x89\xee\xad\xb4"
36905 "\x43\xf9\x71\x39\x45\x7c\x24\x83"
36906 "\x30\xbb\xee\x28\xb0\x86\x7b\xec"
36907 "\x93\xc1\xbf\xb9\x97\x1b\x96\xef"
36908 "\xee\x58\x35\x61\x12\x19\xda\x25"
36909 "\x77\xe5\x80\x1a\x31\x27\x9b\xe4"
36910 "\xda\x8b\x7e\x51\x4d\xcb\x01\x19"
36911 "\x4f\xdc\x92\x1a\x17\xd5\x6b\xf4"
36912 "\x50\xe3\x06\xe4\x76\x9f\x65\x00"
36913 "\xbd\x7a\xe2\x64\x26\xf2\xe4\x7e"
36914 "\x40\xf2\x80\xab\x62\xd5\xef\x23"
36915 "\x8b\xfb\x6f\x24\x6e\x9b\x66\x0e"
36916 "\xf4\x1c\x24\x1e\x1d\x26\x95\x09"
36917 "\x94\x3c\xb2\xb6\x02\xa7\xd9\x9a",
36918 .klen = 32,
36919 .len = 512,
36920 },
36921
36922};
36923
36924#ifdef __LITTLE_ENDIAN
36925#define AUTHENC_KEY_HEADER(enckeylen) \
36926 "\x08\x00\x01\x00" /* LE rtattr */ \
36927 enckeylen /* crypto_authenc_key_param */
36928#else
36929#define AUTHENC_KEY_HEADER(enckeylen) \
36930 "\x00\x08\x00\x01" /* BE rtattr */ \
36931 enckeylen /* crypto_authenc_key_param */
36932#endif
36933
36934static const struct aead_testvec krb5_test_aes128_cts_hmac_sha256_128[] = {
36935 /* rfc8009 Appendix A */
36936 {
36937 /* "enc no plain" */
36938 .key =
36939 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
36940 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
36941 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
36942 .klen = 4 + 4 + 16 + 16,
36943 .ptext =
36944 "\x7E\x58\x95\xEA\xF2\x67\x24\x35\xBA\xD8\x17\xF5\x45\xA3\x71\x48" // Confounder
36945 "", // Plain
36946 .plen = 16 + 0,
36947 .ctext =
36948 "\xEF\x85\xFB\x89\x0B\xB8\x47\x2F\x4D\xAB\x20\x39\x4D\xCA\x78\x1D"
36949 "\xAD\x87\x7E\xDA\x39\xD5\x0C\x87\x0C\x0D\x5A\x0A\x8E\x48\xC7\x18",
36950 .clen = 16 + 0 + 16,
36951 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
36952 .alen = 16,
36953 }, {
36954 /* "enc plain<block" */
36955 .key =
36956 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
36957 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
36958 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
36959 .klen = 4 + 4 + 16 + 16,
36960 .ptext =
36961 "\x7B\xCA\x28\x5E\x2F\xD4\x13\x0F\xB5\x5B\x1A\x5C\x83\xBC\x5B\x24" // Confounder
36962 "\x00\x01\x02\x03\x04\x05", // Plain
36963 .plen = 16 + 6,
36964 .ctext =
36965 "\x84\xD7\xF3\x07\x54\xED\x98\x7B\xAB\x0B\xF3\x50\x6B\xEB\x09\xCF"
36966 "\xB5\x54\x02\xCE\xF7\xE6\x87\x7C\xE9\x9E\x24\x7E\x52\xD1\x6E\xD4"
36967 "\x42\x1D\xFD\xF8\x97\x6C",
36968 .clen = 16 + 6 + 16,
36969 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
36970 .alen = 16,
36971 }, {
36972 /* "enc plain==block" */
36973 .key =
36974 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
36975 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
36976 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
36977 .klen = 4 + 4 + 16 + 16,
36978 .ptext =
36979 "\x56\xAB\x21\x71\x3F\xF6\x2C\x0A\x14\x57\x20\x0F\x6F\xA9\x94\x8F" // Confounder
36980 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F", // Plain
36981 .plen = 16 + 16,
36982 .ctext =
36983 "\x35\x17\xD6\x40\xF5\x0D\xDC\x8A\xD3\x62\x87\x22\xB3\x56\x9D\x2A"
36984 "\xE0\x74\x93\xFA\x82\x63\x25\x40\x80\xEA\x65\xC1\x00\x8E\x8F\xC2"
36985 "\x95\xFB\x48\x52\xE7\xD8\x3E\x1E\x7C\x48\xC3\x7E\xEB\xE6\xB0\xD3",
36986 .clen = 16 + 16 + 16,
36987 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
36988 .alen = 16,
36989 }, {
36990 /* "enc plain>block" */
36991 .key =
36992 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
36993 "\x9F\xDA\x0E\x56\xAB\x2D\x85\xE1\x56\x9A\x68\x86\x96\xC2\x6A\x6C" // Ki
36994 "\x9B\x19\x7D\xD1\xE8\xC5\x60\x9D\x6E\x67\xC3\xE3\x7C\x62\xC7\x2E", // Ke
36995 .klen = 4 + 4 + 16 + 16,
36996 .ptext =
36997 "\xA7\xA4\xE2\x9A\x47\x28\xCE\x10\x66\x4F\xB6\x4E\x49\xAD\x3F\xAC" // Confounder
36998 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"
36999 "\x10\x11\x12\x13\x14", // Plain
37000 .plen = 16 + 21,
37001 .ctext =
37002 "\x72\x0F\x73\xB1\x8D\x98\x59\xCD\x6C\xCB\x43\x46\x11\x5C\xD3\x36"
37003 "\xC7\x0F\x58\xED\xC0\xC4\x43\x7C\x55\x73\x54\x4C\x31\xC8\x13\xBC"
37004 "\xE1\xE6\xD0\x72\xC1\x86\xB3\x9A\x41\x3C\x2F\x92\xCA\x9B\x83\x34"
37005 "\xA2\x87\xFF\xCB\xFC",
37006 .clen = 16 + 21 + 16,
37007 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37008 .alen = 16,
37009 },
37010};
37011
37012static const struct aead_testvec krb5_test_aes256_cts_hmac_sha384_192[] = {
37013 /* rfc8009 Appendix A */
37014 {
37015 /* "enc no plain" */
37016 .key =
37017 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37018 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37019 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37020 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37021 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37022 .klen = 4 + 4 + 32 + 24,
37023 .ptext =
37024 "\xF7\x64\xE9\xFA\x15\xC2\x76\x47\x8B\x2C\x7D\x0C\x4E\x5F\x58\xE4" // Confounder
37025 "", // Plain
37026 .plen = 16 + 0,
37027 .ctext =
37028 "\x41\xF5\x3F\xA5\xBF\xE7\x02\x6D\x91\xFA\xF9\xBE\x95\x91\x95\xA0"
37029 "\x58\x70\x72\x73\xA9\x6A\x40\xF0\xA0\x19\x60\x62\x1A\xC6\x12\x74"
37030 "\x8B\x9B\xBF\xBE\x7E\xB4\xCE\x3C",
37031 .clen = 16 + 0 + 24,
37032 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37033 .alen = 16,
37034 }, {
37035 /* "enc plain<block" */
37036 .key =
37037 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37038 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37039 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37040 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37041 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37042 .klen = 4 + 4 + 32 + 24,
37043 .ptext =
37044 "\xB8\x0D\x32\x51\xC1\xF6\x47\x14\x94\x25\x6F\xFE\x71\x2D\x0B\x9A" // Confounder
37045 "\x00\x01\x02\x03\x04\x05", // Plain
37046 .plen = 16 + 6,
37047 .ctext =
37048 "\x4E\xD7\xB3\x7C\x2B\xCA\xC8\xF7\x4F\x23\xC1\xCF\x07\xE6\x2B\xC7"
37049 "\xB7\x5F\xB3\xF6\x37\xB9\xF5\x59\xC7\xF6\x64\xF6\x9E\xAB\x7B\x60"
37050 "\x92\x23\x75\x26\xEA\x0D\x1F\x61\xCB\x20\xD6\x9D\x10\xF2",
37051 .clen = 16 + 6 + 24,
37052 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37053 .alen = 16,
37054 }, {
37055 /* "enc plain==block" */
37056 .key =
37057 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37058 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37059 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37060 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37061 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37062 .klen = 4 + 4 + 32 + 24,
37063 .ptext =
37064 "\x53\xBF\x8A\x0D\x10\x52\x65\xD4\xE2\x76\x42\x86\x24\xCE\x5E\x63" // Confounder
37065 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F", // Plain
37066 .plen = 16 + 16,
37067 .ctext =
37068 "\xBC\x47\xFF\xEC\x79\x98\xEB\x91\xE8\x11\x5C\xF8\xD1\x9D\xAC\x4B"
37069 "\xBB\xE2\xE1\x63\xE8\x7D\xD3\x7F\x49\xBE\xCA\x92\x02\x77\x64\xF6"
37070 "\x8C\xF5\x1F\x14\xD7\x98\xC2\x27\x3F\x35\xDF\x57\x4D\x1F\x93\x2E"
37071 "\x40\xC4\xFF\x25\x5B\x36\xA2\x66",
37072 .clen = 16 + 16 + 24,
37073 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37074 .alen = 16,
37075 }, {
37076 /* "enc plain>block" */
37077 .key =
37078 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37079 "\x69\xB1\x65\x14\xE3\xCD\x8E\x56\xB8\x20\x10\xD5\xC7\x30\x12\xB6"
37080 "\x22\xC4\xD0\x0F\xFC\x23\xED\x1F" // Ki
37081 "\x56\xAB\x22\xBE\xE6\x3D\x82\xD7\xBC\x52\x27\xF6\x77\x3F\x8E\xA7"
37082 "\xA5\xEB\x1C\x82\x51\x60\xC3\x83\x12\x98\x0C\x44\x2E\x5C\x7E\x49", // Ke
37083 .klen = 4 + 4 + 32 + 24,
37084 .ptext =
37085 "\x76\x3E\x65\x36\x7E\x86\x4F\x02\xF5\x51\x53\xC7\xE3\xB5\x8A\xF1" // Confounder
37086 "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"
37087 "\x10\x11\x12\x13\x14", // Plain
37088 .plen = 16 + 21,
37089 .ctext =
37090 "\x40\x01\x3E\x2D\xF5\x8E\x87\x51\x95\x7D\x28\x78\xBC\xD2\xD6\xFE"
37091 "\x10\x1C\xCF\xD5\x56\xCB\x1E\xAE\x79\xDB\x3C\x3E\xE8\x64\x29\xF2"
37092 "\xB2\xA6\x02\xAC\x86\xFE\xF6\xEC\xB6\x47\xD6\x29\x5F\xAE\x07\x7A"
37093 "\x1F\xEB\x51\x75\x08\xD2\xC1\x6B\x41\x92\xE0\x1F\x62",
37094 .clen = 16 + 21 + 24,
37095 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", // IV
37096 .alen = 16,
37097 },
37098};
37099
37100static const struct aead_testvec krb5_test_camellia_cts_cmac[] = {
37101 /* rfc6803 sec 10 */
37102 {
37103 // "enc no plain"
37104 .key =
37105 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37106 "\x45\xeb\x66\xe2\xef\xa8\x77\x8f\x7d\xf1\x46\x54\x53\x05\x98\x06" // Ki
37107 "\xe9\x9b\x82\xb3\x6c\x4a\xe8\xea\x19\xe9\x5d\xfa\x9e\xde\x88\x2c", // Ke
37108 .klen = 4 + 4 + 16 * 2,
37109 .ptext =
37110 "\xB6\x98\x22\xA1\x9A\x6B\x09\xC0\xEB\xC8\x55\x7D\x1F\x1B\x6C\x0A" // Confounder
37111 "", // Plain
37112 .plen = 16 + 0,
37113 .ctext =
37114 "\xC4\x66\xF1\x87\x10\x69\x92\x1E\xDB\x7C\x6F\xDE\x24\x4A\x52\xDB"
37115 "\x0B\xA1\x0E\xDC\x19\x7B\xDB\x80\x06\x65\x8C\xA3\xCC\xCE\x6E\xB8",
37116 .clen = 16 + 0 + 16,
37117 }, {
37118 // "enc 1 plain",
37119 .key =
37120 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37121 "\x13\x5f\xe7\x11\x6f\x53\xc2\xaa\x36\x12\xb7\xea\xe0\xf2\x84\xaa" // Ki
37122 "\xa7\xed\xcd\x53\x97\xea\x6d\x12\xb0\xaf\xf4\xcb\x8d\xaa\x57\xad", // Ke
37123 .klen = 4 + 4 + 16 * 2,
37124 .ptext =
37125 "\x6F\x2F\xC3\xC2\xA1\x66\xFD\x88\x98\x96\x7A\x83\xDE\x95\x96\xD9" // Confounder
37126 "1", // Plain
37127 .plen = 16 + 1,
37128 .ctext =
37129 "\x84\x2D\x21\xFD\x95\x03\x11\xC0\xDD\x46\x4A\x3F\x4B\xE8\xD6\xDA"
37130 "\x88\xA5\x6D\x55\x9C\x9B\x47\xD3\xF9\xA8\x50\x67\xAF\x66\x15\x59"
37131 "\xB8",
37132 .clen = 16 + 1 + 16,
37133 }, {
37134 // "enc 9 plain",
37135 .key =
37136 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37137 "\x10\x2c\x34\xd0\x75\x74\x9f\x77\x8a\x15\xca\xd1\xe9\x7d\xa9\x86" // Ki
37138 "\xdd\xe4\x2e\xca\x7c\xd9\x86\x3f\xc3\xce\x89\xcb\xc9\x43\x62\xd7", // Ke
37139 .klen = 4 + 4 + 16 * 2,
37140 .ptext =
37141 "\xA5\xB4\xA7\x1E\x07\x7A\xEE\xF9\x3C\x87\x63\xC1\x8F\xDB\x1F\x10" // Confounder
37142 "9 bytesss", // Plain
37143 .plen = 16 + 9,
37144 .ctext =
37145 "\x61\x9F\xF0\x72\xE3\x62\x86\xFF\x0A\x28\xDE\xB3\xA3\x52\xEC\x0D"
37146 "\x0E\xDF\x5C\x51\x60\xD6\x63\xC9\x01\x75\x8C\xCF\x9D\x1E\xD3\x3D"
37147 "\x71\xDB\x8F\x23\xAA\xBF\x83\x48\xA0",
37148 .clen = 16 + 9 + 16,
37149 }, {
37150 // "enc 13 plain",
37151 .key =
37152 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37153 "\xb8\xc4\x38\xcc\x1a\x00\x60\xfc\x91\x3a\x8e\x07\x16\x96\xbd\x08" // Ki
37154 "\xc3\x11\x3a\x25\x85\x90\xb9\xae\xbf\x72\x1b\x1a\xf6\xb0\xcb\xf8", // Ke
37155 .klen = 4 + 4 + 16 * 2,
37156 .ptext =
37157 "\x19\xFE\xE4\x0D\x81\x0C\x52\x4B\x5B\x22\xF0\x18\x74\xC6\x93\xDA" // Confounder
37158 "13 bytes byte", // Plain
37159 .plen = 16 + 13,
37160 .ctext =
37161 "\xB8\xEC\xA3\x16\x7A\xE6\x31\x55\x12\xE5\x9F\x98\xA7\xC5\x00\x20"
37162 "\x5E\x5F\x63\xFF\x3B\xB3\x89\xAF\x1C\x41\xA2\x1D\x64\x0D\x86\x15"
37163 "\xC9\xED\x3F\xBE\xB0\x5A\xB6\xAC\xB6\x76\x89\xB5\xEA",
37164 .clen = 16 + 13 + 16,
37165 }, {
37166 // "enc 30 plain",
37167 .key =
37168 AUTHENC_KEY_HEADER("\x00\x00\x00\x10")
37169 "\x18\xaf\x19\xb0\x23\x74\x44\xfd\x75\x04\xad\x7d\xbd\x48\xad\xd3" // Ki
37170 "\x8b\x07\xee\xd3\x01\x49\x91\x6a\xa2\x0d\xb3\xf5\xce\xd8\xaf\xad", // Ke
37171 .klen = 4 + 4 + 16 * 2,
37172 .ptext =
37173 "\xCA\x7A\x7A\xB4\xBE\x19\x2D\xAB\xD6\x03\x50\x6D\xB1\x9C\x39\xE2" // Confounder
37174 "30 bytes bytes bytes bytes byt", // Plain
37175 .plen = 16 + 30,
37176 .ctext =
37177 "\xA2\x6A\x39\x05\xA4\xFF\xD5\x81\x6B\x7B\x1E\x27\x38\x0D\x08\x09"
37178 "\x0C\x8E\xC1\xF3\x04\x49\x6E\x1A\xBD\xCD\x2B\xDC\xD1\xDF\xFC\x66"
37179 "\x09\x89\xE1\x17\xA7\x13\xDD\xBB\x57\xA4\x14\x6C\x15\x87\xCB\xA4"
37180 "\x35\x66\x65\x59\x1D\x22\x40\x28\x2F\x58\x42\xB1\x05\xA5",
37181 .clen = 16 + 30 + 16,
37182 }, {
37183 // "enc no plain",
37184 .key =
37185 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37186 "\xa2\xb8\x33\xe9\x43\xbb\x10\xee\x53\xb4\xa1\x9b\xc2\xbb\xc7\xe1"
37187 "\x9b\x87\xad\x5d\xe9\x21\x22\xa4\x33\x8b\xe6\xf7\x32\xfd\x8a\x0e" // Ki
37188 "\x6c\xcb\x3f\x25\xd8\xae\x57\xf4\xe8\xf6\xca\x47\x4b\xdd\xef\xf1"
37189 "\x16\xce\x13\x1b\x3f\x71\x01\x2e\x75\x6d\x6b\x1e\x3f\x70\xa7\xf1", // Ke
37190 .klen = 4 + 4 + 32 * 2,
37191 .ptext =
37192 "\x3C\xBB\xD2\xB4\x59\x17\x94\x10\x67\xF9\x65\x99\xBB\x98\x92\x6C" // Confounder
37193 "", // Plain
37194 .plen = 16 + 0,
37195 .ctext =
37196 "\x03\x88\x6D\x03\x31\x0B\x47\xA6\xD8\xF0\x6D\x7B\x94\xD1\xDD\x83"
37197 "\x7E\xCC\xE3\x15\xEF\x65\x2A\xFF\x62\x08\x59\xD9\x4A\x25\x92\x66",
37198 .clen = 16 + 0 + 16,
37199 }, {
37200 // "enc 1 plain",
37201 .key =
37202 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37203 "\x84\x61\x4b\xfa\x98\xf1\x74\x8a\xa4\xaf\x99\x2b\x8c\x26\x28\x0d"
37204 "\xc8\x98\x73\x29\xdf\x77\x5c\x1d\xb0\x4a\x43\xf1\x21\xaa\x86\x65" // Ki
37205 "\xe9\x31\x73\xaa\x01\xeb\x3c\x24\x62\x31\xda\xfc\x78\x02\xee\x32"
37206 "\xaf\x24\x85\x1d\x8c\x73\x87\xd1\x8c\xb9\xb2\xc5\xb7\xf5\x70\xb8", // Ke
37207 .klen = 4 + 4 + 32 * 2,
37208 .ptext =
37209 "\xDE\xF4\x87\xFC\xEB\xE6\xDE\x63\x46\xD4\xDA\x45\x21\xBB\xA2\xD2" // Confounder
37210 "1", // Plain
37211 .plen = 16 + 1,
37212 .ctext =
37213 "\x2C\x9C\x15\x70\x13\x3C\x99\xBF\x6A\x34\xBC\x1B\x02\x12\x00\x2F"
37214 "\xD1\x94\x33\x87\x49\xDB\x41\x35\x49\x7A\x34\x7C\xFC\xD9\xD1\x8A"
37215 "\x12",
37216 .clen = 16 + 1 + 16,
37217 }, {
37218 // "enc 9 plain",
37219 .key =
37220 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37221 "\x47\xb9\xf5\xba\xd7\x63\x00\x58\x2a\x54\x45\xfa\x0c\x1b\x29\xc3"
37222 "\xaa\x83\xec\x63\xb9\x0b\x4a\xb0\x08\x48\xc1\x85\x67\x4f\x44\xa7" // Ki
37223 "\xcd\xa2\xd3\x9a\x9b\x24\x3f\xfe\xb5\x6e\x8d\x5f\x4b\xd5\x28\x74"
37224 "\x1e\xcb\x52\x0c\x62\x12\x3f\xb0\x40\xb8\x41\x8b\x15\xc7\xd7\x0c", // Ke
37225 .klen = 4 + 4 + 32 * 2,
37226 .ptext =
37227 "\xAD\x4F\xF9\x04\xD3\x4E\x55\x53\x84\xB1\x41\x00\xFC\x46\x5F\x88" // Confounder
37228 "9 bytesss", // Plain
37229 .plen = 16 + 9,
37230 .ctext =
37231 "\x9C\x6D\xE7\x5F\x81\x2D\xE7\xED\x0D\x28\xB2\x96\x35\x57\xA1\x15"
37232 "\x64\x09\x98\x27\x5B\x0A\xF5\x15\x27\x09\x91\x3F\xF5\x2A\x2A\x9C"
37233 "\x8E\x63\xB8\x72\xF9\x2E\x64\xC8\x39",
37234 .clen = 16 + 9 + 16,
37235 }, {
37236 // "enc 13 plain",
37237 .key =
37238 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37239 "\x15\x2f\x8c\x9d\xc9\x85\x79\x6e\xb1\x94\xed\x14\xc5\x9e\xac\xdd"
37240 "\x41\x8a\x33\x32\x36\xb7\x8f\xaf\xa7\xc7\x9b\x04\xe0\xac\xe7\xbf" // Ki
37241 "\xcd\x8a\x10\xe2\x79\xda\xdd\xb6\x90\x1e\xc3\x0b\xdf\x98\x73\x25"
37242 "\x0f\x6e\xfc\x6a\x77\x36\x7d\x74\xdc\x3e\xe7\xf7\x4b\xc7\x77\x4e", // Ke
37243 .klen = 4 + 4 + 32 * 2,
37244 .ptext =
37245 "\xCF\x9B\xCA\x6D\xF1\x14\x4E\x0C\x0A\xF9\xB8\xF3\x4C\x90\xD5\x14" // Confounder
37246 "13 bytes byte",
37247 .plen = 16 + 13,
37248 .ctext =
37249 "\xEE\xEC\x85\xA9\x81\x3C\xDC\x53\x67\x72\xAB\x9B\x42\xDE\xFC\x57"
37250 "\x06\xF7\x26\xE9\x75\xDD\xE0\x5A\x87\xEB\x54\x06\xEA\x32\x4C\xA1"
37251 "\x85\xC9\x98\x6B\x42\xAA\xBE\x79\x4B\x84\x82\x1B\xEE",
37252 .clen = 16 + 13 + 16,
37253 }, {
37254 // "enc 30 plain",
37255 .key =
37256 AUTHENC_KEY_HEADER("\x00\x00\x00\x20")
37257 "\x04\x8d\xeb\xf7\xb1\x2c\x09\x32\xe8\xb2\x96\x99\x6c\x23\xf8\xb7"
37258 "\x9d\x59\xb9\x7e\xa1\x19\xfc\x0c\x15\x6b\xf7\x88\xdc\x8c\x85\xe8" // Ki
37259 "\x1d\x51\x47\xf3\x4b\xb0\x01\xa0\x4a\x68\xa7\x13\x46\xe7\x65\x4e"
37260 "\x02\x23\xa6\x0d\x90\xbc\x2b\x79\xb4\xd8\x79\x56\xd4\x7c\xd4\x2a", // Ke
37261 .klen = 4 + 4 + 32 * 2,
37262 .ptext =
37263 "\x64\x4D\xEF\x38\xDA\x35\x00\x72\x75\x87\x8D\x21\x68\x55\xE2\x28" // Confounder
37264 "30 bytes bytes bytes bytes byt", // Plain
37265 .plen = 16 + 30,
37266 .ctext =
37267 "\x0E\x44\x68\x09\x85\x85\x5F\x2D\x1F\x18\x12\x52\x9C\xA8\x3B\xFD"
37268 "\x8E\x34\x9D\xE6\xFD\x9A\xDA\x0B\xAA\xA0\x48\xD6\x8E\x26\x5F\xEB"
37269 "\xF3\x4A\xD1\x25\x5A\x34\x49\x99\xAD\x37\x14\x68\x87\xA6\xC6\x84"
37270 "\x57\x31\xAC\x7F\x46\x37\x6A\x05\x04\xCD\x06\x57\x14\x74",
37271 .clen = 16 + 30 + 16,
37272 },
37273};
37274
37275#endif /* _CRYPTO_TESTMGR_H */
37276

source code of linux/crypto/testmgr.h