crypto: testmgr - fuzz hashes against their generic implementation
[linux-block.git] / crypto / testmgr.h
CommitLineData
da7f033d
HX
1/*
2 * Algorithm testing framework and tests.
3 *
4 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
5 * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
6 * Copyright (c) 2007 Nokia Siemens Networks
7 * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
4cc2dcf9 8 * Copyright (c) 2019 Google LLC
da7f033d 9 *
69435b94
AH
10 * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
11 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
12 * gcm/gcm-test-vectors.tar.gz
13 * Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
14 * Adrian Hoban <adrian.hoban@intel.com>
15 * Gabriele Paoloni <gabriele.paoloni@intel.com>
16 * Tadeusz Struk (tadeusz.struk@intel.com)
17 * Copyright (c) 2010, Intel Corporation.
18 *
da7f033d
HX
19 * This program is free software; you can redistribute it and/or modify it
20 * under the terms of the GNU General Public License as published by the Free
21 * Software Foundation; either version 2 of the License, or (at your option)
22 * any later version.
23 *
24 */
25#ifndef _CRYPTO_TESTMGR_H
26#define _CRYPTO_TESTMGR_H
27
f1774cb8
VC
28#include <linux/oid_registry.h>
29
da7f033d
HX
30#define MAX_IVLEN 32
31
4cc2dcf9
EB
32/*
33 * hash_testvec: structure to describe a hash (message digest) test
34 * @key: Pointer to key (NULL if none)
35 * @plaintext: Pointer to source data
36 * @digest: Pointer to expected digest
37 * @psize: Length of source data in bytes
38 * @ksize: Length of @key in bytes (0 if no key)
5283a8ee
EB
39 * @setkey_error: Expected error from setkey()
40 * @digest_error: Expected error from digest()
4cc2dcf9 41 */
da7f033d 42struct hash_testvec {
b13b1e0c
EB
43 const char *key;
44 const char *plaintext;
45 const char *digest;
6726ec42 46 unsigned short psize;
26609a21 47 unsigned short ksize;
5283a8ee
EB
48 int setkey_error;
49 int digest_error;
da7f033d
HX
50};
51
a7eed156 52/*
92a4c9fe
EB
53 * cipher_testvec: structure to describe a symmetric cipher test
54 * @key: Pointer to key
55 * @klen: Length of @key in bytes
8efd972e
EB
56 * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
57 * @iv_out: Pointer to output IV, if applicable for the cipher.
92a4c9fe
EB
58 * @ptext: Pointer to plaintext
59 * @ctext: Pointer to ciphertext
60 * @len: Length of @ptext and @ctext in bytes
231baecd 61 * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
a7eed156 62 * ( e.g. test needs to fail due to a weak key )
10faa8c0 63 * @fips_skip: Skip the test vector in FIPS mode
8efd972e
EB
64 * @generates_iv: Encryption should ignore the given IV, and output @iv_out.
65 * Decryption takes @iv_out. Needed for AES Keywrap ("kw(aes)").
5283a8ee
EB
66 * @setkey_error: Expected error from setkey()
67 * @crypt_error: Expected error from encrypt() and decrypt()
a7eed156 68 */
da7f033d 69struct cipher_testvec {
b13b1e0c
EB
70 const char *key;
71 const char *iv;
8efd972e 72 const char *iv_out;
92a4c9fe
EB
73 const char *ptext;
74 const char *ctext;
da7f033d
HX
75 unsigned char wk; /* weak key flag */
76 unsigned char klen;
92a4c9fe 77 unsigned short len;
10faa8c0 78 bool fips_skip;
92a4c9fe 79 bool generates_iv;
5283a8ee
EB
80 int setkey_error;
81 int crypt_error;
da7f033d
HX
82};
83
a0d608ee
EB
84/*
85 * aead_testvec: structure to describe an AEAD test
86 * @key: Pointer to key
87 * @iv: Pointer to IV. If NULL, an all-zeroes IV is used.
88 * @ptext: Pointer to plaintext
89 * @assoc: Pointer to associated data
90 * @ctext: Pointer to the full authenticated ciphertext. For AEADs that
91 * produce a separate "ciphertext" and "authentication tag", these
92 * two parts are concatenated: ciphertext || tag.
a0d608ee 93 * @novrfy: Decryption verification failure expected?
231baecd 94 * @wk: Does the test need CRYPTO_TFM_REQ_FORBID_WEAK_KEYS?
a0d608ee
EB
95 * (e.g. setkey() needs to fail due to a weak key)
96 * @klen: Length of @key in bytes
97 * @plen: Length of @ptext in bytes
98 * @alen: Length of @assoc in bytes
99 * @clen: Length of @ctext in bytes
5283a8ee
EB
100 * @setkey_error: Expected error from setkey()
101 * @setauthsize_error: Expected error from setauthsize()
102 * @crypt_error: Expected error from encrypt() and decrypt()
a0d608ee 103 */
da7f033d 104struct aead_testvec {
b13b1e0c
EB
105 const char *key;
106 const char *iv;
a0d608ee 107 const char *ptext;
b13b1e0c 108 const char *assoc;
a0d608ee 109 const char *ctext;
a0d608ee
EB
110 unsigned char novrfy;
111 unsigned char wk;
da7f033d 112 unsigned char klen;
a0d608ee
EB
113 unsigned short plen;
114 unsigned short clen;
da7f033d 115 unsigned short alen;
5283a8ee
EB
116 int setkey_error;
117 int setauthsize_error;
118 int crypt_error;
da7f033d
HX
119};
120
7647d6ce 121struct cprng_testvec {
b13b1e0c
EB
122 const char *key;
123 const char *dt;
124 const char *v;
125 const char *result;
7647d6ce
JW
126 unsigned char klen;
127 unsigned short dtlen;
128 unsigned short vlen;
129 unsigned short rlen;
130 unsigned short loops;
131};
132
3332ee2a 133struct drbg_testvec {
b13b1e0c 134 const unsigned char *entropy;
3332ee2a 135 size_t entropylen;
b13b1e0c
EB
136 const unsigned char *entpra;
137 const unsigned char *entprb;
3332ee2a 138 size_t entprlen;
b13b1e0c
EB
139 const unsigned char *addtla;
140 const unsigned char *addtlb;
3332ee2a 141 size_t addtllen;
b13b1e0c 142 const unsigned char *pers;
3332ee2a 143 size_t perslen;
b13b1e0c 144 const unsigned char *expected;
3332ee2a
SM
145 size_t expectedlen;
146};
147
946cc463 148struct akcipher_testvec {
b13b1e0c 149 const unsigned char *key;
f1774cb8 150 const unsigned char *params;
b13b1e0c
EB
151 const unsigned char *m;
152 const unsigned char *c;
946cc463 153 unsigned int key_len;
f1774cb8 154 unsigned int param_len;
946cc463
TS
155 unsigned int m_size;
156 unsigned int c_size;
157 bool public_key_vec;
1207107c 158 bool siggen_sigver_test;
f1774cb8 159 enum OID algo;
946cc463
TS
160};
161
802c7f1c 162struct kpp_testvec {
b13b1e0c 163 const unsigned char *secret;
47d3fd39 164 const unsigned char *b_secret;
b13b1e0c
EB
165 const unsigned char *b_public;
166 const unsigned char *expected_a_public;
167 const unsigned char *expected_ss;
802c7f1c 168 unsigned short secret_size;
47d3fd39 169 unsigned short b_secret_size;
802c7f1c
SB
170 unsigned short b_public_size;
171 unsigned short expected_a_public_size;
172 unsigned short expected_ss_size;
47d3fd39 173 bool genkey;
802c7f1c
SB
174};
175
b13b1e0c 176static const char zeroed_string[48];
da7f033d 177
946cc463
TS
178/*
179 * RSA test vectors. Borrowed from openSSL.
180 */
b13b1e0c 181static const struct akcipher_testvec rsa_tv_template[] = {
946cc463
TS
182 {
183#ifndef CONFIG_CRYPTO_FIPS
184 .key =
22287b0b
TS
185 "\x30\x81\x9A" /* sequence of 154 bytes */
186 "\x02\x01\x01" /* version - integer of 1 byte */
946cc463
TS
187 "\x02\x41" /* modulus - integer of 65 bytes */
188 "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
189 "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
190 "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
191 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
192 "\xF5"
193 "\x02\x01\x11" /* public key - integer of 1 byte */
194 "\x02\x40" /* private key - integer of 64 bytes */
195 "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
196 "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
197 "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
22287b0b
TS
198 "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
199 "\x02\x01\x00" /* prime1 - integer of 1 byte */
200 "\x02\x01\x00" /* prime2 - integer of 1 byte */
201 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
202 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
203 "\x02\x01\x00", /* coefficient - integer of 1 byte */
946cc463
TS
204 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
205 .c =
206 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
207 "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
208 "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
209 "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
22287b0b 210 .key_len = 157,
946cc463
TS
211 .m_size = 8,
212 .c_size = 64,
213 }, {
214 .key =
22287b0b
TS
215 "\x30\x82\x01\x1D" /* sequence of 285 bytes */
216 "\x02\x01\x01" /* version - integer of 1 byte */
946cc463
TS
217 "\x02\x81\x81" /* modulus - integer of 129 bytes */
218 "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
219 "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
220 "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
221 "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
222 "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
223 "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
224 "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
225 "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
226 "\xCB"
227 "\x02\x01\x11" /* public key - integer of 1 byte */
228 "\x02\x81\x81" /* private key - integer of 129 bytes */
229 "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
230 "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
231 "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
232 "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
233 "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
234 "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
235 "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
236 "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
22287b0b
TS
237 "\xC1"
238 "\x02\x01\x00" /* prime1 - integer of 1 byte */
239 "\x02\x01\x00" /* prime2 - integer of 1 byte */
240 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
241 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
242 "\x02\x01\x00", /* coefficient - integer of 1 byte */
243 .key_len = 289,
946cc463
TS
244 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
245 .c =
246 "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
247 "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
248 "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
249 "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
250 "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
251 "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
252 "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
253 "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
254 .m_size = 8,
255 .c_size = 128,
256 }, {
257#endif
258 .key =
22287b0b
TS
259 "\x30\x82\x02\x1F" /* sequence of 543 bytes */
260 "\x02\x01\x01" /* version - integer of 1 byte */
946cc463
TS
261 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
262 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
263 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
264 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
265 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
266 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
267 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
268 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
269 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
270 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
271 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
272 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
273 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
274 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
275 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
276 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
277 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
278 "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
279 "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
280 "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
281 "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
282 "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
283 "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
284 "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
285 "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
286 "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
287 "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
288 "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
289 "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
290 "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
291 "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
292 "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
293 "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
294 "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
22287b0b
TS
295 "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
296 "\x02\x01\x00" /* prime1 - integer of 1 byte */
297 "\x02\x01\x00" /* prime2 - integer of 1 byte */
298 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
299 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
300 "\x02\x01\x00", /* coefficient - integer of 1 byte */
301 .key_len = 547,
946cc463
TS
302 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
303 .c =
304 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
305 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
306 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
307 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
308 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
309 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
310 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
311 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
312 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
313 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
314 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
315 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
316 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
317 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
318 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
319 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
320 .m_size = 8,
321 .c_size = 256,
322 }, {
323 .key =
324 "\x30\x82\x01\x09" /* sequence of 265 bytes */
325 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
326 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
327 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
328 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
329 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
330 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
331 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
332 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
333 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
334 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
335 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
336 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
337 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
338 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
339 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
340 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
341 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
342 "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
343 .key_len = 269,
344 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
345 .c =
346 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
347 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
348 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
349 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
350 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
351 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
352 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
353 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
354 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
355 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
356 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
357 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
358 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
359 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
360 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
361 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
362 .m_size = 8,
363 .c_size = 256,
364 .public_key_vec = true,
21c8e720 365#ifndef CONFIG_CRYPTO_FIPS
c8afbc84
SB
366 }, {
367 .key =
368 "\x30\x82\x09\x29" /* sequence of 2345 bytes */
369 "\x02\x01\x00" /* version integer of 1 byte */
370 "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
371 "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
372 "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
373 "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
374 "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
375 "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
376 "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
377 "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
378 "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
379 "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
380 "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
381 "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
382 "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
383 "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
384 "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
385 "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
386 "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
387 "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
388 "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
389 "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
390 "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
391 "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
392 "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
393 "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
394 "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
395 "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
396 "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
397 "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
398 "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
399 "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
400 "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
401 "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
402 "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
403 "\x9D"
404 "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
405 "\x02\x82\x02\x00" /* private key integer of 512 bytes */
406 "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
407 "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
408 "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
409 "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
410 "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
411 "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
412 "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
413 "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
414 "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
415 "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
416 "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
417 "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
418 "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
419 "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
420 "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
421 "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
422 "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
423 "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
424 "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
425 "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
426 "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
427 "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
428 "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
429 "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
430 "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
431 "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
432 "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
433 "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
434 "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
435 "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
436 "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
437 "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
438 "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
439 "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
440 "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
441 "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
442 "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
443 "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
444 "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
445 "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
446 "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
447 "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
448 "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
449 "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
450 "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
451 "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
452 "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
453 "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
454 "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
455 "\xAB"
456 "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
457 "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
458 "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
459 "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
460 "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
461 "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
462 "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
463 "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
464 "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
465 "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
466 "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
467 "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
468 "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
469 "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
470 "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
471 "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
472 "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
473 "\xD7"
474 "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
475 "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
476 "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
477 "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
478 "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
479 "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
480 "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
481 "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
482 "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
483 "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
484 "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
485 "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
486 "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
487 "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
488 "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
489 "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
490 "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
491 "\x6F"
492 "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
493 "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
494 "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
495 "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
496 "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
497 "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
498 "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
499 "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
500 "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
501 "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
502 "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
503 "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
504 "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
505 "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
506 "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
507 "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
508 "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
509 "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
510 "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
511 "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
512 "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
513 "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
514 "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
515 "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
516 "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
517 "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
518 "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
519 "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
520 "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
521 "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
522 "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
523 "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
524 "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
525 "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
526 "\x3D",
527 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
528 .c =
529 "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
530 "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
531 "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
532 "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
533 "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
534 "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
535 "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
536 "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
537 "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
538 "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
539 "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
540 "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
541 "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
542 "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
543 "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
544 "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
545 "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
546 "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
547 "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
548 "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
549 "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
550 "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
551 "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
552 "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
553 "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
554 "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
555 "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
556 "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
557 "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
558 "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
559 "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
560 "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
561 .key_len = 2349,
562 .m_size = 8,
563 .c_size = 512,
21c8e720 564#endif
946cc463
TS
565 }
566};
567
32fbdbd3
VC
568/*
569 * EC-RDSA test vectors are generated by gost-engine.
570 */
571static const struct akcipher_testvec ecrdsa_tv_template[] = {
572 {
573 .key =
574 "\x04\x40\xd5\xa7\x77\xf9\x26\x2f\x8c\xbd\xcc\xe3\x1f\x01\x94\x05"
575 "\x3d\x2f\xec\xb5\x00\x34\xf5\x51\x6d\x3b\x90\x4b\x23\x28\x6f\x1d"
576 "\xc8\x36\x61\x60\x36\xec\xbb\xb4\x0b\x95\x4e\x54\x4f\x15\x21\x05"
577 "\xd8\x52\x66\x44\x31\x7e\x5d\xc5\xd1\x26\x00\x5f\x60\xd8\xf0\xc7"
578 "\x27\xfc",
579 .key_len = 66,
580 .params = /* OID_gostCPSignA */
581 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x01\x06\x08\x2a\x85\x03"
582 "\x07\x01\x01\x02\x02",
583 .param_len = 21,
584 .c =
585 "\x41\x32\x09\x73\xa4\xc1\x38\xd6\x63\x7d\x8b\xf7\x50\x3f\xda\x9f"
586 "\x68\x48\xc1\x50\xe3\x42\x3a\x9b\x2b\x28\x12\x2a\xa7\xc2\x75\x31"
587 "\x65\x77\x8c\x3c\x9e\x0d\x56\xb2\xf9\xdc\x04\x33\x3e\xb0\x9e\xf9"
588 "\x74\x4e\x59\xb3\x83\xf2\x91\x27\xda\x5e\xc7\x33\xc0\xc1\x8f\x41",
589 .c_size = 64,
590 .algo = OID_gost2012PKey256,
591 .m =
592 "\x75\x1b\x9b\x40\x25\xb9\x96\xd2\x9b\x00\x41\xb3\x58\xbf\x23\x14"
593 "\x79\xd2\x76\x64\xa3\xbd\x66\x10\x79\x05\x5a\x06\x42\xec\xb9\xc9",
594 .m_size = 32,
595 .public_key_vec = true,
596 .siggen_sigver_test = true,
597 },
598 {
599 .key =
600 "\x04\x40\x66\x6f\xd6\xb7\x06\xd0\xf5\xa5\x6f\x69\x5c\xa5\x13\x45"
601 "\x14\xdd\xcb\x12\x9c\x1b\xf5\x28\x64\x7a\x49\x48\x29\x14\x66\x42"
602 "\xb8\x1b\x5c\xf9\x56\x6d\x08\x3b\xce\xbb\x62\x2f\xc2\x3c\xc5\x49"
603 "\x93\x27\x70\x20\xcc\x79\xeb\xdc\x76\x8e\x48\x6e\x04\x96\xc3\x29"
604 "\xa0\x73",
605 .key_len = 66,
606 .params = /* OID_gostCPSignB */
607 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x02\x06\x08\x2a\x85\x03"
608 "\x07\x01\x01\x02\x02",
609 .param_len = 21,
610 .c =
611 "\x45\x6d\x4a\x03\x1d\x5c\x0b\x17\x79\xe7\x19\xdb\xbf\x81\x9f\x82"
612 "\xae\x06\xda\xf5\x47\x00\x05\x80\xc3\x16\x06\x9a\x8e\x7c\xb2\x8e"
613 "\x7f\x74\xaa\xec\x6b\x7b\x7f\x8b\xc6\x0b\x10\x42\x4e\x91\x2c\xdf"
614 "\x7b\x8b\x15\xf4\x9e\x59\x0f\xc7\xa4\x68\x2e\xce\x89\xdf\x84\xe9",
615 .c_size = 64,
616 .algo = OID_gost2012PKey256,
617 .m =
618 "\xd0\x54\x00\x27\x6a\xeb\xce\x6c\xf5\xf6\xfb\x57\x18\x18\x21\x13"
619 "\x11\x23\x4a\x70\x43\x52\x7a\x68\x11\x65\x45\x37\xbb\x25\xb7\x40",
620 .m_size = 32,
621 .public_key_vec = true,
622 .siggen_sigver_test = true,
623 },
624 {
625 .key =
626 "\x04\x40\x05\x91\xa9\x7d\xcb\x87\xdc\x98\xa1\xbf\xff\xdd\x20\x61"
627 "\xaa\x58\x3b\x2d\x8e\x9c\x41\x9d\x4f\xc6\x23\x17\xf9\xca\x60\x65"
628 "\xbc\x97\x97\xf6\x6b\x24\xe8\xac\xb1\xa7\x61\x29\x3c\x71\xdc\xad"
629 "\xcb\x20\xbe\x96\xe8\xf4\x44\x2e\x49\xd5\x2c\xb9\xc9\x3b\x9c\xaa"
630 "\xba\x15",
631 .key_len = 66,
632 .params = /* OID_gostCPSignC */
633 "\x30\x13\x06\x07\x2a\x85\x03\x02\x02\x23\x03\x06\x08\x2a\x85\x03"
634 "\x07\x01\x01\x02\x02",
635 .param_len = 21,
636 .c =
637 "\x3b\x2e\x2e\x74\x74\x47\xda\xea\x93\x90\x6a\xe2\xf5\xf5\xe6\x46"
638 "\x11\xfc\xab\xdc\x52\xbc\x58\xdb\x45\x44\x12\x4a\xf7\xd0\xab\xc9"
639 "\x73\xba\x64\xab\x0d\xac\x4e\x72\x10\xa8\x04\xf6\x1e\xe0\x48\x6a"
640 "\xcd\xe8\xe3\x78\x73\x77\x82\x24\x8d\xf1\xd3\xeb\x4c\x25\x7e\xc0",
641 .c_size = 64,
642 .algo = OID_gost2012PKey256,
643 .m =
644 "\x52\x33\xf4\x3f\x7b\x5d\xcf\x20\xee\xe4\x5c\xab\x0b\x3f\x14\xd6"
645 "\x9f\x16\xc6\x1c\xb1\x3f\x84\x41\x69\xec\x34\xfd\xf1\xf9\xa3\x39",
646 .m_size = 32,
647 .public_key_vec = true,
648 .siggen_sigver_test = true,
649 },
650 {
651 .key =
652 "\x04\x81\x80\x85\x46\x8f\x16\xf8\x7a\x7e\x4a\xc3\x81\x9e\xf1\x6e"
653 "\x94\x1e\x5d\x02\x87\xea\xfa\xa0\x0a\x17\x70\x49\x64\xad\x95\x68"
654 "\x60\x0a\xf0\x57\x29\x41\x79\x30\x3c\x61\x69\xf2\xa6\x94\x87\x17"
655 "\x54\xfa\x97\x2c\xe6\x1e\x0a\xbb\x55\x10\x57\xbe\xf7\xc1\x77\x2b"
656 "\x11\x74\x0a\x50\x37\x14\x10\x2a\x45\xfc\x7a\xae\x1c\x4c\xce\x08"
657 "\x05\xb7\xa4\x50\xc8\x3d\x39\x3d\xdc\x5c\x8f\x96\x6c\xe7\xfc\x21"
658 "\xc3\x2d\x1e\x9f\x11\xb3\xec\x22\x18\x8a\x8c\x08\x6b\x8b\xed\xf5"
659 "\xc5\x47\x3c\x7e\x73\x59\x44\x1e\x77\x83\x84\x52\x9e\x3b\x7d\xff"
660 "\x9d\x86\x1a",
661 .key_len = 131,
662 .params = /* OID_gostTC26Sign512A */
663 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x01",
664 .param_len = 13,
665 .c =
666 "\x92\x81\x74\x5f\x95\x48\x38\x87\xd9\x8f\x5e\xc8\x8a\xbb\x01\x4e"
667 "\xb0\x75\x3c\x2f\xc7\x5a\x08\x4c\x68\xab\x75\x01\x32\x75\x75\xb5"
668 "\x37\xe0\x74\x6d\x94\x84\x31\x2a\x6b\xf4\xf7\xb7\xa7\x39\x7b\x46"
669 "\x07\xf0\x98\xbd\x33\x18\xa1\x72\xb2\x6d\x54\xe3\xde\x91\xc2\x2e"
670 "\x4f\x6a\xf8\xb7\xec\xa8\x83\xc9\x8f\xd9\xce\x7c\x45\x06\x02\xf4"
671 "\x4f\x21\xb5\x24\x3d\xb4\xb5\xd8\x58\x42\xbe\x2d\x29\xae\x93\xc0"
672 "\x13\x41\x96\x35\x08\x69\xe8\x36\xc7\xd1\x83\x81\xd7\xca\xfb\xc0"
673 "\xd2\xb7\x78\x32\x3e\x30\x1a\x1e\xce\xdc\x34\x35\xc6\xad\x68\x24",
674 .c_size = 128,
675 .algo = OID_gost2012PKey512,
676 .m =
677 "\x1f\x70\xb5\xe9\x55\x12\xd6\x88\xcc\x55\xb9\x0c\x7f\xc4\x94\xf2"
678 "\x04\x77\x41\x12\x02\xd6\xf1\x1f\x83\x56\xe9\xd6\x5a\x6a\x72\xb9"
679 "\x6e\x8e\x24\x2a\x84\xf1\xba\x67\xe8\xbf\xff\xc1\xd3\xde\xfb\xc6"
680 "\xa8\xf6\x80\x01\xb9\x27\xac\xd8\x45\x96\x66\xa1\xee\x48\x08\x3f",
681 .m_size = 64,
682 .public_key_vec = true,
683 .siggen_sigver_test = true,
684 },
685 {
686 .key =
687 "\x04\x81\x80\x28\xf3\x2b\x92\x04\x32\xea\x66\x20\xde\xa0\x2f\x74"
688 "\xbf\x2d\xf7\xb5\x30\x76\xb1\xc8\xee\x38\x9f\xea\xe5\xad\xc6\xa3"
689 "\x28\x1e\x51\x3d\x67\xa3\x41\xcc\x6b\x81\xe2\xe2\x9e\x82\xf3\x78"
690 "\x56\xd7\x2e\xb2\xb5\xbe\xb4\x50\x21\x05\xe5\x29\x82\xef\x15\x1b"
691 "\xc0\xd7\x30\xd6\x2f\x96\xe8\xff\x99\x4c\x25\xcf\x9a\xfc\x54\x30"
692 "\xce\xdf\x59\xe9\xc6\x45\xce\xe4\x22\xe8\x01\xd5\xcd\x2f\xaa\x78"
693 "\x99\xc6\x04\x1e\x6f\x4c\x25\x6a\x76\xad\xff\x48\xf3\xb3\xb4\xd6"
694 "\x14\x5c\x2c\x0e\xea\xa2\x4b\xb9\x7e\x89\x77\x02\x3a\x29\xc8\x16"
695 "\x8e\x78\x48",
696 .key_len = 131,
697 .params = /* OID_gostTC26Sign512B */
698 "\x30\x0b\x06\x09\x2a\x85\x03\x07\x01\x02\x01\x02\x02",
699 .param_len = 13,
700 .c =
701 "\x0a\xed\xb6\x27\xea\xa7\xa6\x7e\x2f\xc1\x02\x21\x74\xce\x27\xd2"
702 "\xee\x8a\x92\x4d\xa9\x43\x2d\xa4\x5b\xdc\x23\x02\xfc\x3a\xf3\xb2"
703 "\x10\x93\x0b\x40\x1b\x75\x95\x3e\x39\x41\x37\xb9\xab\x51\x09\xeb"
704 "\xf1\xb9\x49\x58\xec\x58\xc7\xf9\x2e\xb9\xc9\x40\xf2\x00\x39\x7e"
705 "\x3f\xde\x72\xe3\x85\x67\x06\xbe\xd8\xb8\xc1\x81\x1e\xe3\x0a\xfe"
706 "\xce\xd3\x77\x92\x56\x8c\x58\xf9\x37\x60\x2d\xe6\x8b\x66\xa3\xdd"
707 "\xd2\xf0\xf8\xda\x1b\x20\xbc\x9c\xec\x29\x5d\xd1\x8f\xcc\x37\xd1"
708 "\x3b\x8d\xb7\xc1\xe0\xb8\x3b\xef\x14\x1b\x87\xbc\xc1\x03\x9a\x93",
709 .c_size = 128,
710 .algo = OID_gost2012PKey512,
711 .m =
712 "\x11\x24\x21\x27\xf2\x42\x9f\xce\x5a\xf9\x01\x70\xe0\x07\x2b\x57"
713 "\xfb\x7d\x77\x5e\x74\x66\xe6\xa5\x40\x4c\x1a\x85\x18\xff\xd0\x63"
714 "\xe0\x39\xd3\xd6\xe5\x17\xf8\xc3\x4b\xc6\x1c\x33\x1a\xca\xa6\x66"
715 "\x6d\xf4\xd2\x45\xc2\x83\xa0\x42\x95\x05\x9d\x89\x8e\x0a\xca\xcc",
716 .m_size = 64,
717 .public_key_vec = true,
718 .siggen_sigver_test = true,
719 },
720};
721
1207107c
SM
722/*
723 * PKCS#1 RSA test vectors. Obtained from CAVS testing.
724 */
725static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
726 {
727 .key =
333e18c5 728 "\x30\x82\x03\x1f\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
1207107c
SM
729 "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
730 "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
731 "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
732 "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
733 "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
734 "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
735 "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
736 "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
737 "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
738 "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
739 "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
740 "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
741 "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
742 "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
743 "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
744 "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x82\x01\x00"
745 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
746 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
747 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
748 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
749 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
750 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
751 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
752 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
753 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
754 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
755 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
756 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
757 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
758 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
759 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
760 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01"
761 "\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac\x47"
762 "\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4\xdc"
763 "\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b\x12"
764 "\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd\xef"
765 "\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71\x9c"
766 "\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5\x80"
767 "\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f\x8d"
768 "\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e\x28"
769 "\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5\x95"
770 "\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae\xf1"
771 "\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52\x4c"
772 "\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d\xd4"
773 "\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88\x4e"
774 "\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9\x7a"
775 "\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f\xda"
776 "\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d\x46"
333e18c5
CM
777 "\xb8\x35\xdf\x41\x02\x01\x00\x02\x01\x00\x02\x01\x00\x02\x01\x00"
778 "\x02\x01\x00",
1207107c
SM
779 .key_len = 804,
780 /*
781 * m is SHA256 hash of following message:
782 * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
783 * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
784 * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
785 * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
786 * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
787 * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
788 * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
789 * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
790 */
791 .m =
792 "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
793 "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
794 .m_size = 32,
795 .c =
796 "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
797 "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
798 "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
799 "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
800 "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
801 "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
802 "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
803 "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
804 "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
805 "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
806 "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
807 "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
808 "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
809 "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
810 "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
811 "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
812 .c_size = 256,
813 .siggen_sigver_test = true,
814 }
815};
816
b13b1e0c 817static const struct kpp_testvec dh_tv_template[] = {
802c7f1c
SB
818 {
819 .secret =
820#ifdef __LITTLE_ENDIAN
821 "\x01\x00" /* type */
35f7d522 822 "\x15\x02" /* len */
802c7f1c
SB
823 "\x00\x01\x00\x00" /* key_size */
824 "\x00\x01\x00\x00" /* p_size */
c98fae5e 825 "\x00\x00\x00\x00" /* q_size */
802c7f1c
SB
826 "\x01\x00\x00\x00" /* g_size */
827#else
828 "\x00\x01" /* type */
35f7d522 829 "\x02\x15" /* len */
802c7f1c
SB
830 "\x00\x00\x01\x00" /* key_size */
831 "\x00\x00\x01\x00" /* p_size */
c98fae5e 832 "\x00\x00\x00\x00" /* q_size */
802c7f1c
SB
833 "\x00\x00\x00\x01" /* g_size */
834#endif
835 /* xa */
836 "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
837 "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
838 "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
839 "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
840 "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
841 "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
842 "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
843 "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
844 "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
845 "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
846 "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
847 "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
848 "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
849 "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
850 "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
851 "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
852 /* p */
853 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
854 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
855 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
856 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
857 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
858 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
859 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
860 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
861 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
862 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
863 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
864 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
865 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
866 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
867 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
868 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
869 /* g */
870 "\x02",
871 .b_public =
872 "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
873 "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
874 "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
875 "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
876 "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
877 "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
878 "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
879 "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
880 "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
881 "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
882 "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
883 "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
884 "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
885 "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
886 "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
887 "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
888 .expected_a_public =
889 "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
890 "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
891 "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
892 "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
893 "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
894 "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
895 "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
896 "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
897 "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
898 "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
899 "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
900 "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
901 "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
902 "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
903 "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
904 "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
905 .expected_ss =
906 "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
907 "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
908 "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
909 "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
910 "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
911 "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
912 "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
913 "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
914 "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
915 "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
916 "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
917 "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
918 "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
919 "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
920 "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
921 "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
35f7d522 922 .secret_size = 533,
802c7f1c
SB
923 .b_public_size = 256,
924 .expected_a_public_size = 256,
925 .expected_ss_size = 256,
926 },
927 {
928 .secret =
929#ifdef __LITTLE_ENDIAN
930 "\x01\x00" /* type */
35f7d522 931 "\x15\x02" /* len */
802c7f1c
SB
932 "\x00\x01\x00\x00" /* key_size */
933 "\x00\x01\x00\x00" /* p_size */
c98fae5e 934 "\x00\x00\x00\x00" /* q_size */
802c7f1c
SB
935 "\x01\x00\x00\x00" /* g_size */
936#else
937 "\x00\x01" /* type */
35f7d522 938 "\x02\x15" /* len */
802c7f1c
SB
939 "\x00\x00\x01\x00" /* key_size */
940 "\x00\x00\x01\x00" /* p_size */
c98fae5e 941 "\x00\x00\x00\x00" /* q_size */
802c7f1c
SB
942 "\x00\x00\x00\x01" /* g_size */
943#endif
944 /* xa */
945 "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
946 "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
947 "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
948 "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
949 "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
950 "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
951 "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
952 "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
953 "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
954 "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
955 "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
956 "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
957 "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
958 "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
959 "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
960 "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
961 /* p */
962 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
963 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
964 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
965 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
966 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
967 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
968 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
969 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
970 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
971 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
972 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
973 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
974 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
975 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
976 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
977 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
978 /* g */
979 "\x02",
980 .b_public =
981 "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
982 "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
983 "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
984 "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
985 "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
986 "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
987 "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
988 "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
989 "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
990 "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
991 "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
992 "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
993 "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
994 "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
995 "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
996 "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
997 .expected_a_public =
998 "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
999 "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
1000 "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
1001 "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
1002 "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
1003 "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
1004 "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
1005 "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
1006 "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
1007 "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
1008 "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
1009 "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
1010 "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
1011 "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
1012 "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
1013 "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
1014 .expected_ss =
1015 "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
1016 "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
1017 "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
1018 "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
1019 "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
1020 "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
1021 "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
1022 "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
1023 "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
1024 "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
1025 "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
1026 "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
1027 "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
1028 "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
1029 "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
1030 "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
35f7d522 1031 .secret_size = 533,
802c7f1c
SB
1032 .b_public_size = 256,
1033 .expected_a_public_size = 256,
1034 .expected_ss_size = 256,
1035 }
1036};
1037
b13b1e0c 1038static const struct kpp_testvec ecdh_tv_template[] = {
3c4b2390
SB
1039 {
1040#ifndef CONFIG_CRYPTO_FIPS
1041 .secret =
1042#ifdef __LITTLE_ENDIAN
1043 "\x02\x00" /* type */
1044 "\x20\x00" /* len */
1045 "\x01\x00" /* curve_id */
1046 "\x18\x00" /* key_size */
1047#else
1048 "\x00\x02" /* type */
1049 "\x00\x20" /* len */
1050 "\x00\x01" /* curve_id */
1051 "\x00\x18" /* key_size */
1052#endif
1053 "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
1054 "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
1055 "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
1056 .b_public =
1057 "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
1058 "\x7a\x99\x75\x64\x36\x13\x9a\x94"
1059 "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
1060 "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
1061 "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
1062 "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
1063 .expected_a_public =
1064 "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
1065 "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
1066 "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
1067 "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
1068 "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
1069 "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
1070 .expected_ss =
1071 "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
1072 "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
1073 "\x99\x80\x81\x28\xaf\xc5\x51\x74",
1074 .secret_size = 32,
1075 .b_public_size = 48,
1076 .expected_a_public_size = 48,
1077 .expected_ss_size = 24
1078 }, {
1079#endif
1080 .secret =
1081#ifdef __LITTLE_ENDIAN
1082 "\x02\x00" /* type */
1083 "\x28\x00" /* len */
1084 "\x02\x00" /* curve_id */
1085 "\x20\x00" /* key_size */
1086#else
1087 "\x00\x02" /* type */
1088 "\x00\x28" /* len */
1089 "\x00\x02" /* curve_id */
1090 "\x00\x20" /* key_size */
1091#endif
1092 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
1093 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
1094 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
1095 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
1096 .expected_a_public =
1097 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
1098 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
1099 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
1100 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
1101 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
1102 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
1103 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
1104 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
1105 .expected_ss =
1106 "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
1107 "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
1108 "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
1109 "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
1110 .b_public =
1111 "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
1112 "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
1113 "\x29\xb2\x47\x03\x19\xab\xdd\x34"
1114 "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
1115 "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
1116 "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
1117 "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
1118 "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
1119 .secret_size = 40,
1120 .b_public_size = 64,
1121 .expected_a_public_size = 64,
1122 .expected_ss_size = 32
47d3fd39
TDA
1123 }, {
1124 .secret =
1125#ifdef __LITTLE_ENDIAN
1126 "\x02\x00" /* type */
1127 "\x08\x00" /* len */
1128 "\x02\x00" /* curve_id */
1129 "\x00\x00", /* key_size */
1130#else
1131 "\x00\x02" /* type */
1132 "\x00\x08" /* len */
1133 "\x00\x02" /* curve_id */
1134 "\x00\x00", /* key_size */
1135#endif
1136 .b_secret =
1137#ifdef __LITTLE_ENDIAN
1138 "\x02\x00" /* type */
1139 "\x28\x00" /* len */
1140 "\x02\x00" /* curve_id */
1141 "\x20\x00" /* key_size */
1142#else
1143 "\x00\x02" /* type */
1144 "\x00\x28" /* len */
1145 "\x00\x02" /* curve_id */
1146 "\x00\x20" /* key_size */
1147#endif
1148 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
1149 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
1150 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
1151 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
1152 .b_public =
1153 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
1154 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
1155 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
1156 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
1157 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
1158 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
1159 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
1160 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
1161 .secret_size = 8,
1162 .b_secret_size = 40,
1163 .b_public_size = 64,
1164 .expected_a_public_size = 64,
1165 .expected_ss_size = 32,
1166 .genkey = true,
3c4b2390
SB
1167 }
1168};
1169
da7f033d
HX
1170/*
1171 * MD4 test vectors from RFC1320
1172 */
b13b1e0c 1173static const struct hash_testvec md4_tv_template[] = {
da7f033d
HX
1174 {
1175 .plaintext = "",
1176 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
1177 "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
1178 }, {
1179 .plaintext = "a",
1180 .psize = 1,
1181 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
1182 "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
1183 }, {
1184 .plaintext = "abc",
1185 .psize = 3,
1186 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
1187 "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
1188 }, {
1189 .plaintext = "message digest",
1190 .psize = 14,
1191 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
1192 "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
1193 }, {
1194 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1195 .psize = 26,
1196 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
1197 "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
da7f033d
HX
1198 }, {
1199 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1200 .psize = 62,
1201 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
1202 "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
1203 }, {
1204 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
1205 "45678901234567890",
1206 .psize = 80,
1207 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
1208 "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
1209 },
1210};
1211
b13b1e0c 1212static const struct hash_testvec sha3_224_tv_template[] = {
79cc6ab8 1213 {
1214 .plaintext = "",
1215 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
1216 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
1217 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
1218 "\x5b\x5a\x6b\xc7",
1219 }, {
1220 .plaintext = "a",
1221 .psize = 1,
1222 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
1223 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
1224 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
1225 "\x48\x2b\x6a\x8b",
1226 }, {
1227 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1228 "jklmklmnlmnomnopnopq",
1229 .psize = 56,
1230 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
1231 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
1232 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
1233 "\xd0\xfc\xce\x33",
d60031dd
AB
1234 }, {
1235 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1236 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1237 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1238 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1239 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1240 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1241 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1242 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1243 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1244 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1245 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1246 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1247 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1248 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1249 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1250 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1251 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1252 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1253 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1254 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1255 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1256 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1257 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1258 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1259 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1260 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1261 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1262 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1263 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1264 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1265 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1266 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1267 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1268 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1269 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1270 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1271 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1272 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1273 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1274 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1275 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1276 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1277 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1278 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1279 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1280 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1281 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1282 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1283 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1284 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1285 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1286 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1287 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1288 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1289 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1290 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1291 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1292 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1293 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1294 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1295 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1296 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1297 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1298 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1299 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1300 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1301 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1302 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1303 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1304 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1305 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1306 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1307 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1308 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1309 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1310 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1311 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1312 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1313 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1314 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1315 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1316 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1317 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1318 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1319 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1320 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1321 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1322 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1323 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1324 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1325 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1326 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1327 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1328 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1329 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1330 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1331 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1332 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1333 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1334 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1335 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1336 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1337 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1338 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1339 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1340 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1341 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1342 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1343 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1344 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1345 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1346 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1347 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1348 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1349 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1350 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1351 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1352 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1353 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1354 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1355 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1356 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1357 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1358 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1359 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1360 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1361 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1362 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1363 .psize = 1023,
1364 .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
1365 "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
1366 "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
1367 "\xb6\x79\x10\x72",
79cc6ab8 1368 },
1369};
1370
b13b1e0c 1371static const struct hash_testvec sha3_256_tv_template[] = {
79cc6ab8 1372 {
1373 .plaintext = "",
1374 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
1375 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
1376 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
1377 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
1378 }, {
1379 .plaintext = "a",
1380 .psize = 1,
1381 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
1382 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
1383 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
1384 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
1385 }, {
1386 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1387 "jklmklmnlmnomnopnopq",
1388 .psize = 56,
1389 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
1390 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
1391 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
1392 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
d60031dd
AB
1393 }, {
1394 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1395 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1396 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1397 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1398 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1399 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1400 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1401 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1402 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1403 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1404 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1405 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1406 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1407 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1408 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1409 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1410 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1411 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1412 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1413 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1414 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1415 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1416 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1417 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1418 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1419 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1420 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1421 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1422 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1423 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1424 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1425 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1426 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1427 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1428 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1429 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1430 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1431 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1432 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1433 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1434 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1435 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1436 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1437 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1438 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1439 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1440 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1441 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1442 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1443 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1444 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1445 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1446 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1447 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1448 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1449 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1450 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1451 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1452 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1453 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1454 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1455 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1456 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1457 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1458 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1459 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1460 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1461 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1462 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1463 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1464 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1465 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1466 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1467 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1468 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1469 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1470 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1471 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1472 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1473 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1474 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1475 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1476 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1477 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1478 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1479 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1480 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1481 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1482 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1483 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1484 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1485 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1486 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1487 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1488 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1489 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1490 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1491 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1492 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1493 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1494 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1495 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1496 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1497 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1498 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1499 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1500 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1501 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1502 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1503 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1504 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1505 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1506 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1507 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1508 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1509 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1510 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1511 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1512 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1513 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1514 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1515 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1516 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1517 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1518 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1519 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1520 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1521 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1522 .psize = 1023,
1523 .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
1524 "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
1525 "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
1526 "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
79cc6ab8 1527 },
1528};
1529
1530
b13b1e0c 1531static const struct hash_testvec sha3_384_tv_template[] = {
79cc6ab8 1532 {
1533 .plaintext = "",
1534 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
1535 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
1536 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
1537 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
1538 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
1539 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
1540 }, {
1541 .plaintext = "a",
1542 .psize = 1,
1543 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
1544 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
1545 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
1546 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
1547 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
1548 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
1549 }, {
1550 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1551 "jklmklmnlmnomnopnopq",
1552 .psize = 56,
1553 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
1554 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
1555 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
1556 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
1557 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
1558 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
d60031dd
AB
1559 }, {
1560 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1561 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1562 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1563 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1564 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1565 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1566 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1567 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1568 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1569 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1570 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1571 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1572 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1573 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1574 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1575 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1576 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1577 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1578 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1579 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1580 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1581 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1582 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1583 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1584 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1585 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1586 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1587 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1588 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1589 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1590 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1591 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1592 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1593 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1594 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1595 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1596 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1597 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1598 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1599 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1600 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1601 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1602 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1603 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1604 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1605 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1606 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1607 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1608 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1609 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1610 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1611 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1612 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1613 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1614 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1615 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1616 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1617 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1618 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1619 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1620 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1621 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1622 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1623 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1624 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1625 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1626 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1627 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1628 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1629 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1630 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1631 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1632 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1633 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1634 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1635 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1636 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1637 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1638 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1639 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1640 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1641 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1642 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1643 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1644 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1645 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1646 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1647 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1648 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1649 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1650 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1651 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1652 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1653 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1654 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1655 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1656 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1657 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1658 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1659 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1660 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1661 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1662 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1663 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1664 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1665 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1666 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1667 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1668 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1669 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1670 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1671 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1672 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1673 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1674 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1675 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1676 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1677 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1678 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1679 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1680 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1681 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1682 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1683 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1684 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1685 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1686 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1687 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1688 .psize = 1023,
1689 .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
1690 "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
1691 "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
1692 "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
1693 "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
1694 "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
79cc6ab8 1695 },
1696};
1697
1698
b13b1e0c 1699static const struct hash_testvec sha3_512_tv_template[] = {
79cc6ab8 1700 {
1701 .plaintext = "",
1702 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
1703 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
1704 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
1705 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
1706 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
1707 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
1708 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
1709 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
1710 }, {
1711 .plaintext = "a",
1712 .psize = 1,
1713 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1714 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1715 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1716 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1717 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
1718 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1719 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1720 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1721 }, {
1722 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1723 "jklmklmnlmnomnopnopq",
1724 .psize = 56,
1725 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1726 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1727 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1728 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1729 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1730 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1731 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1732 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
d60031dd
AB
1733 }, {
1734 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1735 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1736 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1737 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1738 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1739 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1740 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1741 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1742 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1743 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1744 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1745 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1746 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1747 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1748 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1749 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1750 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1751 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1752 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1753 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1754 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1755 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1756 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1757 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1758 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1759 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1760 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1761 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1762 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1763 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1764 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1765 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1766 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1767 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1768 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1769 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1770 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1771 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1772 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1773 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1774 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1775 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1776 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1777 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1778 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1779 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1780 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1781 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1782 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1783 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1784 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1785 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1786 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1787 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1788 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1789 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1790 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1791 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1792 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1793 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1794 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1795 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1796 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1797 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1798 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1799 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1800 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1801 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1802 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1803 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1804 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1805 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1806 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1807 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1808 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1809 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1810 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1811 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1812 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1813 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1814 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1815 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1816 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1817 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1818 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1819 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1820 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1821 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1822 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1823 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1824 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1825 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1826 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1827 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1828 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1829 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1830 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1831 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1832 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1833 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1834 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1835 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1836 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1837 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1838 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1839 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1840 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1841 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1842 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1843 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1844 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1845 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1846 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1847 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1848 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1849 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1850 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1851 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1852 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1853 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1854 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1855 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1856 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1857 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1858 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1859 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1860 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1861 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1862 .psize = 1023,
1863 .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
1864 "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
1865 "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
1866 "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
1867 "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
1868 "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
1869 "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
1870 "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
79cc6ab8 1871 },
1872};
1873
1874
da7f033d
HX
1875/*
1876 * MD5 test vectors from RFC1321
1877 */
b13b1e0c 1878static const struct hash_testvec md5_tv_template[] = {
da7f033d
HX
1879 {
1880 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1881 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1882 }, {
1883 .plaintext = "a",
1884 .psize = 1,
1885 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1886 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1887 }, {
1888 .plaintext = "abc",
1889 .psize = 3,
1890 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1891 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1892 }, {
1893 .plaintext = "message digest",
1894 .psize = 14,
1895 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1896 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1897 }, {
1898 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1899 .psize = 26,
1900 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1901 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
da7f033d
HX
1902 }, {
1903 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1904 .psize = 62,
1905 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1906 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1907 }, {
1908 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1909 "345678901234567890",
1910 .psize = 80,
1911 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1912 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1913 }
1914
1915};
1916
1917/*
1918 * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1919 */
b13b1e0c 1920static const struct hash_testvec rmd128_tv_template[] = {
da7f033d
HX
1921 {
1922 .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1923 "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1924 }, {
1925 .plaintext = "a",
1926 .psize = 1,
1927 .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1928 "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1929 }, {
1930 .plaintext = "abc",
1931 .psize = 3,
1932 .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1933 "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1934 }, {
1935 .plaintext = "message digest",
1936 .psize = 14,
1937 .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1938 "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1939 }, {
1940 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1941 .psize = 26,
1942 .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1943 "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1944 }, {
1945 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1946 "fghijklmnopqrstuvwxyz0123456789",
1947 .psize = 62,
1948 .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1949 "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1950 }, {
1951 .plaintext = "1234567890123456789012345678901234567890"
1952 "1234567890123456789012345678901234567890",
1953 .psize = 80,
1954 .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1955 "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1956 }, {
1957 .plaintext = "abcdbcdecdefdefgefghfghighij"
1958 "hijkijkljklmklmnlmnomnopnopq",
1959 .psize = 56,
1960 .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1961 "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
da7f033d
HX
1962 }, {
1963 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1964 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1965 "lmnopqrsmnopqrstnopqrstu",
1966 .psize = 112,
1967 .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1968 "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1969 }, {
1970 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1971 .psize = 32,
1972 .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1973 "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1974 }
1975};
1976
1977/*
1978 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1979 */
b13b1e0c 1980static const struct hash_testvec rmd160_tv_template[] = {
da7f033d
HX
1981 {
1982 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1983 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1984 }, {
1985 .plaintext = "a",
1986 .psize = 1,
1987 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1988 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1989 }, {
1990 .plaintext = "abc",
1991 .psize = 3,
1992 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1993 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1994 }, {
1995 .plaintext = "message digest",
1996 .psize = 14,
1997 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1998 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1999 }, {
2000 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2001 .psize = 26,
2002 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
2003 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
2004 }, {
2005 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
2006 "fghijklmnopqrstuvwxyz0123456789",
2007 .psize = 62,
2008 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
2009 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
2010 }, {
2011 .plaintext = "1234567890123456789012345678901234567890"
2012 "1234567890123456789012345678901234567890",
2013 .psize = 80,
2014 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
2015 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
2016 }, {
2017 .plaintext = "abcdbcdecdefdefgefghfghighij"
2018 "hijkijkljklmklmnlmnomnopnopq",
2019 .psize = 56,
2020 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
2021 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
da7f033d
HX
2022 }, {
2023 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
2024 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
2025 "lmnopqrsmnopqrstnopqrstu",
2026 .psize = 112,
2027 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
2028 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
2029 }, {
2030 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2031 .psize = 32,
2032 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
2033 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
2034 }
2035};
2036
2037/*
2038 * RIPEMD-256 test vectors
2039 */
b13b1e0c 2040static const struct hash_testvec rmd256_tv_template[] = {
da7f033d
HX
2041 {
2042 .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
2043 "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
2044 "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
2045 "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
2046 }, {
2047 .plaintext = "a",
2048 .psize = 1,
2049 .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
2050 "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
2051 "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
2052 "\xcd\x88\x3a\x91\x34\x69\x29\x25",
2053 }, {
2054 .plaintext = "abc",
2055 .psize = 3,
2056 .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
2057 "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
2058 "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
2059 "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
2060 }, {
2061 .plaintext = "message digest",
2062 .psize = 14,
2063 .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
2064 "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
2065 "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
2066 "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
2067 }, {
2068 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2069 .psize = 26,
2070 .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
2071 "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
2072 "\x78\x96\x11\x8a\x51\x97\x96\x87"
2073 "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
2074 }, {
2075 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
2076 "fghijklmnopqrstuvwxyz0123456789",
2077 .psize = 62,
2078 .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
2079 "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
2080 "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
2081 "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
2082 }, {
2083 .plaintext = "1234567890123456789012345678901234567890"
2084 "1234567890123456789012345678901234567890",
2085 .psize = 80,
2086 .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
2087 "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
2088 "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
2089 "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
2090 }, {
2091 .plaintext = "abcdbcdecdefdefgefghfghighij"
2092 "hijkijkljklmklmnlmnomnopnopq",
2093 .psize = 56,
2094 .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
2095 "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
2096 "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
2097 "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
da7f033d
HX
2098 }
2099};
2100
2101/*
2102 * RIPEMD-320 test vectors
2103 */
b13b1e0c 2104static const struct hash_testvec rmd320_tv_template[] = {
da7f033d
HX
2105 {
2106 .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
2107 "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
2108 "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
2109 "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
2110 }, {
2111 .plaintext = "a",
2112 .psize = 1,
2113 .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
2114 "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
2115 "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
2116 "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
2117 }, {
2118 .plaintext = "abc",
2119 .psize = 3,
2120 .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
2121 "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
2122 "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
2123 "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
2124 }, {
2125 .plaintext = "message digest",
2126 .psize = 14,
2127 .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
2128 "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
2129 "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
2130 "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
2131 }, {
2132 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2133 .psize = 26,
2134 .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
2135 "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
2136 "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
2137 "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
2138 }, {
2139 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
2140 "fghijklmnopqrstuvwxyz0123456789",
2141 .psize = 62,
2142 .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
2143 "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
2144 "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
2145 "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
2146 }, {
2147 .plaintext = "1234567890123456789012345678901234567890"
2148 "1234567890123456789012345678901234567890",
2149 .psize = 80,
2150 .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
2151 "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
2152 "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
2153 "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
2154 }, {
2155 .plaintext = "abcdbcdecdefdefgefghfghighij"
2156 "hijkijkljklmklmnlmnomnopnopq",
2157 .psize = 56,
2158 .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
2159 "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
2160 "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
2161 "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
da7f033d
HX
2162 }
2163};
2164
b13b1e0c 2165static const struct hash_testvec crct10dif_tv_template[] = {
68411521 2166 {
d31de187
AB
2167 .plaintext = "abc",
2168 .psize = 3,
2169 .digest = (u8 *)(u16 []){ 0x443b },
68411521 2170 }, {
d31de187
AB
2171 .plaintext = "1234567890123456789012345678901234567890"
2172 "123456789012345678901234567890123456789",
2173 .psize = 79,
2174 .digest = (u8 *)(u16 []){ 0x4b70 },
68411521 2175 }, {
d31de187
AB
2176 .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
2177 "ddddddddddddd",
2178 .psize = 56,
2179 .digest = (u8 *)(u16 []){ 0x9ce3 },
d31de187
AB
2180 }, {
2181 .plaintext = "1234567890123456789012345678901234567890"
2182 "1234567890123456789012345678901234567890"
2183 "1234567890123456789012345678901234567890"
2184 "1234567890123456789012345678901234567890"
2185 "1234567890123456789012345678901234567890"
2186 "1234567890123456789012345678901234567890"
2187 "1234567890123456789012345678901234567890"
2188 "123456789012345678901234567890123456789",
2189 .psize = 319,
2190 .digest = (u8 *)(u16 []){ 0x44c6 },
702202f1
AB
2191 }, {
2192 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
2193 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
2194 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
2195 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
2196 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
2197 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
2198 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
2199 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
2200 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
2201 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
2202 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
2203 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
2204 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
2205 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
2206 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
2207 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
2208 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
2209 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
2210 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
2211 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
2212 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
2213 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
2214 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
2215 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
2216 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
2217 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
2218 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
2219 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
2220 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
2221 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
2222 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
2223 "\x47\xde\x75\x0c\x80\x17\xae\x22"
2224 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
2225 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
2226 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
2227 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
2228 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
2229 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
2230 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
2231 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
2232 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
2233 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
2234 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
2235 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
2236 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
2237 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
2238 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
2239 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
2240 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
2241 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
2242 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
2243 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
2244 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
2245 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
2246 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
2247 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
2248 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
2249 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
2250 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
2251 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
2252 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
2253 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
2254 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
2255 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
2256 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
2257 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
2258 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
2259 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
2260 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
2261 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
2262 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
2263 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
2264 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
2265 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
2266 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
2267 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
2268 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
2269 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
2270 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
2271 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
2272 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
2273 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
2274 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
2275 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
2276 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
2277 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
2278 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
2279 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
2280 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
2281 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
2282 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
2283 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
2284 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
2285 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
2286 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
2287 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
2288 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
2289 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
2290 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
2291 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
2292 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
2293 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
2294 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
2295 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
2296 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
2297 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
2298 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
2299 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
2300 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
2301 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
2302 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
2303 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
2304 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
2305 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
2306 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
2307 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
2308 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
2309 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
2310 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
2311 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
2312 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
2313 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
2314 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
2315 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
2316 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
2317 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
2318 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
2319 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
2320 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
2321 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
2322 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
2323 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
2324 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
2325 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
2326 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
2327 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
2328 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
2329 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
2330 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
2331 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
2332 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
2333 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
2334 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
2335 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
2336 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
2337 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
2338 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
2339 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
2340 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
2341 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
2342 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
2343 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
2344 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
2345 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
2346 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
2347 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
2348 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
2349 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
2350 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
2351 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
2352 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
2353 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
2354 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
2355 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
2356 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
2357 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
2358 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
2359 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
2360 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
2361 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
2362 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
2363 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
2364 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
2365 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
2366 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
2367 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
2368 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
2369 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
2370 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
2371 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
2372 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
2373 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
2374 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
2375 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
2376 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
2377 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
2378 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
2379 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
2380 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
2381 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
2382 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
2383 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
2384 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
2385 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
2386 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
2387 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
2388 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
2389 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
2390 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
2391 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
2392 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
2393 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
2394 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
2395 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
2396 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
2397 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
2398 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
2399 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
2400 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
2401 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
2402 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
2403 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
2404 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
2405 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
2406 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
2407 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
2408 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
2409 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
2410 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
2411 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
2412 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
2413 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
2414 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
2415 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
2416 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
2417 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
2418 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
2419 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
2420 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
2421 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
2422 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
2423 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
2424 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
2425 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
2426 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
2427 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
2428 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
2429 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
2430 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
2431 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
2432 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
2433 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
2434 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
2435 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
2436 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
2437 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
2438 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
2439 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
2440 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
2441 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
2442 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
2443 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
2444 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
2445 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
2446 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
2447 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
2448 .psize = 2048,
2449 .digest = (u8 *)(u16 []){ 0x23ca },
68411521 2450 }
b7e27530
GBY
2451};
2452
25a0b9d4
VC
2453/*
2454 * Streebog test vectors from RFC 6986 and GOST R 34.11-2012
2455 */
2456static const struct hash_testvec streebog256_tv_template[] = {
2457 { /* M1 */
2458 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
2459 .psize = 63,
2460 .digest =
2461 "\x9d\x15\x1e\xef\xd8\x59\x0b\x89"
2462 "\xda\xa6\xba\x6c\xb7\x4a\xf9\x27"
2463 "\x5d\xd0\x51\x02\x6b\xb1\x49\xa4"
2464 "\x52\xfd\x84\xe5\xe5\x7b\x55\x00",
2465 },
2466 { /* M2 */
2467 .plaintext =
2468 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
2469 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
2470 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
2471 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
2472 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
2473 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
2474 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
2475 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
2476 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
2477 .psize = 72,
2478 .digest =
2479 "\x9d\xd2\xfe\x4e\x90\x40\x9e\x5d"
2480 "\xa8\x7f\x53\x97\x6d\x74\x05\xb0"
2481 "\xc0\xca\xc6\x28\xfc\x66\x9a\x74"
2482 "\x1d\x50\x06\x3c\x55\x7e\x8f\x50",
2483 },
2484};
2485
2486static const struct hash_testvec streebog512_tv_template[] = {
2487 { /* M1 */
2488 .plaintext = "012345678901234567890123456789012345678901234567890123456789012",
2489 .psize = 63,
2490 .digest =
2491 "\x1b\x54\xd0\x1a\x4a\xf5\xb9\xd5"
2492 "\xcc\x3d\x86\xd6\x8d\x28\x54\x62"
2493 "\xb1\x9a\xbc\x24\x75\x22\x2f\x35"
2494 "\xc0\x85\x12\x2b\xe4\xba\x1f\xfa"
2495 "\x00\xad\x30\xf8\x76\x7b\x3a\x82"
2496 "\x38\x4c\x65\x74\xf0\x24\xc3\x11"
2497 "\xe2\xa4\x81\x33\x2b\x08\xef\x7f"
2498 "\x41\x79\x78\x91\xc1\x64\x6f\x48",
2499 },
2500 { /* M2 */
2501 .plaintext =
2502 "\xd1\xe5\x20\xe2\xe5\xf2\xf0\xe8"
2503 "\x2c\x20\xd1\xf2\xf0\xe8\xe1\xee"
2504 "\xe6\xe8\x20\xe2\xed\xf3\xf6\xe8"
2505 "\x2c\x20\xe2\xe5\xfe\xf2\xfa\x20"
2506 "\xf1\x20\xec\xee\xf0\xff\x20\xf1"
2507 "\xf2\xf0\xe5\xeb\xe0\xec\xe8\x20"
2508 "\xed\xe0\x20\xf5\xf0\xe0\xe1\xf0"
2509 "\xfb\xff\x20\xef\xeb\xfa\xea\xfb"
2510 "\x20\xc8\xe3\xee\xf0\xe5\xe2\xfb",
2511 .psize = 72,
2512 .digest =
2513 "\x1e\x88\xe6\x22\x26\xbf\xca\x6f"
2514 "\x99\x94\xf1\xf2\xd5\x15\x69\xe0"
2515 "\xda\xf8\x47\x5a\x3b\x0f\xe6\x1a"
2516 "\x53\x00\xee\xe4\x6d\x96\x13\x76"
2517 "\x03\x5f\xe8\x35\x49\xad\xa2\xb8"
2518 "\x62\x0f\xcd\x7c\x49\x6c\xe5\xb3"
2519 "\x3f\x0c\xb9\xdd\xdc\x2b\x64\x60"
2520 "\x14\x3b\x03\xda\xba\xc9\xfb\x28",
2521 },
2522};
2523
2524/*
2525 * Two HMAC-Streebog test vectors from RFC 7836 and R 50.1.113-2016 A
2526 */
2527static const struct hash_testvec hmac_streebog256_tv_template[] = {
2528 {
2529 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
2530 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
2531 "\x10\x11\x12\x13\x14\x15\x16\x17"
2532 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
2533 .ksize = 32,
2534 .plaintext =
2535 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
2536 "\x43\x41\x45\x65\x63\x78\x01\x00",
2537 .psize = 16,
2538 .digest =
2539 "\xa1\xaa\x5f\x7d\xe4\x02\xd7\xb3"
2540 "\xd3\x23\xf2\x99\x1c\x8d\x45\x34"
2541 "\x01\x31\x37\x01\x0a\x83\x75\x4f"
2542 "\xd0\xaf\x6d\x7c\xd4\x92\x2e\xd9",
2543 },
2544};
2545
2546static const struct hash_testvec hmac_streebog512_tv_template[] = {
2547 {
2548 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
2549 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
2550 "\x10\x11\x12\x13\x14\x15\x16\x17"
2551 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
2552 .ksize = 32,
2553 .plaintext =
2554 "\x01\x26\xbd\xb8\x78\x00\xaf\x21"
2555 "\x43\x41\x45\x65\x63\x78\x01\x00",
2556 .psize = 16,
2557 .digest =
2558 "\xa5\x9b\xab\x22\xec\xae\x19\xc6"
2559 "\x5f\xbd\xe6\xe5\xf4\xe9\xf5\xd8"
2560 "\x54\x9d\x31\xf0\x37\xf9\xdf\x9b"
2561 "\x90\x55\x00\xe1\x71\x92\x3a\x77"
2562 "\x3d\x5f\x15\x30\xf2\xed\x7e\x96"
2563 "\x4c\xb2\xee\xdc\x29\xe9\xad\x2f"
2564 "\x3a\xfe\x93\xb2\x81\x4f\x79\xf5"
2565 "\x00\x0f\xfc\x03\x66\xc2\x51\xe6",
2566 },
2567};
2568
b7e27530
GBY
2569/* Example vectors below taken from
2570 * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
2571 *
2572 * The rest taken from
2573 * https://github.com/adamws/oscca-sm3
2574 */
2575static const struct hash_testvec sm3_tv_template[] = {
2576 {
2577 .plaintext = "",
2578 .psize = 0,
2579 .digest = (u8 *)(u8 []) {
2580 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
2581 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
2582 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
2583 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
2584 }, {
2585 .plaintext = "a",
2586 .psize = 1,
2587 .digest = (u8 *)(u8 []) {
2588 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
2589 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
2590 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
2591 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
2592 }, {
2593 /* A.1. Example 1 */
2594 .plaintext = "abc",
2595 .psize = 3,
2596 .digest = (u8 *)(u8 []) {
2597 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
2598 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
2599 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
2600 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
2601 }, {
2602 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2603 .psize = 26,
2604 .digest = (u8 *)(u8 []) {
2605 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
2606 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
2607 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
2608 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
2609 }, {
2610 /* A.1. Example 2 */
2611 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
2612 "cdabcdabcdabcdabcd",
2613 .psize = 64,
2614 .digest = (u8 *)(u8 []) {
2615 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
2616 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
2617 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
2618 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
2619 }, {
2620 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2621 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2622 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2623 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2624 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2625 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2626 "abcdabcdabcdabcdabcdabcdabcdabcd",
2627 .psize = 256,
2628 .digest = (u8 *)(u8 []) {
2629 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
2630 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
2631 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
2632 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
2633 }
68411521
HX
2634};
2635
da7f033d
HX
2636/*
2637 * SHA1 test vectors from from FIPS PUB 180-1
bd1f2996 2638 * Long vector from CAVS 5.0
da7f033d 2639 */
b13b1e0c 2640static const struct hash_testvec sha1_tv_template[] = {
da7f033d 2641 {
950e4e1c
JK
2642 .plaintext = "",
2643 .psize = 0,
2644 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
2645 "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
2646 }, {
da7f033d
HX
2647 .plaintext = "abc",
2648 .psize = 3,
2649 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
2650 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
2651 }, {
2652 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2653 .psize = 56,
2654 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
2655 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
bd1f2996
HX
2656 }, {
2657 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
2658 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
2659 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
2660 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
2661 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
2662 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
2663 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
2664 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
2665 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
2666 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
2667 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
2668 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
2669 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
2670 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
2671 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
2672 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
2673 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
2674 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
2675 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
2676 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
2677 "\x5a\x90\x11",
2678 .psize = 163,
2679 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
2680 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
4585988f
AB
2681 }, {
2682 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2683 .psize = 64,
2684 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
2685 "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
950e4e1c
JK
2686 }, {
2687 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2688 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2689 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2690 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2691 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2692 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2693 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2694 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2695 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2696 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2697 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2698 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2699 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2700 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2701 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2702 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2703 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2704 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2705 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2706 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2707 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2708 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2709 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2710 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2711 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2712 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2713 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2714 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2715 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2716 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2717 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2718 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2719 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2720 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2721 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2722 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2723 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2724 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2725 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2726 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2727 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2728 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2729 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2730 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2731 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2732 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2733 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2734 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2735 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2736 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2737 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2738 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2739 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2740 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2741 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2742 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2743 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2744 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2745 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2746 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2747 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2748 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2749 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2750 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2751 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2752 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2753 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2754 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2755 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2756 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2757 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2758 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2759 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2760 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2761 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2762 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2763 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2764 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2765 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2766 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2767 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2768 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2769 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2770 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2771 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2772 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2773 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2774 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2775 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2776 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2777 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2778 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2779 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2780 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2781 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2782 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2783 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2784 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2785 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2786 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2787 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2788 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2789 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2790 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2791 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2792 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2793 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2794 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2795 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2796 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2797 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2798 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2799 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2800 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2801 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2802 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2803 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2804 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2805 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2806 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2807 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2808 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2809 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2810 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2811 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2812 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2813 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2814 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2815 .psize = 1023,
2816 .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
2817 "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
2818 "\x30\xd6\xc9\x85",
da7f033d
HX
2819 }
2820};
2821
2822
2823/*
2824 * SHA224 test vectors from from FIPS PUB 180-2
2825 */
b13b1e0c 2826static const struct hash_testvec sha224_tv_template[] = {
da7f033d 2827 {
950e4e1c
JK
2828 .plaintext = "",
2829 .psize = 0,
2830 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
2831 "\x47\x61\x02\xbb\x28\x82\x34\xc4"
2832 "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
2833 "\xc5\xb3\xe4\x2f",
2834 }, {
da7f033d
HX
2835 .plaintext = "abc",
2836 .psize = 3,
2837 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
2838 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
2839 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
2840 "\xE3\x6C\x9D\xA7",
2841 }, {
2842 .plaintext =
2843 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2844 .psize = 56,
2845 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
2846 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
2847 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
2848 "\x52\x52\x25\x25",
4585988f
AB
2849 }, {
2850 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2851 .psize = 64,
2852 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
2853 "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
2854 "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
2855 "\xef\x3b\xcb\x0e",
950e4e1c
JK
2856 }, {
2857 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2858 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2859 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2860 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2861 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2862 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2863 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2864 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2865 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2866 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2867 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2868 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2869 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2870 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2871 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2872 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2873 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2874 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2875 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2876 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2877 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2878 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2879 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2880 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2881 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2882 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2883 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2884 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2885 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2886 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2887 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2888 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2889 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2890 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2891 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2892 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2893 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2894 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2895 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2896 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2897 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2898 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2899 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2900 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2901 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2902 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2903 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2904 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2905 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2906 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2907 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2908 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2909 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2910 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2911 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2912 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2913 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2914 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2915 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2916 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2917 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2918 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2919 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2920 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2921 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2922 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2923 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2924 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2925 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2926 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2927 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2928 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2929 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2930 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2931 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2932 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2933 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2934 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2935 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2936 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2937 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2938 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2939 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2940 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2941 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2942 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2943 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2944 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2945 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2946 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2947 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2948 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2949 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2950 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2951 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2952 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2953 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2954 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2955 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2956 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2957 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2958 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2959 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2960 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2961 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2962 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2963 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2964 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2965 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2966 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2967 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2968 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2969 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2970 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2971 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2972 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2973 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2974 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2975 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2976 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2977 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2978 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2979 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2980 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2981 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2982 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2983 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2984 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2985 .psize = 1023,
2986 .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
2987 "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
2988 "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
2989 "\xe6\xf9\x4f\xcc",
da7f033d
HX
2990 }
2991};
2992
2993/*
2994 * SHA256 test vectors from from NIST
2995 */
b13b1e0c 2996static const struct hash_testvec sha256_tv_template[] = {
da7f033d 2997 {
950e4e1c
JK
2998 .plaintext = "",
2999 .psize = 0,
3000 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
3001 "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
3002 "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
3003 "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
3004 }, {
da7f033d
HX
3005 .plaintext = "abc",
3006 .psize = 3,
3007 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
3008 "\x41\x41\x40\xde\x5d\xae\x22\x23"
3009 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
3010 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
3011 }, {
3012 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3013 .psize = 56,
3014 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
3015 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
3016 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
3017 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
4585988f
AB
3018 }, {
3019 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3020 .psize = 64,
3021 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
3022 "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
3023 "\xd6\xff\x94\xa3\x72\x91\x85\x66"
3024 "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
950e4e1c
JK
3025 }, {
3026 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
3027 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
3028 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
3029 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
3030 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
3031 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
3032 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
3033 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
3034 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
3035 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
3036 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
3037 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
3038 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
3039 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
3040 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
3041 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
3042 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
3043 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
3044 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
3045 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
3046 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
3047 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
3048 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
3049 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
3050 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
3051 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
3052 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
3053 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
3054 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
3055 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
3056 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
3057 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
3058 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
3059 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
3060 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3061 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3062 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
3063 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
3064 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
3065 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
3066 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
3067 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
3068 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
3069 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
3070 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
3071 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3072 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3073 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3074 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3075 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3076 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3077 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3078 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3079 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3080 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3081 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3082 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3083 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3084 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3085 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3086 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3087 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3088 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3089 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3090 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3091 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3092 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3093 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3094 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3095 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3096 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3097 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3098 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3099 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3100 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3101 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3102 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3103 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3104 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3105 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3106 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3107 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3108 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3109 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3110 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3111 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3112 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3113 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3114 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3115 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3116 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3117 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3118 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3119 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3120 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3121 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3122 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3123 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3124 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3125 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3126 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3127 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3128 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3129 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3130 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3131 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3132 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3133 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3134 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3135 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3136 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3137 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3138 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3139 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3140 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3141 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3142 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3143 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3144 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3145 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3146 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3147 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3148 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3149 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3150 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3151 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3152 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3153 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3154 .psize = 1023,
3155 .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
3156 "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
3157 "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
3158 "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
4585988f 3159 }
da7f033d
HX
3160};
3161
3162/*
3163 * SHA384 test vectors from from NIST and kerneli
3164 */
b13b1e0c 3165static const struct hash_testvec sha384_tv_template[] = {
da7f033d 3166 {
950e4e1c
JK
3167 .plaintext = "",
3168 .psize = 0,
3169 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
3170 "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
3171 "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
3172 "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
3173 "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
3174 "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
3175 }, {
da7f033d
HX
3176 .plaintext= "abc",
3177 .psize = 3,
3178 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
3179 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
3180 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
3181 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
3182 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
3183 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
3184 }, {
3185 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3186 .psize = 56,
3187 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
3188 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
3189 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
3190 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
3191 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
3192 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
3193 }, {
3194 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
3195 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
3196 .psize = 112,
3197 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
3198 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
3199 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
3200 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
3201 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
3202 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
3203 }, {
3204 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
3205 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
3206 .psize = 104,
3207 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
3208 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
3209 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
3210 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
3211 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
3212 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
950e4e1c
JK
3213 }, {
3214 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
3215 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
3216 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
3217 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
3218 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
3219 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
3220 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
3221 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
3222 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
3223 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
3224 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
3225 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
3226 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
3227 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
3228 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
3229 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
3230 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
3231 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
3232 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
3233 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
3234 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
3235 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
3236 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
3237 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
3238 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
3239 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
3240 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
3241 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
3242 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
3243 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
3244 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
3245 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
3246 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
3247 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
3248 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3249 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3250 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
3251 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
3252 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
3253 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
3254 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
3255 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
3256 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
3257 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
3258 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
3259 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3260 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3261 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3262 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3263 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3264 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3265 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3266 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3267 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3268 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3269 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3270 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3271 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3272 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3273 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3274 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3275 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3276 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3277 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3278 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3279 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3280 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3281 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3282 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3283 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3284 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3285 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3286 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3287 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3288 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3289 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3290 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3291 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3292 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3293 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3294 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3295 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3296 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3297 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3298 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3299 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3300 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3301 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3302 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3303 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3304 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3305 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3306 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3307 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3308 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3309 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3310 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3311 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3312 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3313 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3314 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3315 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3316 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3317 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3318 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3319 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3320 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3321 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3322 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3323 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3324 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3325 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3326 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3327 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3328 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3329 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3330 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3331 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3332 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3333 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3334 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3335 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3336 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3337 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3338 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3339 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3340 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3341 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3342 .psize = 1023,
3343 .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
3344 "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
3345 "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
3346 "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
3347 "\x75\x29\x62\x83\xae\x3f\x17\xab"
3348 "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
3349 }
da7f033d
HX
3350};
3351
3352/*
3353 * SHA512 test vectors from from NIST and kerneli
3354 */
b13b1e0c 3355static const struct hash_testvec sha512_tv_template[] = {
da7f033d 3356 {
950e4e1c
JK
3357 .plaintext = "",
3358 .psize = 0,
3359 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
3360 "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
3361 "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
3362 "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
3363 "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
3364 "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
3365 "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
3366 "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
3367 }, {
da7f033d
HX
3368 .plaintext = "abc",
3369 .psize = 3,
3370 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
3371 "\xcc\x41\x73\x49\xae\x20\x41\x31"
3372 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
3373 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
3374 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
3375 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
3376 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
3377 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
3378 }, {
3379 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3380 .psize = 56,
3381 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
3382 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
3383 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
3384 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
3385 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
3386 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
3387 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
3388 "\x54\xec\x63\x12\x38\xca\x34\x45",
3389 }, {
3390 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
3391 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
3392 .psize = 112,
3393 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
3394 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
3395 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
3396 "\x72\x99\xae\xad\xb6\x88\x90\x18"
3397 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
3398 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
3399 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
3400 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
3401 }, {
3402 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
3403 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
3404 .psize = 104,
3405 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
3406 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
3407 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
3408 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
3409 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
3410 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
3411 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
3412 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
950e4e1c
JK
3413 }, {
3414 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
3415 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
3416 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
3417 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
3418 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
3419 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
3420 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
3421 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
3422 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
3423 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
3424 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
3425 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
3426 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
3427 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
3428 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
3429 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
3430 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
3431 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
3432 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
3433 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
3434 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
3435 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
3436 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
3437 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
3438 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
3439 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
3440 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
3441 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
3442 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
3443 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
3444 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
3445 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
3446 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
3447 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
3448 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3449 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3450 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
3451 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
3452 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
3453 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
3454 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
3455 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
3456 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
3457 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
3458 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
3459 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3460 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3461 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3462 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3463 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3464 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3465 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3466 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3467 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3468 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3469 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3470 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3471 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3472 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3473 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3474 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3475 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3476 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3477 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3478 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3479 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3480 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3481 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3482 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3483 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3484 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3485 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3486 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3487 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3488 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3489 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3490 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3491 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3492 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3493 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3494 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3495 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3496 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3497 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3498 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3499 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3500 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3501 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3502 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3503 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3504 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3505 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3506 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3507 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3508 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3509 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3510 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3511 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3512 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3513 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3514 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3515 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3516 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3517 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3518 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3519 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3520 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3521 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3522 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3523 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3524 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3525 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3526 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3527 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3528 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3529 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3530 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3531 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3532 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3533 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3534 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3535 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3536 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3537 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3538 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3539 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3540 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3541 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3542 .psize = 1023,
3543 .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
3544 "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
3545 "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
3546 "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
3547 "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
3548 "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
3549 "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
3550 "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
3551 }
da7f033d
HX
3552};
3553
3554
3555/*
3556 * WHIRLPOOL test vectors from Whirlpool package
3557 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
3558 * submission
3559 */
b13b1e0c 3560static const struct hash_testvec wp512_tv_template[] = {
da7f033d
HX
3561 {
3562 .plaintext = "",
3563 .psize = 0,
3564 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3565 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3566 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3567 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3568 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3569 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
3570 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
3571 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
3572
3573
3574 }, {
3575 .plaintext = "a",
3576 .psize = 1,
3577 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3578 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3579 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3580 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3581 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3582 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
3583 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
3584 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
3585 }, {
3586 .plaintext = "abc",
3587 .psize = 3,
3588 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3589 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3590 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3591 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3592 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3593 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
3594 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
3595 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
3596 }, {
3597 .plaintext = "message digest",
3598 .psize = 14,
3599 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3600 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3601 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3602 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3603 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3604 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
3605 "\x92\xED\x92\x00\x52\x83\x8F\x33"
3606 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
3607 }, {
3608 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3609 .psize = 26,
3610 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3611 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3612 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3613 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3614 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3615 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
3616 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
3617 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
3618 }, {
3619 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3620 "abcdefghijklmnopqrstuvwxyz0123456789",
3621 .psize = 62,
3622 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3623 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3624 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3625 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3626 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3627 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
3628 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
3629 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
3630 }, {
3631 .plaintext = "1234567890123456789012345678901234567890"
3632 "1234567890123456789012345678901234567890",
3633 .psize = 80,
3634 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3635 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3636 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3637 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3638 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3639 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
3640 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
3641 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
3642 }, {
3643 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3644 .psize = 32,
3645 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3646 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3647 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3648 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3649 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3650 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
3651 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
3652 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
3653 },
3654};
3655
b13b1e0c 3656static const struct hash_testvec wp384_tv_template[] = {
da7f033d
HX
3657 {
3658 .plaintext = "",
3659 .psize = 0,
3660 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3661 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3662 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3663 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3664 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3665 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
3666
3667
3668 }, {
3669 .plaintext = "a",
3670 .psize = 1,
3671 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3672 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3673 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3674 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3675 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3676 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
3677 }, {
3678 .plaintext = "abc",
3679 .psize = 3,
3680 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3681 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3682 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3683 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3684 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3685 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
3686 }, {
3687 .plaintext = "message digest",
3688 .psize = 14,
3689 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3690 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3691 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3692 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3693 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3694 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
3695 }, {
3696 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3697 .psize = 26,
3698 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3699 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3700 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3701 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3702 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3703 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
3704 }, {
3705 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3706 "abcdefghijklmnopqrstuvwxyz0123456789",
3707 .psize = 62,
3708 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3709 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3710 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3711 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3712 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3713 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
3714 }, {
3715 .plaintext = "1234567890123456789012345678901234567890"
3716 "1234567890123456789012345678901234567890",
3717 .psize = 80,
3718 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3719 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3720 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3721 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3722 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3723 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
3724 }, {
3725 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3726 .psize = 32,
3727 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3728 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3729 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3730 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3731 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3732 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
3733 },
3734};
3735
b13b1e0c 3736static const struct hash_testvec wp256_tv_template[] = {
da7f033d
HX
3737 {
3738 .plaintext = "",
3739 .psize = 0,
3740 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3741 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3742 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3743 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
3744
3745
3746 }, {
3747 .plaintext = "a",
3748 .psize = 1,
3749 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3750 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3751 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3752 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
3753 }, {
3754 .plaintext = "abc",
3755 .psize = 3,
3756 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3757 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3758 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3759 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
3760 }, {
3761 .plaintext = "message digest",
3762 .psize = 14,
3763 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3764 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3765 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3766 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
3767 }, {
3768 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3769 .psize = 26,
3770 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3771 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3772 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3773 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
3774 }, {
3775 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3776 "abcdefghijklmnopqrstuvwxyz0123456789",
3777 .psize = 62,
3778 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3779 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3780 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3781 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
3782 }, {
3783 .plaintext = "1234567890123456789012345678901234567890"
3784 "1234567890123456789012345678901234567890",
3785 .psize = 80,
3786 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3787 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3788 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3789 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
3790 }, {
3791 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3792 .psize = 32,
3793 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3794 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3795 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3796 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
3797 },
3798};
3799
3800/*
3801 * TIGER test vectors from Tiger website
3802 */
b13b1e0c 3803static const struct hash_testvec tgr192_tv_template[] = {
da7f033d
HX
3804 {
3805 .plaintext = "",
3806 .psize = 0,
3807 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3808 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3809 "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
3810 }, {
3811 .plaintext = "abc",
3812 .psize = 3,
3813 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3814 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3815 "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
3816 }, {
3817 .plaintext = "Tiger",
3818 .psize = 5,
3819 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3820 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3821 "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
3822 }, {
3823 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3824 .psize = 64,
3825 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3826 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3827 "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
3828 }, {
3829 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3830 .psize = 64,
3831 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3832 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3833 "\x57\x89\x65\x65\x97\x5f\x91\x97",
3834 }, {
3835 .plaintext = "Tiger - A Fast New Hash Function, "
3836 "by Ross Anderson and Eli Biham, "
3837 "proceedings of Fast Software Encryption 3, "
3838 "Cambridge, 1996.",
3839 .psize = 125,
3840 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3841 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3842 "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
3843 },
3844};
3845
b13b1e0c 3846static const struct hash_testvec tgr160_tv_template[] = {
da7f033d
HX
3847 {
3848 .plaintext = "",
3849 .psize = 0,
3850 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3851 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3852 "\xf3\x73\xde\x2d",
3853 }, {
3854 .plaintext = "abc",
3855 .psize = 3,
3856 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3857 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3858 "\x93\x5f\x7b\x95",
3859 }, {
3860 .plaintext = "Tiger",
3861 .psize = 5,
3862 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3863 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3864 "\x37\x79\x0c\x11",
3865 }, {
3866 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3867 .psize = 64,
3868 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3869 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3870 "\xb5\x86\x44\x50",
3871 }, {
3872 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3873 .psize = 64,
3874 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3875 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3876 "\x57\x89\x65\x65",
3877 }, {
3878 .plaintext = "Tiger - A Fast New Hash Function, "
3879 "by Ross Anderson and Eli Biham, "
3880 "proceedings of Fast Software Encryption 3, "
3881 "Cambridge, 1996.",
3882 .psize = 125,
3883 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3884 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3885 "\xdd\x68\x15\x1d",
3886 },
3887};
3888
b13b1e0c 3889static const struct hash_testvec tgr128_tv_template[] = {
da7f033d
HX
3890 {
3891 .plaintext = "",
3892 .psize = 0,
3893 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3894 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
3895 }, {
3896 .plaintext = "abc",
3897 .psize = 3,
3898 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3899 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
3900 }, {
3901 .plaintext = "Tiger",
3902 .psize = 5,
3903 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3904 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
3905 }, {
3906 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3907 .psize = 64,
3908 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3909 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
3910 }, {
3911 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3912 .psize = 64,
3913 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3914 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
3915 }, {
3916 .plaintext = "Tiger - A Fast New Hash Function, "
3917 "by Ross Anderson and Eli Biham, "
3918 "proceedings of Fast Software Encryption 3, "
3919 "Cambridge, 1996.",
3920 .psize = 125,
3921 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3922 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
3923 },
3924};
3925
b13b1e0c 3926static const struct hash_testvec ghash_tv_template[] =
507069c9
YS
3927{
3928 {
6c9e3dcd
AB
3929 .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
3930 "\xff\xca\xff\x95\xf8\x30\xf0\x61",
507069c9 3931 .ksize = 16,
6c9e3dcd
AB
3932 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3933 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
507069c9
YS
3934 .psize = 16,
3935 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3936 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
6c9e3dcd
AB
3937 }, {
3938 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3939 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3940 .ksize = 16,
3941 .plaintext = "what do ya want for nothing?",
3942 .psize = 28,
3943 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
3944 "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
6c9e3dcd
AB
3945 }, {
3946 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3947 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3948 .ksize = 16,
3949 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3950 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3951 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3952 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3953 .psize = 50,
3954 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
3955 "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
3956 }, {
3957 .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3958 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
3959 .ksize = 16,
3960 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3961 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3962 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3963 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3964 .psize = 50,
3965 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
3966 "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
3967 }, {
3968 .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3969 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
3970 .ksize = 16,
3971 .plaintext = "Test With Truncation",
3972 .psize = 20,
3973 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
3974 "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
445a8e0d
HF
3975 }, {
3976 .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
3977 "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
3978 .ksize = 16,
3979 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
3980 "\x65\x72\x20\x4c\x61\x75\x73\x63"
3981 "\x68\x65\x6e\x20\x75\x6e\x64\x20"
3982 "\x53\x74\x61\x75\x6e\x65\x6e\x20"
3983 "\x73\x65\x69\x20\x73\x74\x69\x6c"
3984 "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
3985 "\x69\x6e\x20\x74\x69\x65\x66\x74"
3986 "\x69\x65\x66\x65\x73\x20\x4c\x65"
3987 "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
3988 "\x73\x20\x64\x75\x20\x77\x65\x69"
3989 "\xc3\x9f\x74\x20\x77\x61\x73\x20"
3990 "\x64\x65\x72\x20\x57\x69\x6e\x64"
3991 "\x20\x64\x69\x72\x20\x77\x69\x6c"
3992 "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
3993 "\x63\x68\x20\x64\x69\x65\x20\x42"
3994 "\x69\x72\x6b\x65\x6e\x20\x62\x65"
3995 "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
3996 "\x64\x20\x77\x65\x6e\x6e\x20\x64"
3997 "\x69\x72\x20\x65\x69\x6e\x6d\x61"
3998 "\x6c\x20\x64\x61\x73\x20\x53\x63"
3999 "\x68\x77\x65\x69\x67\x65\x6e\x20"
4000 "\x73\x70\x72\x61\x63\x68\x2c\x0a"
4001 "\x6c\x61\x73\x73\x20\x64\x65\x69"
4002 "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
4003 "\x20\x62\x65\x73\x69\x65\x67\x65"
4004 "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
4005 "\x20\x48\x61\x75\x63\x68\x65\x20"
4006 "\x67\x69\x62\x74\x20\x64\x69\x63"
4007 "\x68\x2c\x20\x67\x69\x62\x20\x6e"
4008 "\x61\x63\x68\x2c\x0a\x65\x72\x20"
4009 "\x77\x69\x72\x64\x20\x64\x69\x63"
4010 "\x68\x20\x6c\x69\x65\x62\x65\x6e"
4011 "\x20\x75\x6e\x64\x20\x77\x69\x65"
4012 "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
4013 "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
4014 "\x65\x69\x6e\x65\x20\x53\x65\x65"
4015 "\x6c\x65\x20\x73\x65\x69\x74\x20"
4016 "\x77\x65\x69\x74\x2c\x20\x73\x65"
4017 "\x69\x20\x77\x65\x69\x74\x2c\x0a"
4018 "\x64\x61\x73\x73\x20\x64\x69\x72"
4019 "\x20\x64\x61\x73\x20\x4c\x65\x62"
4020 "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
4021 "\x67\x65\x2c\x0a\x62\x72\x65\x69"
4022 "\x74\x65\x20\x64\x69\x63\x68\x20"
4023 "\x77\x69\x65\x20\x65\x69\x6e\x20"
4024 "\x46\x65\x69\x65\x72\x6b\x6c\x65"
4025 "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
4026 "\x20\x64\x69\x65\x20\x73\x69\x6e"
4027 "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
4028 "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
4029 .psize = 400,
4030 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
4031 "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
507069c9
YS
4032 },
4033};
4034
da7f033d
HX
4035/*
4036 * HMAC-MD5 test vectors from RFC2202
4037 * (These need to be fixed to not use strlen).
4038 */
b13b1e0c 4039static const struct hash_testvec hmac_md5_tv_template[] =
da7f033d
HX
4040{
4041 {
4042 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
4043 .ksize = 16,
4044 .plaintext = "Hi There",
4045 .psize = 8,
4046 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
4047 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
4048 }, {
4049 .key = "Jefe",
4050 .ksize = 4,
4051 .plaintext = "what do ya want for nothing?",
4052 .psize = 28,
4053 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
4054 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
da7f033d
HX
4055 }, {
4056 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4057 .ksize = 16,
4058 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4059 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4060 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4061 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4062 .psize = 50,
4063 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
4064 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
4065 }, {
4066 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4067 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4068 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
4069 .ksize = 25,
4070 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4071 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4072 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4073 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4074 .psize = 50,
4075 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
4076 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
4077 }, {
4078 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
4079 .ksize = 16,
4080 .plaintext = "Test With Truncation",
4081 .psize = 20,
4082 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
4083 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
4084 }, {
4085 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4086 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4087 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4088 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4089 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4090 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4091 "\xaa\xaa",
4092 .ksize = 80,
4093 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4094 .psize = 54,
4095 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
4096 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
4097 }, {
4098 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4099 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4100 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4101 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4102 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4103 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4104 "\xaa\xaa",
4105 .ksize = 80,
4106 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4107 "Block-Size Data",
4108 .psize = 73,
4109 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
4110 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
4111 },
4112};
4113
4114/*
4115 * HMAC-RIPEMD128 test vectors from RFC2286
4116 */
b13b1e0c 4117static const struct hash_testvec hmac_rmd128_tv_template[] = {
da7f033d
HX
4118 {
4119 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
4120 .ksize = 16,
4121 .plaintext = "Hi There",
4122 .psize = 8,
4123 .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
4124 "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
4125 }, {
4126 .key = "Jefe",
4127 .ksize = 4,
4128 .plaintext = "what do ya want for nothing?",
4129 .psize = 28,
4130 .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
4131 "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
da7f033d
HX
4132 }, {
4133 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4134 .ksize = 16,
4135 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4136 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4137 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4138 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4139 .psize = 50,
4140 .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
4141 "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
4142 }, {
4143 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4144 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4145 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
4146 .ksize = 25,
4147 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4148 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4149 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4150 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4151 .psize = 50,
4152 .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
4153 "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
4154 }, {
4155 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
4156 .ksize = 16,
4157 .plaintext = "Test With Truncation",
4158 .psize = 20,
4159 .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
4160 "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
4161 }, {
4162 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4163 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4164 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4165 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4166 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4167 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4168 "\xaa\xaa",
4169 .ksize = 80,
4170 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4171 .psize = 54,
4172 .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
4173 "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
4174 }, {
4175 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4176 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4177 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4178 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4179 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4180 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4181 "\xaa\xaa",
4182 .ksize = 80,
4183 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4184 "Block-Size Data",
4185 .psize = 73,
4186 .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
4187 "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
4188 },
4189};
4190
4191/*
4192 * HMAC-RIPEMD160 test vectors from RFC2286
4193 */
b13b1e0c 4194static const struct hash_testvec hmac_rmd160_tv_template[] = {
da7f033d
HX
4195 {
4196 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
4197 .ksize = 20,
4198 .plaintext = "Hi There",
4199 .psize = 8,
4200 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
4201 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
4202 }, {
4203 .key = "Jefe",
4204 .ksize = 4,
4205 .plaintext = "what do ya want for nothing?",
4206 .psize = 28,
4207 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
4208 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
da7f033d
HX
4209 }, {
4210 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4211 .ksize = 20,
4212 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4213 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4214 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4215 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4216 .psize = 50,
4217 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
4218 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
4219 }, {
4220 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4221 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4222 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
4223 .ksize = 25,
4224 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4225 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4226 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4227 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4228 .psize = 50,
4229 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
4230 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
4231 }, {
4232 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
4233 .ksize = 20,
4234 .plaintext = "Test With Truncation",
4235 .psize = 20,
4236 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
4237 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
4238 }, {
4239 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4240 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4241 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4242 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4243 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4244 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4245 "\xaa\xaa",
4246 .ksize = 80,
4247 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4248 .psize = 54,
4249 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
4250 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
4251 }, {
4252 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4253 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4254 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4255 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4256 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4257 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4258 "\xaa\xaa",
4259 .ksize = 80,
4260 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4261 "Block-Size Data",
4262 .psize = 73,
4263 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
4264 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
4265 },
4266};
4267
4268/*
4269 * HMAC-SHA1 test vectors from RFC2202
4270 */
b13b1e0c 4271static const struct hash_testvec hmac_sha1_tv_template[] = {
da7f033d
HX
4272 {
4273 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
4274 .ksize = 20,
4275 .plaintext = "Hi There",
4276 .psize = 8,
4277 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
4278 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
4279 "\x46\xbe",
4280 }, {
4281 .key = "Jefe",
4282 .ksize = 4,
4283 .plaintext = "what do ya want for nothing?",
4284 .psize = 28,
4285 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
4286 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
da7f033d
HX
4287 }, {
4288 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4289 .ksize = 20,
4290 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4291 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4292 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4293 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4294 .psize = 50,
4295 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
4296 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
4297 }, {
4298 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4299 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4300 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
4301 .ksize = 25,
4302 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4303 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4304 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4305 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4306 .psize = 50,
4307 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
4308 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
4309 }, {
4310 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
4311 .ksize = 20,
4312 .plaintext = "Test With Truncation",
4313 .psize = 20,
4314 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
4315 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
4316 }, {
4317 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4318 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4319 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4320 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4321 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4322 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4323 "\xaa\xaa",
4324 .ksize = 80,
4325 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4326 .psize = 54,
4327 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
4328 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
4329 }, {
4330 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4331 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4332 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4333 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4334 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4335 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4336 "\xaa\xaa",
4337 .ksize = 80,
4338 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4339 "Block-Size Data",
4340 .psize = 73,
4341 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
4342 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
4343 },
4344};
4345
4346
4347/*
4348 * SHA224 HMAC test vectors from RFC4231
4349 */
b13b1e0c 4350static const struct hash_testvec hmac_sha224_tv_template[] = {
da7f033d
HX
4351 {
4352 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4353 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4354 "\x0b\x0b\x0b\x0b",
4355 .ksize = 20,
4356 /* ("Hi There") */
4357 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
4358 .psize = 8,
4359 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
4360 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
4361 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
4362 "\x53\x68\x4b\x22",
4363 }, {
4364 .key = "Jefe",
4365 .ksize = 4,
4366 /* ("what do ya want for nothing?") */
4367 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
4368 "\x79\x61\x20\x77\x61\x6e\x74\x20"
4369 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
4370 "\x69\x6e\x67\x3f",
4371 .psize = 28,
4372 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
4373 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
4374 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
4375 "\x8f\xd0\x5e\x44",
da7f033d
HX
4376 }, {
4377 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4378 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4379 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4380 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4381 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4382 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4383 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4384 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4385 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4386 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4387 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4388 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4389 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4390 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4391 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4392 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4393 "\xaa\xaa\xaa",
4394 .ksize = 131,
4395 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
4396 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
4397 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
4398 "\x72\x20\x54\x68\x61\x6e\x20\x42"
4399 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
4400 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
4401 "\x48\x61\x73\x68\x20\x4b\x65\x79"
4402 "\x20\x46\x69\x72\x73\x74",
4403 .psize = 54,
4404 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
4405 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
4406 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
4407 "\x3f\xa6\x87\x0e",
4408 }, {
4409 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4410 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4411 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4412 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4413 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4414 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4415 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4416 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4417 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4418 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4419 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4420 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4421 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4422 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4423 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4424 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4425 "\xaa\xaa\xaa",
4426 .ksize = 131,
4427 /* ("This is a test using a larger than block-size key and a")
4428 (" larger than block-size data. The key needs to be")
4429 (" hashed before being used by the HMAC algorithm.") */
4430 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
4431 "\x61\x20\x74\x65\x73\x74\x20\x75"
4432 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
4433 "\x61\x72\x67\x65\x72\x20\x74\x68"
4434 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
4435 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
4436 "\x79\x20\x61\x6e\x64\x20\x61\x20"
4437 "\x6c\x61\x72\x67\x65\x72\x20\x74"
4438 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
4439 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
4440 "\x61\x74\x61\x2e\x20\x54\x68\x65"
4441 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
4442 "\x64\x73\x20\x74\x6f\x20\x62\x65"
4443 "\x20\x68\x61\x73\x68\x65\x64\x20"
4444 "\x62\x65\x66\x6f\x72\x65\x20\x62"
4445 "\x65\x69\x6e\x67\x20\x75\x73\x65"
4446 "\x64\x20\x62\x79\x20\x74\x68\x65"
4447 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
4448 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
4449 .psize = 152,
4450 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
4451 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
4452 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
4453 "\xf6\xf5\x65\xd1",
4454 },
4455};
4456
4457/*
4458 * HMAC-SHA256 test vectors from
4459 * draft-ietf-ipsec-ciph-sha-256-01.txt
4460 */
b13b1e0c 4461static const struct hash_testvec hmac_sha256_tv_template[] = {
da7f033d
HX
4462 {
4463 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4464 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4465 "\x11\x12\x13\x14\x15\x16\x17\x18"
4466 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4467 .ksize = 32,
4468 .plaintext = "abc",
4469 .psize = 3,
4470 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
4471 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
4472 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
4473 "\x92\x75\x90\x21\xcf\xab\x81\x81",
4474 }, {
4475 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4476 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4477 "\x11\x12\x13\x14\x15\x16\x17\x18"
4478 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4479 .ksize = 32,
4480 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4481 .psize = 56,
4482 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
4483 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
4484 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
4485 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
4486 }, {
4487 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4488 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4489 "\x11\x12\x13\x14\x15\x16\x17\x18"
4490 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4491 .ksize = 32,
4492 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
4493 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4494 .psize = 112,
4495 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
4496 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
4497 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
4498 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
4499 }, {
4500 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4501 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4502 "\x0b\x0b\x0b\x0b\x0b\x0b",
4503 .ksize = 32,
4504 .plaintext = "Hi There",
4505 .psize = 8,
4506 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
4507 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
4508 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
4509 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
4510 }, {
4511 .key = "Jefe",
4512 .ksize = 4,
4513 .plaintext = "what do ya want for nothing?",
4514 .psize = 28,
4515 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
4516 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
4517 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
4518 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
da7f033d
HX
4519 }, {
4520 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4521 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4522 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4523 .ksize = 32,
4524 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4525 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4526 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4527 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4528 .psize = 50,
4529 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
4530 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
4531 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
4532 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
4533 }, {
4534 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4535 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4536 "\x11\x12\x13\x14\x15\x16\x17\x18"
4537 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
4538 "\x21\x22\x23\x24\x25",
4539 .ksize = 37,
4540 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4541 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4542 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4543 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4544 .psize = 50,
4545 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
4546 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
4547 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
4548 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
4549 }, {
4550 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4551 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4552 "\x0c\x0c\x0c\x0c\x0c\x0c",
4553 .ksize = 32,
4554 .plaintext = "Test With Truncation",
4555 .psize = 20,
4556 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
4557 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
4558 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
4559 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
4560 }, {
4561 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4562 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4563 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4564 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4565 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4566 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4567 "\xaa\xaa",
4568 .ksize = 80,
4569 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4570 .psize = 54,
4571 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
4572 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
4573 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
4574 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
4575 }, {
4576 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4577 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4578 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4579 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4580 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4581 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4582 "\xaa\xaa",
4583 .ksize = 80,
4584 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
4585 "One Block-Size Data",
4586 .psize = 73,
4587 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
4588 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
4589 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
4590 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
4591 },
4592};
4593
b13b1e0c 4594static const struct hash_testvec aes_cmac128_tv_template[] = {
93b5e86a
JK
4595 { /* From NIST Special Publication 800-38B, AES-128 */
4596 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4597 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4598 .plaintext = zeroed_string,
4599 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
4600 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
4601 .psize = 0,
4602 .ksize = 16,
4603 }, {
4604 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4605 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4606 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4607 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4608 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
4609 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
4610 .psize = 16,
4611 .ksize = 16,
4612 }, {
4613 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4614 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4615 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4616 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4617 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4618 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4619 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
4620 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
4621 "\x30\xca\x32\x61\x14\x97\xc8\x27",
4622 .psize = 40,
4623 .ksize = 16,
4624 }, {
4625 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4626 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4627 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4628 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4629 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4630 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4631 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4632 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4633 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4634 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4635 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
4636 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
4637 .psize = 64,
4638 .ksize = 16,
4639 }, { /* From NIST Special Publication 800-38B, AES-256 */
4640 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4641 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4642 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4643 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4644 .plaintext = zeroed_string,
4645 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
4646 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
4647 .psize = 0,
4648 .ksize = 32,
4649 }, {
4650 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4651 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4652 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4653 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4654 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4655 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4656 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4657 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4658 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4659 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4660 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4661 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4662 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
4663 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
4664 .psize = 64,
4665 .ksize = 32,
4666 }
4667};
4668
b13b1e0c 4669static const struct hash_testvec aes_cbcmac_tv_template[] = {
092acf06
AB
4670 {
4671 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4672 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4673 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4674 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4675 .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
4676 "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
4677 .psize = 16,
4678 .ksize = 16,
4679 }, {
4680 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4681 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4682 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4683 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4684 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4685 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4686 "\x30",
4687 .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
4688 "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
4689 .psize = 33,
4690 .ksize = 16,
092acf06
AB
4691 }, {
4692 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4693 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4694 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4695 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4696 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4697 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4698 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4699 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4700 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4701 "\xad\x2b\x41\x7b\xe6\x6c\x37",
4702 .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
4703 "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
4704 .psize = 63,
4705 .ksize = 16,
4706 }, {
4707 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4708 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4709 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4710 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4711 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4712 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4713 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4714 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4715 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4716 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4717 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4718 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
4719 "\x1c",
4720 .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
4721 "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
4722 .psize = 65,
4723 .ksize = 32,
4724 }
4725};
4726
b13b1e0c 4727static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
93b5e86a
JK
4728/*
4729 * From NIST Special Publication 800-38B, Three Key TDEA
4730 * Corrected test vectors from:
4731 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
4732 */
4733 {
4734 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4735 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4736 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4737 .plaintext = zeroed_string,
4738 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
4739 .psize = 0,
4740 .ksize = 24,
4741 }, {
4742 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4743 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4744 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4745 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
4746 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
4747 .psize = 8,
4748 .ksize = 24,
4749 }, {
4750 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4751 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4752 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4753 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4754 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4755 "\xae\x2d\x8a\x57",
4756 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
4757 .psize = 20,
4758 .ksize = 24,
4759 }, {
4760 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4761 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4762 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4763 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4764 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4765 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4766 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
4767 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
4768 .psize = 32,
4769 .ksize = 24,
4770 }
4771};
4772
b13b1e0c 4773static const struct hash_testvec aes_xcbc128_tv_template[] = {
da7f033d
HX
4774 {
4775 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4776 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4777 .plaintext = zeroed_string,
4778 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
4779 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
4780 .psize = 0,
4781 .ksize = 16,
4782 }, {
4783 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4784 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4785 .plaintext = "\x00\x01\x02",
4786 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
4787 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
4788 .psize = 3,
4789 .ksize = 16,
4790 } , {
4791 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4792 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4793 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4794 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4795 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
4796 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
4797 .psize = 16,
4798 .ksize = 16,
4799 }, {
4800 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4801 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4802 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4803 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4804 "\x10\x11\x12\x13",
4805 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
4806 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
da7f033d 4807 .psize = 20,
da7f033d
HX
4808 .ksize = 16,
4809 }, {
4810 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4811 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4812 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4813 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4814 "\x10\x11\x12\x13\x14\x15\x16\x17"
4815 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4816 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
4817 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
4818 .psize = 32,
4819 .ksize = 16,
4820 }, {
4821 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4822 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4823 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4824 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4825 "\x10\x11\x12\x13\x14\x15\x16\x17"
4826 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
4827 "\x20\x21",
4828 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
4829 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
da7f033d 4830 .psize = 34,
da7f033d
HX
4831 .ksize = 16,
4832 }
4833};
4834
ed331ada
EB
4835static const char vmac64_string1[144] = {
4836 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4837 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4838 '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
4839 '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
4840};
4841
4842static const char vmac64_string2[144] = {
4843 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4844 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4845 'a', 'b', 'c',
4846};
4847
4848static const char vmac64_string3[144] = {
4849 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4850 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4851 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
4852 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
4853 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
4854 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
4855 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
4856 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
4857};
4858
4859static const char vmac64_string4[33] = {
4860 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4861 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4862 'b', 'c', 'e', 'f', 'i', 'j', 'l', 'm',
4863 'o', 'p', 'r', 's', 't', 'u', 'w', 'x',
4864 'z',
4865};
4866
4867static const char vmac64_string5[143] = {
4868 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4869 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4870 'r', 'm', 'b', 't', 'c', 'o', 'l', 'k',
4871 ']', '%', '9', '2', '7', '!', 'A',
4872};
4873
4874static const char vmac64_string6[145] = {
4875 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4876 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4877 'p', 't', '*', '7', 'l', 'i', '!', '#',
4878 'w', '0', 'z', '/', '4', 'A', 'n',
4879};
4880
4881static const struct hash_testvec vmac64_aes_tv_template[] = {
4882 { /* draft-krovetz-vmac-01 test vector 1 */
4883 .key = "abcdefghijklmnop",
4884 .ksize = 16,
4885 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
4886 .psize = 16,
4887 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
4888 }, { /* draft-krovetz-vmac-01 test vector 2 */
4889 .key = "abcdefghijklmnop",
4890 .ksize = 16,
4891 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
4892 .psize = 19,
4893 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
4894 }, { /* draft-krovetz-vmac-01 test vector 3 */
4895 .key = "abcdefghijklmnop",
4896 .ksize = 16,
4897 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
4898 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
4899 .psize = 64,
4900 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
4901 }, { /* draft-krovetz-vmac-01 test vector 4 */
4902 .key = "abcdefghijklmnop",
4903 .ksize = 16,
4904 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
4905 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4906 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4907 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4908 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4909 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4910 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
4911 .psize = 316,
4912 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
ed331ada
EB
4913 }, {
4914 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4915 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4916 .ksize = 16,
4917 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4918 "\x00\x00\x00\x00\x00\x00\x00\x00",
4919 .psize = 16,
4920 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
4921 }, {
4922 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4923 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4924 .ksize = 16,
4925 .plaintext = vmac64_string1,
4926 .psize = sizeof(vmac64_string1),
4927 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
4928 }, {
4929 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4930 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4931 .ksize = 16,
4932 .plaintext = vmac64_string2,
4933 .psize = sizeof(vmac64_string2),
4934 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
4935 }, {
4936 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4937 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4938 .ksize = 16,
4939 .plaintext = vmac64_string3,
4940 .psize = sizeof(vmac64_string3),
4941 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
4942 }, {
4943 .key = "abcdefghijklmnop",
4944 .ksize = 16,
4945 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4946 "\x00\x00\x00\x00\x00\x00\x00\x00",
4947 .psize = 16,
4948 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
4949 }, {
4950 .key = "abcdefghijklmnop",
4951 .ksize = 16,
4952 .plaintext = vmac64_string1,
4953 .psize = sizeof(vmac64_string1),
4954 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
4955 }, {
4956 .key = "abcdefghijklmnop",
4957 .ksize = 16,
4958 .plaintext = vmac64_string2,
4959 .psize = sizeof(vmac64_string2),
4960 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
4961 }, {
4962 .key = "abcdefghijklmnop",
4963 .ksize = 16,
4964 .plaintext = vmac64_string3,
4965 .psize = sizeof(vmac64_string3),
4966 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
4967 }, {
4968 .key = "a09b5cd!f#07K\x00\x00\x00",
4969 .ksize = 16,
4970 .plaintext = vmac64_string4,
4971 .psize = sizeof(vmac64_string4),
4972 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
4973 }, {
4974 .key = "a09b5cd!f#07K\x00\x00\x00",
4975 .ksize = 16,
4976 .plaintext = vmac64_string5,
4977 .psize = sizeof(vmac64_string5),
4978 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
4979 }, {
4980 .key = "a09b5cd!f#07K\x00\x00\x00",
4981 .ksize = 16,
4982 .plaintext = vmac64_string6,
4983 .psize = sizeof(vmac64_string6),
4984 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
4985 },
4986};
4987
da7f033d
HX
4988/*
4989 * SHA384 HMAC test vectors from RFC4231
4990 */
4991
b13b1e0c 4992static const struct hash_testvec hmac_sha384_tv_template[] = {
da7f033d
HX
4993 {
4994 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4995 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4996 "\x0b\x0b\x0b\x0b",
4997 .ksize = 20,
4998 .plaintext = "Hi There",
4999 .psize = 8,
5000 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
5001 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
5002 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
5003 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
5004 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
5005 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
5006 }, {
5007 .key = "Jefe",
5008 .ksize = 4,
5009 .plaintext = "what do ya want for nothing?",
5010 .psize = 28,
5011 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
5012 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
5013 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
5014 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
5015 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
5016 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
da7f033d
HX
5017 }, {
5018 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5019 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5020 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5021 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5022 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5023 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5024 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5025 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5026 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5027 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5028 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5029 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5030 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5031 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5032 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5033 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5034 "\xaa\xaa\xaa",
5035 .ksize = 131,
5036 .plaintext = "Test Using Larger Than Block-Siz"
5037 "e Key - Hash Key First",
5038 .psize = 54,
5039 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
5040 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
5041 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
5042 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
5043 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
5044 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
5045 }, {
5046 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5047 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5048 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5049 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5050 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5051 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5052 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5053 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5054 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5055 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5056 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5057 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5058 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5059 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5060 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5061 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5062 "\xaa\xaa\xaa",
5063 .ksize = 131,
5064 .plaintext = "This is a test u"
5065 "sing a larger th"
5066 "an block-size ke"
5067 "y and a larger t"
5068 "han block-size d"
5069 "ata. The key nee"
5070 "ds to be hashed "
5071 "before being use"
5072 "d by the HMAC al"
5073 "gorithm.",
5074 .psize = 152,
5075 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
5076 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
5077 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
5078 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
5079 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
5080 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
5081 },
5082};
5083
5084/*
5085 * SHA512 HMAC test vectors from RFC4231
5086 */
5087
b13b1e0c 5088static const struct hash_testvec hmac_sha512_tv_template[] = {
da7f033d
HX
5089 {
5090 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5091 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5092 "\x0b\x0b\x0b\x0b",
5093 .ksize = 20,
5094 .plaintext = "Hi There",
5095 .psize = 8,
5096 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
5097 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
5098 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
5099 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
5100 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
5101 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
5102 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
5103 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
5104 }, {
5105 .key = "Jefe",
5106 .ksize = 4,
5107 .plaintext = "what do ya want for nothing?",
5108 .psize = 28,
5109 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
5110 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
5111 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
5112 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
5113 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
5114 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
5115 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
5116 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
da7f033d
HX
5117 }, {
5118 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5119 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5120 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5121 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5122 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5123 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5124 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5125 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5126 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5127 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5128 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5129 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5130 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5131 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5132 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5133 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5134 "\xaa\xaa\xaa",
5135 .ksize = 131,
5136 .plaintext = "Test Using Large"
5137 "r Than Block-Siz"
5138 "e Key - Hash Key"
5139 " First",
5140 .psize = 54,
5141 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
5142 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
5143 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
5144 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
5145 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
5146 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
5147 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
5148 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
5149 }, {
5150 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5151 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5152 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5153 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5154 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5155 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5156 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5157 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5158 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5159 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5160 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5161 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5162 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5163 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5164 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5165 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5166 "\xaa\xaa\xaa",
5167 .ksize = 131,
5168 .plaintext =
5169 "This is a test u"
5170 "sing a larger th"
5171 "an block-size ke"
5172 "y and a larger t"
5173 "han block-size d"
5174 "ata. The key nee"
5175 "ds to be hashed "
5176 "before being use"
5177 "d by the HMAC al"
5178 "gorithm.",
5179 .psize = 152,
5180 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
5181 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
5182 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
5183 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
5184 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
5185 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
5186 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
5187 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
5188 },
5189};
5190
b13b1e0c 5191static const struct hash_testvec hmac_sha3_224_tv_template[] = {
98eca72f 5192 {
5193 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5194 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5195 "\x0b\x0b\x0b\x0b",
5196 .ksize = 20,
5197 .plaintext = "Hi There",
5198 .psize = 8,
5199 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
5200 "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
5201 "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
5202 "\xf3\xc8\x60\xf7",
5203 }, {
5204 .key = "Jefe",
5205 .ksize = 4,
5206 .plaintext = "what do ya want for nothing?",
5207 .psize = 28,
5208 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
5209 "\x1b\x79\x86\x34\xad\x38\x68\x11"
5210 "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
5211 "\xba\xce\x5e\x66",
98eca72f 5212 }, {
5213 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5214 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5215 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5216 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5217 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5218 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5219 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5220 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5221 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5222 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5223 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5224 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5225 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5226 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5227 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5228 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5229 "\xaa\xaa\xaa",
5230 .ksize = 131,
5231 .plaintext = "Test Using Large"
5232 "r Than Block-Siz"
5233 "e Key - Hash Key"
5234 " First",
5235 .psize = 54,
5236 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
5237 "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
5238 "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
5239 "\x5f\xb9\x99\x5f",
5240 }, {
5241 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5242 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5243 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5244 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5245 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5246 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5247 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5248 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5249 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5250 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5251 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5252 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5253 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5254 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5255 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5256 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5257 "\xaa\xaa\xaa",
5258 .ksize = 131,
5259 .plaintext =
5260 "This is a test u"
5261 "sing a larger th"
5262 "an block-size ke"
5263 "y and a larger t"
5264 "han block-size d"
5265 "ata. The key nee"
5266 "ds to be hashed "
5267 "before being use"
5268 "d by the HMAC al"
5269 "gorithm.",
5270 .psize = 152,
5271 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
5272 "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
5273 "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
5274 "\x29\xcd\x62\xa0",
5275 },
5276};
5277
b13b1e0c 5278static const struct hash_testvec hmac_sha3_256_tv_template[] = {
98eca72f 5279 {
5280 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5281 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5282 "\x0b\x0b\x0b\x0b",
5283 .ksize = 20,
5284 .plaintext = "Hi There",
5285 .psize = 8,
5286 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
5287 "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
5288 "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
5289 "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
5290 }, {
5291 .key = "Jefe",
5292 .ksize = 4,
5293 .plaintext = "what do ya want for nothing?",
5294 .psize = 28,
5295 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
5296 "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
5297 "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
5298 "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
98eca72f 5299 }, {
5300 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5301 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5302 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5303 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5304 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5305 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5306 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5307 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5308 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5309 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5310 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5311 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5312 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5313 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5314 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5315 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5316 "\xaa\xaa\xaa",
5317 .ksize = 131,
5318 .plaintext = "Test Using Large"
5319 "r Than Block-Siz"
5320 "e Key - Hash Key"
5321 " First",
5322 .psize = 54,
5323 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
5324 "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
5325 "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
5326 "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
5327 }, {
5328 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5329 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5330 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5331 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5332 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5333 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5334 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5335 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5336 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5337 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5338 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5339 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5340 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5341 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5342 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5343 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5344 "\xaa\xaa\xaa",
5345 .ksize = 131,
5346 .plaintext =
5347 "This is a test u"
5348 "sing a larger th"
5349 "an block-size ke"
5350 "y and a larger t"
5351 "han block-size d"
5352 "ata. The key nee"
5353 "ds to be hashed "
5354 "before being use"
5355 "d by the HMAC al"
5356 "gorithm.",
5357 .psize = 152,
5358 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
5359 "\x7a\xef\x87\x63\x26\x1e\x49\xad"
5360 "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
5361 "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
5362 },
5363};
5364
b13b1e0c 5365static const struct hash_testvec hmac_sha3_384_tv_template[] = {
98eca72f 5366 {
5367 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5368 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5369 "\x0b\x0b\x0b\x0b",
5370 .ksize = 20,
5371 .plaintext = "Hi There",
5372 .psize = 8,
5373 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
5374 "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
5375 "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
5376 "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
5377 "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
5378 "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
5379 }, {
5380 .key = "Jefe",
5381 .ksize = 4,
5382 .plaintext = "what do ya want for nothing?",
5383 .psize = 28,
5384 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
5385 "\x67\x64\xd2\xed\x61\x90\x3f\x21"
5386 "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
5387 "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
5388 "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
5389 "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
98eca72f 5390 }, {
5391 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5392 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5393 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5394 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5395 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5396 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5397 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5398 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5399 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5400 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5401 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5402 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5403 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5404 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5405 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5406 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5407 "\xaa\xaa\xaa",
5408 .ksize = 131,
5409 .plaintext = "Test Using Large"
5410 "r Than Block-Siz"
5411 "e Key - Hash Key"
5412 " First",
5413 .psize = 54,
5414 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
5415 "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
5416 "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
5417 "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
5418 "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
5419 "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
5420 }, {
5421 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5422 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5423 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5424 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5425 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5426 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5427 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5428 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5429 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5430 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5431 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5432 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5433 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5434 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5435 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5436 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5437 "\xaa\xaa\xaa",
5438 .ksize = 131,
5439 .plaintext =
5440 "This is a test u"
5441 "sing a larger th"
5442 "an block-size ke"
5443 "y and a larger t"
5444 "han block-size d"
5445 "ata. The key nee"
5446 "ds to be hashed "
5447 "before being use"
5448 "d by the HMAC al"
5449 "gorithm.",
5450 .psize = 152,
5451 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
5452 "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
5453 "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
5454 "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
5455 "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
5456 "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
5457 },
5458};
5459
b13b1e0c 5460static const struct hash_testvec hmac_sha3_512_tv_template[] = {
98eca72f 5461 {
5462 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5463 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5464 "\x0b\x0b\x0b\x0b",
5465 .ksize = 20,
5466 .plaintext = "Hi There",
5467 .psize = 8,
5468 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
5469 "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
5470 "\xec\x15\x77\x0a\x7c\xab\xac\x53"
5471 "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
5472 "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
5473 "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
5474 "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
5475 "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
5476 }, {
5477 .key = "Jefe",
5478 .ksize = 4,
5479 .plaintext = "what do ya want for nothing?",
5480 .psize = 28,
5481 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
5482 "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
5483 "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
5484 "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
5485 "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
5486 "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
5487 "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
5488 "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
98eca72f 5489 }, {
5490 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5491 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5492 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5493 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5494 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5495 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5496 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5497 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5498 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5499 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5500 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5501 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5502 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5503 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5504 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5505 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5506 "\xaa\xaa\xaa",
5507 .ksize = 131,
5508 .plaintext = "Test Using Large"
5509 "r Than Block-Siz"
5510 "e Key - Hash Key"
5511 " First",
5512 .psize = 54,
5513 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
5514 "\x90\xed\x69\x11\xa4\xb6\x55\x24"
5515 "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
5516 "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
5517 "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
5518 "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
5519 "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
5520 "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
5521 }, {
5522 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5523 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5524 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5525 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5526 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5527 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5528 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5529 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5530 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5531 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5532 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5533 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5534 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5535 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5536 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5537 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5538 "\xaa\xaa\xaa",
5539 .ksize = 131,
5540 .plaintext =
5541 "This is a test u"
5542 "sing a larger th"
5543 "an block-size ke"
5544 "y and a larger t"
5545 "han block-size d"
5546 "ata. The key nee"
5547 "ds to be hashed "
5548 "before being use"
5549 "d by the HMAC al"
5550 "gorithm.",
5551 .psize = 152,
5552 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
5553 "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
5554 "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
5555 "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
5556 "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
5557 "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
5558 "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
5559 "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
5560 },
5561};
5562
eee9dc61
MW
5563/*
5564 * Poly1305 test vectors from RFC7539 A.3.
5565 */
5566
b13b1e0c 5567static const struct hash_testvec poly1305_tv_template[] = {
eee9dc61 5568 { /* Test Vector #1 */
c2b7b20a
MW
5569 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
5570 "\x00\x00\x00\x00\x00\x00\x00\x00"
5571 "\x00\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5572 "\x00\x00\x00\x00\x00\x00\x00\x00"
5573 "\x00\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5574 "\x00\x00\x00\x00\x00\x00\x00\x00"
5575 "\x00\x00\x00\x00\x00\x00\x00\x00"
5576 "\x00\x00\x00\x00\x00\x00\x00\x00"
5577 "\x00\x00\x00\x00\x00\x00\x00\x00"
5578 "\x00\x00\x00\x00\x00\x00\x00\x00"
5579 "\x00\x00\x00\x00\x00\x00\x00\x00"
5580 "\x00\x00\x00\x00\x00\x00\x00\x00",
c2b7b20a 5581 .psize = 96,
eee9dc61
MW
5582 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
5583 "\x00\x00\x00\x00\x00\x00\x00\x00",
5584 }, { /* Test Vector #2 */
c2b7b20a 5585 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5586 "\x00\x00\x00\x00\x00\x00\x00\x00"
5587 "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
c2b7b20a
MW
5588 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5589 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
eee9dc61
MW
5590 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5591 "\x6f\x20\x74\x68\x65\x20\x49\x45"
5592 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5593 "\x64\x65\x64\x20\x62\x79\x20\x74"
5594 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5595 "\x69\x62\x75\x74\x6f\x72\x20\x66"
5596 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5597 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5598 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5599 "\x20\x70\x61\x72\x74\x20\x6f\x66"
5600 "\x20\x61\x6e\x20\x49\x45\x54\x46"
5601 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5602 "\x74\x2d\x44\x72\x61\x66\x74\x20"
5603 "\x6f\x72\x20\x52\x46\x43\x20\x61"
5604 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5605 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5606 "\x20\x6d\x61\x64\x65\x20\x77\x69"
5607 "\x74\x68\x69\x6e\x20\x74\x68\x65"
5608 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5609 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5610 "\x45\x54\x46\x20\x61\x63\x74\x69"
5611 "\x76\x69\x74\x79\x20\x69\x73\x20"
5612 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5613 "\x65\x64\x20\x61\x6e\x20\x22\x49"
5614 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5615 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5616 "\x22\x2e\x20\x53\x75\x63\x68\x20"
5617 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5618 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5619 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5620 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5621 "\x74\x73\x20\x69\x6e\x20\x49\x45"
5622 "\x54\x46\x20\x73\x65\x73\x73\x69"
5623 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5624 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5625 "\x77\x72\x69\x74\x74\x65\x6e\x20"
5626 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5627 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5628 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5629 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5630 "\x64\x65\x20\x61\x74\x20\x61\x6e"
5631 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5632 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5633 "\x20\x77\x68\x69\x63\x68\x20\x61"
5634 "\x72\x65\x20\x61\x64\x64\x72\x65"
5635 "\x73\x73\x65\x64\x20\x74\x6f",
c2b7b20a 5636 .psize = 407,
eee9dc61
MW
5637 .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5638 "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
5639 }, { /* Test Vector #3 */
c2b7b20a 5640 .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
eee9dc61
MW
5641 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5642 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5643 "\x00\x00\x00\x00\x00\x00\x00\x00"
5644 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
eee9dc61
MW
5645 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5646 "\x6f\x20\x74\x68\x65\x20\x49\x45"
5647 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5648 "\x64\x65\x64\x20\x62\x79\x20\x74"
5649 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5650 "\x69\x62\x75\x74\x6f\x72\x20\x66"
5651 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5652 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5653 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5654 "\x20\x70\x61\x72\x74\x20\x6f\x66"
5655 "\x20\x61\x6e\x20\x49\x45\x54\x46"
5656 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5657 "\x74\x2d\x44\x72\x61\x66\x74\x20"
5658 "\x6f\x72\x20\x52\x46\x43\x20\x61"
5659 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5660 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5661 "\x20\x6d\x61\x64\x65\x20\x77\x69"
5662 "\x74\x68\x69\x6e\x20\x74\x68\x65"
5663 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5664 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5665 "\x45\x54\x46\x20\x61\x63\x74\x69"
5666 "\x76\x69\x74\x79\x20\x69\x73\x20"
5667 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5668 "\x65\x64\x20\x61\x6e\x20\x22\x49"
5669 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5670 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5671 "\x22\x2e\x20\x53\x75\x63\x68\x20"
5672 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5673 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5674 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5675 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5676 "\x74\x73\x20\x69\x6e\x20\x49\x45"
5677 "\x54\x46\x20\x73\x65\x73\x73\x69"
5678 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5679 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5680 "\x77\x72\x69\x74\x74\x65\x6e\x20"
5681 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5682 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5683 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5684 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5685 "\x64\x65\x20\x61\x74\x20\x61\x6e"
5686 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5687 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5688 "\x20\x77\x68\x69\x63\x68\x20\x61"
5689 "\x72\x65\x20\x61\x64\x64\x72\x65"
5690 "\x73\x73\x65\x64\x20\x74\x6f",
c2b7b20a 5691 .psize = 407,
eee9dc61
MW
5692 .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
5693 "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
5694 }, { /* Test Vector #4 */
c2b7b20a 5695 .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
eee9dc61
MW
5696 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
5697 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
c2b7b20a
MW
5698 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
5699 "\x27\x54\x77\x61\x73\x20\x62\x72"
eee9dc61
MW
5700 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
5701 "\x6e\x64\x20\x74\x68\x65\x20\x73"
5702 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
5703 "\x76\x65\x73\x0a\x44\x69\x64\x20"
5704 "\x67\x79\x72\x65\x20\x61\x6e\x64"
5705 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
5706 "\x69\x6e\x20\x74\x68\x65\x20\x77"
5707 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
5708 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
5709 "\x65\x72\x65\x20\x74\x68\x65\x20"
5710 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
5711 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
5712 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
5713 "\x72\x61\x74\x68\x73\x20\x6f\x75"
5714 "\x74\x67\x72\x61\x62\x65\x2e",
c2b7b20a 5715 .psize = 159,
eee9dc61
MW
5716 .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
5717 "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
5718 }, { /* Test Vector #5 */
c2b7b20a 5719 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5720 "\x00\x00\x00\x00\x00\x00\x00\x00"
5721 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5722 "\x00\x00\x00\x00\x00\x00\x00\x00"
5723 "\xff\xff\xff\xff\xff\xff\xff\xff"
eee9dc61 5724 "\xff\xff\xff\xff\xff\xff\xff\xff",
c2b7b20a 5725 .psize = 48,
eee9dc61
MW
5726 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
5727 "\x00\x00\x00\x00\x00\x00\x00\x00",
5728 }, { /* Test Vector #6 */
c2b7b20a 5729 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5730 "\x00\x00\x00\x00\x00\x00\x00\x00"
5731 "\xff\xff\xff\xff\xff\xff\xff\xff"
c2b7b20a
MW
5732 "\xff\xff\xff\xff\xff\xff\xff\xff"
5733 "\x02\x00\x00\x00\x00\x00\x00\x00"
eee9dc61 5734 "\x00\x00\x00\x00\x00\x00\x00\x00",
c2b7b20a 5735 .psize = 48,
eee9dc61
MW
5736 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
5737 "\x00\x00\x00\x00\x00\x00\x00\x00",
5738 }, { /* Test Vector #7 */
c2b7b20a 5739 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5740 "\x00\x00\x00\x00\x00\x00\x00\x00"
5741 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5742 "\x00\x00\x00\x00\x00\x00\x00\x00"
5743 "\xff\xff\xff\xff\xff\xff\xff\xff"
eee9dc61
MW
5744 "\xff\xff\xff\xff\xff\xff\xff\xff"
5745 "\xf0\xff\xff\xff\xff\xff\xff\xff"
5746 "\xff\xff\xff\xff\xff\xff\xff\xff"
5747 "\x11\x00\x00\x00\x00\x00\x00\x00"
5748 "\x00\x00\x00\x00\x00\x00\x00\x00",
c2b7b20a 5749 .psize = 80,
eee9dc61
MW
5750 .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
5751 "\x00\x00\x00\x00\x00\x00\x00\x00",
5752 }, { /* Test Vector #8 */
c2b7b20a
MW
5753 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
5754 "\x00\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5755 "\x00\x00\x00\x00\x00\x00\x00\x00"
5756 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a 5757 "\xff\xff\xff\xff\xff\xff\xff\xff"
eee9dc61
MW
5758 "\xff\xff\xff\xff\xff\xff\xff\xff"
5759 "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5760 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5761 "\x01\x01\x01\x01\x01\x01\x01\x01"
5762 "\x01\x01\x01\x01\x01\x01\x01\x01",
c2b7b20a 5763 .psize = 80,
eee9dc61
MW
5764 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
5765 "\x00\x00\x00\x00\x00\x00\x00\x00",
5766 }, { /* Test Vector #9 */
c2b7b20a 5767 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5768 "\x00\x00\x00\x00\x00\x00\x00\x00"
5769 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5770 "\x00\x00\x00\x00\x00\x00\x00\x00"
5771 "\xfd\xff\xff\xff\xff\xff\xff\xff"
eee9dc61 5772 "\xff\xff\xff\xff\xff\xff\xff\xff",
c2b7b20a 5773 .psize = 48,
eee9dc61
MW
5774 .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
5775 "\xff\xff\xff\xff\xff\xff\xff\xff",
5776 }, { /* Test Vector #10 */
c2b7b20a 5777 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5778 "\x04\x00\x00\x00\x00\x00\x00\x00"
5779 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5780 "\x00\x00\x00\x00\x00\x00\x00\x00"
5781 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
eee9dc61
MW
5782 "\x00\x00\x00\x00\x00\x00\x00\x00"
5783 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5784 "\x01\x00\x00\x00\x00\x00\x00\x00"
5785 "\x00\x00\x00\x00\x00\x00\x00\x00"
5786 "\x00\x00\x00\x00\x00\x00\x00\x00"
5787 "\x01\x00\x00\x00\x00\x00\x00\x00"
5788 "\x00\x00\x00\x00\x00\x00\x00\x00",
c2b7b20a 5789 .psize = 96,
eee9dc61
MW
5790 .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
5791 "\x55\x00\x00\x00\x00\x00\x00\x00",
5792 }, { /* Test Vector #11 */
c2b7b20a 5793 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
eee9dc61
MW
5794 "\x04\x00\x00\x00\x00\x00\x00\x00"
5795 "\x00\x00\x00\x00\x00\x00\x00\x00"
c2b7b20a
MW
5796 "\x00\x00\x00\x00\x00\x00\x00\x00"
5797 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
eee9dc61
MW
5798 "\x00\x00\x00\x00\x00\x00\x00\x00"
5799 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5800 "\x01\x00\x00\x00\x00\x00\x00\x00"
5801 "\x00\x00\x00\x00\x00\x00\x00\x00"
5802 "\x00\x00\x00\x00\x00\x00\x00\x00",
c2b7b20a 5803 .psize = 80,
eee9dc61
MW
5804 .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
5805 "\x00\x00\x00\x00\x00\x00\x00\x00",
5806 },
5807};
5808
26609a21
EB
5809/* NHPoly1305 test vectors from https://github.com/google/adiantum */
5810static const struct hash_testvec nhpoly1305_tv_template[] = {
5811 {
5812 .key = "\xd2\x5d\x4c\xdd\x8d\x2b\x7f\x7a"
5813 "\xd9\xbe\x71\xec\xd1\x83\x52\xe3"
5814 "\xe1\xad\xd7\x5c\x0a\x75\x9d\xec"
5815 "\x1d\x13\x7e\x5d\x71\x07\xc9\xe4"
5816 "\x57\x2d\x44\x68\xcf\xd8\xd6\xc5"
5817 "\x39\x69\x7d\x32\x75\x51\x4f\x7e"
5818 "\xb2\x4c\xc6\x90\x51\x6e\xd9\xd6"
5819 "\xa5\x8b\x2d\xf1\x94\xf9\xf7\x5e"
5820 "\x2c\x84\x7b\x41\x0f\x88\x50\x89"
5821 "\x30\xd9\xa1\x38\x46\x6c\xc0\x4f"
5822 "\xe8\xdf\xdc\x66\xab\x24\x43\x41"
5823 "\x91\x55\x29\x65\x86\x28\x5e\x45"
5824 "\xd5\x2d\xb7\x80\x08\x9a\xc3\xd4"
5825 "\x9a\x77\x0a\xd4\xef\x3e\xe6\x3f"
5826 "\x6f\x2f\x9b\x3a\x7d\x12\x1e\x80"
5827 "\x6c\x44\xa2\x25\xe1\xf6\x60\xe9"
5828 "\x0d\xaf\xc5\x3c\xa5\x79\xae\x64"
5829 "\xbc\xa0\x39\xa3\x4d\x10\xe5\x4d"
5830 "\xd5\xe7\x89\x7a\x13\xee\x06\x78"
5831 "\xdc\xa4\xdc\x14\x27\xe6\x49\x38"
5832 "\xd0\xe0\x45\x25\x36\xc5\xf4\x79"
5833 "\x2e\x9a\x98\x04\xe4\x2b\x46\x52"
5834 "\x7c\x33\xca\xe2\x56\x51\x50\xe2"
5835 "\xa5\x9a\xae\x18\x6a\x13\xf8\xd2"
5836 "\x21\x31\x66\x02\xe2\xda\x8d\x7e"
5837 "\x41\x19\xb2\x61\xee\x48\x8f\xf1"
5838 "\x65\x24\x2e\x1e\x68\xce\x05\xd9"
5839 "\x2a\xcf\xa5\x3a\x57\xdd\x35\x91"
5840 "\x93\x01\xca\x95\xfc\x2b\x36\x04"
5841 "\xe6\x96\x97\x28\xf6\x31\xfe\xa3"
5842 "\x9d\xf6\x6a\x1e\x80\x8d\xdc\xec"
5843 "\xaf\x66\x11\x13\x02\x88\xd5\x27"
5844 "\x33\xb4\x1a\xcd\xa3\xf6\xde\x31"
5845 "\x8e\xc0\x0e\x6c\xd8\x5a\x97\x5e"
5846 "\xdd\xfd\x60\x69\x38\x46\x3f\x90"
5847 "\x5e\x97\xd3\x32\x76\xc7\x82\x49"
5848 "\xfe\xba\x06\x5f\x2f\xa2\xfd\xff"
5849 "\x80\x05\x40\xe4\x33\x03\xfb\x10"
5850 "\xc0\xde\x65\x8c\xc9\x8d\x3a\x9d"
5851 "\xb5\x7b\x36\x4b\xb5\x0c\xcf\x00"
5852 "\x9c\x87\xe4\x49\xad\x90\xda\x4a"
5853 "\xdd\xbd\xff\xe2\x32\x57\xd6\x78"
5854 "\x36\x39\x6c\xd3\x5b\x9b\x88\x59"
5855 "\x2d\xf0\x46\xe4\x13\x0e\x2b\x35"
5856 "\x0d\x0f\x73\x8a\x4f\x26\x84\x75"
5857 "\x88\x3c\xc5\x58\x66\x18\x1a\xb4"
5858 "\x64\x51\x34\x27\x1b\xa4\x11\xc9"
5859 "\x6d\x91\x8a\xfa\x32\x60\x9d\xd7"
5860 "\x87\xe5\xaa\x43\x72\xf8\xda\xd1"
5861 "\x48\x44\x13\x61\xdc\x8c\x76\x17"
5862 "\x0c\x85\x4e\xf3\xdd\xa2\x42\xd2"
5863 "\x74\xc1\x30\x1b\xeb\x35\x31\x29"
5864 "\x5b\xd7\x4c\x94\x46\x35\xa1\x23"
5865 "\x50\xf2\xa2\x8e\x7e\x4f\x23\x4f"
5866 "\x51\xff\xe2\xc9\xa3\x7d\x56\x8b"
5867 "\x41\xf2\xd0\xc5\x57\x7e\x59\xac"
5868 "\xbb\x65\xf3\xfe\xf7\x17\xef\x63"
5869 "\x7c\x6f\x23\xdd\x22\x8e\xed\x84"
5870 "\x0e\x3b\x09\xb3\xf3\xf4\x8f\xcd"
5871 "\x37\xa8\xe1\xa7\x30\xdb\xb1\xa2"
5872 "\x9c\xa2\xdf\x34\x17\x3e\x68\x44"
5873 "\xd0\xde\x03\x50\xd1\x48\x6b\x20"
5874 "\xe2\x63\x45\xa5\xea\x87\xc2\x42"
5875 "\x95\x03\x49\x05\xed\xe0\x90\x29"
5876 "\x1a\xb8\xcf\x9b\x43\xcf\x29\x7a"
5877 "\x63\x17\x41\x9f\xe0\xc9\x10\xfd"
5878 "\x2c\x56\x8c\x08\x55\xb4\xa9\x27"
5879 "\x0f\x23\xb1\x05\x6a\x12\x46\xc7"
5880 "\xe1\xfe\x28\x93\x93\xd7\x2f\xdc"
5881 "\x98\x30\xdb\x75\x8a\xbe\x97\x7a"
5882 "\x02\xfb\x8c\xba\xbe\x25\x09\xbe"
5883 "\xce\xcb\xa2\xef\x79\x4d\x0e\x9d"
5884 "\x1b\x9d\xb6\x39\x34\x38\xfa\x07"
5885 "\xec\xe8\xfc\x32\x85\x1d\xf7\x85"
5886 "\x63\xc3\x3c\xc0\x02\x75\xd7\x3f"
5887 "\xb2\x68\x60\x66\x65\x81\xc6\xb1"
5888 "\x42\x65\x4b\x4b\x28\xd7\xc7\xaa"
5889 "\x9b\xd2\xdc\x1b\x01\xe0\x26\x39"
5890 "\x01\xc1\x52\x14\xd1\x3f\xb7\xe6"
5891 "\x61\x41\xc7\x93\xd2\xa2\x67\xc6"
5892 "\xf7\x11\xb5\xf5\xea\xdd\x19\xfb"
5893 "\x4d\x21\x12\xd6\x7d\xf1\x10\xb0"
5894 "\x89\x07\xc7\x5a\x52\x73\x70\x2f"
5895 "\x32\xef\x65\x2b\x12\xb2\xf0\xf5"
5896 "\x20\xe0\x90\x59\x7e\x64\xf1\x4c"
5897 "\x41\xb3\xa5\x91\x08\xe6\x5e\x5f"
5898 "\x05\x56\x76\xb4\xb0\xcd\x70\x53"
5899 "\x10\x48\x9c\xff\xc2\x69\x55\x24"
5900 "\x87\xef\x84\xea\xfb\xa7\xbf\xa0"
5901 "\x91\x04\xad\x4f\x8b\x57\x54\x4b"
5902 "\xb6\xe9\xd1\xac\x37\x2f\x1d\x2e"
5903 "\xab\xa5\xa4\xe8\xff\xfb\xd9\x39"
5904 "\x2f\xb7\xac\xd1\xfe\x0b\x9a\x80"
5905 "\x0f\xb6\xf4\x36\x39\x90\x51\xe3"
5906 "\x0a\x2f\xb6\x45\x76\x89\xcd\x61"
5907 "\xfe\x48\x5f\x75\x1d\x13\x00\x62"
5908 "\x80\x24\x47\xe7\xbc\x37\xd7\xe3"
5909 "\x15\xe8\x68\x22\xaf\x80\x6f\x4b"
5910 "\xa8\x9f\x01\x10\x48\x14\xc3\x02"
5911 "\x52\xd2\xc7\x75\x9b\x52\x6d\x30"
5912 "\xac\x13\x85\xc8\xf7\xa3\x58\x4b"
5913 "\x49\xf7\x1c\x45\x55\x8c\x39\x9a"
5914 "\x99\x6d\x97\x27\x27\xe6\xab\xdd"
5915 "\x2c\x42\x1b\x35\xdd\x9d\x73\xbb"
5916 "\x6c\xf3\x64\xf1\xfb\xb9\xf7\xe6"
5917 "\x4a\x3c\xc0\x92\xc0\x2e\xb7\x1a"
5918 "\xbe\xab\xb3\x5a\xe5\xea\xb1\x48"
5919 "\x58\x13\x53\x90\xfd\xc3\x8e\x54"
5920 "\xf9\x18\x16\x73\xe8\xcb\x6d\x39"
5921 "\x0e\xd7\xe0\xfe\xb6\x9f\x43\x97"
5922 "\xe8\xd0\x85\x56\x83\x3e\x98\x68"
5923 "\x7f\xbd\x95\xa8\x9a\x61\x21\x8f"
5924 "\x06\x98\x34\xa6\xc8\xd6\x1d\xf3"
5925 "\x3d\x43\xa4\x9a\x8c\xe5\xd3\x5a"
5926 "\x32\xa2\x04\x22\xa4\x19\x1a\x46"
5927 "\x42\x7e\x4d\xe5\xe0\xe6\x0e\xca"
5928 "\xd5\x58\x9d\x2c\xaf\xda\x33\x5c"
5929 "\xb0\x79\x9e\xc9\xfc\xca\xf0\x2f"
5930 "\xa8\xb2\x77\xeb\x7a\xa2\xdd\x37"
5931 "\x35\x83\x07\xd6\x02\x1a\xb6\x6c"
5932 "\x24\xe2\x59\x08\x0e\xfd\x3e\x46"
5933 "\xec\x40\x93\xf4\x00\x26\x4f\x2a"
5934 "\xff\x47\x2f\xeb\x02\x92\x26\x5b"
5935 "\x53\x17\xc2\x8d\x2a\xc7\xa3\x1b"
5936 "\xcd\xbc\xa7\xe8\xd1\x76\xe3\x80"
5937 "\x21\xca\x5d\x3b\xe4\x9c\x8f\xa9"
5938 "\x5b\x7f\x29\x7f\x7c\xd8\xed\x6d"
5939 "\x8c\xb2\x86\x85\xe7\x77\xf2\x85"
5940 "\xab\x38\xa9\x9d\xc1\x4e\xc5\x64"
5941 "\x33\x73\x8b\x59\x03\xad\x05\xdf"
5942 "\x25\x98\x31\xde\xef\x13\xf1\x9b"
5943 "\x3c\x91\x9d\x7b\xb1\xfa\xe6\xbf"
5944 "\x5b\xed\xa5\x55\xe6\xea\x6c\x74"
5945 "\xf4\xb9\xe4\x45\x64\x72\x81\xc2"
5946 "\x4c\x28\xd4\xcd\xac\xe2\xde\xf9"
5947 "\xeb\x5c\xeb\x61\x60\x5a\xe5\x28",
5948 .ksize = 1088,
5949 .plaintext = "",
5950 .psize = 0,
5951 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
5952 "\x00\x00\x00\x00\x00\x00\x00\x00",
5953 }, {
5954 .key = "\x29\x21\x43\xcb\xcb\x13\x07\xde"
5955 "\xbf\x48\xdf\x8a\x7f\xa2\x84\xde"
5956 "\x72\x23\x9d\xf5\xf0\x07\xf2\x4c"
5957 "\x20\x3a\x93\xb9\xcd\x5d\xfe\xcb"
5958 "\x99\x2c\x2b\x58\xc6\x50\x5f\x94"
5959 "\x56\xc3\x7c\x0d\x02\x3f\xb8\x5e"
5960 "\x7b\xc0\x6c\x51\x34\x76\xc0\x0e"
5961 "\xc6\x22\xc8\x9e\x92\xa0\x21\xc9"
5962 "\x85\x5c\x7c\xf8\xe2\x64\x47\xc9"
5963 "\xe4\xa2\x57\x93\xf8\xa2\x69\xcd"
5964 "\x62\x98\x99\xf4\xd7\x7b\x14\xb1"
5965 "\xd8\x05\xff\x04\x15\xc9\xe1\x6e"
5966 "\x9b\xe6\x50\x6b\x0b\x3f\x22\x1f"
5967 "\x08\xde\x0c\x5b\x08\x7e\xc6\x2f"
5968 "\x6c\xed\xd6\xb2\x15\xa4\xb3\xf9"
5969 "\xa7\x46\x38\x2a\xea\x69\xa5\xde"
5970 "\x02\xc3\x96\x89\x4d\x55\x3b\xed"
5971 "\x3d\x3a\x85\x77\xbf\x97\x45\x5c"
5972 "\x9e\x02\x69\xe2\x1b\x68\xbe\x96"
5973 "\xfb\x64\x6f\x0f\xf6\x06\x40\x67"
5974 "\xfa\x04\xe3\x55\xfa\xbe\xa4\x60"
5975 "\xef\x21\x66\x97\xe6\x9d\x5c\x1f"
5976 "\x62\x37\xaa\x31\xde\xe4\x9c\x28"
5977 "\x95\xe0\x22\x86\xf4\x4d\xf3\x07"
5978 "\xfd\x5f\x3a\x54\x2c\x51\x80\x71"
5979 "\xba\x78\x69\x5b\x65\xab\x1f\x81"
5980 "\xed\x3b\xff\x34\xa3\xfb\xbc\x73"
5981 "\x66\x7d\x13\x7f\xdf\x6e\xe2\xe2"
5982 "\xeb\x4f\x6c\xda\x7d\x33\x57\xd0"
5983 "\xd3\x7c\x95\x4f\x33\x58\x21\xc7"
5984 "\xc0\xe5\x6f\x42\x26\xc6\x1f\x5e"
5985 "\x85\x1b\x98\x9a\xa2\x1e\x55\x77"
5986 "\x23\xdf\x81\x5e\x79\x55\x05\xfc"
5987 "\xfb\xda\xee\xba\x5a\xba\xf7\x77"
5988 "\x7f\x0e\xd3\xe1\x37\xfe\x8d\x2b"
5989 "\xd5\x3f\xfb\xd0\xc0\x3c\x0b\x3f"
5990 "\xcf\x3c\x14\xcf\xfb\x46\x72\x4c"
5991 "\x1f\x39\xe2\xda\x03\x71\x6d\x23"
5992 "\xef\x93\xcd\x39\xd9\x37\x80\x4d"
5993 "\x65\x61\xd1\x2c\x03\xa9\x47\x72"
5994 "\x4d\x1e\x0e\x16\x33\x0f\x21\x17"
5995 "\xec\x92\xea\x6f\x37\x22\xa4\xd8"
5996 "\x03\x33\x9e\xd8\x03\x69\x9a\xe8"
5997 "\xb2\x57\xaf\x78\x99\x05\x12\xab"
5998 "\x48\x90\x80\xf0\x12\x9b\x20\x64"
5999 "\x7a\x1d\x47\x5f\xba\x3c\xf9\xc3"
6000 "\x0a\x0d\x8d\xa1\xf9\x1b\x82\x13"
6001 "\x3e\x0d\xec\x0a\x83\xc0\x65\xe1"
6002 "\xe9\x95\xff\x97\xd6\xf2\xe4\xd5"
6003 "\x86\xc0\x1f\x29\x27\x63\xd7\xde"
6004 "\xb7\x0a\x07\x99\x04\x2d\xa3\x89"
6005 "\xa2\x43\xcf\xf3\xe1\x43\xac\x4a"
6006 "\x06\x97\xd0\x05\x4f\x87\xfa\xf9"
6007 "\x9b\xbf\x52\x70\xbd\xbc\x6c\xf3"
6008 "\x03\x13\x60\x41\x28\x09\xec\xcc"
6009 "\xb1\x1a\xec\xd6\xfb\x6f\x2a\x89"
6010 "\x5d\x0b\x53\x9c\x59\xc1\x84\x21"
6011 "\x33\x51\x47\x19\x31\x9c\xd4\x0a"
6012 "\x4d\x04\xec\x50\x90\x61\xbd\xbc"
6013 "\x7e\xc8\xd9\x6c\x98\x1d\x45\x41"
6014 "\x17\x5e\x97\x1c\xc5\xa8\xe8\xea"
6015 "\x46\x58\x53\xf7\x17\xd5\xad\x11"
6016 "\xc8\x54\xf5\x7a\x33\x90\xf5\x19"
6017 "\xba\x36\xb4\xfc\x52\xa5\x72\x3d"
6018 "\x14\xbb\x55\xa7\xe9\xe3\x12\xf7"
6019 "\x1c\x30\xa2\x82\x03\xbf\x53\x91"
6020 "\x2e\x60\x41\x9f\x5b\x69\x39\xf6"
6021 "\x4d\xc8\xf8\x46\x7a\x7f\xa4\x98"
6022 "\x36\xff\x06\xcb\xca\xe7\x33\xf2"
6023 "\xc0\x4a\xf4\x3c\x14\x44\x5f\x6b"
6024 "\x75\xef\x02\x36\x75\x08\x14\xfd"
6025 "\x10\x8e\xa5\x58\xd0\x30\x46\x49"
6026 "\xaf\x3a\xf8\x40\x3d\x35\xdb\x84"
6027 "\x11\x2e\x97\x6a\xb7\x87\x7f\xad"
6028 "\xf1\xfa\xa5\x63\x60\xd8\x5e\xbf"
6029 "\x41\x78\x49\xcf\x77\xbb\x56\xbb"
6030 "\x7d\x01\x67\x05\x22\xc8\x8f\x41"
6031 "\xba\x81\xd2\xca\x2c\x38\xac\x76"
6032 "\x06\xc1\x1a\xc2\xce\xac\x90\x67"
6033 "\x57\x3e\x20\x12\x5b\xd9\x97\x58"
6034 "\x65\x05\xb7\x04\x61\x7e\xd8\x3a"
6035 "\xbf\x55\x3b\x13\xe9\x34\x5a\x37"
6036 "\x36\xcb\x94\x45\xc5\x32\xb3\xa0"
6037 "\x0c\x3e\x49\xc5\xd3\xed\xa7\xf0"
6038 "\x1c\x69\xcc\xea\xcc\x83\xc9\x16"
6039 "\x95\x72\x4b\xf4\x89\xd5\xb9\x10"
6040 "\xf6\x2d\x60\x15\xea\x3c\x06\x66"
6041 "\x9f\x82\xad\x17\xce\xd2\xa4\x48"
6042 "\x7c\x65\xd9\xf8\x02\x4d\x9b\x4c"
6043 "\x89\x06\x3a\x34\x85\x48\x89\x86"
6044 "\xf9\x24\xa9\x54\x72\xdb\x44\x95"
6045 "\xc7\x44\x1c\x19\x11\x4c\x04\xdc"
6046 "\x13\xb9\x67\xc8\xc3\x3a\x6a\x50"
6047 "\xfa\xd1\xfb\xe1\x88\xb6\xf1\xa3"
6048 "\xc5\x3b\xdc\x38\x45\x16\x26\x02"
6049 "\x3b\xb8\x8f\x8b\x58\x7d\x23\x04"
6050 "\x50\x6b\x81\x9f\xae\x66\xac\x6f"
6051 "\xcf\x2a\x9d\xf1\xfd\x1d\x57\x07"
6052 "\xbe\x58\xeb\x77\x0c\xe3\xc2\x19"
6053 "\x14\x74\x1b\x51\x1c\x4f\x41\xf3"
6054 "\x32\x89\xb3\xe7\xde\x62\xf6\x5f"
6055 "\xc7\x6a\x4a\x2a\x5b\x0f\x5f\x87"
6056 "\x9c\x08\xb9\x02\x88\xc8\x29\xb7"
6057 "\x94\x52\xfa\x52\xfe\xaa\x50\x10"
6058 "\xba\x48\x75\x5e\x11\x1b\xe6\x39"
6059 "\xd7\x82\x2c\x87\xf1\x1e\xa4\x38"
6060 "\x72\x3e\x51\xe7\xd8\x3e\x5b\x7b"
6061 "\x31\x16\x89\xba\xd6\xad\x18\x5e"
6062 "\xba\xf8\x12\xb3\xf4\x6c\x47\x30"
6063 "\xc0\x38\x58\xb3\x10\x8d\x58\x5d"
6064 "\xb4\xfb\x19\x7e\x41\xc3\x66\xb8"
6065 "\xd6\x72\x84\xe1\x1a\xc2\x71\x4c"
6066 "\x0d\x4a\x21\x7a\xab\xa2\xc0\x36"
6067 "\x15\xc5\xe9\x46\xd7\x29\x17\x76"
6068 "\x5e\x47\x36\x7f\x72\x05\xa7\xcc"
6069 "\x36\x63\xf9\x47\x7d\xe6\x07\x3c"
6070 "\x8b\x79\x1d\x96\x61\x8d\x90\x65"
6071 "\x7c\xf5\xeb\x4e\x6e\x09\x59\x6d"
6072 "\x62\x50\x1b\x0f\xe0\xdc\x78\xf2"
6073 "\x5b\x83\x1a\xa1\x11\x75\xfd\x18"
6074 "\xd7\xe2\x8d\x65\x14\x21\xce\xbe"
6075 "\xb5\x87\xe3\x0a\xda\x24\x0a\x64"
6076 "\xa9\x9f\x03\x8d\x46\x5d\x24\x1a"
6077 "\x8a\x0c\x42\x01\xca\xb1\x5f\x7c"
6078 "\xa5\xac\x32\x4a\xb8\x07\x91\x18"
6079 "\x6f\xb0\x71\x3c\xc9\xb1\xa8\xf8"
6080 "\x5f\x69\xa5\xa1\xca\x9e\x7a\xaa"
6081 "\xac\xe9\xc7\x47\x41\x75\x25\xc3"
6082 "\x73\xe2\x0b\xdd\x6d\x52\x71\xbe"
6083 "\xc5\xdc\xb4\xe7\x01\x26\x53\x77"
6084 "\x86\x90\x85\x68\x6b\x7b\x03\x53"
6085 "\xda\x52\x52\x51\x68\xc8\xf3\xec"
6086 "\x6c\xd5\x03\x7a\xa3\x0e\xb4\x02"
6087 "\x5f\x1a\xab\xee\xca\x67\x29\x7b"
6088 "\xbd\x96\x59\xb3\x8b\x32\x7a\x92"
6089 "\x9f\xd8\x25\x2b\xdf\xc0\x4c\xda",
6090 .ksize = 1088,
6091 .plaintext = "\xbc\xda\x81\xa8\x78\x79\x1c\xbf"
6092 "\x77\x53\xba\x4c\x30\x5b\xb8\x33",
6093 .psize = 16,
6094 .digest = "\x04\xbf\x7f\x6a\xce\x72\xea\x6a"
6095 "\x79\xdb\xb0\xc9\x60\xf6\x12\xcc",
367ecc07
EB
6096 }, {
6097 .key = "\x2e\x77\x1e\x2c\x63\x76\x34\x3f"
6098 "\x71\x08\x4f\x5a\xe3\x3d\x74\x56"
6099 "\xc7\x98\x46\x52\xe5\x8a\xba\x0d"
6100 "\x72\x41\x11\x15\x14\x72\x50\x8a"
6101 "\xd5\xec\x60\x09\xdd\x71\xcc\xb9"
6102 "\x59\x81\x65\x2d\x9e\x50\x18\xf3"
6103 "\x32\xf3\xf1\xe7\x01\x82\x1c\xad"
6104 "\x88\xa0\x21\x0c\x4b\x80\x5e\x62"
6105 "\xfc\x81\xec\x52\xaa\xe4\xa5\x86"
6106 "\xc2\xe6\x03\x11\xdc\x66\x09\x86"
6107 "\x3c\x3b\xf0\x59\x0f\xb3\xf7\x44"
6108 "\x24\xb7\x88\xc5\xfc\xc8\x77\x9f"
6109 "\x8c\x44\xc4\x11\x55\xce\x7a\xa3"
6110 "\xe0\xa2\xb8\xbf\xb5\x3d\x07\x2c"
6111 "\x32\xb6\x6c\xfc\xb4\x42\x95\x95"
6112 "\x98\x32\x81\xc4\xe7\xe2\xd9\x6a"
6113 "\x87\xf4\xf4\x1e\x74\x7c\xb5\xcd"
6114 "\x51\x45\x68\x38\x51\xdb\x30\x74"
6115 "\x11\xe0\xaa\xae\x19\x8f\x15\x55"
6116 "\xdd\x47\x4a\x35\xb9\x0c\xb4\x4e"
6117 "\xa9\xce\x2f\xfa\x8f\xc1\x8a\x5e"
6118 "\x5b\xec\xa5\x81\x3b\xb3\x43\x06"
6119 "\x24\x81\xf4\x24\xe2\x21\xfa\xcb"
6120 "\x49\xa8\xf8\xbd\x31\x4a\x5b\x2d"
6121 "\x64\x0a\x07\xf0\x80\xc9\x0d\x81"
6122 "\x14\x58\x54\x2b\xba\x22\x31\xba"
6123 "\xef\x66\xc9\x49\x69\x69\x83\x0d"
6124 "\xf2\xf9\x80\x9d\x30\x36\xfb\xe3"
6125 "\xc0\x72\x2b\xcc\x5a\x81\x2c\x5d"
6126 "\x3b\x5e\xf8\x2b\xd3\x14\x28\x73"
6127 "\xf9\x1c\x70\xe6\xd8\xbb\xac\x30"
6128 "\xf9\xd9\xa0\xe2\x33\x7c\x33\x34"
6129 "\xa5\x6a\x77\x6d\xd5\xaf\xf4\xf3"
6130 "\xc7\xb3\x0e\x83\x3d\xcb\x01\xcc"
6131 "\x81\xc0\xf9\x4a\xae\x36\x92\xf7"
6132 "\x69\x7b\x65\x01\xc3\xc8\xb8\xae"
6133 "\x16\xd8\x30\xbb\xba\x6d\x78\x6e"
6134 "\x0d\xf0\x7d\x84\xb7\x87\xda\x28"
6135 "\x7a\x18\x10\x0b\x29\xec\x29\xf3"
6136 "\xb0\x7b\xa1\x28\xbf\xbc\x2b\x2c"
6137 "\x92\x2c\x16\xfb\x02\x39\xf9\xa6"
6138 "\xa2\x15\x05\xa6\x72\x10\xbc\x62"
6139 "\x4a\x6e\xb8\xb5\x5d\x59\xae\x3c"
6140 "\x32\xd3\x68\xd7\x8e\x5a\xcd\x1b"
6141 "\xef\xf6\xa7\x5e\x10\x51\x15\x4b"
6142 "\x2c\xe3\xba\x70\x4f\x2c\xa0\x1c"
6143 "\x7b\x97\xd7\xb2\xa5\x05\x17\xcc"
6144 "\xf7\x3a\x29\x6f\xd5\x4b\xb8\x24"
6145 "\xf4\x65\x95\x12\xc0\x86\xd1\x64"
6146 "\x81\xdf\x46\x55\x0d\x22\x06\x77"
6147 "\xd8\xca\x8d\xc8\x87\xc3\xfa\xb9"
6148 "\xe1\x98\x94\xe6\x7b\xed\x65\x66"
6149 "\x0e\xc7\x25\x15\xee\x4a\xe6\x7e"
6150 "\xea\x1b\x58\xee\x96\xa0\x75\x9a"
6151 "\xa3\x00\x9e\x42\xc2\x26\x20\x8c"
6152 "\x3d\x22\x1f\x94\x3e\x74\x43\x72"
6153 "\xe9\x1d\xa6\xa1\x6c\xa7\xb8\x03"
6154 "\xdf\xb9\x7a\xaf\xe9\xe9\x3b\xfe"
6155 "\xdf\x91\xc1\x01\xa8\xba\x5d\x29"
6156 "\xa5\xe0\x98\x9b\x13\xe5\x13\x11"
6157 "\x7c\x04\x3a\xe8\x44\x7e\x78\xfc"
6158 "\xd6\x96\xa8\xbc\x7d\xc1\x89\x3d"
6159 "\x75\x64\xa9\x0e\x86\x33\xfb\x73"
6160 "\xf7\x15\xbc\x2c\x9a\x3f\x29\xce"
6161 "\x1c\x9d\x10\x4e\x85\xe1\x77\x41"
6162 "\x01\xe2\xbc\x88\xec\x81\xef\xc2"
6163 "\x6a\xed\x4f\xf7\xdf\xac\x10\x71"
6164 "\x94\xed\x71\xa4\x01\xd4\xd6\xbe"
6165 "\xfe\x3e\xc3\x92\x6a\xf2\x2b\xb5"
6166 "\xab\x15\x96\xb7\x88\x2c\xc2\xe1"
6167 "\xb0\x04\x22\xe7\x3d\xa9\xc9\x7d"
6168 "\x2c\x7c\x21\xff\x97\x86\x6b\x0c"
6169 "\x2b\x5b\xe0\xb6\x48\x74\x8f\x24"
6170 "\xef\x8e\xdd\x0f\x2a\x5f\xff\x33"
6171 "\xf4\x8e\xc5\xeb\x9c\xd7\x2a\x45"
6172 "\xf3\x50\xf1\xc0\x91\x8f\xc7\xf9"
6173 "\x97\xc1\x3c\x9c\xf4\xed\x8a\x23"
6174 "\x61\x5b\x40\x1a\x09\xee\x23\xa8"
6175 "\x7c\x7a\x96\xe1\x31\x55\x3d\x12"
6176 "\x04\x1f\x21\x78\x72\xf0\x0f\xa5"
6177 "\x80\x58\x7c\x2f\x37\xb5\x67\x24"
6178 "\x2f\xce\xf9\xf6\x86\x9f\xb3\x34"
6179 "\x0c\xfe\x0a\xaf\x27\xe6\x5e\x0a"
6180 "\x21\x44\x68\xe1\x5d\x84\x25\xae"
6181 "\x2c\x5a\x94\x66\x9a\x3f\x0e\x5a"
6182 "\xd0\x60\x2a\xd5\x3a\x4e\x2f\x40"
6183 "\x87\xe9\x27\x3e\xee\x92\xe1\x07"
6184 "\x22\x43\x52\xed\x67\x49\x13\xdd"
6185 "\x68\xd7\x54\xc2\x76\x72\x7e\x75"
6186 "\xaf\x24\x98\x5c\xe8\x22\xaa\x35"
6187 "\x0f\x9a\x1c\x4c\x0b\x43\x68\x99"
6188 "\x45\xdd\xbf\x82\xa5\x6f\x0a\xef"
6189 "\x44\x90\x85\xe7\x57\x23\x22\x41"
6190 "\x2e\xda\x24\x28\x65\x7f\x96\x85"
6191 "\x9f\x4b\x0d\x43\xb9\xa8\xbd\x84"
6192 "\xad\x0b\x09\xcc\x2c\x4a\x0c\xec"
6193 "\x71\x58\xba\xf1\xfc\x49\x4c\xca"
6194 "\x5c\x5d\xb2\x77\x0c\x99\xae\x1c"
6195 "\xce\x70\x05\x5b\x73\x6b\x7c\x28"
6196 "\x3b\xeb\x21\x3f\xa3\x71\xe1\x6a"
6197 "\xf4\x87\xd0\xbf\x73\xaa\x0b\x0b"
6198 "\xed\x70\xb3\xd4\xa3\xca\x76\x3a"
6199 "\xdb\xfa\xd8\x08\x95\xec\xac\x59"
6200 "\xd0\x79\x90\xc2\x33\x7b\xcc\x28"
6201 "\x65\xb6\x5f\x92\xc4\xac\x23\x40"
6202 "\xd1\x20\x44\x1f\xd7\x29\xab\x46"
6203 "\x79\x32\xc6\x8f\x79\xe5\xaa\x2c"
6204 "\xa6\x76\x70\x3a\x9e\x46\x3f\x8c"
6205 "\x1a\x89\x32\x28\x61\x5c\xcf\x93"
6206 "\x1e\xde\x9e\x98\xbe\x06\x30\x23"
6207 "\xc4\x8b\xda\x1c\xd1\x67\x46\x93"
6208 "\x9d\x41\xa2\x8c\x03\x22\xbd\x55"
6209 "\x7e\x91\x51\x13\xdc\xcf\x5c\x1e"
6210 "\xcb\x5d\xfb\x14\x16\x1a\x44\x56"
6211 "\x27\x77\xfd\xed\x7d\xbd\xd1\x49"
6212 "\x7f\x0d\xc3\x59\x48\x6b\x3c\x02"
6213 "\x6b\xb5\xd0\x83\xd5\x81\x29\xe7"
6214 "\xe0\xc9\x36\x23\x8d\x41\x33\x77"
6215 "\xff\x5f\x54\xde\x4d\x3f\xd2\x4e"
6216 "\xb6\x4d\xdd\x85\xf8\x9b\x20\x7d"
6217 "\x39\x27\x68\x63\xd3\x8e\x61\x39"
6218 "\xfa\xe1\xc3\x04\x74\x27\x5a\x34"
6219 "\x7f\xec\x59\x2d\xc5\x6e\x54\x23"
6220 "\xf5\x7b\x4b\xbe\x58\x2b\xf2\x81"
6221 "\x93\x63\xcc\x13\xd9\x90\xbb\x6a"
6222 "\x41\x03\x8d\x95\xeb\xbb\x5d\x06"
6223 "\x38\x4c\x0e\xd6\xa9\x5b\x84\x97"
6224 "\x3e\x64\x72\xe9\x96\x07\x0f\x73"
6225 "\x6e\xc6\x3b\x32\xbe\xac\x13\x14"
6226 "\xd0\x0a\x17\x5f\xb9\x9c\x3e\x34"
6227 "\xd9\xec\xd6\x8f\x89\xbf\x1e\xd3"
6228 "\xda\x80\xb2\x29\xff\x28\x96\xb3"
6229 "\x46\x50\x5b\x15\x80\x97\xee\x1f"
6230 "\x6c\xd8\xe8\xe0\xbd\x09\xe7\x20"
6231 "\x8c\x23\x8e\xd9\xbb\x92\xfa\x82"
6232 "\xaa\x0f\xb5\xf8\x78\x60\x11\xf0",
6233 .ksize = 1088,
6234 .plaintext = "\x0b\xb2\x31\x2d\xad\xfe\xce\xf9"
6235 "\xec\x5d\x3d\x64\x5f\x3f\x75\x43"
6236 "\x05\x5b\x97",
6237 .psize = 19,
6238 .digest = "\x5f\x02\xae\x65\x6c\x13\x21\x67"
6239 "\x77\x9e\xc4\x43\x58\x68\xde\x8f",
26609a21
EB
6240 }, {
6241 .key = "\x65\x4d\xe3\xf8\xd2\x4c\xac\x28"
6242 "\x68\xf5\xb3\x81\x71\x4b\xa1\xfa"
6243 "\x04\x0e\xd3\x81\x36\xbe\x0c\x81"
6244 "\x5e\xaf\xbc\x3a\xa4\xc0\x8e\x8b"
6245 "\x55\x63\xd3\x52\x97\x88\xd6\x19"
6246 "\xbc\x96\xdf\x49\xff\x04\x63\xf5"
6247 "\x0c\x11\x13\xaa\x9e\x1f\x5a\xf7"
6248 "\xdd\xbd\x37\x80\xc3\xd0\xbe\xa7"
6249 "\x05\xc8\x3c\x98\x1e\x05\x3c\x84"
6250 "\x39\x61\xc4\xed\xed\x71\x1b\xc4"
6251 "\x74\x45\x2c\xa1\x56\x70\x97\xfd"
6252 "\x44\x18\x07\x7d\xca\x60\x1f\x73"
6253 "\x3b\x6d\x21\xcb\x61\x87\x70\x25"
6254 "\x46\x21\xf1\x1f\x21\x91\x31\x2d"
6255 "\x5d\xcc\xb7\xd1\x84\x3e\x3d\xdb"
6256 "\x03\x53\x2a\x82\xa6\x9a\x95\xbc"
6257 "\x1a\x1e\x0a\x5e\x07\x43\xab\x43"
6258 "\xaf\x92\x82\x06\x91\x04\x09\xf4"
6259 "\x17\x0a\x9a\x2c\x54\xdb\xb8\xf4"
6260 "\xd0\xf0\x10\x66\x24\x8d\xcd\xda"
6261 "\xfe\x0e\x45\x9d\x6f\xc4\x4e\xf4"
6262 "\x96\xaf\x13\xdc\xa9\xd4\x8c\xc4"
6263 "\xc8\x57\x39\x3c\xc2\xd3\x0a\x76"
6264 "\x4a\x1f\x75\x83\x44\xc7\xd1\x39"
6265 "\xd8\xb5\x41\xba\x73\x87\xfa\x96"
6266 "\xc7\x18\x53\xfb\x9b\xda\xa0\x97"
6267 "\x1d\xee\x60\x85\x9e\x14\xc3\xce"
6268 "\xc4\x05\x29\x3b\x95\x30\xa3\xd1"
6269 "\x9f\x82\x6a\x04\xf5\xa7\x75\x57"
6270 "\x82\x04\xfe\x71\x51\x71\xb1\x49"
6271 "\x50\xf8\xe0\x96\xf1\xfa\xa8\x88"
6272 "\x3f\xa0\x86\x20\xd4\x60\x79\x59"
6273 "\x17\x2d\xd1\x09\xf4\xec\x05\x57"
6274 "\xcf\x62\x7e\x0e\x7e\x60\x78\xe6"
6275 "\x08\x60\x29\xd8\xd5\x08\x1a\x24"
6276 "\xc4\x6c\x24\xe7\x92\x08\x3d\x8a"
6277 "\x98\x7a\xcf\x99\x0a\x65\x0e\xdc"
6278 "\x8c\x8a\xbe\x92\x82\x91\xcc\x62"
6279 "\x30\xb6\xf4\x3f\xc6\x8a\x7f\x12"
6280 "\x4a\x8a\x49\xfa\x3f\x5c\xd4\x5a"
6281 "\xa6\x82\xa3\xe6\xaa\x34\x76\xb2"
6282 "\xab\x0a\x30\xef\x6c\x77\x58\x3f"
6283 "\x05\x6b\xcc\x5c\xae\xdc\xd7\xb9"
6284 "\x51\x7e\x8d\x32\x5b\x24\x25\xbe"
6285 "\x2b\x24\x01\xcf\x80\xda\x16\xd8"
6286 "\x90\x72\x2c\xad\x34\x8d\x0c\x74"
6287 "\x02\xcb\xfd\xcf\x6e\xef\x97\xb5"
6288 "\x4c\xf2\x68\xca\xde\x43\x9e\x8a"
6289 "\xc5\x5f\x31\x7f\x14\x71\x38\xec"
6290 "\xbd\x98\xe5\x71\xc4\xb5\xdb\xef"
6291 "\x59\xd2\xca\xc0\xc1\x86\x75\x01"
6292 "\xd4\x15\x0d\x6f\xa4\xf7\x7b\x37"
6293 "\x47\xda\x18\x93\x63\xda\xbe\x9e"
6294 "\x07\xfb\xb2\x83\xd5\xc4\x34\x55"
6295 "\xee\x73\xa1\x42\x96\xf9\x66\x41"
6296 "\xa4\xcc\xd2\x93\x6e\xe1\x0a\xbb"
6297 "\xd2\xdd\x18\x23\xe6\x6b\x98\x0b"
6298 "\x8a\x83\x59\x2c\xc3\xa6\x59\x5b"
6299 "\x01\x22\x59\xf7\xdc\xb0\x87\x7e"
6300 "\xdb\x7d\xf4\x71\x41\xab\xbd\xee"
6301 "\x79\xbe\x3c\x01\x76\x0b\x2d\x0a"
6302 "\x42\xc9\x77\x8c\xbb\x54\x95\x60"
6303 "\x43\x2e\xe0\x17\x52\xbd\x90\xc9"
6304 "\xc2\x2c\xdd\x90\x24\x22\x76\x40"
6305 "\x5c\xb9\x41\xc9\xa1\xd5\xbd\xe3"
6306 "\x44\xe0\xa4\xab\xcc\xb8\xe2\x32"
6307 "\x02\x15\x04\x1f\x8c\xec\x5d\x14"
6308 "\xac\x18\xaa\xef\x6e\x33\x19\x6e"
6309 "\xde\xfe\x19\xdb\xeb\x61\xca\x18"
6310 "\xad\xd8\x3d\xbf\x09\x11\xc7\xa5"
6311 "\x86\x0b\x0f\xe5\x3e\xde\xe8\xd9"
6312 "\x0a\x69\x9e\x4c\x20\xff\xf9\xc5"
6313 "\xfa\xf8\xf3\x7f\xa5\x01\x4b\x5e"
6314 "\x0f\xf0\x3b\x68\xf0\x46\x8c\x2a"
6315 "\x7a\xc1\x8f\xa0\xfe\x6a\x5b\x44"
6316 "\x70\x5c\xcc\x92\x2c\x6f\x0f\xbd"
6317 "\x25\x3e\xb7\x8e\x73\x58\xda\xc9"
6318 "\xa5\xaa\x9e\xf3\x9b\xfd\x37\x3e"
6319 "\xe2\x88\xa4\x7b\xc8\x5c\xa8\x93"
6320 "\x0e\xe7\x9a\x9c\x2e\x95\x18\x9f"
6321 "\xc8\x45\x0c\x88\x9e\x53\x4f\x3a"
6322 "\x76\xc1\x35\xfa\x17\xd8\xac\xa0"
6323 "\x0c\x2d\x47\x2e\x4f\x69\x9b\xf7"
6324 "\xd0\xb6\x96\x0c\x19\xb3\x08\x01"
6325 "\x65\x7a\x1f\xc7\x31\x86\xdb\xc8"
6326 "\xc1\x99\x8f\xf8\x08\x4a\x9d\x23"
6327 "\x22\xa8\xcf\x27\x01\x01\x88\x93"
6328 "\x9c\x86\x45\xbd\xe0\x51\xca\x52"
6329 "\x84\xba\xfe\x03\xf7\xda\xc5\xce"
6330 "\x3e\x77\x75\x86\xaf\x84\xc8\x05"
6331 "\x44\x01\x0f\x02\xf3\x58\xb0\x06"
6332 "\x5a\xd7\x12\x30\x8d\xdf\x1f\x1f"
6333 "\x0a\xe6\xd2\xea\xf6\x3a\x7a\x99"
6334 "\x63\xe8\xd2\xc1\x4a\x45\x8b\x40"
6335 "\x4d\x0a\xa9\x76\x92\xb3\xda\x87"
6336 "\x36\x33\xf0\x78\xc3\x2f\x5f\x02"
6337 "\x1a\x6a\x2c\x32\xcd\x76\xbf\xbd"
6338 "\x5a\x26\x20\x28\x8c\x8c\xbc\x52"
6339 "\x3d\x0a\xc9\xcb\xab\xa4\x21\xb0"
6340 "\x54\x40\x81\x44\xc7\xd6\x1c\x11"
6341 "\x44\xc6\x02\x92\x14\x5a\xbf\x1a"
6342 "\x09\x8a\x18\xad\xcd\x64\x3d\x53"
6343 "\x4a\xb6\xa5\x1b\x57\x0e\xef\xe0"
6344 "\x8c\x44\x5f\x7d\xbd\x6c\xfd\x60"
6345 "\xae\x02\x24\xb6\x99\xdd\x8c\xaf"
6346 "\x59\x39\x75\x3c\xd1\x54\x7b\x86"
6347 "\xcc\x99\xd9\x28\x0c\xb0\x94\x62"
6348 "\xf9\x51\xd1\x19\x96\x2d\x66\xf5"
6349 "\x55\xcf\x9e\x59\xe2\x6b\x2c\x08"
6350 "\xc0\x54\x48\x24\x45\xc3\x8c\x73"
6351 "\xea\x27\x6e\x66\x7d\x1d\x0e\x6e"
6352 "\x13\xe8\x56\x65\x3a\xb0\x81\x5c"
6353 "\xf0\xe8\xd8\x00\x6b\xcd\x8f\xad"
6354 "\xdd\x53\xf3\xa4\x6c\x43\xd6\x31"
6355 "\xaf\xd2\x76\x1e\x91\x12\xdb\x3c"
6356 "\x8c\xc2\x81\xf0\x49\xdb\xe2\x6b"
6357 "\x76\x62\x0a\x04\xe4\xaa\x8a\x7c"
6358 "\x08\x0b\x5d\xd0\xee\x1d\xfb\xc4"
6359 "\x02\x75\x42\xd6\xba\xa7\x22\xa8"
6360 "\x47\x29\xb7\x85\x6d\x93\x3a\xdb"
6361 "\x00\x53\x0b\xa2\xeb\xf8\xfe\x01"
6362 "\x6f\x8a\x31\xd6\x17\x05\x6f\x67"
6363 "\x88\x95\x32\xfe\x4f\xa6\x4b\xf8"
6364 "\x03\xe4\xcd\x9a\x18\xe8\x4e\x2d"
6365 "\xf7\x97\x9a\x0c\x7d\x9f\x7e\x44"
6366 "\x69\x51\xe0\x32\x6b\x62\x86\x8f"
6367 "\xa6\x8e\x0b\x21\x96\xe5\xaf\x77"
6368 "\xc0\x83\xdf\xa5\x0e\xd0\xa1\x04"
6369 "\xaf\xc1\x10\xcb\x5a\x40\xe4\xe3"
6370 "\x38\x7e\x07\xe8\x4d\xfa\xed\xc5"
6371 "\xf0\x37\xdf\xbb\x8a\xcf\x3d\xdc"
6372 "\x61\xd2\xc6\x2b\xff\x07\xc9\x2f"
6373 "\x0c\x2d\x5c\x07\xa8\x35\x6a\xfc"
6374 "\xae\x09\x03\x45\x74\x51\x4d\xc4"
6375 "\xb8\x23\x87\x4a\x99\x27\x20\x87"
6376 "\x62\x44\x0a\x4a\xce\x78\x47\x22",
6377 .ksize = 1088,
6378 .plaintext = "\x8e\xb0\x4c\xde\x9c\x4a\x04\x5a"
6379 "\xf6\xa9\x7f\x45\x25\xa5\x7b\x3a"
6380 "\xbc\x4d\x73\x39\x81\xb5\xbd\x3d"
6381 "\x21\x6f\xd7\x37\x50\x3c\x7b\x28"
6382 "\xd1\x03\x3a\x17\xed\x7b\x7c\x2a"
6383 "\x16\xbc\xdf\x19\x89\x52\x71\x31"
6384 "\xb6\xc0\xfd\xb5\xd3\xba\x96\x99"
6385 "\xb6\x34\x0b\xd0\x99\x93\xfc\x1a"
6386 "\x01\x3c\x85\xc6\x9b\x78\x5c\x8b"
6387 "\xfe\xae\xd2\xbf\xb2\x6f\xf9\xed"
6388 "\xc8\x25\x17\xfe\x10\x3b\x7d\xda"
6389 "\xf4\x8d\x35\x4b\x7c\x7b\x82\xe7"
6390 "\xc2\xb3\xee\x60\x4a\x03\x86\xc9"
6391 "\x4e\xb5\xc4\xbe\xd2\xbd\x66\xf1"
6392 "\x13\xf1\x09\xab\x5d\xca\x63\x1f"
6393 "\xfc\xfb\x57\x2a\xfc\xca\x66\xd8"
6394 "\x77\x84\x38\x23\x1d\xac\xd3\xb3"
6395 "\x7a\xad\x4c\x70\xfa\x9c\xc9\x61"
6396 "\xa6\x1b\xba\x33\x4b\x4e\x33\xec"
6397 "\xa0\xa1\x64\x39\x40\x05\x1c\xc2"
6398 "\x3f\x49\x9d\xae\xf2\xc5\xf2\xc5"
6399 "\xfe\xe8\xf4\xc2\xf9\x96\x2d\x28"
6400 "\x92\x30\x44\xbc\xd2\x7f\xe1\x6e"
6401 "\x62\x02\x8f\x3d\x1c\x80\xda\x0e"
6402 "\x6a\x90\x7e\x75\xff\xec\x3e\xc4"
6403 "\xcd\x16\x34\x3b\x05\x6d\x4d\x20"
6404 "\x1c\x7b\xf5\x57\x4f\xfa\x3d\xac"
6405 "\xd0\x13\x55\xe8\xb3\xe1\x1b\x78"
6406 "\x30\xe6\x9f\x84\xd4\x69\xd1\x08"
6407 "\x12\x77\xa7\x4a\xbd\xc0\xf2\xd2"
6408 "\x78\xdd\xa3\x81\x12\xcb\x6c\x14"
6409 "\x90\x61\xe2\x84\xc6\x2b\x16\xcc"
6410 "\x40\x99\x50\x88\x01\x09\x64\x4f"
6411 "\x0a\x80\xbe\x61\xae\x46\xc9\x0a"
6412 "\x5d\xe0\xfb\x72\x7a\x1a\xdd\x61"
6413 "\x63\x20\x05\xa0\x4a\xf0\x60\x69"
6414 "\x7f\x92\xbc\xbf\x4e\x39\x4d\xdd"
6415 "\x74\xd1\xb7\xc0\x5a\x34\xb7\xae"
6416 "\x76\x65\x2e\xbc\x36\xb9\x04\x95"
6417 "\x42\xe9\x6f\xca\x78\xb3\x72\x07"
6418 "\xa3\xba\x02\x94\x67\x4c\xb1\xd7"
6419 "\xe9\x30\x0d\xf0\x3b\xb8\x10\x6d"
6420 "\xea\x2b\x21\xbf\x74\x59\x82\x97"
6421 "\x85\xaa\xf1\xd7\x54\x39\xeb\x05"
6422 "\xbd\xf3\x40\xa0\x97\xe6\x74\xfe"
6423 "\xb4\x82\x5b\xb1\x36\xcb\xe8\x0d"
6424 "\xce\x14\xd9\xdf\xf1\x94\x22\xcd"
6425 "\xd6\x00\xba\x04\x4c\x05\x0c\xc0"
6426 "\xd1\x5a\xeb\x52\xd5\xa8\x8e\xc8"
6427 "\x97\xa1\xaa\xc1\xea\xc1\xbe\x7c"
6428 "\x36\xb3\x36\xa0\xc6\x76\x66\xc5"
6429 "\xe2\xaf\xd6\x5c\xe2\xdb\x2c\xb3"
6430 "\x6c\xb9\x99\x7f\xff\x9f\x03\x24"
6431 "\xe1\x51\x44\x66\xd8\x0c\x5d\x7f"
6432 "\x5c\x85\x22\x2a\xcf\x6d\x79\x28"
6433 "\xab\x98\x01\x72\xfe\x80\x87\x5f"
6434 "\x46\xba\xef\x81\x24\xee\xbf\xb0"
6435 "\x24\x74\xa3\x65\x97\x12\xc4\xaf"
6436 "\x8b\xa0\x39\xda\x8a\x7e\x74\x6e"
6437 "\x1b\x42\xb4\x44\x37\xfc\x59\xfd"
6438 "\x86\xed\xfb\x8c\x66\x33\xda\x63"
6439 "\x75\xeb\xe1\xa4\x85\x4f\x50\x8f"
6440 "\x83\x66\x0d\xd3\x37\xfa\xe6\x9c"
6441 "\x4f\x30\x87\x35\x18\xe3\x0b\xb7"
6442 "\x6e\x64\x54\xcd\x70\xb3\xde\x54"
6443 "\xb7\x1d\xe6\x4c\x4d\x55\x12\x12"
6444 "\xaf\x5f\x7f\x5e\xee\x9d\xe8\x8e"
6445 "\x32\x9d\x4e\x75\xeb\xc6\xdd\xaa"
6446 "\x48\x82\xa4\x3f\x3c\xd7\xd3\xa8"
6447 "\x63\x9e\x64\xfe\xe3\x97\x00\x62"
6448 "\xe5\x40\x5d\xc3\xad\x72\xe1\x28"
6449 "\x18\x50\xb7\x75\xef\xcd\x23\xbf"
6450 "\x3f\xc0\x51\x36\xf8\x41\xc3\x08"
6451 "\xcb\xf1\x8d\x38\x34\xbd\x48\x45"
6452 "\x75\xed\xbc\x65\x7b\xb5\x0c\x9b"
6453 "\xd7\x67\x7d\x27\xb4\xc4\x80\xd7"
6454 "\xa9\xb9\xc7\x4a\x97\xaa\xda\xc8"
6455 "\x3c\x74\xcf\x36\x8f\xe4\x41\xe3"
6456 "\xd4\xd3\x26\xa7\xf3\x23\x9d\x8f"
6457 "\x6c\x20\x05\x32\x3e\xe0\xc3\xc8"
6458 "\x56\x3f\xa7\x09\xb7\xfb\xc7\xf7"
6459 "\xbe\x2a\xdd\x0f\x06\x7b\x0d\xdd"
6460 "\xb0\xb4\x86\x17\xfd\xb9\x04\xe5"
6461 "\xc0\x64\x5d\xad\x2a\x36\x38\xdb"
6462 "\x24\xaf\x5b\xff\xca\xf9\x41\xe8"
6463 "\xf9\x2f\x1e\x5e\xf9\xf5\xd5\xf2"
6464 "\xb2\x88\xca\xc9\xa1\x31\xe2\xe8"
6465 "\x10\x95\x65\xbf\xf1\x11\x61\x7a"
6466 "\x30\x1a\x54\x90\xea\xd2\x30\xf6"
6467 "\xa5\xad\x60\xf9\x4d\x84\x21\x1b"
6468 "\xe4\x42\x22\xc8\x12\x4b\xb0\x58"
6469 "\x3e\x9c\x2d\x32\x95\x0a\x8e\xb0"
6470 "\x0a\x7e\x77\x2f\xe8\x97\x31\x6a"
6471 "\xf5\x59\xb4\x26\xe6\x37\x12\xc9"
6472 "\xcb\xa0\x58\x33\x6f\xd5\x55\x55"
6473 "\x3c\xa1\x33\xb1\x0b\x7e\x2e\xb4"
6474 "\x43\x2a\x84\x39\xf0\x9c\xf4\x69"
6475 "\x4f\x1e\x79\xa6\x15\x1b\x87\xbb"
6476 "\xdb\x9b\xe0\xf1\x0b\xba\xe3\x6e"
6477 "\xcc\x2f\x49\x19\x22\x29\xfc\x71"
6478 "\xbb\x77\x38\x18\x61\xaf\x85\x76"
6479 "\xeb\xd1\x09\xcc\x86\x04\x20\x9a"
6480 "\x66\x53\x2f\x44\x8b\xc6\xa3\xd2"
6481 "\x5f\xc7\x79\x82\x66\xa8\x6e\x75"
6482 "\x7d\x94\xd1\x86\x75\x0f\xa5\x4f"
6483 "\x3c\x7a\x33\xce\xd1\x6e\x9d\x7b"
6484 "\x1f\x91\x37\xb8\x37\x80\xfb\xe0"
6485 "\x52\x26\xd0\x9a\xd4\x48\x02\x41"
6486 "\x05\xe3\x5a\x94\xf1\x65\x61\x19"
6487 "\xb8\x88\x4e\x2b\xea\xba\x8b\x58"
6488 "\x8b\x42\x01\x00\xa8\xfe\x00\x5c"
6489 "\xfe\x1c\xee\x31\x15\x69\xfa\xb3"
6490 "\x9b\x5f\x22\x8e\x0d\x2c\xe3\xa5"
6491 "\x21\xb9\x99\x8a\x8e\x94\x5a\xef"
6492 "\x13\x3e\x99\x96\x79\x6e\xd5\x42"
6493 "\x36\x03\xa9\xe2\xca\x65\x4e\x8a"
6494 "\x8a\x30\xd2\x7d\x74\xe7\xf0\xaa"
6495 "\x23\x26\xdd\xcb\x82\x39\xfc\x9d"
6496 "\x51\x76\x21\x80\xa2\xbe\x93\x03"
6497 "\x47\xb0\xc1\xb6\xdc\x63\xfd\x9f"
6498 "\xca\x9d\xa5\xca\x27\x85\xe2\xd8"
6499 "\x15\x5b\x7e\x14\x7a\xc4\x89\xcc"
6500 "\x74\x14\x4b\x46\xd2\xce\xac\x39"
6501 "\x6b\x6a\x5a\xa4\x0e\xe3\x7b\x15"
6502 "\x94\x4b\x0f\x74\xcb\x0c\x7f\xa9"
6503 "\xbe\x09\x39\xa3\xdd\x56\x5c\xc7"
6504 "\x99\x56\x65\x39\xf4\x0b\x7d\x87"
6505 "\xec\xaa\xe3\x4d\x22\x65\x39\x4e",
6506 .psize = 1024,
6507 .digest = "\x64\x3a\xbc\xc3\x3f\x74\x40\x51"
6508 "\x6e\x56\x01\x1a\x51\xec\x36\xde",
26609a21
EB
6509 }, {
6510 .key = "\x1b\x82\x2e\x1b\x17\x23\xb9\x6d"
6511 "\xdc\x9c\xda\x99\x07\xe3\x5f\xd8"
6512 "\xd2\xf8\x43\x80\x8d\x86\x7d\x80"
6513 "\x1a\xd0\xcc\x13\xb9\x11\x05\x3f"
6514 "\x7e\xcf\x7e\x80\x0e\xd8\x25\x48"
6515 "\x8b\xaa\x63\x83\x92\xd0\x72\xf5"
6516 "\x4f\x67\x7e\x50\x18\x25\xa4\xd1"
6517 "\xe0\x7e\x1e\xba\xd8\xa7\x6e\xdb"
6518 "\x1a\xcc\x0d\xfe\x9f\x6d\x22\x35"
6519 "\xe1\xe6\xe0\xa8\x7b\x9c\xb1\x66"
6520 "\xa3\xf8\xff\x4d\x90\x84\x28\xbc"
6521 "\xdc\x19\xc7\x91\x49\xfc\xf6\x33"
6522 "\xc9\x6e\x65\x7f\x28\x6f\x68\x2e"
6523 "\xdf\x1a\x75\xe9\xc2\x0c\x96\xb9"
6524 "\x31\x22\xc4\x07\xc6\x0a\x2f\xfd"
6525 "\x36\x06\x5f\x5c\xc5\xb1\x3a\xf4"
6526 "\x5e\x48\xa4\x45\x2b\x88\xa7\xee"
6527 "\xa9\x8b\x52\xcc\x99\xd9\x2f\xb8"
6528 "\xa4\x58\x0a\x13\xeb\x71\x5a\xfa"
6529 "\xe5\x5e\xbe\xf2\x64\xad\x75\xbc"
6530 "\x0b\x5b\x34\x13\x3b\x23\x13\x9a"
6531 "\x69\x30\x1e\x9a\xb8\x03\xb8\x8b"
6532 "\x3e\x46\x18\x6d\x38\xd9\xb3\xd8"
6533 "\xbf\xf1\xd0\x28\xe6\x51\x57\x80"
6534 "\x5e\x99\xfb\xd0\xce\x1e\x83\xf7"
6535 "\xe9\x07\x5a\x63\xa9\xef\xce\xa5"
6536 "\xfb\x3f\x37\x17\xfc\x0b\x37\x0e"
6537 "\xbb\x4b\x21\x62\xb7\x83\x0e\xa9"
6538 "\x9e\xb0\xc4\xad\x47\xbe\x35\xe7"
6539 "\x51\xb2\xf2\xac\x2b\x65\x7b\x48"
6540 "\xe3\x3f\x5f\xb6\x09\x04\x0c\x58"
6541 "\xce\x99\xa9\x15\x2f\x4e\xc1\xf2"
6542 "\x24\x48\xc0\xd8\x6c\xd3\x76\x17"
6543 "\x83\x5d\xe6\xe3\xfd\x01\x8e\xf7"
6544 "\x42\xa5\x04\x29\x30\xdf\xf9\x00"
6545 "\x4a\xdc\x71\x22\x1a\x33\x15\xb6"
6546 "\xd7\x72\xfb\x9a\xb8\xeb\x2b\x38"
6547 "\xea\xa8\x61\xa8\x90\x11\x9d\x73"
6548 "\x2e\x6c\xce\x81\x54\x5a\x9f\xcd"
6549 "\xcf\xd5\xbd\x26\x5d\x66\xdb\xfb"
6550 "\xdc\x1e\x7c\x10\xfe\x58\x82\x10"
6551 "\x16\x24\x01\xce\x67\x55\x51\xd1"
6552 "\xdd\x6b\x44\xa3\x20\x8e\xa9\xa6"
6553 "\x06\xa8\x29\x77\x6e\x00\x38\x5b"
6554 "\xde\x4d\x58\xd8\x1f\x34\xdf\xf9"
6555 "\x2c\xac\x3e\xad\xfb\x92\x0d\x72"
6556 "\x39\xa4\xac\x44\x10\xc0\x43\xc4"
6557 "\xa4\x77\x3b\xfc\xc4\x0d\x37\xd3"
6558 "\x05\x84\xda\x53\x71\xf8\x80\xd3"
6559 "\x34\x44\xdb\x09\xb4\x2b\x8e\xe3"
6560 "\x00\x75\x50\x9e\x43\x22\x00\x0b"
6561 "\x7c\x70\xab\xd4\x41\xf1\x93\xcd"
6562 "\x25\x2d\x84\x74\xb5\xf2\x92\xcd"
6563 "\x0a\x28\xea\x9a\x49\x02\x96\xcb"
6564 "\x85\x9e\x2f\x33\x03\x86\x1d\xdc"
6565 "\x1d\x31\xd5\xfc\x9d\xaa\xc5\xe9"
6566 "\x9a\xc4\x57\xf5\x35\xed\xf4\x4b"
6567 "\x3d\x34\xc2\x29\x13\x86\x36\x42"
6568 "\x5d\xbf\x90\x86\x13\x77\xe5\xc3"
6569 "\x62\xb4\xfe\x0b\x70\x39\x35\x65"
6570 "\x02\xea\xf6\xce\x57\x0c\xbb\x74"
6571 "\x29\xe3\xfd\x60\x90\xfd\x10\x38"
6572 "\xd5\x4e\x86\xbd\x37\x70\xf0\x97"
6573 "\xa6\xab\x3b\x83\x64\x52\xca\x66"
6574 "\x2f\xf9\xa4\xca\x3a\x55\x6b\xb0"
6575 "\xe8\x3a\x34\xdb\x9e\x48\x50\x2f"
6576 "\x3b\xef\xfd\x08\x2d\x5f\xc1\x37"
6577 "\x5d\xbe\x73\xe4\xd8\xe9\xac\xca"
6578 "\x8a\xaa\x48\x7c\x5c\xf4\xa6\x96"
6579 "\x5f\xfa\x70\xa6\xb7\x8b\x50\xcb"
6580 "\xa6\xf5\xa9\xbd\x7b\x75\x4c\x22"
6581 "\x0b\x19\x40\x2e\xc9\x39\x39\x32"
6582 "\x83\x03\xa8\xa4\x98\xe6\x8e\x16"
6583 "\xb9\xde\x08\xc5\xfc\xbf\xad\x39"
6584 "\xa8\xc7\x93\x6c\x6f\x23\xaf\xc1"
6585 "\xab\xe1\xdf\xbb\x39\xae\x93\x29"
6586 "\x0e\x7d\x80\x8d\x3e\x65\xf3\xfd"
6587 "\x96\x06\x65\x90\xa1\x28\x64\x4b"
6588 "\x69\xf9\xa8\x84\x27\x50\xfc\x87"
6589 "\xf7\xbf\x55\x8e\x56\x13\x58\x7b"
6590 "\x85\xb4\x6a\x72\x0f\x40\xf1\x4f"
6591 "\x83\x81\x1f\x76\xde\x15\x64\x7a"
6592 "\x7a\x80\xe4\xc7\x5e\x63\x01\x91"
6593 "\xd7\x6b\xea\x0b\x9b\xa2\x99\x3b"
6594 "\x6c\x88\xd8\xfd\x59\x3c\x8d\x22"
6595 "\x86\x56\xbe\xab\xa1\x37\x08\x01"
6596 "\x50\x85\x69\x29\xee\x9f\xdf\x21"
6597 "\x3e\x20\x20\xf5\xb0\xbb\x6b\xd0"
6598 "\x9c\x41\x38\xec\x54\x6f\x2d\xbd"
6599 "\x0f\xe1\xbd\xf1\x2b\x6e\x60\x56"
6600 "\x29\xe5\x7a\x70\x1c\xe2\xfc\x97"
6601 "\x82\x68\x67\xd9\x3d\x1f\xfb\xd8"
6602 "\x07\x9f\xbf\x96\x74\xba\x6a\x0e"
6603 "\x10\x48\x20\xd8\x13\x1e\xb5\x44"
6604 "\xf2\xcc\xb1\x8b\xfb\xbb\xec\xd7"
6605 "\x37\x70\x1f\x7c\x55\xd2\x4b\xb9"
6606 "\xfd\x70\x5e\xa3\x91\x73\x63\x52"
6607 "\x13\x47\x5a\x06\xfb\x01\x67\xa5"
6608 "\xc0\xd0\x49\x19\x56\x66\x9a\x77"
6609 "\x64\xaf\x8c\x25\x91\x52\x87\x0e"
6610 "\x18\xf3\x5f\x97\xfd\x71\x13\xf8"
6611 "\x05\xa5\x39\xcc\x65\xd3\xcc\x63"
6612 "\x5b\xdb\x5f\x7e\x5f\x6e\xad\xc4"
6613 "\xf4\xa0\xc5\xc2\x2b\x4d\x97\x38"
6614 "\x4f\xbc\xfa\x33\x17\xb4\x47\xb9"
6615 "\x43\x24\x15\x8d\xd2\xed\x80\x68"
6616 "\x84\xdb\x04\x80\xca\x5e\x6a\x35"
6617 "\x2c\x2c\xe7\xc5\x03\x5f\x54\xb0"
6618 "\x5e\x4f\x1d\x40\x54\x3d\x78\x9a"
6619 "\xac\xda\x80\x27\x4d\x15\x4c\x1a"
6620 "\x6e\x80\xc9\xc4\x3b\x84\x0e\xd9"
6621 "\x2e\x93\x01\x8c\xc3\xc8\x91\x4b"
6622 "\xb3\xaa\x07\x04\x68\x5b\x93\xa5"
6623 "\xe7\xc4\x9d\xe7\x07\xee\xf5\x3b"
6624 "\x40\x89\xcc\x60\x34\x9d\xb4\x06"
6625 "\x1b\xef\x92\xe6\xc1\x2a\x7d\x0f"
6626 "\x81\xaa\x56\xe3\xd7\xed\xa7\xd4"
6627 "\xa7\x3a\x49\xc4\xad\x81\x5c\x83"
6628 "\x55\x8e\x91\x54\xb7\x7d\x65\xa5"
6629 "\x06\x16\xd5\x9a\x16\xc1\xb0\xa2"
6630 "\x06\xd8\x98\x47\x73\x7e\x73\xa0"
6631 "\xb8\x23\xb1\x52\xbf\x68\x74\x5d"
6632 "\x0b\xcb\xfa\x8c\x46\xe3\x24\xe6"
6633 "\xab\xd4\x69\x8d\x8c\xf2\x8a\x59"
6634 "\xbe\x48\x46\x50\x8c\x9a\xe8\xe3"
6635 "\x31\x55\x0a\x06\xed\x4f\xf8\xb7"
6636 "\x4f\xe3\x85\x17\x30\xbd\xd5\x20"
6637 "\xe7\x5b\xb2\x32\xcf\x6b\x16\x44"
6638 "\xd2\xf5\x7e\xd7\xd1\x2f\xee\x64"
6639 "\x3e\x9d\x10\xef\x27\x35\x43\x64"
6640 "\x67\xfb\x7a\x7b\xe0\x62\x31\x9a"
6641 "\x4d\xdf\xa5\xab\xc0\x20\xbb\x01"
6642 "\xe9\x7b\x54\xf1\xde\xb2\x79\x50"
6643 "\x6c\x4b\x91\xdb\x7f\xbb\x50\xc1"
6644 "\x55\x44\x38\x9a\xe0\x9f\xe8\x29"
6645 "\x6f\x15\xf8\x4e\xa6\xec\xa0\x60",
6646 .ksize = 1088,
6647 .plaintext = "\x15\x68\x9e\x2f\xad\x15\x52\xdf"
6648 "\xf0\x42\x62\x24\x2a\x2d\xea\xbf"
6649 "\xc7\xf3\xb4\x1a\xf5\xed\xb2\x08"
6650 "\x15\x60\x1c\x00\x77\xbf\x0b\x0e"
6651 "\xb7\x2c\xcf\x32\x3a\xc7\x01\x77"
6652 "\xef\xa6\x75\xd0\x29\xc7\x68\x20"
6653 "\xb2\x92\x25\xbf\x12\x34\xe9\xa4"
6654 "\xfd\x32\x7b\x3f\x7c\xbd\xa5\x02"
6655 "\x38\x41\xde\xc9\xc1\x09\xd9\xfc"
6656 "\x6e\x78\x22\x83\x18\xf7\x50\x8d"
6657 "\x8f\x9c\x2d\x02\xa5\x30\xac\xff"
6658 "\xea\x63\x2e\x80\x37\x83\xb0\x58"
6659 "\xda\x2f\xef\x21\x55\xba\x7b\xb1"
6660 "\xb6\xed\xf5\xd2\x4d\xaa\x8c\xa9"
6661 "\xdd\xdb\x0f\xb4\xce\xc1\x9a\xb1"
6662 "\xc1\xdc\xbd\xab\x86\xc2\xdf\x0b"
6663 "\xe1\x2c\xf9\xbe\xf6\xd8\xda\x62"
6664 "\x72\xdd\x98\x09\x52\xc0\xc4\xb6"
6665 "\x7b\x17\x5c\xf5\xd8\x4b\x88\xd6"
6666 "\x6b\xbf\x84\x4a\x3f\xf5\x4d\xd2"
6667 "\x94\xe2\x9c\xff\xc7\x3c\xd9\xc8"
6668 "\x37\x38\xbc\x8c\xf3\xe7\xb7\xd0"
6669 "\x1d\x78\xc4\x39\x07\xc8\x5e\x79"
6670 "\xb6\x5a\x90\x5b\x6e\x97\xc9\xd4"
6671 "\x82\x9c\xf3\x83\x7a\xe7\x97\xfc"
6672 "\x1d\xbb\xef\xdb\xce\xe0\x82\xad"
6673 "\xca\x07\x6c\x54\x62\x6f\x81\xe6"
6674 "\x7a\x5a\x96\x6e\x80\x3a\xa2\x37"
6675 "\x6f\xc6\xa4\x29\xc3\x9e\x19\x94"
6676 "\x9f\xb0\x3e\x38\xfb\x3c\x2b\x7d"
6677 "\xaa\xb8\x74\xda\x54\x23\x51\x12"
6678 "\x4b\x96\x36\x8f\x91\x4f\x19\x37"
6679 "\x83\xc9\xdd\xc7\x1a\x32\x2d\xab"
6680 "\xc7\x89\xe2\x07\x47\x6c\xe8\xa6"
6681 "\x70\x6b\x8e\x0c\xda\x5c\x6a\x59"
6682 "\x27\x33\x0e\xe1\xe1\x20\xe8\xc8"
6683 "\xae\xdc\xd0\xe3\x6d\xa8\xa6\x06"
6684 "\x41\xb4\xd4\xd4\xcf\x91\x3e\x06"
6685 "\xb0\x9a\xf7\xf1\xaa\xa6\x23\x92"
6686 "\x10\x86\xf0\x94\xd1\x7c\x2e\x07"
6687 "\x30\xfb\xc5\xd8\xf3\x12\xa9\xe8"
6688 "\x22\x1c\x97\x1a\xad\x96\xb0\xa1"
6689 "\x72\x6a\x6b\xb4\xfd\xf7\xe8\xfa"
6690 "\xe2\x74\xd8\x65\x8d\x35\x17\x4b"
6691 "\x00\x23\x5c\x8c\x70\xad\x71\xa2"
6692 "\xca\xc5\x6c\x59\xbf\xb4\xc0\x6d"
6693 "\x86\x98\x3e\x19\x5a\x90\x92\xb1"
6694 "\x66\x57\x6a\x91\x68\x7c\xbc\xf3"
6695 "\xf1\xdb\x94\xf8\x48\xf1\x36\xd8"
6696 "\x78\xac\x1c\xa9\xcc\xd6\x27\xba"
6697 "\x91\x54\x22\xf5\xe6\x05\x3f\xcc"
6698 "\xc2\x8f\x2c\x3b\x2b\xc3\x2b\x2b"
6699 "\x3b\xb8\xb6\x29\xb7\x2f\x94\xb6"
6700 "\x7b\xfc\x94\x3e\xd0\x7a\x41\x59"
6701 "\x7b\x1f\x9a\x09\xa6\xed\x4a\x82"
6702 "\x9d\x34\x1c\xbd\x4e\x1c\x3a\x66"
6703 "\x80\x74\x0e\x9a\x4f\x55\x54\x47"
6704 "\x16\xba\x2a\x0a\x03\x35\x99\xa3"
6705 "\x5c\x63\x8d\xa2\x72\x8b\x17\x15"
6706 "\x68\x39\x73\xeb\xec\xf2\xe8\xf5"
6707 "\x95\x32\x27\xd6\xc4\xfe\xb0\x51"
6708 "\xd5\x0c\x50\xc5\xcd\x6d\x16\xb3"
6709 "\xa3\x1e\x95\x69\xad\x78\x95\x06"
6710 "\xb9\x46\xf2\x6d\x24\x5a\x99\x76"
6711 "\x73\x6a\x91\xa6\xac\x12\xe1\x28"
6712 "\x79\xbc\x08\x4e\x97\x00\x98\x63"
6713 "\x07\x1c\x4e\xd1\x68\xf3\xb3\x81"
6714 "\xa8\xa6\x5f\xf1\x01\xc9\xc1\xaf"
6715 "\x3a\x96\xf9\x9d\xb5\x5a\x5f\x8f"
6716 "\x7e\xc1\x7e\x77\x0a\x40\xc8\x8e"
6717 "\xfc\x0e\xed\xe1\x0d\xb0\xe5\x5e"
6718 "\x5e\x6f\xf5\x7f\xab\x33\x7d\xcd"
6719 "\xf0\x09\x4b\xb2\x11\x37\xdc\x65"
6720 "\x97\x32\x62\x71\x3a\x29\x54\xb9"
6721 "\xc7\xa4\xbf\x75\x0f\xf9\x40\xa9"
6722 "\x8d\xd7\x8b\xa7\xe0\x9a\xbe\x15"
6723 "\xc6\xda\xd8\x00\x14\x69\x1a\xaf"
6724 "\x5f\x79\xc3\xf5\xbb\x6c\x2a\x9d"
6725 "\xdd\x3c\x5f\x97\x21\xe1\x3a\x03"
6726 "\x84\x6a\xe9\x76\x11\x1f\xd3\xd5"
6727 "\xf0\x54\x20\x4d\xc2\x91\xc3\xa4"
6728 "\x36\x25\xbe\x1b\x2a\x06\xb7\xf3"
6729 "\xd1\xd0\x55\x29\x81\x4c\x83\xa3"
6730 "\xa6\x84\x1e\x5c\xd1\xd0\x6c\x90"
6731 "\xa4\x11\xf0\xd7\x63\x6a\x48\x05"
6732 "\xbc\x48\x18\x53\xcd\xb0\x8d\xdb"
6733 "\xdc\xfe\x55\x11\x5c\x51\xb3\xab"
6734 "\xab\x63\x3e\x31\x5a\x8b\x93\x63"
6735 "\x34\xa9\xba\x2b\x69\x1a\xc0\xe3"
6736 "\xcb\x41\xbc\xd7\xf5\x7f\x82\x3e"
6737 "\x01\xa3\x3c\x72\xf4\xfe\xdf\xbe"
6738 "\xb1\x67\x17\x2b\x37\x60\x0d\xca"
6739 "\x6f\xc3\x94\x2c\xd2\x92\x6d\x9d"
6740 "\x75\x18\x77\xaa\x29\x38\x96\xed"
6741 "\x0e\x20\x70\x92\xd5\xd0\xb4\x00"
6742 "\xc0\x31\xf2\xc9\x43\x0e\x75\x1d"
6743 "\x4b\x64\xf2\x1f\xf2\x29\x6c\x7b"
6744 "\x7f\xec\x59\x7d\x8c\x0d\xd4\xd3"
6745 "\xac\x53\x4c\xa3\xde\x42\x92\x95"
6746 "\x6d\xa3\x4f\xd0\xe6\x3d\xe7\xec"
6747 "\x7a\x4d\x68\xf1\xfe\x67\x66\x09"
6748 "\x83\x22\xb1\x98\x43\x8c\xab\xb8"
6749 "\x45\xe6\x6d\xdf\x5e\x50\x71\xce"
6750 "\xf5\x4e\x40\x93\x2b\xfa\x86\x0e"
6751 "\xe8\x30\xbd\x82\xcc\x1c\x9c\x5f"
6752 "\xad\xfd\x08\x31\xbe\x52\xe7\xe6"
6753 "\xf2\x06\x01\x62\x25\x15\x99\x74"
6754 "\x33\x51\x52\x57\x3f\x57\x87\x61"
6755 "\xb9\x7f\x29\x3d\xcd\x92\x5e\xa6"
6756 "\x5c\x3b\xf1\xed\x5f\xeb\x82\xed"
6757 "\x56\x7b\x61\xe7\xfd\x02\x47\x0e"
6758 "\x2a\x15\xa4\xce\x43\x86\x9b\xe1"
6759 "\x2b\x4c\x2a\xd9\x42\x97\xf7\x9a"
6760 "\xe5\x47\x46\x48\xd3\x55\x6f\x4d"
6761 "\xd9\xeb\x4b\xdd\x7b\x21\x2f\xb3"
6762 "\xa8\x36\x28\xdf\xca\xf1\xf6\xd9"
6763 "\x10\xf6\x1c\xfd\x2e\x0c\x27\xe0"
6764 "\x01\xb3\xff\x6d\x47\x08\x4d\xd4"
6765 "\x00\x25\xee\x55\x4a\xe9\xe8\x5b"
6766 "\xd8\xf7\x56\x12\xd4\x50\xb2\xe5"
6767 "\x51\x6f\x34\x63\x69\xd2\x4e\x96"
6768 "\x4e\xbc\x79\xbf\x18\xae\xc6\x13"
6769 "\x80\x92\x77\xb0\xb4\x0f\x29\x94"
6770 "\x6f\x4c\xbb\x53\x11\x36\xc3\x9f"
6771 "\x42\x8e\x96\x8a\x91\xc8\xe9\xfc"
6772 "\xfe\xbf\x7c\x2d\x6f\xf9\xb8\x44"
6773 "\x89\x1b\x09\x53\x0a\x2a\x92\xc3"
6774 "\x54\x7a\x3a\xf9\xe2\xe4\x75\x87"
6775 "\xa0\x5e\x4b\x03\x7a\x0d\x8a\xf4"
6776 "\x55\x59\x94\x2b\x63\x96\x0e\xf5",
6777 .psize = 1040,
6778 .digest = "\xb5\xb9\x08\xb3\x24\x3e\x03\xf0"
6779 "\xd6\x0b\x57\xbc\x0a\x6d\x89\x59",
6780 }, {
6781 .key = "\xf6\x34\x42\x71\x35\x52\x8b\x58"
6782 "\x02\x3a\x8e\x4a\x8d\x41\x13\xe9"
6783 "\x7f\xba\xb9\x55\x9d\x73\x4d\xf8"
6784 "\x3f\x5d\x73\x15\xff\xd3\x9e\x7f"
6785 "\x20\x2a\x6a\xa8\xd1\xf0\x8f\x12"
6786 "\x6b\x02\xd8\x6c\xde\xba\x80\x22"
6787 "\x19\x37\xc8\xd0\x4e\x89\x17\x7c"
6788 "\x7c\xdd\x88\xfd\x41\xc0\x04\xb7"
6789 "\x1d\xac\x19\xe3\x20\xc7\x16\xcf"
6790 "\x58\xee\x1d\x7a\x61\x69\xa9\x12"
6791 "\x4b\xef\x4f\xb6\x38\xdd\x78\xf8"
6792 "\x28\xee\x70\x08\xc7\x7c\xcc\xc8"
6793 "\x1e\x41\xf5\x80\x86\x70\xd0\xf0"
6794 "\xa3\x87\x6b\x0a\x00\xd2\x41\x28"
6795 "\x74\x26\xf1\x24\xf3\xd0\x28\x77"
6796 "\xd7\xcd\xf6\x2d\x61\xf4\xa2\x13"
6797 "\x77\xb4\x6f\xa0\xf4\xfb\xd6\xb5"
6798 "\x38\x9d\x5a\x0c\x51\xaf\xad\x63"
6799 "\x27\x67\x8c\x01\xea\x42\x1a\x66"
6800 "\xda\x16\x7c\x3c\x30\x0c\x66\x53"
6801 "\x1c\x88\xa4\x5c\xb2\xe3\x78\x0a"
6802 "\x13\x05\x6d\xe2\xaf\xb3\xe4\x75"
6803 "\x00\x99\x58\xee\x76\x09\x64\xaa"
6804 "\xbb\x2e\xb1\x81\xec\xd8\x0e\xd3"
6805 "\x0c\x33\x5d\xb7\x98\xef\x36\xb6"
6806 "\xd2\x65\x69\x41\x70\x12\xdc\x25"
6807 "\x41\x03\x99\x81\x41\x19\x62\x13"
6808 "\xd1\x0a\x29\xc5\x8c\xe0\x4c\xf3"
6809 "\xd6\xef\x4c\xf4\x1d\x83\x2e\x6d"
6810 "\x8e\x14\x87\xed\x80\xe0\xaa\xd3"
6811 "\x08\x04\x73\x1a\x84\x40\xf5\x64"
6812 "\xbd\x61\x32\x65\x40\x42\xfb\xb0"
6813 "\x40\xf6\x40\x8d\xc7\x7f\x14\xd0"
6814 "\x83\x99\xaa\x36\x7e\x60\xc6\xbf"
6815 "\x13\x8a\xf9\x21\xe4\x7e\x68\x87"
6816 "\xf3\x33\x86\xb4\xe0\x23\x7e\x0a"
6817 "\x21\xb1\xf5\xad\x67\x3c\x9c\x9d"
6818 "\x09\xab\xaf\x5f\xba\xe0\xd0\x82"
6819 "\x48\x22\x70\xb5\x6d\x53\xd6\x0e"
6820 "\xde\x64\x92\x41\xb0\xd3\xfb\xda"
6821 "\x21\xfe\xab\xea\x20\xc4\x03\x58"
6822 "\x18\x2e\x7d\x2f\x03\xa9\x47\x66"
6823 "\xdf\x7b\xa4\x6b\x34\x6b\x55\x9c"
6824 "\x4f\xd7\x9c\x47\xfb\xa9\x42\xec"
6825 "\x5a\x12\xfd\xfe\x76\xa0\x92\x9d"
6826 "\xfe\x1e\x16\xdd\x24\x2a\xe4\x27"
6827 "\xd5\xa9\xf2\x05\x4f\x83\xa2\xaf"
6828 "\xfe\xee\x83\x7a\xad\xde\xdf\x9a"
6829 "\x80\xd5\x81\x14\x93\x16\x7e\x46"
6830 "\x47\xc2\x14\xef\x49\x6e\xb9\xdb"
6831 "\x40\xe8\x06\x6f\x9c\x2a\xfd\x62"
6832 "\x06\x46\xfd\x15\x1d\x36\x61\x6f"
6833 "\x77\x77\x5e\x64\xce\x78\x1b\x85"
6834 "\xbf\x50\x9a\xfd\x67\xa6\x1a\x65"
6835 "\xad\x5b\x33\x30\xf1\x71\xaa\xd9"
6836 "\x23\x0d\x92\x24\x5f\xae\x57\xb0"
6837 "\x24\x37\x0a\x94\x12\xfb\xb5\xb1"
6838 "\xd3\xb8\x1d\x12\x29\xb0\x80\x24"
6839 "\x2d\x47\x9f\x96\x1f\x95\xf1\xb1"
6840 "\xda\x35\xf6\x29\xe0\xe1\x23\x96"
6841 "\xc7\xe8\x22\x9b\x7c\xac\xf9\x41"
6842 "\x39\x01\xe5\x73\x15\x5e\x99\xec"
6843 "\xb4\xc1\xf4\xe7\xa7\x97\x6a\xd5"
6844 "\x90\x9a\xa0\x1d\xf3\x5a\x8b\x5f"
6845 "\xdf\x01\x52\xa4\x93\x31\x97\xb0"
6846 "\x93\x24\xb5\xbc\xb2\x14\x24\x98"
6847 "\x4a\x8f\x19\x85\xc3\x2d\x0f\x74"
6848 "\x9d\x16\x13\x80\x5e\x59\x62\x62"
6849 "\x25\xe0\xd1\x2f\x64\xef\xba\xac"
6850 "\xcd\x09\x07\x15\x8a\xcf\x73\xb5"
6851 "\x8b\xc9\xd8\x24\xb0\x53\xd5\x6f"
6852 "\xe1\x2b\x77\xb1\xc5\xe4\xa7\x0e"
6853 "\x18\x45\xab\x36\x03\x59\xa8\xbd"
6854 "\x43\xf0\xd8\x2c\x1a\x69\x96\xbb"
6855 "\x13\xdf\x6c\x33\x77\xdf\x25\x34"
6856 "\x5b\xa5\x5b\x8c\xf9\x51\x05\xd4"
6857 "\x8b\x8b\x44\x87\x49\xfc\xa0\x8f"
6858 "\x45\x15\x5b\x40\x42\xc4\x09\x92"
6859 "\x98\x0c\x4d\xf4\x26\x37\x1b\x13"
6860 "\x76\x01\x93\x8d\x4f\xe6\xed\x18"
6861 "\xd0\x79\x7b\x3f\x44\x50\xcb\xee"
6862 "\xf7\x4a\xc9\x9e\xe0\x96\x74\xa7"
6863 "\xe6\x93\xb2\x53\xca\x55\xa8\xdc"
6864 "\x1e\x68\x07\x87\xb7\x2e\xc1\x08"
6865 "\xb2\xa4\x5b\xaf\xc6\xdb\x5c\x66"
6866 "\x41\x1c\x51\xd9\xb0\x07\x00\x0d"
6867 "\xf0\x4c\xdc\x93\xde\xa9\x1e\x8e"
6868 "\xd3\x22\x62\xd8\x8b\x88\x2c\xea"
6869 "\x5e\xf1\x6e\x14\x40\xc7\xbe\xaa"
6870 "\x42\x28\xd0\x26\x30\x78\x01\x9b"
6871 "\x83\x07\xbc\x94\xc7\x57\xa2\x9f"
6872 "\x03\x07\xff\x16\xff\x3c\x6e\x48"
6873 "\x0a\xd0\xdd\x4c\xf6\x64\x9a\xf1"
6874 "\xcd\x30\x12\x82\x2c\x38\xd3\x26"
6875 "\x83\xdb\xab\x3e\xc6\xf8\xe6\xfa"
6876 "\x77\x0a\x78\x82\x75\xf8\x63\x51"
6877 "\x59\xd0\x8d\x24\x9f\x25\xe6\xa3"
6878 "\x4c\xbc\x34\xfc\xe3\x10\xc7\x62"
6879 "\xd4\x23\xc8\x3d\xa7\xc6\xa6\x0a"
6880 "\x4f\x7e\x29\x9d\x6d\xbe\xb5\xf1"
6881 "\xdf\xa4\x53\xfa\xc0\x23\x0f\x37"
6882 "\x84\x68\xd0\xb5\xc8\xc6\xae\xf8"
6883 "\xb7\x8d\xb3\x16\xfe\x8f\x87\xad"
6884 "\xd0\xc1\x08\xee\x12\x1c\x9b\x1d"
6885 "\x90\xf8\xd1\x63\xa4\x92\x3c\xf0"
6886 "\xc7\x34\xd8\xf1\x14\xed\xa3\xbc"
6887 "\x17\x7e\xd4\x62\x42\x54\x57\x2c"
6888 "\x3e\x7a\x35\x35\x17\x0f\x0b\x7f"
6889 "\x81\xa1\x3f\xd0\xcd\xc8\x3b\x96"
6890 "\xe9\xe0\x4a\x04\xe1\xb6\x3c\xa1"
6891 "\xd6\xca\xc4\xbd\xb6\xb5\x95\x34"
6892 "\x12\x9d\xc5\x96\xf2\xdf\xba\x54"
6893 "\x76\xd1\xb2\x6b\x3b\x39\xe0\xb9"
6894 "\x18\x62\xfb\xf7\xfc\x12\xf1\x5f"
6895 "\x7e\xc7\xe3\x59\x4c\xa6\xc2\x3d"
6896 "\x40\x15\xf9\xa3\x95\x64\x4c\x74"
6897 "\x8b\x73\x77\x33\x07\xa7\x04\x1d"
6898 "\x33\x5a\x7e\x8f\xbd\x86\x01\x4f"
6899 "\x3e\xb9\x27\x6f\xe2\x41\xf7\x09"
6900 "\x67\xfd\x29\x28\xc5\xe4\xf6\x18"
6901 "\x4c\x1b\x49\xb2\x9c\x5b\xf6\x81"
6902 "\x4f\xbb\x5c\xcc\x0b\xdf\x84\x23"
6903 "\x58\xd6\x28\x34\x93\x3a\x25\x97"
6904 "\xdf\xb2\xc3\x9e\x97\x38\x0b\x7d"
6905 "\x10\xb3\x54\x35\x23\x8c\x64\xee"
6906 "\xf0\xd8\x66\xff\x8b\x22\xd2\x5b"
6907 "\x05\x16\x3c\x89\xf7\xb1\x75\xaf"
6908 "\xc0\xae\x6a\x4f\x3f\xaf\x9a\xf4"
6909 "\xf4\x9a\x24\xd9\x80\x82\xc0\x12"
6910 "\xde\x96\xd1\xbe\x15\x0b\x8d\x6a"
6911 "\xd7\x12\xe4\x85\x9f\x83\xc9\xc3"
6912 "\xff\x0b\xb5\xaf\x3b\xd8\x6d\x67"
6913 "\x81\x45\xe6\xac\xec\xc1\x7b\x16"
6914 "\x18\x0a\xce\x4b\xc0\x2e\x76\xbc"
6915 "\x1b\xfa\xb4\x34\xb8\xfc\x3e\xc8"
6916 "\x5d\x90\x71\x6d\x7a\x79\xef\x06",
6917 .ksize = 1088,
6918 .plaintext = "\xaa\x5d\x54\xcb\xea\x1e\x46\x0f"
6919 "\x45\x87\x70\x51\x8a\x66\x7a\x33"
6920 "\xb4\x18\xff\xa9\x82\xf9\x45\x4b"
6921 "\x93\xae\x2e\x7f\xab\x98\xfe\xbf"
6922 "\x01\xee\xe5\xa0\x37\x8f\x57\xa6"
6923 "\xb0\x76\x0d\xa4\xd6\x28\x2b\x5d"
6924 "\xe1\x03\xd6\x1c\x6f\x34\x0d\xe7"
6925 "\x61\x2d\x2e\xe5\xae\x5d\x47\xc7"
6926 "\x80\x4b\x18\x8f\xa8\x99\xbc\x28"
6927 "\xed\x1d\x9d\x86\x7d\xd7\x41\xd1"
6928 "\xe0\x2b\xe1\x8c\x93\x2a\xa7\x80"
6929 "\xe1\x07\xa0\xa9\x9f\x8c\x8d\x1a"
6930 "\x55\xfc\x6b\x24\x7a\xbd\x3e\x51"
6931 "\x68\x4b\x26\x59\xc8\xa7\x16\xd9"
6932 "\xb9\x61\x13\xde\x8b\x63\x1c\xf6"
6933 "\x60\x01\xfb\x08\xb3\x5b\x0a\xbf"
6934 "\x34\x73\xda\x87\x87\x3d\x6f\x97"
6935 "\x4a\x0c\xa3\x58\x20\xa2\xc0\x81"
6936 "\x5b\x8c\xef\xa9\xc2\x01\x1e\x64"
6937 "\x83\x8c\xbc\x03\xb6\xd0\x29\x9f"
6938 "\x54\xe2\xce\x8b\xc2\x07\x85\x78"
6939 "\x25\x38\x96\x4c\xb4\xbe\x17\x4a"
6940 "\x65\xa6\xfa\x52\x9d\x66\x9d\x65"
6941 "\x4a\xd1\x01\x01\xf0\xcb\x13\xcc"
6942 "\xa5\x82\xf3\xf2\x66\xcd\x3f\x9d"
6943 "\xd1\xaa\xe4\x67\xea\xf2\xad\x88"
6944 "\x56\x76\xa7\x9b\x59\x3c\xb1\x5d"
6945 "\x78\xfd\x69\x79\x74\x78\x43\x26"
6946 "\x7b\xde\x3f\xf1\xf5\x4e\x14\xd9"
6947 "\x15\xf5\x75\xb5\x2e\x19\xf3\x0c"
6948 "\x48\x72\xd6\x71\x6d\x03\x6e\xaa"
6949 "\xa7\x08\xf9\xaa\x70\xa3\x0f\x4d"
6950 "\x12\x8a\xdd\xe3\x39\x73\x7e\xa7"
6951 "\xea\x1f\x6d\x06\x26\x2a\xf2\xc5"
6952 "\x52\xb4\xbf\xfd\x52\x0c\x06\x60"
6953 "\x90\xd1\xb2\x7b\x56\xae\xac\x58"
6954 "\x5a\x6b\x50\x2a\xf5\xe0\x30\x3c"
6955 "\x2a\x98\x0f\x1b\x5b\x0a\x84\x6c"
6956 "\x31\xae\x92\xe2\xd4\xbb\x7f\x59"
6957 "\x26\x10\xb9\x89\x37\x68\x26\xbf"
6958 "\x41\xc8\x49\xc4\x70\x35\x7d\xff"
6959 "\x2d\x7f\xf6\x8a\x93\x68\x8c\x78"
6960 "\x0d\x53\xce\x7d\xff\x7d\xfb\xae"
6961 "\x13\x1b\x75\xc4\x78\xd7\x71\xd8"
6962 "\xea\xd3\xf4\x9d\x95\x64\x8e\xb4"
6963 "\xde\xb8\xe4\xa6\x68\xc8\xae\x73"
6964 "\x58\xaf\xa8\xb0\x5a\x20\xde\x87"
6965 "\x43\xb9\x0f\xe3\xad\x41\x4b\xd5"
6966 "\xb7\xad\x16\x00\xa6\xff\xf6\x74"
6967 "\xbf\x8c\x9f\xb3\x58\x1b\xb6\x55"
6968 "\xa9\x90\x56\x28\xf0\xb5\x13\x4e"
6969 "\x9e\xf7\x25\x86\xe0\x07\x7b\x98"
6970 "\xd8\x60\x5d\x38\x95\x3c\xe4\x22"
6971 "\x16\x2f\xb2\xa2\xaf\xe8\x90\x17"
6972 "\xec\x11\x83\x1a\xf4\xa9\x26\xda"
6973 "\x39\x72\xf5\x94\x61\x05\x51\xec"
6974 "\xa8\x30\x8b\x2c\x13\xd0\x72\xac"
6975 "\xb9\xd2\xa0\x4c\x4b\x78\xe8\x6e"
6976 "\x04\x85\xe9\x04\x49\x82\x91\xff"
6977 "\x89\xe5\xab\x4c\xaa\x37\x03\x12"
6978 "\xca\x8b\x74\x10\xfd\x9e\xd9\x7b"
6979 "\xcb\xdb\x82\x6e\xce\x2e\x33\x39"
6980 "\xce\xd2\x84\x6e\x34\x71\x51\x6e"
6981 "\x0d\xd6\x01\x87\xc7\xfa\x0a\xd3"
6982 "\xad\x36\xf3\x4c\x9f\x96\x5e\x62"
6983 "\x62\x54\xc3\x03\x78\xd6\xab\xdd"
6984 "\x89\x73\x55\x25\x30\xf8\xa7\xe6"
6985 "\x4f\x11\x0c\x7c\x0a\xa1\x2b\x7b"
6986 "\x3d\x0d\xde\x81\xd4\x9d\x0b\xae"
6987 "\xdf\x00\xf9\x4c\xb6\x90\x8e\x16"
6988 "\xcb\x11\xc8\xd1\x2e\x73\x13\x75"
6989 "\x75\x3e\xaa\xf5\xee\x02\xb3\x18"
6990 "\xa6\x2d\xf5\x3b\x51\xd1\x1f\x47"
6991 "\x6b\x2c\xdb\xc4\x10\xe0\xc8\xba"
6992 "\x9d\xac\xb1\x9d\x75\xd5\x41\x0e"
6993 "\x7e\xbe\x18\x5b\xa4\x1f\xf8\x22"
6994 "\x4c\xc1\x68\xda\x6d\x51\x34\x6c"
6995 "\x19\x59\xec\xb5\xb1\xec\xa7\x03"
6996 "\xca\x54\x99\x63\x05\x6c\xb1\xac"
6997 "\x9c\x31\xd6\xdb\xba\x7b\x14\x12"
6998 "\x7a\xc3\x2f\xbf\x8d\xdc\x37\x46"
6999 "\xdb\xd2\xbc\xd4\x2f\xab\x30\xd5"
7000 "\xed\x34\x99\x8e\x83\x3e\xbe\x4c"
7001 "\x86\x79\x58\xe0\x33\x8d\x9a\xb8"
7002 "\xa9\xa6\x90\x46\xa2\x02\xb8\xdd"
7003 "\xf5\xf9\x1a\x5c\x8c\x01\xaa\x6e"
7004 "\xb4\x22\x12\xf5\x0c\x1b\x9b\x7a"
7005 "\xc3\x80\xf3\x06\x00\x5f\x30\xd5"
7006 "\x06\xdb\x7d\x82\xc2\xd4\x0b\x4c"
7007 "\x5f\xe9\xc5\xf5\xdf\x97\x12\xbf"
7008 "\x56\xaf\x9b\x69\xcd\xee\x30\xb4"
7009 "\xa8\x71\xff\x3e\x7d\x73\x7a\xb4"
7010 "\x0d\xa5\x46\x7a\xf3\xf4\x15\x87"
7011 "\x5d\x93\x2b\x8c\x37\x64\xb5\xdd"
7012 "\x48\xd1\xe5\x8c\xae\xd4\xf1\x76"
7013 "\xda\xf4\xba\x9e\x25\x0e\xad\xa3"
7014 "\x0d\x08\x7c\xa8\x82\x16\x8d\x90"
7015 "\x56\x40\x16\x84\xe7\x22\x53\x3a"
7016 "\x58\xbc\xb9\x8f\x33\xc8\xc2\x84"
7017 "\x22\xe6\x0d\xe7\xb3\xdc\x5d\xdf"
7018 "\xd7\x2a\x36\xe4\x16\x06\x07\xd2"
7019 "\x97\x60\xb2\xf5\x5e\x14\xc9\xfd"
7020 "\x8b\x05\xd1\xce\xee\x9a\x65\x99"
7021 "\xb7\xae\x19\xb7\xc8\xbc\xd5\xa2"
7022 "\x7b\x95\xe1\xcc\xba\x0d\xdc\x8a"
7023 "\x1d\x59\x52\x50\xaa\x16\x02\x82"
7024 "\xdf\x61\x33\x2e\x44\xce\x49\xc7"
7025 "\xe5\xc6\x2e\x76\xcf\x80\x52\xf0"
7026 "\x3d\x17\x34\x47\x3f\xd3\x80\x48"
7027 "\xa2\xba\xd5\xc7\x7b\x02\x28\xdb"
7028 "\xac\x44\xc7\x6e\x05\x5c\xc2\x79"
7029 "\xb3\x7d\x6a\x47\x77\x66\xf1\x38"
7030 "\xf0\xf5\x4f\x27\x1a\x31\xca\x6c"
7031 "\x72\x95\x92\x8e\x3f\xb0\xec\x1d"
7032 "\xc7\x2a\xff\x73\xee\xdf\x55\x80"
7033 "\x93\xd2\xbd\x34\xd3\x9f\x00\x51"
7034 "\xfb\x2e\x41\xba\x6c\x5a\x7c\x17"
7035 "\x7f\xe6\x70\xac\x8d\x39\x3f\x77"
7036 "\xe2\x23\xac\x8f\x72\x4e\xe4\x53"
7037 "\xcc\xf1\x1b\xf1\x35\xfe\x52\xa4"
7038 "\xd6\xb8\x40\x6b\xc1\xfd\xa0\xa1"
7039 "\xf5\x46\x65\xc2\x50\xbb\x43\xe2"
7040 "\xd1\x43\x28\x34\x74\xf5\x87\xa0"
7041 "\xf2\x5e\x27\x3b\x59\x2b\x3e\x49"
7042 "\xdf\x46\xee\xaf\x71\xd7\x32\x36"
7043 "\xc7\x14\x0b\x58\x6e\x3e\x2d\x41"
7044 "\xfa\x75\x66\x3a\x54\xe0\xb2\xb9"
7045 "\xaf\xdd\x04\x80\x15\x19\x3f\x6f"
7046 "\xce\x12\xb4\xd8\xe8\x89\x3c\x05"
7047 "\x30\xeb\xf3\x3d\xcd\x27\xec\xdc"
7048 "\x56\x70\x12\xcf\x78\x2b\x77\xbf"
7049 "\x22\xf0\x1b\x17\x9c\xcc\xd6\x1b"
7050 "\x2d\x3d\xa0\x3b\xd8\xc9\x70\xa4"
7051 "\x7a\x3e\x07\xb9\x06\xc3\xfa\xb0"
7052 "\x33\xee\xc1\xd8\xf6\xe0\xf0\xb2"
7053 "\x61\x12\x69\xb0\x5f\x28\x99\xda"
7054 "\xc3\x61\x48\xfa\x07\x16\x03\xc4"
7055 "\xa8\xe1\x3c\xe8\x0e\x64\x15\x30"
7056 "\xc1\x9d\x84\x2f\x73\x98\x0e\x3a"
7057 "\xf2\x86\x21\xa4\x9e\x1d\xb5\x86"
7058 "\x16\xdb\x2b\x9a\x06\x64\x8e\x79"
7059 "\x8d\x76\x3e\xc3\xc2\x64\x44\xe3"
7060 "\xda\xbc\x1a\x52\xd7\x61\x03\x65"
7061 "\x54\x32\x77\x01\xed\x9d\x8a\x43"
7062 "\x25\x24\xe3\xc1\xbe\xb8\x2f\xcb"
7063 "\x89\x14\x64\xab\xf6\xa0\x6e\x02"
7064 "\x57\xe4\x7d\xa9\x4e\x9a\x03\x36"
7065 "\xad\xf1\xb1\xfc\x0b\xe6\x79\x51"
7066 "\x9f\x81\x77\xc4\x14\x78\x9d\xbf"
7067 "\xb6\xd6\xa3\x8c\xba\x0b\x26\xe7"
7068 "\xc8\xb9\x5c\xcc\xe1\x5f\xd5\xc6"
7069 "\xc4\xca\xc2\xa3\x45\xba\x94\x13"
7070 "\xb2\x8f\xc3\x54\x01\x09\xe7\x8b"
7071 "\xda\x2a\x0a\x11\x02\x43\xcb\x57"
7072 "\xc9\xcc\xb5\x5c\xab\xc4\xec\x54"
7073 "\x00\x06\x34\xe1\x6e\x03\x89\x7c"
7074 "\xc6\xfb\x6a\xc7\x60\x43\xd6\xc5"
7075 "\xb5\x68\x72\x89\x8f\x42\xc3\x74"
7076 "\xbd\x25\xaa\x9f\x67\xb5\xdf\x26"
7077 "\x20\xe8\xb7\x01\x3c\xe4\x77\xce"
7078 "\xc4\x65\xa7\x23\x79\xea\x33\xc7"
7079 "\x82\x14\x5c\x82\xf2\x4e\x3d\xf6"
7080 "\xc6\x4a\x0e\x29\xbb\xec\x44\xcd"
7081 "\x2f\xd1\x4f\x21\x71\xa9\xce\x0f"
7082 "\x5c\xf2\x72\x5c\x08\x2e\x21\xd2"
7083 "\xc3\x29\x13\xd8\xac\xc3\xda\x13"
7084 "\x1a\x9d\xa7\x71\x1d\x27\x1d\x27"
7085 "\x1d\xea\xab\x44\x79\xad\xe5\xeb"
7086 "\xef\x1f\x22\x0a\x44\x4f\xcb\x87"
7087 "\xa7\x58\x71\x0e\x66\xf8\x60\xbf"
7088 "\x60\x74\x4a\xb4\xec\x2e\xfe\xd3"
7089 "\xf5\xb8\xfe\x46\x08\x50\x99\x6c"
7090 "\x66\xa5\xa8\x34\x44\xb5\xe5\xf0"
7091 "\xdd\x2c\x67\x4e\x35\x96\x8e\x67"
7092 "\x48\x3f\x5f\x37\x44\x60\x51\x2e"
7093 "\x14\x91\x5e\x57\xc3\x0e\x79\x77"
7094 "\x2f\x03\xf4\xe2\x1c\x72\xbf\x85"
7095 "\x5d\xd3\x17\xdf\x6c\xc5\x70\x24"
7096 "\x42\xdf\x51\x4e\x2a\xb2\xd2\x5b"
7097 "\x9e\x69\x83\x41\x11\xfe\x73\x22"
7098 "\xde\x8a\x9e\xd8\x8a\xfb\x20\x38"
7099 "\xd8\x47\x6f\xd5\xed\x8f\x41\xfd"
7100 "\x13\x7a\x18\x03\x7d\x0f\xcd\x7d"
7101 "\xa6\x7d\x31\x9e\xf1\x8f\x30\xa3"
7102 "\x8b\x4c\x24\xb7\xf5\x48\xd7\xd9"
7103 "\x12\xe7\x84\x97\x5c\x31\x6d\xfb"
7104 "\xdf\xf3\xd3\xd1\xd5\x0c\x30\x06"
7105 "\x01\x6a\xbc\x6c\x78\x7b\xa6\x50"
7106 "\xfa\x0f\x3c\x42\x2d\xa5\xa3\x3b"
7107 "\xcf\x62\x50\xff\x71\x6d\xe7\xda"
7108 "\x27\xab\xc6\x67\x16\x65\x68\x64"
7109 "\xc7\xd5\x5f\x81\xa9\xf6\x65\xb3"
7110 "\x5e\x43\x91\x16\xcd\x3d\x55\x37"
7111 "\x55\xb3\xf0\x28\xc5\x54\x19\xc0"
7112 "\xe0\xd6\x2a\x61\xd4\xc8\x72\x51"
7113 "\xe9\xa1\x7b\x48\x21\xad\x44\x09"
7114 "\xe4\x01\x61\x3c\x8a\x5b\xf9\xa1"
7115 "\x6e\x1b\xdf\xc0\x04\xa8\x8b\xf2"
7116 "\x21\xbe\x34\x7b\xfc\xa1\xcd\xc9"
7117 "\xa9\x96\xf4\xa4\x4c\xf7\x4e\x8f"
7118 "\x84\xcc\xd3\xa8\x92\x77\x8f\x36"
7119 "\xe2\x2e\x8c\x33\xe8\x84\xa6\x0c"
7120 "\x6c\x8a\xda\x14\x32\xc2\x96\xff"
7121 "\xc6\x4a\xc2\x9b\x30\x7f\xd1\x29"
7122 "\xc0\xd5\x78\x41\x00\x80\x80\x03"
7123 "\x2a\xb1\xde\x26\x03\x48\x49\xee"
7124 "\x57\x14\x76\x51\x3c\x36\x5d\x0a"
7125 "\x5c\x9f\xe8\xd8\x53\xdb\x4f\xd4"
7126 "\x38\xbf\x66\xc9\x75\x12\x18\x75"
7127 "\x34\x2d\x93\x22\x96\x51\x24\x6e"
7128 "\x4e\xd9\x30\xea\x67\xff\x92\x1c"
7129 "\x16\x26\xe9\xb5\x33\xab\x8c\x22"
7130 "\x47\xdb\xa0\x2c\x08\xf0\x12\x69"
7131 "\x7e\x93\x52\xda\xa5\xe5\xca\xc1"
7132 "\x0f\x55\x2a\xbd\x09\x30\x88\x1b"
7133 "\x9c\xc6\x9f\xe6\xdb\xa6\x92\xeb"
7134 "\xf4\xbd\x5c\xc4\xdb\xc6\x71\x09"
7135 "\xab\x5e\x48\x0c\xed\x6f\xda\x8e"
7136 "\x8d\x0c\x98\x71\x7d\x10\xd0\x9c"
7137 "\x20\x9b\x79\x53\x26\x5d\xb9\x85"
7138 "\x8a\x31\xb8\xc5\x1c\x97\xde\x88"
7139 "\x61\x55\x7f\x7c\x21\x06\xea\xc4"
7140 "\x5f\xaf\xf2\xf0\xd5\x5e\x7d\xb4"
7141 "\x6e\xcf\xe9\xae\x1b\x0e\x11\x80"
7142 "\xc1\x9a\x74\x7e\x52\x6f\xa0\xb7"
7143 "\x24\xcd\x8d\x0a\x11\x40\x63\x72"
7144 "\xfa\xe2\xc5\xb3\x94\xef\x29\xa2"
7145 "\x1a\x23\x43\x04\x37\x55\x0d\xe9"
7146 "\x83\xb2\x29\x51\x49\x64\xa0\xbd"
7147 "\xde\x73\xfd\xa5\x7c\x95\x70\x62"
7148 "\x58\xdc\xe2\xd0\xbf\x98\xf5\x8a"
7149 "\x6a\xfd\xce\xa8\x0e\x42\x2a\xeb"
7150 "\xd2\xff\x83\x27\x53\x5c\xa0\x6e"
7151 "\x93\xef\xe2\xb9\x5d\x35\xd6\x98"
7152 "\xf6\x71\x19\x7a\x54\xa1\xa7\xe8"
7153 "\x09\xfe\xf6\x9e\xc7\xbd\x3e\x29"
7154 "\xbd\x6b\x17\xf4\xe7\x3e\x10\x5c"
7155 "\xc1\xd2\x59\x4f\x4b\x12\x1a\x5b"
7156 "\x50\x80\x59\xb9\xec\x13\x66\xa8"
7157 "\xd2\x31\x7b\x6a\x61\x22\xdd\x7d"
7158 "\x61\xee\x87\x16\x46\x9f\xf9\xc7"
7159 "\x41\xee\x74\xf8\xd0\x96\x2c\x76"
7160 "\x2a\xac\x7d\x6e\x9f\x0e\x7f\x95"
7161 "\xfe\x50\x16\xb2\x23\xca\x62\xd5"
7162 "\x68\xcf\x07\x3f\x3f\x97\x85\x2a"
7163 "\x0c\x25\x45\xba\xdb\x32\xcb\x83"
7164 "\x8c\x4f\xe0\x6d\x9a\x99\xf9\xc9"
7165 "\xda\xd4\x19\x31\xc1\x7c\x6d\xd9"
7166 "\x9c\x56\xd3\xec\xc1\x81\x4c\xed"
7167 "\x28\x9d\x87\xeb\x19\xd7\x1a\x4f"
7168 "\x04\x6a\xcb\x1f\xcf\x1f\xa2\x16"
7169 "\xfc\x2a\x0d\xa1\x14\x2d\xfa\xc5"
7170 "\x5a\xd2\xc5\xf9\x19\x7c\x20\x1f"
7171 "\x2d\x10\xc0\x66\x7c\xd9\x2d\xe5"
7172 "\x88\x70\x59\xa7\x85\xd5\x2e\x7c"
7173 "\x5c\xe3\xb7\x12\xd6\x97\x3f\x29",
7174 .psize = 2048,
7175 .digest = "\x37\x90\x92\xc2\xeb\x01\x87\xd9"
7176 "\x95\xc7\x91\xc3\x17\x8b\x38\x52",
7177 }
7178};
7179
7180
da7f033d
HX
7181/*
7182 * DES test vectors.
7183 */
92a4c9fe 7184static const struct cipher_testvec des_tv_template[] = {
da7f033d
HX
7185 { /* From Applied Cryptography */
7186 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7187 .klen = 8,
92a4c9fe
EB
7188 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7189 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7190 .len = 8,
da7f033d
HX
7191 }, { /* Same key, different plaintext block */
7192 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7193 .klen = 8,
92a4c9fe
EB
7194 .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
7195 .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
7196 .len = 8,
da7f033d
HX
7197 }, { /* Sbox test from NBS */
7198 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
7199 .klen = 8,
92a4c9fe
EB
7200 .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
7201 .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
7202 .len = 8,
da7f033d
HX
7203 }, { /* Three blocks */
7204 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7205 .klen = 8,
92a4c9fe 7206 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
da7f033d
HX
7207 "\x22\x33\x44\x55\x66\x77\x88\x99"
7208 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
92a4c9fe 7209 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
da7f033d
HX
7210 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
7211 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
92a4c9fe 7212 .len = 24,
da7f033d 7213 }, { /* Weak key */
5283a8ee 7214 .setkey_error = -EINVAL,
da7f033d
HX
7215 .wk = 1,
7216 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
7217 .klen = 8,
92a4c9fe
EB
7218 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
7219 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
7220 .len = 8,
da7f033d
HX
7221 }, { /* Two blocks -- for testing encryption across pages */
7222 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7223 .klen = 8,
92a4c9fe 7224 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
da7f033d 7225 "\x22\x33\x44\x55\x66\x77\x88\x99",
92a4c9fe 7226 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
da7f033d 7227 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
92a4c9fe 7228 .len = 16,
097012e8
EB
7229 }, {
7230 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7231 .klen = 8,
92a4c9fe 7232 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
097012e8 7233 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
92a4c9fe 7234 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
097012e8 7235 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
92a4c9fe 7236 .len = 16,
da7f033d
HX
7237 }, { /* Four blocks -- for testing encryption with chunking */
7238 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7239 .klen = 8,
92a4c9fe 7240 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
da7f033d
HX
7241 "\x22\x33\x44\x55\x66\x77\x88\x99"
7242 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
7243 "\x22\x33\x44\x55\x66\x77\x88\x99",
92a4c9fe 7244 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
da7f033d
HX
7245 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
7246 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
7247 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
92a4c9fe 7248 .len = 32,
8163fc30
JK
7249 }, { /* Generated with Crypto++ */
7250 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7251 .klen = 8,
92a4c9fe 7252 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8163fc30
JK
7253 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7254 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7255 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7256 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7257 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7258 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7259 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7260 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7261 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7262 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7263 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7264 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7265 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7266 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7267 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7268 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7269 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7270 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7271 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7272 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7273 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7274 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7275 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7276 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7277 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7278 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7279 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7280 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7281 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7282 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
92a4c9fe 7283 .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
8163fc30
JK
7284 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
7285 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
7286 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
7287 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
7288 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
7289 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
7290 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
7291 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
7292 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
7293 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
7294 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
7295 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
7296 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
7297 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
7298 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
7299 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
7300 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
7301 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
7302 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
7303 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
7304 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
7305 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
7306 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
7307 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
7308 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
7309 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
7310 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
7311 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
7312 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
7313 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
92a4c9fe 7314 .len = 248,
da7f033d
HX
7315 },
7316};
7317
92a4c9fe 7318static const struct cipher_testvec des_cbc_tv_template[] = {
da7f033d
HX
7319 { /* From OpenSSL */
7320 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7321 .klen = 8,
7322 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
cdc69469 7323 .iv_out = "\x46\x8e\x91\x15\x78\x88\xba\x68",
92a4c9fe 7324 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
da7f033d
HX
7325 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7326 "\x68\x65\x20\x74\x69\x6d\x65\x20",
92a4c9fe 7327 .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
da7f033d
HX
7328 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
7329 "\x46\x8e\x91\x15\x78\x88\xba\x68",
92a4c9fe 7330 .len = 24,
da7f033d
HX
7331 }, { /* FIPS Pub 81 */
7332 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7333 .klen = 8,
7334 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
cdc69469 7335 .iv_out = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
92a4c9fe
EB
7336 .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
7337 .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
7338 .len = 8,
da7f033d
HX
7339 }, {
7340 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7341 .klen = 8,
7342 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
cdc69469 7343 .iv_out = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
92a4c9fe
EB
7344 .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
7345 .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
7346 .len = 8,
da7f033d
HX
7347 }, {
7348 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
7349 .klen = 8,
7350 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
cdc69469 7351 .iv_out = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
92a4c9fe
EB
7352 .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
7353 .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
7354 .len = 8,
8163fc30
JK
7355 }, { /* Generated with Crypto++ */
7356 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7357 .klen = 8,
7358 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
cdc69469 7359 .iv_out = "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
92a4c9fe 7360 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8163fc30
JK
7361 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7362 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7363 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7364 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7365 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7366 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7367 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7368 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7369 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7370 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7371 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7372 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7373 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7374 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7375 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7376 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7377 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7378 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7379 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7380 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7381 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7382 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7383 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7384 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7385 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7386 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7387 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7388 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7389 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7390 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
92a4c9fe 7391 .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
8163fc30
JK
7392 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
7393 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
7394 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
7395 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
7396 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
7397 "\x81\x72\x74\xDE\x30\x19\x69\x49"
7398 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
7399 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
7400 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
7401 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
7402 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
7403 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
7404 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
7405 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
7406 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
7407 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
7408 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
7409 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
7410 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
7411 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
7412 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
7413 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
7414 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
7415 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
7416 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
7417 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
7418 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
7419 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
7420 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
7421 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
92a4c9fe 7422 .len = 248,
8163fc30
JK
7423 },
7424};
7425
92a4c9fe 7426static const struct cipher_testvec des_ctr_tv_template[] = {
8163fc30
JK
7427 { /* Generated with Crypto++ */
7428 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7429 .klen = 8,
7430 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0 7431 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x1C",
92a4c9fe 7432 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8163fc30
JK
7433 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7434 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7435 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7436 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7437 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7438 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7439 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7440 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7441 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7442 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7443 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7444 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7445 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7446 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7447 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7448 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7449 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7450 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7451 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7452 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7453 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7454 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7455 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7456 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7457 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7458 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7459 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7460 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7461 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7462 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
92a4c9fe 7463 .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
8163fc30
JK
7464 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
7465 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
7466 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
7467 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
7468 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
7469 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
7470 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
7471 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
7472 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
7473 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
7474 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
7475 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
7476 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
7477 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
7478 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
7479 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
7480 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
7481 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
7482 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
7483 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
7484 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
7485 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
7486 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
7487 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
7488 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
7489 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
7490 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
7491 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
7492 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
7493 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
92a4c9fe 7494 .len = 248,
8163fc30
JK
7495 }, { /* Generated with Crypto++ */
7496 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
7497 .klen = 8,
7498 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
e674dbc0 7499 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x66",
92a4c9fe 7500 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
8163fc30
JK
7501 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
7502 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
7503 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
7504 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
7505 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
7506 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
7507 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
7508 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
7509 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
7510 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
7511 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
7512 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
7513 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
7514 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
7515 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
7516 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
7517 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
7518 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
7519 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
7520 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
7521 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
7522 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
7523 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
7524 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
7525 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
7526 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
7527 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
7528 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
7529 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
7530 "\xC6\x2F\xBB\x24\x8D\x19\x82",
92a4c9fe 7531 .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
8163fc30
JK
7532 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
7533 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
7534 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
7535 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
7536 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
7537 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
7538 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
7539 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
7540 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
7541 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
7542 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
7543 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
7544 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
7545 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
7546 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
7547 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
7548 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
7549 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
7550 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
7551 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
7552 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
7553 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
7554 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
7555 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
7556 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
7557 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
7558 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
7559 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
7560 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
7561 "\x91\x45\x05\x3E\x58\xBF\x32",
92a4c9fe 7562 .len = 247,
8163fc30
JK
7563 },
7564};
7565
92a4c9fe 7566static const struct cipher_testvec des3_ede_tv_template[] = {
da7f033d
HX
7567 { /* These are from openssl */
7568 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
7569 "\x55\x55\x55\x55\x55\x55\x55\x55"
7570 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7571 .klen = 24,
92a4c9fe
EB
7572 .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
7573 .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
7574 .len = 8,
da7f033d
HX
7575 }, {
7576 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
7577 "\x86\x02\x87\x66\x59\x08\x21\x98"
7578 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
7579 .klen = 24,
92a4c9fe
EB
7580 .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
7581 .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
7582 .len = 8,
da7f033d
HX
7583 }, {
7584 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
7585 "\x91\x07\xd0\x15\x89\x19\x01\x01"
7586 "\x19\x07\x92\x10\x98\x1a\x01\x01",
7587 .klen = 24,
92a4c9fe
EB
7588 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
7589 .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
7590 .len = 8,
e080b17a
JK
7591 }, { /* Generated with Crypto++ */
7592 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
7593 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
7594 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
7595 .klen = 24,
92a4c9fe 7596 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
e080b17a
JK
7597 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
7598 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
7599 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
7600 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
7601 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
7602 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
7603 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
7604 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
7605 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
7606 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
7607 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
7608 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
7609 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
7610 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
7611 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
7612 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
7613 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
7614 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
7615 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
7616 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
7617 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
7618 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
7619 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
7620 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
7621 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
7622 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
7623 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
7624 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
7625 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
7626 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
7627 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
7628 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
7629 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
7630 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
7631 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
7632 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
7633 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
7634 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
7635 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
7636 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
7637 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
7638 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
7639 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
7640 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
7641 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
7642 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
7643 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
7644 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
7645 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
7646 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
7647 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
7648 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
7649 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
7650 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
7651 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
7652 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
7653 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
7654 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
7655 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
7656 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
7657 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
92a4c9fe 7658 .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
e080b17a
JK
7659 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
7660 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
7661 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
7662 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
7663 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
7664 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
7665 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
7666 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
7667 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
7668 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
7669 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
7670 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
7671 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
7672 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
7673 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
7674 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
7675 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
7676 "\x45\x86\x50\x01\x70\x35\x99\x92"
7677 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
7678 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
7679 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
7680 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
7681 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
7682 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
7683 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
7684 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
7685 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
7686 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
7687 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
7688 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
7689 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
7690 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
7691 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
7692 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
7693 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
7694 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
7695 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
7696 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
7697 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
7698 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
7699 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
7700 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
7701 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
7702 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
7703 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
7704 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
7705 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
7706 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
7707 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
7708 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
7709 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
7710 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
7711 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
7712 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
7713 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
7714 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
7715 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
7716 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
7717 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
7718 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
7719 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
92a4c9fe 7720 .len = 496,
da7f033d
HX
7721 },
7722};
7723
92a4c9fe 7724static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
da7f033d
HX
7725 { /* Generated from openssl */
7726 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
7727 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
7728 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
7729 .klen = 24,
7730 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
cdc69469 7731 .iv_out = "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
92a4c9fe 7732 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
da7f033d
HX
7733 "\x53\x20\x63\x65\x65\x72\x73\x74"
7734 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
7735 "\x20\x79\x65\x53\x72\x63\x74\x65"
7736 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
7737 "\x79\x6e\x53\x20\x63\x65\x65\x72"
7738 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
7739 "\x6e\x61\x20\x79\x65\x53\x72\x63"
7740 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
7741 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
7742 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
7743 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
7744 "\x72\x63\x74\x65\x20\x73\x6f\x54"
7745 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
7746 "\x63\x65\x65\x72\x73\x74\x54\x20"
7747 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
92a4c9fe 7748 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
da7f033d
HX
7749 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
7750 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
7751 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
7752 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
7753 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
7754 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
7755 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
7756 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
7757 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
7758 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
7759 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
7760 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
7761 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
7762 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
7763 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
92a4c9fe 7764 .len = 128,
e080b17a
JK
7765 }, { /* Generated with Crypto++ */
7766 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
7767 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
7768 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
7769 .klen = 24,
7770 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
7771 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
cdc69469 7772 .iv_out = "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
92a4c9fe 7773 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
e080b17a
JK
7774 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
7775 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
7776 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
7777 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
7778 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
7779 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
7780 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
7781 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
7782 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
7783 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
7784 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
7785 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
7786 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
7787 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
7788 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
7789 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
7790 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
7791 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
7792 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
7793 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
7794 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
7795 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
7796 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
7797 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
7798 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
7799 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
7800 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
7801 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
7802 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
7803 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
7804 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
7805 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
7806 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
7807 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
7808 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
7809 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
7810 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
7811 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
7812 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
7813 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
7814 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
7815 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
7816 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
7817 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
7818 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
7819 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
7820 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
7821 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
7822 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
7823 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
7824 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
7825 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
7826 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
7827 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
7828 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
7829 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
7830 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
7831 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
7832 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
7833 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
7834 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
92a4c9fe 7835 .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
e080b17a
JK
7836 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
7837 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
7838 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
7839 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
7840 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
7841 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
7842 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
7843 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
7844 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
7845 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
7846 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
7847 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
7848 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
7849 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
7850 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
7851 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
7852 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
7853 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
7854 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
7855 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
7856 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
7857 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
7858 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
7859 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
7860 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
7861 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
7862 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
7863 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
7864 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
7865 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
7866 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
7867 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
7868 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
7869 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
7870 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
7871 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
7872 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
7873 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
7874 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
7875 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
7876 "\x73\x50\x08\x56\x20\x9B\x94\x23"
7877 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
7878 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
7879 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
7880 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
7881 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
7882 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
7883 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
7884 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
7885 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
7886 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
7887 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
7888 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
7889 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
7890 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
7891 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
7892 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
7893 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
7894 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
7895 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
7896 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
92a4c9fe 7897 .len = 496,
e080b17a
JK
7898 },
7899};
7900
92a4c9fe 7901static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
e080b17a
JK
7902 { /* Generated with Crypto++ */
7903 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
7904 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
7905 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
7906 .klen = 24,
c9e1d48a 7907 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",
e674dbc0 7908 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3D",
92a4c9fe 7909 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
e080b17a
JK
7910 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
7911 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
7912 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
7913 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
7914 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
7915 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
7916 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
7917 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
7918 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
7919 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
7920 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
7921 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
7922 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
7923 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
7924 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
7925 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
7926 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
7927 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
7928 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
7929 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
7930 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
7931 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
7932 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
7933 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
7934 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
7935 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
7936 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
7937 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
7938 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
7939 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
7940 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
7941 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
7942 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
7943 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
7944 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
7945 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
7946 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
7947 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
7948 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
7949 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
7950 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
7951 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
7952 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
7953 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
7954 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
7955 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
7956 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
7957 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
7958 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
7959 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
7960 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
7961 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
7962 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
7963 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
7964 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
7965 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
7966 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
7967 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
7968 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
7969 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
7970 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
92a4c9fe 7971 .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
e080b17a
JK
7972 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
7973 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
7974 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
7975 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
7976 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
7977 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
7978 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
7979 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
7980 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
7981 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
7982 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
7983 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
7984 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
7985 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
7986 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
7987 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
7988 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
7989 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
7990 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
7991 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
7992 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
7993 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
7994 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
7995 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
7996 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
7997 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
7998 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
7999 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
8000 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
8001 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
8002 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
8003 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
8004 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
8005 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
8006 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
8007 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
8008 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
8009 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
8010 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
8011 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
8012 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
8013 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
8014 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
8015 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
8016 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
8017 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
8018 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
8019 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
8020 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
8021 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
8022 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
8023 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
8024 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
8025 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
8026 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
8027 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
8028 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
8029 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
8030 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
8031 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
8032 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
92a4c9fe 8033 .len = 496,
e080b17a
JK
8034 }, { /* Generated with Crypto++ */
8035 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
8036 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
8037 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
8038 .klen = 24,
c9e1d48a 8039 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12",
e674dbc0 8040 .iv_out = "\xB2\xD7\x48\xED\x06\x44\xF9\x51",
92a4c9fe 8041 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
e080b17a
JK
8042 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
8043 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
8044 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
8045 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
8046 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
8047 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
8048 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
8049 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
8050 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
8051 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
8052 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
8053 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
8054 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
8055 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
8056 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
8057 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
8058 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
8059 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
8060 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
8061 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
8062 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
8063 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
8064 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
8065 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
8066 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
8067 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
8068 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
8069 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
8070 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
8071 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
8072 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
8073 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
8074 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
8075 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
8076 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
8077 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
8078 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
8079 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
8080 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
8081 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
8082 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
8083 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
8084 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
8085 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
8086 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
8087 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
8088 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
8089 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
8090 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
8091 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
8092 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
8093 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
8094 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
8095 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
8096 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
8097 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
8098 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
8099 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
8100 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
8101 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
8102 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
8103 "\x2E\xB1\x18",
92a4c9fe 8104 .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
e080b17a
JK
8105 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
8106 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
8107 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
8108 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
8109 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
8110 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
8111 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
8112 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
8113 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
8114 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
8115 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
8116 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
8117 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
8118 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
8119 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
8120 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
8121 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
8122 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
8123 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
8124 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
8125 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
8126 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
8127 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
8128 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
8129 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
8130 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
8131 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
8132 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
8133 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
8134 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
8135 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
8136 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
8137 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
8138 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
8139 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
8140 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
8141 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
8142 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
8143 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
8144 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
8145 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
8146 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
8147 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
8148 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
8149 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
8150 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
8151 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
8152 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
8153 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
8154 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
8155 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
8156 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
8157 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
8158 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
8159 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
8160 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
8161 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
8162 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
8163 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
8164 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
8165 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
8166 "\xF2\x79\xD9",
92a4c9fe 8167 .len = 499,
e080b17a
JK
8168 },
8169};
8170
92a4c9fe
EB
8171/*
8172 * Blowfish test vectors.
8173 */
8174static const struct cipher_testvec bf_tv_template[] = {
8175 { /* DES test vectors from OpenSSL */
8176 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
8177 .klen = 8,
8178 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
8179 .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
8180 .len = 8,
8181 }, {
8182 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
8183 .klen = 8,
8184 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
8185 .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
8186 .len = 8,
8187 }, {
8188 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
8189 .klen = 8,
8190 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8191 .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
8192 .len = 8,
8193 }, { /* Vary the keylength... */
8194 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8195 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
8196 .klen = 16,
8197 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8198 .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
8199 .len = 8,
8200 }, {
8201 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8202 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
8203 "\x00\x11\x22\x33\x44",
8204 .klen = 21,
8205 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8206 .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
8207 .len = 8,
8208 }, { /* Generated with bf488 */
8209 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
8210 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
8211 "\x00\x11\x22\x33\x44\x55\x66\x77"
8212 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
8213 "\x58\x40\x23\x64\x1a\xba\x61\x76"
8214 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
8215 "\xff\xff\xff\xff\xff\xff\xff\xff",
8216 .klen = 56,
8217 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
8218 .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
8219 .len = 8,
85b63e34
JK
8220 }, { /* Generated with Crypto++ */
8221 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8222 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8223 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8224 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8225 .klen = 32,
92a4c9fe 8226 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
8227 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8228 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8229 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
963ae397
JK
8230 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8231 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8232 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8233 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8234 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8235 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8236 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8237 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8238 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8239 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8240 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8241 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8242 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8243 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8244 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8245 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8246 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8247 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8248 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8249 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8250 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8251 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8252 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8253 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8254 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8255 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8256 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8257 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8258 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8259 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8260 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8261 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8262 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8263 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8264 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8265 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8266 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8267 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8268 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8269 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8270 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8271 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8272 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8273 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8274 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8275 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8276 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8277 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8278 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8279 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8280 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8281 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8282 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8283 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8284 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8285 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8286 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8287 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8288 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
92a4c9fe 8289 .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
85b63e34
JK
8290 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
8291 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
8292 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
963ae397
JK
8293 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
8294 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
8295 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
8296 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
8297 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
8298 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
8299 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
8300 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
8301 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
8302 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
8303 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
8304 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
8305 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
8306 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
8307 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
8308 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
8309 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
8310 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
8311 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
8312 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
8313 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
8314 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
8315 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
8316 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
8317 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
8318 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
8319 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
8320 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
8321 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
8322 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
8323 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
8324 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
8325 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
8326 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
8327 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
8328 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
8329 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
8330 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
8331 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
8332 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
8333 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
8334 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
8335 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
8336 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
8337 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
8338 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
8339 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
8340 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
8341 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
8342 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
8343 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
8344 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
8345 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
8346 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
8347 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
8348 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
8349 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
8350 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
8351 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
92a4c9fe 8352 .len = 504,
da7f033d
HX
8353 },
8354};
8355
92a4c9fe 8356static const struct cipher_testvec bf_cbc_tv_template[] = {
da7f033d
HX
8357 { /* From OpenSSL */
8358 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8359 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
8360 .klen = 16,
8361 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
cdc69469 8362 .iv_out = "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
92a4c9fe 8363 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
da7f033d
HX
8364 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
8365 "\x68\x65\x20\x74\x69\x6d\x65\x20"
8366 "\x66\x6f\x72\x20\x00\x00\x00\x00",
92a4c9fe 8367 .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
da7f033d
HX
8368 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
8369 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
8370 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
92a4c9fe 8371 .len = 32,
85b63e34
JK
8372 }, { /* Generated with Crypto++ */
8373 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8374 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8375 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8376 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8377 .klen = 32,
8378 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
cdc69469 8379 .iv_out = "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
92a4c9fe 8380 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
8381 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8382 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8383 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
963ae397
JK
8384 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8385 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8386 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8387 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8388 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8389 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8390 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8391 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8392 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8393 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8394 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8395 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8396 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8397 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8398 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8399 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8400 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8401 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8402 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8403 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8404 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8405 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8406 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8407 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8408 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8409 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8410 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8411 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8412 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8413 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8414 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8415 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8416 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8417 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8418 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8419 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8420 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8421 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8422 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8423 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8424 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8425 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8426 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8427 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8428 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8429 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8430 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8431 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8432 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8433 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8434 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8435 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8436 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8437 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8438 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8439 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8440 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8441 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8442 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
92a4c9fe 8443 .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
85b63e34
JK
8444 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
8445 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
8446 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
963ae397
JK
8447 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
8448 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
8449 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
8450 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
8451 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
8452 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
8453 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
8454 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
8455 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
8456 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
8457 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
8458 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
8459 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
8460 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
8461 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
8462 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
8463 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
8464 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
8465 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
8466 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
8467 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
8468 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
8469 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
8470 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
8471 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
8472 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
8473 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
8474 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
8475 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
8476 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
8477 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
8478 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
8479 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
8480 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
8481 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
8482 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
8483 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
8484 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
8485 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
8486 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
8487 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
8488 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
8489 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
8490 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
8491 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
8492 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
8493 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
8494 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
8495 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
8496 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
8497 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
8498 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
8499 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
8500 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
8501 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
8502 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
8503 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
8504 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
8505 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
92a4c9fe 8506 .len = 504,
85b63e34
JK
8507 },
8508};
8509
92a4c9fe 8510static const struct cipher_testvec bf_ctr_tv_template[] = {
85b63e34
JK
8511 { /* Generated with Crypto++ */
8512 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8513 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8514 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8515 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8516 .klen = 32,
8517 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
e674dbc0 8518 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
92a4c9fe 8519 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
8520 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8521 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8522 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
963ae397
JK
8523 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8524 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8525 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8526 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8527 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8528 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8529 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8530 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8531 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8532 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8533 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8534 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8535 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8536 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8537 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8538 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8539 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8540 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8541 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8542 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8543 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8544 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8545 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8546 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8547 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8548 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8549 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8550 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8551 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8552 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8553 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8554 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8555 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8556 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8557 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8558 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8559 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8560 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8561 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8562 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8563 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8564 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8565 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8566 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8567 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8568 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8569 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8570 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8571 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8572 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8573 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8574 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8575 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8576 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8577 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8578 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8579 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8580 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8581 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
92a4c9fe 8582 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
85b63e34
JK
8583 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8584 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8585 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
963ae397
JK
8586 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
8587 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8588 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8589 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8590 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8591 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8592 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8593 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8594 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8595 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8596 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8597 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8598 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8599 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8600 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8601 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8602 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8603 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8604 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8605 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8606 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8607 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8608 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8609 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8610 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8611 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8612 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8613 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8614 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8615 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8616 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8617 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8618 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8619 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8620 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8621 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8622 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8623 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8624 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8625 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8626 "\x82\x63\x11\xB3\x54\x49\x00\x08"
8627 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8628 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8629 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8630 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8631 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8632 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8633 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8634 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8635 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8636 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8637 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8638 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8639 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8640 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8641 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8642 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8643 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8644 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
92a4c9fe 8645 .len = 504,
85b63e34
JK
8646 }, { /* Generated with Crypto++ */
8647 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8648 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8649 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8650 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8651 .klen = 32,
8652 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
e674dbc0 8653 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9E",
92a4c9fe 8654 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
8655 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8656 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8657 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8658 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
963ae397
JK
8659 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8660 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8661 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8662 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8663 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8664 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8665 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8666 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8667 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8668 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8669 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8670 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8671 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8672 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8673 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8674 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8675 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8676 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8677 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8678 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8679 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8680 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8681 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8682 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8683 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8684 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8685 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8686 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8687 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8688 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8689 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8690 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8691 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8692 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8693 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8694 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8695 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8696 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8697 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8698 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8699 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8700 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8701 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8702 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8703 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8704 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8705 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8706 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8707 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8708 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8709 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8710 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8711 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8712 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8713 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8714 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8715 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8716 "\x2B\xC2\x59\xF0\x64\xFB\x92",
92a4c9fe 8717 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
85b63e34
JK
8718 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
8719 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
8720 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
8721 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
963ae397
JK
8722 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
8723 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
8724 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
8725 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
8726 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
8727 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
8728 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
8729 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
8730 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
8731 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
8732 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
8733 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
8734 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8735 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8736 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8737 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8738 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8739 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8740 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8741 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8742 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8743 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8744 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8745 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8746 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8747 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8748 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8749 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8750 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8751 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8752 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8753 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8754 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8755 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8756 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8757 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8758 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8759 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8760 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8761 "\x82\x63\x11\xB3\x54\x49\x00\x08"
8762 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8763 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8764 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8765 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8766 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8767 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8768 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8769 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8770 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8771 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8772 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8773 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8774 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8775 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8776 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8777 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8778 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8779 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
92a4c9fe 8780 .len = 503,
549595a0
JK
8781 }, { /* Generated with Crypto++ */
8782 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8783 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8784 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8785 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8786 .klen = 32,
8787 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0 8788 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x3C",
92a4c9fe 8789 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
549595a0
JK
8790 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8791 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8792 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8793 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8794 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8795 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8796 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8797 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8798 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8799 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8800 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8801 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8802 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8803 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8804 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8805 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8806 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8807 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8808 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8809 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8810 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8811 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8812 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8813 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8814 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8815 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8816 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8817 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8818 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8819 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8820 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8821 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8822 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8823 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8824 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8825 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8826 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8827 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8828 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8829 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8830 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8831 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8832 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8833 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8834 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8835 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8836 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8837 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8838 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8839 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8840 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8841 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8842 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8843 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8844 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8845 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8846 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8847 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8848 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8849 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8850 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8851 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
92a4c9fe 8852 .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
549595a0
JK
8853 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8854 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8855 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8856 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8857 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8858 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8859 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8860 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8861 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8862 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8863 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8864 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8865 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8866 "\x0B\x82\x59\x14\x26\x67\x08\x09"
8867 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8868 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8869 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8870 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8871 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8872 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8873 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8874 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8875 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8876 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8877 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8878 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8879 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8880 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8881 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8882 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8883 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8884 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8885 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8886 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8887 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8888 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8889 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8890 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8891 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8892 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8893 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8894 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8895 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8896 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8897 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8898 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8899 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8900 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8901 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8902 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8903 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8904 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8905 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8906 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8907 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8908 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8909 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8910 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8911 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8912 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8913 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8914 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
92a4c9fe 8915 .len = 504,
85b63e34
JK
8916 },
8917};
8918
92a4c9fe
EB
8919/*
8920 * Twofish test vectors.
8921 */
8922static const struct cipher_testvec tf_tv_template[] = {
8923 {
8924 .key = zeroed_string,
8925 .klen = 16,
8926 .ptext = zeroed_string,
8927 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8928 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8929 .len = 16,
8930 }, {
8931 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8932 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8933 "\x00\x11\x22\x33\x44\x55\x66\x77",
8934 .klen = 24,
8935 .ptext = zeroed_string,
8936 .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8937 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8938 .len = 16,
8939 }, {
8940 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
8941 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8942 "\x00\x11\x22\x33\x44\x55\x66\x77"
8943 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
85b63e34 8944 .klen = 32,
92a4c9fe
EB
8945 .ptext = zeroed_string,
8946 .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8947 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8948 .len = 16,
8949 }, { /* Generated with Crypto++ */
8950 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8951 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8952 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8953 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8954 .klen = 32,
8955 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
8956 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8957 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8958 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
963ae397
JK
8959 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8960 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8961 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8962 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8963 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8964 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8965 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8966 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8967 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8968 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8969 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8970 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8971 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8972 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8973 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8974 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8975 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8976 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8977 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8978 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8979 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8980 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8981 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8982 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8983 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8984 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8985 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8986 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8987 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8988 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8989 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8990 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8991 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8992 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8993 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8994 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8995 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8996 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8997 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8998 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8999 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9000 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9001 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9002 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9003 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9004 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9005 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9006 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9007 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9008 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9009 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9010 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9011 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9012 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9013 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9014 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9015 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
9016 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9017 .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
9018 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
9019 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
9020 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
9021 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
9022 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
9023 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
9024 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
9025 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
9026 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
9027 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
9028 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
9029 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
9030 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
9031 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
9032 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
9033 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
9034 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
9035 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
9036 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
9037 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
9038 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
9039 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
9040 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
9041 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
9042 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
9043 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
9044 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
9045 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
9046 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
9047 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
9048 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
9049 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
9050 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
9051 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
9052 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
9053 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
9054 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
9055 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
9056 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
9057 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
9058 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
9059 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
9060 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
9061 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
9062 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
9063 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
9064 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
9065 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
9066 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
9067 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
9068 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
9069 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
9070 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
9071 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
9072 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
9073 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
9074 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
9075 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
9076 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
9077 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
9078 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
9079 .len = 496,
92a4c9fe
EB
9080 },
9081};
9082
9083static const struct cipher_testvec tf_cbc_tv_template[] = {
9084 { /* Generated with Nettle */
9085 .key = zeroed_string,
9086 .klen = 16,
9087 .iv = zeroed_string,
cdc69469
EB
9088 .iv_out = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9089 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
92a4c9fe
EB
9090 .ptext = zeroed_string,
9091 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9092 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
9093 .len = 16,
9094 }, {
9095 .key = zeroed_string,
9096 .klen = 16,
9097 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9098 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
cdc69469
EB
9099 .iv_out = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9100 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
92a4c9fe
EB
9101 .ptext = zeroed_string,
9102 .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9103 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
9104 .len = 16,
9105 }, {
9106 .key = zeroed_string,
9107 .klen = 16,
9108 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9109 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
cdc69469
EB
9110 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9111 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
92a4c9fe
EB
9112 .ptext = zeroed_string,
9113 .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9114 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9115 .len = 16,
9116 }, {
9117 .key = zeroed_string,
9118 .klen = 16,
9119 .iv = zeroed_string,
cdc69469
EB
9120 .iv_out = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9121 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
92a4c9fe
EB
9122 .ptext = zeroed_string,
9123 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
9124 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
9125 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
9126 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
9127 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
9128 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
9129 .len = 48,
85b63e34
JK
9130 }, { /* Generated with Crypto++ */
9131 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9132 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9133 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9134 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9135 .klen = 32,
92a4c9fe
EB
9136 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9137 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
cdc69469
EB
9138 .iv_out = "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9139 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
92a4c9fe 9140 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
85b63e34
JK
9141 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9142 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9143 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9144 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
963ae397
JK
9145 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9146 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9147 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9148 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9149 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9150 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9151 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9152 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9153 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9154 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9155 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9156 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9157 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9158 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9159 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9160 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9161 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9162 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9163 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9164 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9165 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9166 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9167 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9168 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9169 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9170 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9171 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9172 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9173 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9174 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9175 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9176 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9177 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9178 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9179 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9180 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9181 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9182 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9183 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9184 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9185 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9186 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9187 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9188 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9189 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9190 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9191 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9192 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9193 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9194 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9195 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9196 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9197 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9198 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9199 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9200 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
9201 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9202 .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
9203 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
9204 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
9205 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
9206 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
9207 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
9208 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
9209 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
9210 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
9211 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
9212 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
9213 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
9214 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
9215 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
9216 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
9217 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
9218 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
9219 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
9220 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
9221 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
9222 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
9223 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
9224 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
9225 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
9226 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
9227 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
9228 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
9229 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
9230 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
9231 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
9232 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
9233 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
9234 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
9235 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
9236 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
9237 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
9238 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
9239 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
9240 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
9241 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
9242 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
9243 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
9244 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
9245 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
9246 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
9247 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
9248 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
9249 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
9250 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
9251 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
9252 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
9253 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
9254 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
9255 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
9256 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
9257 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
9258 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
9259 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
9260 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
9261 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
9262 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
9263 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
9264 .len = 496,
92a4c9fe
EB
9265 },
9266};
9267
9268static const struct cipher_testvec tf_ctr_tv_template[] = {
9269 { /* Generated with Crypto++ */
549595a0
JK
9270 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9271 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9272 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9273 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9274 .klen = 32,
92a4c9fe
EB
9275 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9276 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
9277 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9278 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
92a4c9fe 9279 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
549595a0
JK
9280 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9281 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9282 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9283 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9284 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9285 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9286 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9287 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9288 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9289 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9290 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9291 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9292 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9293 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9294 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9295 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9296 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9297 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9298 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9299 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9300 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9301 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9302 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9303 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9304 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9305 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9306 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9307 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9308 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9309 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9310 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9311 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9312 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9313 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9314 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9315 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9316 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9317 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9318 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9319 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9320 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9321 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9322 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9323 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9324 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9325 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9326 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9327 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9328 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9329 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9330 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9331 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9332 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9333 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9334 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9335 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9336 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9337 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9338 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9339 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
9340 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9341 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9342 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9343 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9344 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9345 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9346 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9347 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9348 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9349 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9350 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9351 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9352 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9353 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9354 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9355 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9356 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9357 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9358 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9359 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9360 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9361 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9362 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9363 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9364 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9365 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9366 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9367 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9368 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9369 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9370 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9371 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9372 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9373 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9374 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9375 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9376 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9377 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9378 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9379 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9380 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9381 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9382 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9383 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9384 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9385 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9386 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9387 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9388 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9389 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9390 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9391 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9392 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9393 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9394 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9395 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9396 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9397 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9398 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9399 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9400 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9401 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9402 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9403 .len = 496,
573da620 9404 }, { /* Generated with Crypto++ */
92a4c9fe
EB
9405 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9406 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9407 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9408 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
573da620 9409 .klen = 32,
92a4c9fe
EB
9410 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9411 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0
EB
9412 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
9413 "\x00\x00\x00\x00\x00\x00\x00\x1C",
92a4c9fe 9414 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
573da620
JK
9415 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9416 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9417 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9418 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9419 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9420 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4da7de4d
JG
9421 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9422 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9423 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9424 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9425 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9426 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9427 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9428 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9429 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9430 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9431 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9432 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9433 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9434 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9435 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9436 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9437 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9438 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9439 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9440 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9441 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9442 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9443 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9444 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9445 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9446 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9447 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9448 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9449 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9450 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9451 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9452 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9453 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9454 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9455 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9456 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9457 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9458 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9459 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9460 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9461 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9462 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9463 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9464 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9465 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9466 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9467 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9468 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9469 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9470 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9471 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9472 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9473 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9474 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9475 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
9476 .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9477 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9478 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9479 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9480 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9481 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9482 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9483 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9484 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9485 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9486 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9487 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9488 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9489 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9490 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9491 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9492 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9493 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9494 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9495 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9496 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9497 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9498 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9499 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9500 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9501 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9502 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9503 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9504 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9505 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9506 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9507 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9508 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9509 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9510 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9511 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9512 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9513 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9514 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9515 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9516 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9517 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9518 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9519 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9520 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9521 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9522 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9523 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9524 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9525 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9526 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9527 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9528 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9529 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9530 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9531 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9532 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9533 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9534 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9535 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9536 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9537 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9538 .len = 496,
573da620
JK
9539 }, { /* Generated with Crypto++ */
9540 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9541 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9542 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9543 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9544 .klen = 32,
9545 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9546 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
9547 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9548 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
92a4c9fe 9549 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
573da620
JK
9550 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9551 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9552 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9553 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9554 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9555 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4da7de4d
JG
9556 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9557 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9558 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9559 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9560 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9561 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9562 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9563 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9564 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9565 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9566 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9567 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9568 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9569 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9570 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9571 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9572 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9573 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9574 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9575 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9576 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9577 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9578 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9579 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9580 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9581 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9582 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9583 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9584 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9585 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9586 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9587 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9588 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9589 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9590 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9591 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9592 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9593 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9594 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9595 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9596 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9597 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9598 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9599 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9600 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9601 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9602 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9603 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9604 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9605 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9606 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9607 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9608 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9609 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
9610 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9611 "\x2B\xC2\x59",
9612 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9613 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9614 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9615 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9616 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9617 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9618 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9619 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9620 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9621 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9622 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9623 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9624 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9625 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9626 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9627 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9628 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9629 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9630 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9631 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9632 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9633 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9634 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9635 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9636 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9637 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9638 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9639 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9640 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9641 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9642 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9643 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9644 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9645 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9646 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9647 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9648 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9649 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9650 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9651 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9652 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9653 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9654 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9655 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9656 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9657 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9658 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9659 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9660 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9661 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9662 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9663 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9664 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9665 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9666 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9667 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9668 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9669 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9670 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9671 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9672 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9673 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9674 "\x6C\x82\x9D",
9675 .len = 499,
da7f033d
HX
9676 },
9677};
9678
92a4c9fe
EB
9679static const struct cipher_testvec tf_lrw_tv_template[] = {
9680 /* Generated from AES-LRW test vectors */
9681 {
9682 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9683 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9684 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9685 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9686 .klen = 32,
9687 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9688 "\x00\x00\x00\x00\x00\x00\x00\x01",
9689 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9690 "\x38\x39\x41\x42\x43\x44\x45\x46",
9691 .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9692 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9693 .len = 16,
da7f033d 9694 }, {
92a4c9fe
EB
9695 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9696 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9697 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9698 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9699 .klen = 32,
9700 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9701 "\x00\x00\x00\x00\x00\x00\x00\x02",
9702 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9703 "\x38\x39\x41\x42\x43\x44\x45\x46",
9704 .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9705 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9706 .len = 16,
da7f033d 9707 }, {
92a4c9fe
EB
9708 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9709 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9710 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9711 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
573da620 9712 .klen = 32,
92a4c9fe
EB
9713 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9714 "\x00\x00\x00\x02\x00\x00\x00\x00",
9715 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9716 "\x38\x39\x41\x42\x43\x44\x45\x46",
9717 .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9718 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9719 .len = 16,
9720 }, {
9721 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9722 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9723 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9724 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9725 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9726 .klen = 40,
9727 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9728 "\x00\x00\x00\x00\x00\x00\x00\x01",
9729 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9730 "\x38\x39\x41\x42\x43\x44\x45\x46",
9731 .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9732 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9733 .len = 16,
9734 }, {
9735 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9736 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9737 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9738 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9739 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9740 .klen = 40,
9741 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9742 "\x00\x00\x00\x02\x00\x00\x00\x00",
9743 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9744 "\x38\x39\x41\x42\x43\x44\x45\x46",
9745 .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9746 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9747 .len = 16,
9748 }, {
9749 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9750 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9751 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9752 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9753 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9754 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9755 .klen = 48,
9756 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9757 "\x00\x00\x00\x00\x00\x00\x00\x01",
9758 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9759 "\x38\x39\x41\x42\x43\x44\x45\x46",
9760 .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9761 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9762 .len = 16,
9763 }, {
9764 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9765 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9766 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9767 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9768 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9769 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9770 .klen = 48,
9771 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9772 "\x00\x00\x00\x02\x00\x00\x00\x00",
9773 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9774 "\x38\x39\x41\x42\x43\x44\x45\x46",
9775 .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9776 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9777 .len = 16,
9778 }, {
9779 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9780 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9781 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9782 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9783 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9784 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9785 .klen = 48,
9786 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9787 "\x00\x00\x00\x00\x00\x00\x00\x01",
9788 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9789 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9790 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9791 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9792 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9793 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9794 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9795 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9796 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9797 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9798 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9799 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9800 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9801 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9802 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9803 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9804 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9805 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9806 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9807 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9808 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9809 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9810 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9811 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9812 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9813 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9814 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9815 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9816 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9817 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9818 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9819 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9820 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9821 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9822 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9823 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9824 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9825 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9826 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9827 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9828 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9829 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9830 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9831 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9832 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9833 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9834 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9835 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9836 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9837 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9838 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9839 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9840 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9841 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9842 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9843 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9844 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9845 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9846 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9847 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9848 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9849 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9850 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9851 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
9852 .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
9853 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
9854 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
9855 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
9856 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
9857 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
9858 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
9859 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
9860 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
9861 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
9862 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
9863 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
9864 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
9865 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
9866 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
9867 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
9868 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
9869 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
9870 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
9871 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
9872 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
9873 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
9874 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
9875 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
9876 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
9877 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
9878 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
9879 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
9880 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
9881 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
9882 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
9883 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
9884 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
9885 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
9886 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
9887 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
9888 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
9889 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
9890 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
9891 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
9892 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
9893 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
9894 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
9895 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
9896 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
9897 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
9898 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
9899 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
9900 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
9901 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
9902 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
9903 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
9904 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
9905 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
9906 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
9907 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
9908 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
9909 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
9910 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
9911 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
9912 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
9913 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
9914 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
9915 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
9916 .len = 512,
573da620
JK
9917 },
9918};
9919
92a4c9fe
EB
9920static const struct cipher_testvec tf_xts_tv_template[] = {
9921 /* Generated from AES-XTS test vectors */
9922{
9923 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
9924 "\x00\x00\x00\x00\x00\x00\x00\x00"
9925 "\x00\x00\x00\x00\x00\x00\x00\x00"
9926 "\x00\x00\x00\x00\x00\x00\x00\x00",
573da620 9927 .klen = 32,
92a4c9fe
EB
9928 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9929 "\x00\x00\x00\x00\x00\x00\x00\x00",
9930 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
9931 "\x00\x00\x00\x00\x00\x00\x00\x00"
9932 "\x00\x00\x00\x00\x00\x00\x00\x00"
9933 "\x00\x00\x00\x00\x00\x00\x00\x00",
9934 .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
9935 "\x30\x74\xe4\x44\x52\x77\x97\x43"
9936 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
9937 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
9938 .len = 32,
9939 }, {
9940 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
9941 "\x11\x11\x11\x11\x11\x11\x11\x11"
9942 "\x22\x22\x22\x22\x22\x22\x22\x22"
9943 "\x22\x22\x22\x22\x22\x22\x22\x22",
549595a0 9944 .klen = 32,
92a4c9fe
EB
9945 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
9946 "\x00\x00\x00\x00\x00\x00\x00\x00",
9947 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
9948 "\x44\x44\x44\x44\x44\x44\x44\x44"
9949 "\x44\x44\x44\x44\x44\x44\x44\x44"
9950 "\x44\x44\x44\x44\x44\x44\x44\x44",
9951 .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
9952 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
9953 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
9954 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
9955 .len = 32,
9956 }, {
9957 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
9958 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
9959 "\x22\x22\x22\x22\x22\x22\x22\x22"
9960 "\x22\x22\x22\x22\x22\x22\x22\x22",
9961 .klen = 32,
9962 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
9963 "\x00\x00\x00\x00\x00\x00\x00\x00",
9964 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
9965 "\x44\x44\x44\x44\x44\x44\x44\x44"
9966 "\x44\x44\x44\x44\x44\x44\x44\x44"
9967 "\x44\x44\x44\x44\x44\x44\x44\x44",
9968 .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
9969 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
9970 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
9971 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
9972 .len = 32,
9973 }, {
9974 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
9975 "\x23\x53\x60\x28\x74\x71\x35\x26"
9976 "\x31\x41\x59\x26\x53\x58\x97\x93"
9977 "\x23\x84\x62\x64\x33\x83\x27\x95",
9978 .klen = 32,
9979 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9980 "\x00\x00\x00\x00\x00\x00\x00\x00",
9981 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
9982 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
9983 "\x10\x11\x12\x13\x14\x15\x16\x17"
9984 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
9985 "\x20\x21\x22\x23\x24\x25\x26\x27"
9986 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
9987 "\x30\x31\x32\x33\x34\x35\x36\x37"
9988 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
9989 "\x40\x41\x42\x43\x44\x45\x46\x47"
9990 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
9991 "\x50\x51\x52\x53\x54\x55\x56\x57"
9992 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
9993 "\x60\x61\x62\x63\x64\x65\x66\x67"
9994 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
9995 "\x70\x71\x72\x73\x74\x75\x76\x77"
9996 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
9997 "\x80\x81\x82\x83\x84\x85\x86\x87"
9998 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
9999 "\x90\x91\x92\x93\x94\x95\x96\x97"
10000 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10001 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10002 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10003 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10004 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10005 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10006 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10007 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10008 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10009 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10010 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10011 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10012 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10013 "\x00\x01\x02\x03\x04\x05\x06\x07"
10014 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10015 "\x10\x11\x12\x13\x14\x15\x16\x17"
10016 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10017 "\x20\x21\x22\x23\x24\x25\x26\x27"
10018 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10019 "\x30\x31\x32\x33\x34\x35\x36\x37"
10020 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10021 "\x40\x41\x42\x43\x44\x45\x46\x47"
10022 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10023 "\x50\x51\x52\x53\x54\x55\x56\x57"
10024 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10025 "\x60\x61\x62\x63\x64\x65\x66\x67"
10026 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10027 "\x70\x71\x72\x73\x74\x75\x76\x77"
10028 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10029 "\x80\x81\x82\x83\x84\x85\x86\x87"
10030 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10031 "\x90\x91\x92\x93\x94\x95\x96\x97"
10032 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10033 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10034 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10035 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10036 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10037 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10038 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10039 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10040 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10041 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10042 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10043 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10044 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10045 .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10046 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10047 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10048 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10049 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10050 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10051 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10052 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10053 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10054 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10055 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10056 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10057 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10058 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10059 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10060 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10061 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10062 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10063 "\x39\x80\x39\x09\x97\x65\xf2\x83"
10064 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10065 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10066 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10067 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10068 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10069 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10070 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10071 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10072 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10073 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10074 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10075 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10076 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10077 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10078 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10079 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10080 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10081 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10082 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10083 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10084 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10085 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10086 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10087 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10088 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10089 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10090 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10091 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10092 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10093 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10094 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10095 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10096 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10097 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10098 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10099 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10100 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10101 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10102 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10103 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10104 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10105 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10106 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10107 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10108 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10109 .len = 512,
10110 }, {
10111 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10112 "\x23\x53\x60\x28\x74\x71\x35\x26"
10113 "\x62\x49\x77\x57\x24\x70\x93\x69"
10114 "\x99\x59\x57\x49\x66\x96\x76\x27"
10115 "\x31\x41\x59\x26\x53\x58\x97\x93"
10116 "\x23\x84\x62\x64\x33\x83\x27\x95"
10117 "\x02\x88\x41\x97\x16\x93\x99\x37"
10118 "\x51\x05\x82\x09\x74\x94\x45\x92",
10119 .klen = 64,
10120 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10121 "\x00\x00\x00\x00\x00\x00\x00\x00",
10122 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10123 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10124 "\x10\x11\x12\x13\x14\x15\x16\x17"
10125 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10126 "\x20\x21\x22\x23\x24\x25\x26\x27"
10127 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10128 "\x30\x31\x32\x33\x34\x35\x36\x37"
10129 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10130 "\x40\x41\x42\x43\x44\x45\x46\x47"
10131 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10132 "\x50\x51\x52\x53\x54\x55\x56\x57"
10133 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10134 "\x60\x61\x62\x63\x64\x65\x66\x67"
10135 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10136 "\x70\x71\x72\x73\x74\x75\x76\x77"
10137 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10138 "\x80\x81\x82\x83\x84\x85\x86\x87"
10139 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10140 "\x90\x91\x92\x93\x94\x95\x96\x97"
10141 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10142 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10143 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10144 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10145 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10146 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10147 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10148 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10149 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10150 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10151 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10152 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10153 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10154 "\x00\x01\x02\x03\x04\x05\x06\x07"
10155 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10156 "\x10\x11\x12\x13\x14\x15\x16\x17"
10157 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10158 "\x20\x21\x22\x23\x24\x25\x26\x27"
10159 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10160 "\x30\x31\x32\x33\x34\x35\x36\x37"
10161 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10162 "\x40\x41\x42\x43\x44\x45\x46\x47"
10163 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10164 "\x50\x51\x52\x53\x54\x55\x56\x57"
10165 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10166 "\x60\x61\x62\x63\x64\x65\x66\x67"
10167 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10168 "\x70\x71\x72\x73\x74\x75\x76\x77"
10169 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10170 "\x80\x81\x82\x83\x84\x85\x86\x87"
10171 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10172 "\x90\x91\x92\x93\x94\x95\x96\x97"
10173 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10174 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10175 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10176 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10177 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10178 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10179 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10180 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10181 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10182 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10183 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10184 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10185 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10186 .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10187 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10188 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10189 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10190 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10191 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10192 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10193 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10194 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10195 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10196 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10197 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10198 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10199 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10200 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10201 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10202 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10203 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10204 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10205 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10206 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10207 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10208 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10209 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10210 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10211 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10212 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10213 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10214 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10215 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10216 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10217 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10218 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10219 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10220 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10221 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10222 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10223 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10224 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10225 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10226 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10227 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10228 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10229 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10230 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10231 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10232 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10233 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10234 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10235 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10236 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10237 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10238 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10239 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10240 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10241 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10242 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10243 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10244 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10245 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10246 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10247 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10248 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10249 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10250 .len = 512,
92a4c9fe
EB
10251 },
10252};
10253
10254/*
10255 * Serpent test vectors. These are backwards because Serpent writes
10256 * octet sequences in right-to-left mode.
10257 */
10258static const struct cipher_testvec serpent_tv_template[] = {
10259 {
10260 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10261 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10262 .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
10263 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
10264 .len = 16,
10265 }, {
10266 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10267 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10268 .klen = 16,
10269 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10270 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10271 .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
10272 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
10273 .len = 16,
10274 }, {
10275 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10276 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10277 "\x10\x11\x12\x13\x14\x15\x16\x17"
10278 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10279 .klen = 32,
10280 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10281 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10282 .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
10283 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
10284 .len = 16,
10285 }, {
10286 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
10287 .klen = 16,
10288 .ptext = zeroed_string,
10289 .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
10290 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
10291 .len = 16,
573da620
JK
10292 }, { /* Generated with Crypto++ */
10293 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10294 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10295 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10296 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10297 .klen = 32,
92a4c9fe 10298 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
573da620
JK
10299 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10300 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10301 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10302 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10303 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10304 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10305 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4da7de4d
JG
10306 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10307 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10308 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10309 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10310 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10311 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10312 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10313 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10314 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10315 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10316 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10317 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10318 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10319 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10320 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10321 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10322 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10323 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10324 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10325 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10326 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10327 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10328 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10329 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10330 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10331 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10332 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10333 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10334 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10335 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10336 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10337 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10338 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10339 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10340 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10341 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10342 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10343 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10344 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10345 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10346 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10347 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10348 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10349 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10350 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10351 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10352 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10353 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10354 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10355 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10356 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10357 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10358 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
10359 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10360 .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
10361 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
10362 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
10363 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
10364 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
10365 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
10366 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
10367 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
10368 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
10369 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
10370 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
10371 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
10372 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
10373 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
10374 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
10375 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
10376 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
10377 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
10378 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
10379 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
10380 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
10381 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
10382 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
10383 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
10384 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
10385 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
10386 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
10387 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
10388 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
10389 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
10390 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
10391 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
10392 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
10393 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
10394 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
10395 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
10396 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
10397 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
10398 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
10399 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
10400 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
10401 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
10402 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
10403 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
10404 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
10405 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
10406 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
10407 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
10408 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
10409 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
10410 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
10411 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
10412 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
10413 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
10414 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
10415 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
10416 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
10417 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
10418 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
10419 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
10420 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
10421 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
10422 .len = 496,
573da620
JK
10423 },
10424};
10425
92a4c9fe
EB
10426static const struct cipher_testvec tnepres_tv_template[] = {
10427 { /* KeySize=0 */
10428 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10429 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10430 .ctext = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
10431 "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
10432 .len = 16,
10433 },
10434 { /* KeySize=128, PT=0, I=1 */
10435 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
10436 "\x00\x00\x00\x00\x00\x00\x00\x00",
10437 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
10438 "\x00\x00\x00\x00\x00\x00\x00\x00",
10439 .klen = 16,
10440 .ctext = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
10441 "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
10442 .len = 16,
10443 }, { /* KeySize=128 */
10444 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10445 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10446 .klen = 16,
10447 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10448 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10449 .ctext = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
10450 "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
10451 .len = 16,
10452 }, { /* KeySize=128, I=121 */
10453 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
10454 .klen = 16,
10455 .ptext = zeroed_string,
10456 .ctext = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
10457 "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
10458 .len = 16,
10459 }, { /* KeySize=192, PT=0, I=1 */
10460 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
10461 "\x00\x00\x00\x00\x00\x00\x00\x00"
10462 "\x00\x00\x00\x00\x00\x00\x00\x00",
10463 .klen = 24,
10464 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
10465 "\x00\x00\x00\x00\x00\x00\x00\x00",
10466 .ctext = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
10467 "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
10468 .len = 16,
10469 }, { /* KeySize=256, PT=0, I=1 */
10470 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
10471 "\x00\x00\x00\x00\x00\x00\x00\x00"
10472 "\x00\x00\x00\x00\x00\x00\x00\x00"
10473 "\x00\x00\x00\x00\x00\x00\x00\x00",
10474 .klen = 32,
10475 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
10476 "\x00\x00\x00\x00\x00\x00\x00\x00",
10477 .ctext = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
10478 "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
10479 .len = 16,
10480 }, { /* KeySize=256, I=257 */
10481 .key = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
10482 "\x17\x16\x15\x14\x13\x12\x11\x10"
10483 "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
10484 "\x07\x06\x05\x04\x03\x02\x01\x00",
10485 .klen = 32,
10486 .ptext = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
10487 "\x07\x06\x05\x04\x03\x02\x01\x00",
10488 .ctext = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
10489 "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
10490 .len = 16,
10491 }, { /* KeySize=256 */
10492 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
10493 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10494 "\x10\x11\x12\x13\x14\x15\x16\x17"
10495 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10496 .klen = 32,
10497 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10498 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10499 .ctext = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
10500 "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
10501 .len = 16,
10502 }
10503};
10504
10505static const struct cipher_testvec serpent_cbc_tv_template[] = {
10506 { /* Generated with Crypto++ */
10507 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10508 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10509 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10510 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10511 .klen = 32,
10512 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10513 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
cdc69469
EB
10514 .iv_out = "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
10515 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
92a4c9fe 10516 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
573da620
JK
10517 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10518 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10519 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10520 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10521 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10522 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4da7de4d
JG
10523 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10524 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10525 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10526 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10527 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10528 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10529 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10530 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10531 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10532 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10533 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10534 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10535 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10536 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10537 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10538 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10539 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10540 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10541 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10542 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10543 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10544 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10545 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10546 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10547 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10548 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10549 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10550 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10551 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10552 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10553 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10554 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10555 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10556 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10557 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10558 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10559 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10560 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10561 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10562 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10563 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10564 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10565 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10566 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10567 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10568 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10569 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10570 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10571 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10572 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10573 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10574 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10575 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10576 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10577 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
10578 .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
10579 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
10580 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
10581 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
10582 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
10583 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
10584 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
10585 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
10586 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
10587 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
10588 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
10589 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
10590 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
10591 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
10592 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
10593 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
10594 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
10595 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
10596 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
10597 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
10598 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
10599 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
10600 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
10601 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
10602 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
10603 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
10604 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
10605 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
10606 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
10607 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
10608 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
10609 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
10610 "\x81\x92\x66\x67\x15\x1E\x39\x98"
10611 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
10612 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
10613 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
10614 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
10615 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
10616 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
10617 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
10618 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
10619 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
10620 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
10621 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
10622 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
10623 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
10624 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
10625 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
10626 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
10627 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
10628 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
10629 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
10630 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
10631 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
10632 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
10633 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
10634 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
10635 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
10636 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
10637 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
10638 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
10639 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
10640 .len = 496,
92a4c9fe
EB
10641 },
10642};
10643
10644static const struct cipher_testvec serpent_ctr_tv_template[] = {
10645 { /* Generated with Crypto++ */
549595a0
JK
10646 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10647 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10648 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10649 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10650 .klen = 32,
92a4c9fe
EB
10651 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10652 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
10653 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10654 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
92a4c9fe 10655 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
549595a0
JK
10656 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10657 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10658 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10659 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10660 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10661 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10662 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10663 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10664 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10665 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10666 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10667 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10668 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10669 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10670 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10671 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10672 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10673 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10674 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10675 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10676 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10677 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10678 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10679 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10680 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10681 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10682 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10683 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10684 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10685 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10686 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10687 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10688 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10689 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10690 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10691 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10692 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10693 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10694 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10695 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10696 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10697 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10698 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10699 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10700 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10701 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10702 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10703 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10704 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10705 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10706 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10707 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10708 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10709 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10710 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10711 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10712 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10713 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10714 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10715 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10716 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
10717 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
10718 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
10719 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
10720 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
10721 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
10722 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
10723 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
10724 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
10725 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
10726 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
10727 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
10728 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
10729 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
10730 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
10731 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
10732 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
10733 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
10734 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
10735 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
10736 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
10737 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
10738 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
10739 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
10740 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
10741 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
10742 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
10743 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
10744 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
10745 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
10746 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
10747 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
10748 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
10749 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
10750 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
10751 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
10752 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
10753 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
10754 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
10755 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
10756 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
10757 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
10758 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
10759 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
10760 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
10761 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
10762 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
10763 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
10764 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
10765 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
10766 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
10767 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
10768 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
10769 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
10770 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
10771 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
10772 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
10773 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
10774 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
10775 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
10776 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
10777 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
10778 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
10779 .len = 496,
573da620
JK
10780 }, { /* Generated with Crypto++ */
10781 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10782 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10783 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10784 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10785 .klen = 32,
10786 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10787 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
10788 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10789 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x84",
92a4c9fe 10790 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
573da620
JK
10791 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10792 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10793 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10794 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10795 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10796 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10797 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4da7de4d
JG
10798 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10799 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10800 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10801 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10802 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10803 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10804 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10805 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10806 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10807 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10808 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10809 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10810 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10811 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10812 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10813 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10814 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10815 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10816 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10817 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10818 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10819 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10820 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10821 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10822 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10823 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10824 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10825 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10826 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10827 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10828 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10829 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10830 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10831 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10832 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10833 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10834 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10835 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10836 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10837 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10838 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10839 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10840 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10841 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10842 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10843 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10844 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10845 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10846 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10847 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10848 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10849 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10850 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10851 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
10852 "\x2B\xC2\x59",
92a4c9fe
EB
10853 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
10854 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
10855 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
10856 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
10857 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
10858 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
10859 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
10860 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
10861 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
10862 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
10863 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
10864 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
10865 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
10866 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
10867 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
10868 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
10869 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
10870 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
10871 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
10872 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
10873 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
10874 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
10875 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
10876 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
10877 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
10878 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
10879 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
10880 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
10881 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
10882 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
10883 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
10884 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
10885 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
10886 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
10887 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
10888 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
10889 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
10890 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
10891 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
10892 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
10893 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
10894 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
10895 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
10896 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
10897 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
10898 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
10899 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
10900 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
10901 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
10902 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
10903 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
10904 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
10905 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
10906 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
10907 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
10908 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
10909 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
10910 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
10911 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
10912 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
10913 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
10914 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
10915 "\x38\xE2\xE5",
10916 .len = 499,
92a4c9fe
EB
10917 }, { /* Generated with Crypto++ */
10918 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10919 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10920 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10921 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
0b2a1551 10922 .klen = 32,
92a4c9fe
EB
10923 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
10924 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0
EB
10925 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
10926 "\x00\x00\x00\x00\x00\x00\x00\x1C",
92a4c9fe
EB
10927 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10928 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10929 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10930 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10931 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10932 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10933 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10934 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10935 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10936 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10937 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10938 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10939 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10940 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10941 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10942 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10943 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10944 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10945 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10946 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10947 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10948 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10949 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10950 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10951 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10952 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10953 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10954 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10955 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10956 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10957 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10958 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10959 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10960 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10961 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10962 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10963 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10964 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10965 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10966 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10967 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10968 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10969 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10970 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10971 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10972 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10973 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10974 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10975 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10976 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10977 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10978 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10979 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10980 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10981 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10982 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10983 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10984 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10985 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10986 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10987 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10988 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10989 .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
10990 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
10991 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
10992 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
10993 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
10994 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
10995 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
10996 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
10997 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
10998 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
10999 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
11000 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
11001 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
11002 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
11003 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
11004 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
11005 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
11006 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
11007 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
11008 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
11009 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
11010 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
11011 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
11012 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
11013 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
11014 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
11015 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
11016 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
11017 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
11018 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
11019 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
11020 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
11021 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
11022 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
11023 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
11024 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
11025 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
11026 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
11027 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
11028 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
11029 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
11030 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
11031 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
11032 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
11033 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
11034 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
11035 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
11036 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
11037 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
11038 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
11039 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
11040 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
11041 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
11042 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
11043 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
11044 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
11045 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
11046 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
11047 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
11048 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
11049 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
11050 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
11051 .len = 496,
0b2a1551
JK
11052 },
11053};
11054
92a4c9fe 11055static const struct cipher_testvec serpent_lrw_tv_template[] = {
0b2a1551 11056 /* Generated from AES-LRW test vectors */
0b2a1551
JK
11057 {
11058 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
11059 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
11060 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
11061 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
11062 .klen = 32,
11063 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11064 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 11065 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11066 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11067 .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
11068 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
11069 .len = 16,
0b2a1551
JK
11070 }, {
11071 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
11072 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
11073 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
11074 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
11075 .klen = 32,
11076 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11077 "\x00\x00\x00\x00\x00\x00\x00\x02",
92a4c9fe 11078 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11079 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11080 .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
11081 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
11082 .len = 16,
0b2a1551
JK
11083 }, {
11084 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
11085 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
11086 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
11087 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
11088 .klen = 32,
11089 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11090 "\x00\x00\x00\x02\x00\x00\x00\x00",
92a4c9fe 11091 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11092 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11093 .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
11094 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
11095 .len = 16,
0b2a1551
JK
11096 }, {
11097 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
11098 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
11099 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
11100 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
11101 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
11102 .klen = 40,
11103 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11104 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 11105 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11106 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11107 .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
11108 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
11109 .len = 16,
0b2a1551
JK
11110 }, {
11111 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
11112 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
11113 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
11114 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
11115 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
11116 .klen = 40,
11117 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11118 "\x00\x00\x00\x02\x00\x00\x00\x00",
92a4c9fe 11119 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11120 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11121 .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
11122 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
11123 .len = 16,
0b2a1551
JK
11124 }, {
11125 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11126 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11127 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11128 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11129 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11130 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11131 .klen = 48,
11132 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11133 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 11134 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11135 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11136 .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
11137 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
11138 .len = 16,
0b2a1551
JK
11139 }, {
11140 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
11141 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
11142 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
11143 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
11144 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
11145 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
11146 .klen = 48,
11147 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11148 "\x00\x00\x00\x02\x00\x00\x00\x00",
92a4c9fe 11149 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0b2a1551 11150 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe
EB
11151 .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
11152 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
11153 .len = 16,
0b2a1551
JK
11154 }, {
11155 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
11156 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
11157 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
11158 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
11159 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
11160 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
11161 .klen = 48,
11162 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11163 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 11164 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
0b2a1551
JK
11165 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
11166 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
11167 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
11168 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
11169 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
11170 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
11171 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
11172 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
11173 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
11174 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
11175 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
11176 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
11177 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
11178 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
11179 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
11180 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
11181 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
11182 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
11183 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
11184 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
11185 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
11186 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
11187 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
11188 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
11189 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
11190 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
11191 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
11192 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
11193 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
11194 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
11195 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
11196 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
11197 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
11198 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
11199 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
11200 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
11201 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
11202 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
11203 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
11204 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
11205 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
11206 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
11207 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
11208 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
11209 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
11210 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
11211 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
11212 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
11213 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
11214 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
11215 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
11216 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
11217 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
11218 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
11219 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
11220 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
11221 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
11222 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
11223 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
11224 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
11225 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
11226 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
11227 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
92a4c9fe
EB
11228 .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
11229 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
11230 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
11231 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
11232 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
11233 "\xce\xab\xda\x33\x30\x20\x12\xfa"
11234 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
11235 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
11236 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
11237 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
11238 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
11239 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
11240 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
11241 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
11242 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
11243 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
11244 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
11245 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
11246 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
11247 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
11248 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
11249 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
11250 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
11251 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
11252 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
11253 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
11254 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
11255 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
11256 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
11257 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
11258 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
11259 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
11260 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
11261 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
11262 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
11263 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
11264 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
11265 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
11266 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
11267 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
11268 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
11269 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
11270 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
11271 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
11272 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
11273 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
11274 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
11275 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
11276 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
11277 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
11278 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
11279 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
11280 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
11281 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
11282 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
11283 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
11284 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
11285 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
11286 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
11287 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
11288 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
11289 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
11290 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
11291 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
11292 .len = 512,
0b2a1551
JK
11293 },
11294};
11295
92a4c9fe 11296static const struct cipher_testvec serpent_xts_tv_template[] = {
aed265b9 11297 /* Generated from AES-XTS test vectors */
92a4c9fe 11298 {
aed265b9
JK
11299 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
11300 "\x00\x00\x00\x00\x00\x00\x00\x00"
11301 "\x00\x00\x00\x00\x00\x00\x00\x00"
11302 "\x00\x00\x00\x00\x00\x00\x00\x00",
11303 .klen = 32,
11304 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11305 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 11306 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
aed265b9
JK
11307 "\x00\x00\x00\x00\x00\x00\x00\x00"
11308 "\x00\x00\x00\x00\x00\x00\x00\x00"
11309 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe
EB
11310 .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
11311 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
11312 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
11313 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
11314 .len = 32,
aed265b9
JK
11315 }, {
11316 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
11317 "\x11\x11\x11\x11\x11\x11\x11\x11"
11318 "\x22\x22\x22\x22\x22\x22\x22\x22"
11319 "\x22\x22\x22\x22\x22\x22\x22\x22",
11320 .klen = 32,
11321 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11322 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 11323 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
aed265b9
JK
11324 "\x44\x44\x44\x44\x44\x44\x44\x44"
11325 "\x44\x44\x44\x44\x44\x44\x44\x44"
11326 "\x44\x44\x44\x44\x44\x44\x44\x44",
92a4c9fe
EB
11327 .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
11328 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
11329 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
11330 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
11331 .len = 32,
aed265b9
JK
11332 }, {
11333 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
11334 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
11335 "\x22\x22\x22\x22\x22\x22\x22\x22"
11336 "\x22\x22\x22\x22\x22\x22\x22\x22",
11337 .klen = 32,
11338 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
11339 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 11340 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
aed265b9
JK
11341 "\x44\x44\x44\x44\x44\x44\x44\x44"
11342 "\x44\x44\x44\x44\x44\x44\x44\x44"
11343 "\x44\x44\x44\x44\x44\x44\x44\x44",
92a4c9fe
EB
11344 .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
11345 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
11346 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
11347 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
11348 .len = 32,
aed265b9
JK
11349 }, {
11350 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11351 "\x23\x53\x60\x28\x74\x71\x35\x26"
11352 "\x31\x41\x59\x26\x53\x58\x97\x93"
11353 "\x23\x84\x62\x64\x33\x83\x27\x95",
11354 .klen = 32,
11355 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
11356 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 11357 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
aed265b9
JK
11358 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11359 "\x10\x11\x12\x13\x14\x15\x16\x17"
11360 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11361 "\x20\x21\x22\x23\x24\x25\x26\x27"
11362 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11363 "\x30\x31\x32\x33\x34\x35\x36\x37"
11364 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11365 "\x40\x41\x42\x43\x44\x45\x46\x47"
11366 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11367 "\x50\x51\x52\x53\x54\x55\x56\x57"
11368 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11369 "\x60\x61\x62\x63\x64\x65\x66\x67"
11370 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11371 "\x70\x71\x72\x73\x74\x75\x76\x77"
11372 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11373 "\x80\x81\x82\x83\x84\x85\x86\x87"
11374 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11375 "\x90\x91\x92\x93\x94\x95\x96\x97"
11376 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11377 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11378 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11379 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11380 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11381 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11382 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11383 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11384 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11385 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11386 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11387 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11388 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11389 "\x00\x01\x02\x03\x04\x05\x06\x07"
11390 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11391 "\x10\x11\x12\x13\x14\x15\x16\x17"
11392 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11393 "\x20\x21\x22\x23\x24\x25\x26\x27"
11394 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11395 "\x30\x31\x32\x33\x34\x35\x36\x37"
11396 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11397 "\x40\x41\x42\x43\x44\x45\x46\x47"
11398 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11399 "\x50\x51\x52\x53\x54\x55\x56\x57"
11400 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11401 "\x60\x61\x62\x63\x64\x65\x66\x67"
11402 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11403 "\x70\x71\x72\x73\x74\x75\x76\x77"
11404 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11405 "\x80\x81\x82\x83\x84\x85\x86\x87"
11406 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11407 "\x90\x91\x92\x93\x94\x95\x96\x97"
11408 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11409 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11410 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11411 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11412 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11413 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11414 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11415 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11416 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11417 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11418 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11419 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11420 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
11421 .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
11422 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
11423 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
11424 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
11425 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
11426 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
11427 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
11428 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
11429 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
11430 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
11431 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
11432 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
11433 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
11434 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
11435 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
11436 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
11437 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
11438 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
11439 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
11440 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
11441 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
11442 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
11443 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
11444 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
11445 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
11446 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
11447 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
11448 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
11449 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
11450 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
11451 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
11452 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
11453 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
11454 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
11455 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
11456 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
11457 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
11458 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
11459 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
11460 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
11461 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
11462 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
11463 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
11464 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
11465 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
11466 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
11467 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
11468 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
11469 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
11470 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
11471 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
11472 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
11473 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
11474 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
11475 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
11476 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
11477 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
11478 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
11479 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
11480 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
11481 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
11482 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
11483 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
11484 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
11485 .len = 512,
aed265b9
JK
11486 }, {
11487 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11488 "\x23\x53\x60\x28\x74\x71\x35\x26"
11489 "\x62\x49\x77\x57\x24\x70\x93\x69"
11490 "\x99\x59\x57\x49\x66\x96\x76\x27"
11491 "\x31\x41\x59\x26\x53\x58\x97\x93"
11492 "\x23\x84\x62\x64\x33\x83\x27\x95"
11493 "\x02\x88\x41\x97\x16\x93\x99\x37"
11494 "\x51\x05\x82\x09\x74\x94\x45\x92",
11495 .klen = 64,
11496 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
11497 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 11498 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
aed265b9
JK
11499 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11500 "\x10\x11\x12\x13\x14\x15\x16\x17"
11501 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11502 "\x20\x21\x22\x23\x24\x25\x26\x27"
11503 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11504 "\x30\x31\x32\x33\x34\x35\x36\x37"
11505 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11506 "\x40\x41\x42\x43\x44\x45\x46\x47"
11507 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11508 "\x50\x51\x52\x53\x54\x55\x56\x57"
11509 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11510 "\x60\x61\x62\x63\x64\x65\x66\x67"
11511 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11512 "\x70\x71\x72\x73\x74\x75\x76\x77"
11513 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11514 "\x80\x81\x82\x83\x84\x85\x86\x87"
11515 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11516 "\x90\x91\x92\x93\x94\x95\x96\x97"
11517 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11518 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11519 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11520 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11521 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11522 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11523 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11524 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11525 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11526 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11527 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11528 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11529 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11530 "\x00\x01\x02\x03\x04\x05\x06\x07"
11531 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11532 "\x10\x11\x12\x13\x14\x15\x16\x17"
11533 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11534 "\x20\x21\x22\x23\x24\x25\x26\x27"
11535 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11536 "\x30\x31\x32\x33\x34\x35\x36\x37"
11537 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11538 "\x40\x41\x42\x43\x44\x45\x46\x47"
11539 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11540 "\x50\x51\x52\x53\x54\x55\x56\x57"
11541 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11542 "\x60\x61\x62\x63\x64\x65\x66\x67"
11543 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11544 "\x70\x71\x72\x73\x74\x75\x76\x77"
11545 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11546 "\x80\x81\x82\x83\x84\x85\x86\x87"
11547 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11548 "\x90\x91\x92\x93\x94\x95\x96\x97"
11549 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11550 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11551 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11552 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11553 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11554 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11555 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11556 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11557 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11558 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11559 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11560 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11561 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
11562 .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
11563 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
11564 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
11565 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
11566 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
11567 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
11568 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
11569 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
11570 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
11571 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
11572 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
11573 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
11574 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
11575 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
11576 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
11577 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
11578 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
11579 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
11580 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
11581 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
11582 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
11583 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
11584 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
11585 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
11586 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
11587 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
11588 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
11589 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
11590 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
11591 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
11592 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
11593 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
11594 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
11595 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
11596 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
11597 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
11598 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
11599 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
11600 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
11601 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
11602 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
11603 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
11604 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
11605 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
11606 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
11607 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
11608 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
11609 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
11610 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
11611 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
11612 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
11613 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
11614 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
11615 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
11616 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
11617 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
11618 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
11619 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
11620 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
11621 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
11622 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
11623 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
11624 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
11625 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
11626 .len = 512,
aed265b9
JK
11627 },
11628};
11629
92a4c9fe 11630/*
95ba5973
GBY
11631 * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
11632 * Modes Of Operations" draft RFC
11633 * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
92a4c9fe
EB
11634 */
11635
11636static const struct cipher_testvec sm4_tv_template[] = {
95ba5973 11637 { /* GB/T 32907-2016 Example 1. */
92a4c9fe
EB
11638 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11639 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11640 .klen = 16,
11641 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11642 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11643 .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
11644 "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
11645 .len = 16,
95ba5973 11646 }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
92a4c9fe
EB
11647 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11648 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11649 .klen = 16,
11650 .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
11651 "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
11652 "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
11653 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
11654 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
11655 "\xad\x57\x15\xab\x31\x5d\xc\xef"
11656 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
11657 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
11658 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
11659 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
11660 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
11661 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
11662 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
11663 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
11664 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
11665 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
11666 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
11667 "\xed\xce\x0\x19\xe\x16\x2\x6e"
11668 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
11669 "\x31\x51\xec\x47\xc3\x51\x83\xc1",
11670 .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
11671 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
11672 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
11673 "\xad\x57\x15\xab\x31\x5d\xc\xef"
11674 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
11675 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
11676 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
11677 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
11678 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
11679 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
11680 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
11681 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
11682 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
11683 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
11684 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
11685 "\xed\xce\x0\x19\xe\x16\x2\x6e"
11686 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
11687 "\x31\x51\xec\x47\xc3\x51\x83\xc1"
11688 "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
11689 "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
11690 .len = 160
95ba5973
GBY
11691 }, { /* A.2.1.1 SM4-ECB Example 1 */
11692 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11693 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11694 .klen = 16,
11695 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
11696 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
11697 "\xee\xee\xee\xee\xff\xff\xff\xff"
11698 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
11699 .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
11700 "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
11701 "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
11702 "\x85\xf8\x1c\x84\x82\x19\x23\x04",
11703 .len = 32,
11704 }, { /* A.2.1.2 SM4-ECB Example 2 */
11705 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
11706 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
11707 .klen = 16,
11708 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
11709 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
11710 "\xee\xee\xee\xee\xff\xff\xff\xff"
11711 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
11712 .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
11713 "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
11714 "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
11715 "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
11716 .len = 32,
11717 }
11718};
11719
11720static const struct cipher_testvec sm4_cbc_tv_template[] = {
11721 { /* A.2.2.1 SM4-CBC Example 1 */
11722 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11723 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11724 .klen = 16,
11725 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
11726 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
11727 "\xee\xee\xee\xee\xff\xff\xff\xff"
11728 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
11729 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11730 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
cdc69469
EB
11731 .iv_out = "\x4C\xB7\x01\x69\x51\x90\x92\x26"
11732 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
95ba5973
GBY
11733 .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
11734 "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
11735 "\x4C\xB7\x01\x69\x51\x90\x92\x26"
11736 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
11737 .len = 32,
11738 }, { /* A.2.2.2 SM4-CBC Example 2 */
11739 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
11740 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
11741 .klen = 16,
11742 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
11743 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
11744 "\xee\xee\xee\xee\xff\xff\xff\xff"
11745 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
11746 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11747 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
cdc69469
EB
11748 .iv_out = "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
11749 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
95ba5973
GBY
11750 .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
11751 "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
11752 "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
11753 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
11754 .len = 32,
11755 }
11756};
11757
11758static const struct cipher_testvec sm4_ctr_tv_template[] = {
11759 { /* A.2.5.1 SM4-CTR Example 1 */
11760 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
11761 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
11762 .klen = 16,
11763 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
11764 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
11765 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
11766 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
11767 "\xee\xee\xee\xee\xee\xee\xee\xee"
11768 "\xff\xff\xff\xff\xff\xff\xff\xff"
11769 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
11770 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
11771 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11772 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
e674dbc0
EB
11773 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
11774 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
95ba5973
GBY
11775 .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
11776 "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
11777 "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
11778 "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
11779 "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
11780 "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
11781 "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
11782 "\x8b\x29\x33\x85\x1d\x82\x45\x14",
11783 .len = 64,
11784 }, { /* A.2.5.2 SM4-CTR Example 2 */
11785 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
11786 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
11787 .klen = 16,
11788 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
11789 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
11790 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
11791 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
11792 "\xee\xee\xee\xee\xee\xee\xee\xee"
11793 "\xff\xff\xff\xff\xff\xff\xff\xff"
11794 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
11795 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
11796 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11797 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
e674dbc0
EB
11798 .iv_out = "\x00\x01\x02\x03\x04\x05\x06\x07"
11799 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x13",
95ba5973
GBY
11800 .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
11801 "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
11802 "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
11803 "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
11804 "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
11805 "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
11806 "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
11807 "\x28\x4b\xde\x9e\x16\xea\x29\x06",
11808 .len = 64,
92a4c9fe
EB
11809 }
11810};
11811
92a4c9fe
EB
11812/* Cast6 test vectors from RFC 2612 */
11813static const struct cipher_testvec cast6_tv_template[] = {
11814 {
11815 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11816 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
da7f033d 11817 .klen = 16,
92a4c9fe
EB
11818 .ptext = zeroed_string,
11819 .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
11820 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
11821 .len = 16,
11822 }, {
11823 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11824 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11825 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
11826 .klen = 24,
11827 .ptext = zeroed_string,
11828 .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
11829 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
11830 .len = 16,
11831 }, {
11832 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11833 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11834 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
11835 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
11836 .klen = 32,
11837 .ptext = zeroed_string,
11838 .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
11839 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
11840 .len = 16,
11841 }, { /* Generated from TF test vectors */
9d25917d
JK
11842 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11843 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11844 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11845 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11846 .klen = 32,
92a4c9fe
EB
11847 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11848 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11849 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9d25917d
JK
11850 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11851 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11852 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11853 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11854 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11855 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11856 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11857 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11858 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11859 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11860 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11861 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11862 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11863 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11864 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11865 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9f28e97d
JK
11866 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11867 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11868 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11869 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11870 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11871 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11872 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11873 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11874 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11875 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11876 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11877 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11878 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11879 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11880 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11881 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11882 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11883 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11884 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11885 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11886 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11887 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11888 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11889 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11890 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11891 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11892 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11893 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11894 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11895 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11896 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11897 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11898 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11899 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11900 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11901 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11902 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11903 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11904 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11905 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11906 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11907 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11908 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11909 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11910 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
11911 .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
11912 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
11913 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
11914 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
11915 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
11916 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
11917 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
11918 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
11919 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
11920 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
11921 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
11922 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
11923 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
11924 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
11925 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
11926 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
11927 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
11928 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
11929 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
11930 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
11931 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
11932 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
11933 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
11934 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
11935 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
11936 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
11937 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
11938 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
11939 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
11940 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
11941 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
11942 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
11943 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
11944 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
11945 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
11946 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
11947 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
11948 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
11949 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
11950 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
11951 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
11952 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
11953 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
11954 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
11955 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
11956 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
11957 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
11958 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
11959 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
11960 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
11961 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
11962 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
11963 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
11964 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
11965 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
11966 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
11967 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
11968 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
11969 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
11970 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
11971 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
11972 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
11973 .len = 496,
92a4c9fe 11974 },
da7f033d
HX
11975};
11976
92a4c9fe
EB
11977static const struct cipher_testvec cast6_cbc_tv_template[] = {
11978 { /* Generated from TF test vectors */
9d25917d
JK
11979 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11980 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11981 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11982 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11983 .klen = 32,
92a4c9fe
EB
11984 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11985 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
cdc69469
EB
11986 .iv_out = "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
11987 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
92a4c9fe 11988 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9d25917d
JK
11989 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11990 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11991 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11992 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11993 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11994 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11995 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11996 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11997 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11998 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11999 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12000 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12001 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12002 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12003 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12004 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9f28e97d
JK
12005 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12006 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12007 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12008 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12009 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12010 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12011 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12012 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12013 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12014 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12015 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12016 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12017 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12018 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12019 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12020 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12021 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12022 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12023 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12024 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12025 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12026 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12027 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12028 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12029 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12030 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12031 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12032 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12033 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12034 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12035 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12036 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12037 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12038 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12039 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12040 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12041 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12042 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12043 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12044 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12045 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12046 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12047 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12048 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12049 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
12050 .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
12051 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
12052 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
12053 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
12054 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
12055 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
12056 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
12057 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
12058 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
12059 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
12060 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
12061 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
12062 "\x23\x16\x47\x72\x81\x13\x3A\x72"
12063 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
12064 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
12065 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
12066 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
12067 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
12068 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
12069 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
12070 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
12071 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
12072 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
12073 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
12074 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
12075 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
12076 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
12077 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
12078 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
12079 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
12080 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
12081 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
12082 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
12083 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
12084 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
12085 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
12086 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
12087 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
12088 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
12089 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
12090 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
12091 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
12092 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
12093 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
12094 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
12095 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
12096 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
12097 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
12098 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
12099 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
12100 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
12101 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
12102 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
12103 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
12104 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
12105 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
12106 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
12107 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
12108 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
12109 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
12110 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
12111 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
12112 .len = 496,
da7f033d
HX
12113 },
12114};
12115
92a4c9fe
EB
12116static const struct cipher_testvec cast6_ctr_tv_template[] = {
12117 { /* Generated from TF test vectors */
9d25917d
JK
12118 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12119 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12120 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12121 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12122 .klen = 32,
12123 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12124 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
12125 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12126 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x66",
92a4c9fe 12127 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9d25917d 12128 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
92a4c9fe
EB
12129 "\x3A",
12130 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
12131 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
12132 "\x57",
12133 .len = 17,
12134 }, { /* Generated from TF test vectors */
9d25917d
JK
12135 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12136 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12137 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12138 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12139 .klen = 32,
12140 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12141 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
12142 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12143 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
92a4c9fe 12144 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9d25917d
JK
12145 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12146 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12147 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12148 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12149 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12150 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12151 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12152 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12153 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12154 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12155 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12156 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12157 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12158 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12159 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12160 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9f28e97d
JK
12161 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12162 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12163 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12164 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12165 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12166 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12167 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12168 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12169 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12170 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12171 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12172 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12173 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12174 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12175 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12176 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12177 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12178 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12179 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12180 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12181 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12182 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12183 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12184 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12185 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12186 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12187 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12188 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12189 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12190 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12191 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12192 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12193 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12194 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12195 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12196 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12197 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12198 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12199 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12200 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12201 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12202 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12203 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12204 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12205 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
92a4c9fe
EB
12206 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
12207 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
12208 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
12209 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
12210 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
12211 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
12212 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
12213 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
12214 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
12215 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
12216 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
12217 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
12218 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
12219 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
12220 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
12221 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
12222 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
12223 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
12224 "\x49\x61\x22\x52\x64\x8C\x46\x41"
12225 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
12226 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
12227 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
12228 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
12229 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
12230 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
12231 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
12232 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
12233 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
12234 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
12235 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
12236 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
12237 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
12238 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
12239 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
12240 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
12241 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
12242 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
12243 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
12244 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
12245 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
12246 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
12247 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
12248 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
12249 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
12250 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
12251 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
12252 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
12253 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
12254 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
12255 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
12256 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
12257 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
12258 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
12259 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
12260 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
12261 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
12262 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
12263 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
12264 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
12265 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
12266 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
12267 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
12268 .len = 496,
9d25917d
JK
12269 },
12270};
12271
92a4c9fe
EB
12272static const struct cipher_testvec cast6_lrw_tv_template[] = {
12273 { /* Generated from TF test vectors */
d7bfc0fa
JK
12274 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12275 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12276 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12277 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12278 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12279 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12280 .klen = 48,
12281 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12282 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 12283 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
d7bfc0fa
JK
12284 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12285 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12286 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12287 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12288 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12289 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12290 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12291 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12292 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12293 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12294 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12295 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12296 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12297 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12298 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12299 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12300 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12301 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12302 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12303 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12304 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12305 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12306 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12307 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12308 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12309 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12310 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12311 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12312 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12313 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12314 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12315 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12316 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12317 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12318 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12319 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12320 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12321 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12322 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12323 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12324 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12325 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12326 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12327 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12328 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12329 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12330 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12331 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12332 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12333 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12334 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12335 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12336 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12337 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12338 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12339 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12340 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12341 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12342 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12343 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12344 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12345 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12346 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
92a4c9fe
EB
12347 .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
12348 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
12349 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
12350 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
12351 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
12352 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
12353 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
12354 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
12355 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
12356 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
12357 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
12358 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
12359 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
12360 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
12361 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
12362 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
12363 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
12364 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
12365 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
12366 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
12367 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
12368 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
12369 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
12370 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
12371 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
12372 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
12373 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
12374 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
12375 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
12376 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
12377 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
12378 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
12379 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
12380 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
12381 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
12382 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
12383 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
12384 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
12385 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
12386 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
12387 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
12388 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
12389 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
12390 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
12391 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
12392 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
12393 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
12394 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
12395 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
12396 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
12397 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
12398 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
12399 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
12400 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
12401 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
12402 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
12403 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
12404 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
12405 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
12406 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
12407 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
12408 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
12409 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
12410 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
12411 .len = 512,
d7bfc0fa
JK
12412 },
12413};
12414
92a4c9fe
EB
12415static const struct cipher_testvec cast6_xts_tv_template[] = {
12416 { /* Generated from TF test vectors */
18be20b9
JK
12417 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
12418 "\x23\x53\x60\x28\x74\x71\x35\x26"
12419 "\x62\x49\x77\x57\x24\x70\x93\x69"
12420 "\x99\x59\x57\x49\x66\x96\x76\x27"
12421 "\x31\x41\x59\x26\x53\x58\x97\x93"
12422 "\x23\x84\x62\x64\x33\x83\x27\x95"
12423 "\x02\x88\x41\x97\x16\x93\x99\x37"
12424 "\x51\x05\x82\x09\x74\x94\x45\x92",
12425 .klen = 64,
12426 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
12427 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 12428 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
18be20b9
JK
12429 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12430 "\x10\x11\x12\x13\x14\x15\x16\x17"
12431 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12432 "\x20\x21\x22\x23\x24\x25\x26\x27"
12433 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12434 "\x30\x31\x32\x33\x34\x35\x36\x37"
12435 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12436 "\x40\x41\x42\x43\x44\x45\x46\x47"
12437 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12438 "\x50\x51\x52\x53\x54\x55\x56\x57"
12439 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12440 "\x60\x61\x62\x63\x64\x65\x66\x67"
12441 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12442 "\x70\x71\x72\x73\x74\x75\x76\x77"
12443 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12444 "\x80\x81\x82\x83\x84\x85\x86\x87"
12445 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12446 "\x90\x91\x92\x93\x94\x95\x96\x97"
12447 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12448 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12449 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12450 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12451 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12452 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12453 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12454 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12455 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12456 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12457 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12458 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12459 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12460 "\x00\x01\x02\x03\x04\x05\x06\x07"
12461 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12462 "\x10\x11\x12\x13\x14\x15\x16\x17"
12463 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12464 "\x20\x21\x22\x23\x24\x25\x26\x27"
12465 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12466 "\x30\x31\x32\x33\x34\x35\x36\x37"
12467 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12468 "\x40\x41\x42\x43\x44\x45\x46\x47"
12469 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12470 "\x50\x51\x52\x53\x54\x55\x56\x57"
12471 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12472 "\x60\x61\x62\x63\x64\x65\x66\x67"
12473 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12474 "\x70\x71\x72\x73\x74\x75\x76\x77"
12475 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12476 "\x80\x81\x82\x83\x84\x85\x86\x87"
12477 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12478 "\x90\x91\x92\x93\x94\x95\x96\x97"
12479 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12480 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12481 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12482 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12483 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12484 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12485 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12486 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12487 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12488 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12489 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12490 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12491 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
12492 .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
12493 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
12494 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
12495 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
12496 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
12497 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
12498 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
12499 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
12500 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
12501 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
12502 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
12503 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
12504 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
12505 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
12506 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
12507 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
12508 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
12509 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
12510 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
12511 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
12512 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
12513 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
12514 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
12515 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
12516 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
12517 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
12518 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
12519 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
12520 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
12521 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
12522 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
12523 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
12524 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
12525 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
12526 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
12527 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
12528 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
12529 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
12530 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
12531 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
12532 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
12533 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
12534 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
12535 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
12536 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
12537 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
12538 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
12539 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
12540 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
12541 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
12542 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
12543 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
12544 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
12545 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
12546 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
12547 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
12548 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
12549 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
12550 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
12551 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
12552 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
12553 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
12554 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
12555 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
12556 .len = 512,
18be20b9
JK
12557 },
12558};
12559
92a4c9fe
EB
12560/*
12561 * AES test vectors.
12562 */
12563static const struct cipher_testvec aes_tv_template[] = {
12564 { /* From FIPS-197 */
12565 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12566 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12567 .klen = 16,
12568 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
12569 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12570 .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
12571 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
12572 .len = 16,
18be20b9 12573 }, {
92a4c9fe 12574 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18be20b9 12575 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
92a4c9fe
EB
12576 "\x10\x11\x12\x13\x14\x15\x16\x17",
12577 .klen = 24,
12578 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
12579 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12580 .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
12581 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
12582 .len = 16,
12583 }, {
12584 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18be20b9
JK
12585 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12586 "\x10\x11\x12\x13\x14\x15\x16\x17"
92a4c9fe
EB
12587 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12588 .klen = 32,
12589 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
12590 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12591 .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
12592 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
12593 .len = 16,
12594 }, { /* Generated with Crypto++ */
12595 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
12596 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
12597 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
12598 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
12599 .klen = 32,
12600 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
12601 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
12602 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
12603 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
12604 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
12605 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
12606 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
12607 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
12608 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
12609 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
12610 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
12611 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
12612 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
12613 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
12614 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
12615 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
12616 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
12617 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
12618 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
12619 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
12620 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
12621 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
12622 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
12623 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
12624 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
12625 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
12626 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
12627 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
12628 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
12629 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
12630 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
12631 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
12632 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
12633 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
12634 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
12635 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
12636 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
12637 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
12638 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
12639 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
12640 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
12641 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
12642 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
12643 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
12644 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
12645 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
12646 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
12647 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
12648 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
12649 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
12650 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
12651 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
12652 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
12653 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
12654 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
12655 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
12656 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
12657 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
12658 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
12659 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
12660 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
12661 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
12662 .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
12663 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
12664 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
12665 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
12666 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
12667 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
12668 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
12669 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
12670 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
12671 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
12672 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
12673 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
12674 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
12675 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
12676 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
12677 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
12678 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
12679 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
12680 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
12681 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
12682 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
12683 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
12684 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
12685 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
12686 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
12687 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
12688 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
12689 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
12690 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
12691 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
12692 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
12693 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
12694 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
12695 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
12696 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
12697 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
12698 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
12699 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
12700 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
12701 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
12702 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
12703 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
12704 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
12705 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
12706 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
12707 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
12708 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
12709 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
12710 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
12711 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
12712 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
12713 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
12714 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
12715 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
12716 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
12717 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
12718 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
12719 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
12720 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
12721 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
12722 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
12723 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
12724 .len = 496,
92a4c9fe
EB
12725 },
12726};
12727
12728static const struct cipher_testvec aes_cbc_tv_template[] = {
12729 { /* From RFC 3602 */
12730 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
12731 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
12732 .klen = 16,
12733 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
12734 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
cdc69469
EB
12735 .iv_out = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
12736 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
92a4c9fe
EB
12737 .ptext = "Single block msg",
12738 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
12739 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
12740 .len = 16,
18be20b9 12741 }, {
92a4c9fe
EB
12742 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
12743 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
12744 .klen = 16,
12745 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
12746 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
cdc69469
EB
12747 .iv_out = "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
12748 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
92a4c9fe 12749 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
da7a0ab5
EB
12750 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12751 "\x10\x11\x12\x13\x14\x15\x16\x17"
12752 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
92a4c9fe
EB
12753 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
12754 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
12755 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
12756 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
12757 .len = 32,
12758 }, { /* From NIST SP800-38A */
12759 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
12760 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
12761 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
12762 .klen = 24,
12763 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12764 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
cdc69469
EB
12765 .iv_out = "\x08\xb0\xe2\x79\x88\x59\x88\x81"
12766 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
92a4c9fe
EB
12767 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12768 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12769 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12770 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12771 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12772 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12773 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12774 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12775 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
12776 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
12777 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
12778 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
12779 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
12780 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
12781 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
12782 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
12783 .len = 64,
12784 }, {
12785 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
12786 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
12787 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
12788 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
da7a0ab5 12789 .klen = 32,
92a4c9fe 12790 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
da7a0ab5 12791 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
cdc69469
EB
12792 .iv_out = "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
12793 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
92a4c9fe
EB
12794 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12795 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12796 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12797 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12798 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12799 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12800 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12801 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12802 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
12803 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
12804 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
12805 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
12806 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
12807 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
12808 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
12809 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
12810 .len = 64,
12811 }, { /* Generated with Crypto++ */
12812 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
12813 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
12814 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
12815 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
da7a0ab5 12816 .klen = 32,
92a4c9fe
EB
12817 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
12818 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
cdc69469
EB
12819 .iv_out = "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
12820 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
92a4c9fe
EB
12821 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
12822 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
12823 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
12824 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
12825 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
12826 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
12827 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
12828 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
12829 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
12830 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
12831 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
12832 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
12833 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
12834 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
12835 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
12836 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
12837 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
12838 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
12839 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
12840 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
12841 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
12842 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
12843 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
12844 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
12845 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
12846 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
12847 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
12848 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
12849 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
12850 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
12851 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
12852 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
12853 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
12854 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
12855 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
12856 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
12857 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
12858 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
12859 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
12860 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
12861 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
12862 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
12863 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
12864 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
12865 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
12866 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
12867 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
12868 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
12869 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
12870 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
12871 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
12872 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
12873 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
12874 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
12875 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
12876 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
12877 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
12878 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
12879 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
12880 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
12881 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
12882 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
12883 .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
12884 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
12885 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
12886 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
12887 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
12888 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
12889 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
12890 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
12891 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
12892 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
12893 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
12894 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
12895 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
12896 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
12897 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
12898 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
12899 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
12900 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
12901 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
12902 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
12903 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
12904 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
12905 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
12906 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
12907 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
12908 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
12909 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
12910 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
12911 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
12912 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
12913 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
12914 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
12915 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
12916 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
12917 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
12918 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
12919 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
12920 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
12921 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
12922 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
12923 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
12924 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
12925 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
12926 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
12927 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
12928 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
12929 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
12930 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
12931 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
12932 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
12933 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
12934 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
12935 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
12936 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
12937 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
12938 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
12939 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
12940 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
12941 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
12942 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
12943 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
12944 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
12945 .len = 496,
da7a0ab5
EB
12946 },
12947};
12948
7da66670
DES
12949static const struct cipher_testvec aes_cfb_tv_template[] = {
12950 { /* From NIST SP800-38A */
12951 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
12952 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
12953 .klen = 16,
12954 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12955 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12956 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12957 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12958 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12959 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12960 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12961 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12962 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12963 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12964 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
12965 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
12966 "\xc8\xa6\x45\x37\xa0\xb3\xa9\x3f"
12967 "\xcd\xe3\xcd\xad\x9f\x1c\xe5\x8b"
12968 "\x26\x75\x1f\x67\xa3\xcb\xb1\x40"
12969 "\xb1\x80\x8c\xf1\x87\xa4\xf4\xdf"
12970 "\xc0\x4b\x05\x35\x7c\x5d\x1c\x0e"
12971 "\xea\xc4\xc6\x6f\x9f\xf7\xf2\xe6",
12972 .len = 64,
12973 }, {
12974 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
12975 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
12976 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
12977 .klen = 24,
12978 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12979 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12980 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12981 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12982 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12983 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12984 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12985 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12986 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12987 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12988 .ctext = "\xcd\xc8\x0d\x6f\xdd\xf1\x8c\xab"
12989 "\x34\xc2\x59\x09\xc9\x9a\x41\x74"
12990 "\x67\xce\x7f\x7f\x81\x17\x36\x21"
12991 "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a"
12992 "\x2e\x1e\x8a\x1d\xd5\x9b\x88\xb1"
12993 "\xc8\xe6\x0f\xed\x1e\xfa\xc4\xc9"
12994 "\xc0\x5f\x9f\x9c\xa9\x83\x4f\xa0"
12995 "\x42\xae\x8f\xba\x58\x4b\x09\xff",
12996 .len = 64,
12997 }, {
12998 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
12999 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13000 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13001 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13002 .klen = 32,
13003 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13004 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13005 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13006 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13007 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13008 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13009 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13010 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13011 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13012 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13013 .ctext = "\xdc\x7e\x84\xbf\xda\x79\x16\x4b"
13014 "\x7e\xcd\x84\x86\x98\x5d\x38\x60"
13015 "\x39\xff\xed\x14\x3b\x28\xb1\xc8"
13016 "\x32\x11\x3c\x63\x31\xe5\x40\x7b"
13017 "\xdf\x10\x13\x24\x15\xe5\x4b\x92"
13018 "\xa1\x3e\xd0\xa8\x26\x7a\xe2\xf9"
13019 "\x75\xa3\x85\x74\x1a\xb9\xce\xf8"
13020 "\x20\x31\x62\x3d\x55\xb1\xe4\x71",
13021 .len = 64,
394a9e04
EB
13022 }, { /* > 16 bytes, not a multiple of 16 bytes */
13023 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
13024 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
13025 .klen = 16,
13026 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13027 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13028 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13029 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13030 "\xae",
13031 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
13032 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
13033 "\xc8",
13034 .len = 17,
13035 }, { /* < 16 bytes */
13036 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
13037 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
13038 .klen = 16,
13039 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13040 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13041 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
13042 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
13043 .len = 7,
7da66670
DES
13044 },
13045};
13046
a0d608ee 13047static const struct aead_testvec hmac_md5_ecb_cipher_null_tv_template[] = {
92a4c9fe
EB
13048 { /* Input data from RFC 2410 Case 1 */
13049#ifdef __LITTLE_ENDIAN
13050 .key = "\x08\x00" /* rta length */
13051 "\x01\x00" /* rta type */
13052#else
13053 .key = "\x00\x08" /* rta length */
13054 "\x00\x01" /* rta type */
13055#endif
13056 "\x00\x00\x00\x00" /* enc key length */
c3bb521b
EB
13057 "\x00\x00\x00\x00\x00\x00\x00\x00"
13058 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe
EB
13059 .klen = 8 + 16 + 0,
13060 .iv = "",
a0d608ee
EB
13061 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
13062 .plen = 8,
13063 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
92a4c9fe
EB
13064 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
13065 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
a0d608ee 13066 .clen = 8 + 16,
92a4c9fe
EB
13067 }, { /* Input data from RFC 2410 Case 2 */
13068#ifdef __LITTLE_ENDIAN
13069 .key = "\x08\x00" /* rta length */
13070 "\x01\x00" /* rta type */
13071#else
13072 .key = "\x00\x08" /* rta length */
13073 "\x00\x01" /* rta type */
13074#endif
13075 "\x00\x00\x00\x00" /* enc key length */
c3bb521b 13076 "\x00\x00\x00\x00\x00\x00\x00\x00"
92a4c9fe
EB
13077 "\x00\x00\x00\x00\x00\x00\x00\x00",
13078 .klen = 8 + 16 + 0,
13079 .iv = "",
a0d608ee
EB
13080 .ptext = "Network Security People Have A Strange Sense Of Humor",
13081 .plen = 53,
13082 .ctext = "Network Security People Have A Strange Sense Of Humor"
92a4c9fe
EB
13083 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
13084 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
a0d608ee 13085 .clen = 53 + 16,
92a4c9fe
EB
13086 },
13087};
13088
a0d608ee 13089static const struct aead_testvec hmac_sha1_aes_cbc_tv_temp[] = {
92a4c9fe
EB
13090 { /* RFC 3602 Case 1 */
13091#ifdef __LITTLE_ENDIAN
13092 .key = "\x08\x00" /* rta length */
13093 "\x01\x00" /* rta type */
13094#else
13095 .key = "\x00\x08" /* rta length */
13096 "\x00\x01" /* rta type */
13097#endif
13098 "\x00\x00\x00\x10" /* enc key length */
13099 "\x00\x00\x00\x00\x00\x00\x00\x00"
13100 "\x00\x00\x00\x00\x00\x00\x00\x00"
13101 "\x00\x00\x00\x00"
13102 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13103 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13104 .klen = 8 + 20 + 16,
13105 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13106 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13107 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13108 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13109 .alen = 16,
a0d608ee
EB
13110 .ptext = "Single block msg",
13111 .plen = 16,
13112 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
92a4c9fe
EB
13113 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13114 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
13115 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
13116 "\x03\x71\xa2\x06",
a0d608ee 13117 .clen = 16 + 20,
92a4c9fe
EB
13118 }, { /* RFC 3602 Case 2 */
13119#ifdef __LITTLE_ENDIAN
13120 .key = "\x08\x00" /* rta length */
13121 "\x01\x00" /* rta type */
13122#else
13123 .key = "\x00\x08" /* rta length */
13124 "\x00\x01" /* rta type */
13125#endif
13126 "\x00\x00\x00\x10" /* enc key length */
c3bb521b
EB
13127 "\x20\x21\x22\x23\x24\x25\x26\x27"
13128 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
92a4c9fe
EB
13129 "\x30\x31\x32\x33"
13130 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13131 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13132 .klen = 8 + 20 + 16,
13133 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13134 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13135 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13136 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13137 .alen = 16,
a0d608ee 13138 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
c3bb521b
EB
13139 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13140 "\x10\x11\x12\x13\x14\x15\x16\x17"
92a4c9fe 13141 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
a0d608ee
EB
13142 .plen = 32,
13143 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
92a4c9fe
EB
13144 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13145 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13146 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13147 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
13148 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
13149 "\x65\x39\xf8\xde",
a0d608ee 13150 .clen = 32 + 20,
92a4c9fe
EB
13151 }, { /* RFC 3602 Case 3 */
13152#ifdef __LITTLE_ENDIAN
13153 .key = "\x08\x00" /* rta length */
13154 "\x01\x00" /* rta type */
13155#else
13156 .key = "\x00\x08" /* rta length */
13157 "\x00\x01" /* rta type */
13158#endif
13159 "\x00\x00\x00\x10" /* enc key length */
13160 "\x11\x22\x33\x44\x55\x66\x77\x88"
13161 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13162 "\x22\x33\x44\x55"
13163 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
13164 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
13165 .klen = 8 + 20 + 16,
13166 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13167 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13168 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13169 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13170 .alen = 16,
a0d608ee
EB
13171 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13172 .plen = 48,
13173 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
92a4c9fe
EB
13174 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13175 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13176 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
13177 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
13178 "\x85\x79\x69\x5d\x83\xba\x26\x84"
13179 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
13180 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
13181 "\x8d\x62\xf2\x1e",
a0d608ee 13182 .clen = 48 + 20,
92a4c9fe
EB
13183 }, { /* RFC 3602 Case 4 */
13184#ifdef __LITTLE_ENDIAN
13185 .key = "\x08\x00" /* rta length */
13186 "\x01\x00" /* rta type */
13187#else
13188 .key = "\x00\x08" /* rta length */
13189 "\x00\x01" /* rta type */
13190#endif
13191 "\x00\x00\x00\x10" /* enc key length */
13192 "\x11\x22\x33\x44\x55\x66\x77\x88"
13193 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13194 "\x22\x33\x44\x55"
13195 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
13196 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
13197 .klen = 8 + 20 + 16,
13198 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13199 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13200 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13201 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13202 .alen = 16,
a0d608ee 13203 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
c3bb521b
EB
13204 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13205 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13206 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13207 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13208 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13209 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
92a4c9fe 13210 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
a0d608ee
EB
13211 .plen = 64,
13212 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
92a4c9fe
EB
13213 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13214 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13215 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
13216 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
13217 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
13218 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
13219 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
13220 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
13221 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
13222 "\x1d\xbe\xc6\xe9",
a0d608ee 13223 .clen = 64 + 20,
92a4c9fe
EB
13224 }, { /* RFC 3602 Case 5 */
13225#ifdef __LITTLE_ENDIAN
13226 .key = "\x08\x00" /* rta length */
13227 "\x01\x00" /* rta type */
13228#else
13229 .key = "\x00\x08" /* rta length */
13230 "\x00\x01" /* rta type */
13231#endif
13232 "\x00\x00\x00\x10" /* enc key length */
13233 "\x11\x22\x33\x44\x55\x66\x77\x88"
13234 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13235 "\x22\x33\x44\x55"
13236 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
13237 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
13238 .klen = 8 + 20 + 16,
13239 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13240 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13241 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13242 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13243 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13244 .alen = 24,
a0d608ee 13245 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
92a4c9fe 13246 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
c3bb521b
EB
13247 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13248 "\x10\x11\x12\x13\x14\x15\x16\x17"
13249 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13250 "\x20\x21\x22\x23\x24\x25\x26\x27"
13251 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13252 "\x30\x31\x32\x33\x34\x35\x36\x37"
92a4c9fe
EB
13253 "\x01\x02\x03\x04\x05\x06\x07\x08"
13254 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
a0d608ee
EB
13255 .plen = 80,
13256 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
92a4c9fe
EB
13257 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13258 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13259 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
13260 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
13261 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
13262 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
13263 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
13264 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
13265 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
13266 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
13267 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
13268 "\x85\xe1\x59\xf7",
a0d608ee 13269 .clen = 80 + 20,
92a4c9fe
EB
13270 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13271#ifdef __LITTLE_ENDIAN
13272 .key = "\x08\x00" /* rta length */
13273 "\x01\x00" /* rta type */
13274#else
13275 .key = "\x00\x08" /* rta length */
13276 "\x00\x01" /* rta type */
13277#endif
13278 "\x00\x00\x00\x18" /* enc key length */
13279 "\x11\x22\x33\x44\x55\x66\x77\x88"
13280 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13281 "\x22\x33\x44\x55"
13282 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13283 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13284 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13285 .klen = 8 + 20 + 24,
13286 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13287 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13288 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13289 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13290 .alen = 16,
a0d608ee 13291 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13292 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13293 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13294 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13295 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13296 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13297 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13298 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
13299 .plen = 64,
13300 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
92a4c9fe
EB
13301 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13302 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13303 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13304 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13305 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13306 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13307 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
13308 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
13309 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
13310 "\x47\x4c\xfc\x36",
a0d608ee 13311 .clen = 64 + 20,
92a4c9fe
EB
13312 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13313#ifdef __LITTLE_ENDIAN
13314 .key = "\x08\x00" /* rta length */
13315 "\x01\x00" /* rta type */
13316#else
13317 .key = "\x00\x08" /* rta length */
13318 "\x00\x01" /* rta type */
13319#endif
13320 "\x00\x00\x00\x20" /* enc key length */
13321 "\x11\x22\x33\x44\x55\x66\x77\x88"
13322 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13323 "\x22\x33\x44\x55"
13324 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13325 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13326 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13327 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13328 .klen = 8 + 20 + 32,
13329 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13330 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13331 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13332 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13333 .alen = 16,
a0d608ee 13334 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13335 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13336 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13337 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13338 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13339 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13340 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13341 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
13342 .plen = 64,
13343 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
92a4c9fe
EB
13344 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13345 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13346 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
13347 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
13348 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
13349 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
13350 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
13351 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
13352 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
13353 "\x51\xee\xd6\x4e",
a0d608ee 13354 .clen = 64 + 20,
92a4c9fe
EB
13355 },
13356};
13357
a0d608ee 13358static const struct aead_testvec hmac_sha1_ecb_cipher_null_tv_temp[] = {
92a4c9fe
EB
13359 { /* Input data from RFC 2410 Case 1 */
13360#ifdef __LITTLE_ENDIAN
13361 .key = "\x08\x00" /* rta length */
13362 "\x01\x00" /* rta type */
13363#else
13364 .key = "\x00\x08" /* rta length */
13365 "\x00\x01" /* rta type */
13366#endif
13367 "\x00\x00\x00\x00" /* enc key length */
13368 "\x00\x00\x00\x00\x00\x00\x00\x00"
13369 "\x00\x00\x00\x00\x00\x00\x00\x00"
13370 "\x00\x00\x00\x00",
13371 .klen = 8 + 20 + 0,
13372 .iv = "",
a0d608ee
EB
13373 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
13374 .plen = 8,
13375 .ctext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
92a4c9fe
EB
13376 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
13377 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
13378 "\x8c\x5e\xe4\x08",
a0d608ee 13379 .clen = 8 + 20,
92a4c9fe
EB
13380 }, { /* Input data from RFC 2410 Case 2 */
13381#ifdef __LITTLE_ENDIAN
13382 .key = "\x08\x00" /* rta length */
13383 "\x01\x00" /* rta type */
13384#else
13385 .key = "\x00\x08" /* rta length */
13386 "\x00\x01" /* rta type */
13387#endif
13388 "\x00\x00\x00\x00" /* enc key length */
13389 "\x00\x00\x00\x00\x00\x00\x00\x00"
13390 "\x00\x00\x00\x00\x00\x00\x00\x00"
13391 "\x00\x00\x00\x00",
13392 .klen = 8 + 20 + 0,
13393 .iv = "",
a0d608ee
EB
13394 .ptext = "Network Security People Have A Strange Sense Of Humor",
13395 .plen = 53,
13396 .ctext = "Network Security People Have A Strange Sense Of Humor"
92a4c9fe
EB
13397 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
13398 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
13399 "\x91\x56\xe4\xd6",
a0d608ee 13400 .clen = 53 + 20,
92a4c9fe
EB
13401 },
13402};
13403
a0d608ee 13404static const struct aead_testvec hmac_sha256_aes_cbc_tv_temp[] = {
92a4c9fe
EB
13405 { /* RFC 3602 Case 1 */
13406#ifdef __LITTLE_ENDIAN
13407 .key = "\x08\x00" /* rta length */
13408 "\x01\x00" /* rta type */
13409#else
13410 .key = "\x00\x08" /* rta length */
13411 "\x00\x01" /* rta type */
13412#endif
13413 "\x00\x00\x00\x10" /* enc key length */
13414 "\x00\x00\x00\x00\x00\x00\x00\x00"
13415 "\x00\x00\x00\x00\x00\x00\x00\x00"
13416 "\x00\x00\x00\x00\x00\x00\x00\x00"
13417 "\x00\x00\x00\x00\x00\x00\x00\x00"
13418 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13419 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13420 .klen = 8 + 32 + 16,
13421 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13422 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13423 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13424 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13425 .alen = 16,
a0d608ee
EB
13426 .ptext = "Single block msg",
13427 .plen = 16,
13428 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
92a4c9fe
EB
13429 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13430 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
13431 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
13432 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
13433 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
a0d608ee 13434 .clen = 16 + 32,
92a4c9fe
EB
13435 }, { /* RFC 3602 Case 2 */
13436#ifdef __LITTLE_ENDIAN
13437 .key = "\x08\x00" /* rta length */
13438 "\x01\x00" /* rta type */
13439#else
13440 .key = "\x00\x08" /* rta length */
13441 "\x00\x01" /* rta type */
13442#endif
13443 "\x00\x00\x00\x10" /* enc key length */
c3bb521b
EB
13444 "\x20\x21\x22\x23\x24\x25\x26\x27"
13445 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13446 "\x30\x31\x32\x33\x34\x35\x36\x37"
13447 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
92a4c9fe
EB
13448 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13449 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13450 .klen = 8 + 32 + 16,
13451 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13452 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13453 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13454 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13455 .alen = 16,
a0d608ee 13456 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
92a4c9fe
EB
13457 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13458 "\x10\x11\x12\x13\x14\x15\x16\x17"
13459 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
a0d608ee
EB
13460 .plen = 32,
13461 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
92a4c9fe
EB
13462 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13463 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13464 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13465 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
13466 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
13467 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
13468 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
a0d608ee 13469 .clen = 32 + 32,
92a4c9fe
EB
13470 }, { /* RFC 3602 Case 3 */
13471#ifdef __LITTLE_ENDIAN
13472 .key = "\x08\x00" /* rta length */
13473 "\x01\x00" /* rta type */
13474#else
13475 .key = "\x00\x08" /* rta length */
13476 "\x00\x01" /* rta type */
13477#endif
13478 "\x00\x00\x00\x10" /* enc key length */
13479 "\x11\x22\x33\x44\x55\x66\x77\x88"
13480 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13481 "\x22\x33\x44\x55\x66\x77\x88\x99"
13482 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13483 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
13484 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
13485 .klen = 8 + 32 + 16,
13486 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13487 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13488 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13489 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13490 .alen = 16,
a0d608ee
EB
13491 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13492 .plen = 48,
13493 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
92a4c9fe
EB
13494 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13495 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13496 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
13497 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
13498 "\x85\x79\x69\x5d\x83\xba\x26\x84"
13499 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
13500 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
13501 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
13502 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
a0d608ee 13503 .clen = 48 + 32,
92a4c9fe
EB
13504 }, { /* RFC 3602 Case 4 */
13505#ifdef __LITTLE_ENDIAN
13506 .key = "\x08\x00" /* rta length */
13507 "\x01\x00" /* rta type */
13508#else
13509 .key = "\x00\x08" /* rta length */
13510 "\x00\x01" /* rta type */
13511#endif
13512 "\x00\x00\x00\x10" /* enc key length */
13513 "\x11\x22\x33\x44\x55\x66\x77\x88"
13514 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13515 "\x22\x33\x44\x55\x66\x77\x88\x99"
13516 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13517 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
13518 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
13519 .klen = 8 + 32 + 16,
13520 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13521 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13522 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13523 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13524 .alen = 16,
a0d608ee 13525 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
c3bb521b
EB
13526 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13527 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13528 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13529 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13530 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13531 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
92a4c9fe 13532 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
a0d608ee
EB
13533 .plen = 64,
13534 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
92a4c9fe
EB
13535 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13536 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13537 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
13538 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
13539 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
13540 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
13541 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
13542 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
13543 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
13544 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
13545 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
a0d608ee 13546 .clen = 64 + 32,
92a4c9fe
EB
13547 }, { /* RFC 3602 Case 5 */
13548#ifdef __LITTLE_ENDIAN
13549 .key = "\x08\x00" /* rta length */
13550 "\x01\x00" /* rta type */
13551#else
13552 .key = "\x00\x08" /* rta length */
13553 "\x00\x01" /* rta type */
13554#endif
13555 "\x00\x00\x00\x10" /* enc key length */
13556 "\x11\x22\x33\x44\x55\x66\x77\x88"
13557 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13558 "\x22\x33\x44\x55\x66\x77\x88\x99"
13559 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13560 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
13561 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
13562 .klen = 8 + 32 + 16,
13563 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13564 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13565 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13566 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13567 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13568 .alen = 24,
a0d608ee 13569 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
92a4c9fe 13570 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
c3bb521b
EB
13571 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13572 "\x10\x11\x12\x13\x14\x15\x16\x17"
13573 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13574 "\x20\x21\x22\x23\x24\x25\x26\x27"
13575 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13576 "\x30\x31\x32\x33\x34\x35\x36\x37"
92a4c9fe
EB
13577 "\x01\x02\x03\x04\x05\x06\x07\x08"
13578 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
a0d608ee
EB
13579 .plen = 80,
13580 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
92a4c9fe
EB
13581 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13582 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13583 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
13584 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
13585 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
13586 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
13587 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
13588 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
13589 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
13590 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
13591 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
13592 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
13593 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
a0d608ee 13594 .clen = 80 + 32,
92a4c9fe
EB
13595 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13596#ifdef __LITTLE_ENDIAN
13597 .key = "\x08\x00" /* rta length */
13598 "\x01\x00" /* rta type */
13599#else
13600 .key = "\x00\x08" /* rta length */
13601 "\x00\x01" /* rta type */
13602#endif
13603 "\x00\x00\x00\x18" /* enc key length */
13604 "\x11\x22\x33\x44\x55\x66\x77\x88"
13605 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13606 "\x22\x33\x44\x55\x66\x77\x88\x99"
13607 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13608 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13609 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13610 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13611 .klen = 8 + 32 + 24,
13612 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13613 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13614 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13615 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13616 .alen = 16,
a0d608ee 13617 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13618 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13619 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13620 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13621 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13622 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13623 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13624 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
13625 .plen = 64,
13626 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
92a4c9fe
EB
13627 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13628 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13629 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13630 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13631 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13632 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13633 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
13634 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
13635 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
13636 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
13637 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
a0d608ee 13638 .clen = 64 + 32,
92a4c9fe
EB
13639 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13640#ifdef __LITTLE_ENDIAN
13641 .key = "\x08\x00" /* rta length */
13642 "\x01\x00" /* rta type */
13643#else
13644 .key = "\x00\x08" /* rta length */
13645 "\x00\x01" /* rta type */
13646#endif
13647 "\x00\x00\x00\x20" /* enc key length */
13648 "\x11\x22\x33\x44\x55\x66\x77\x88"
13649 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13650 "\x22\x33\x44\x55\x66\x77\x88\x99"
13651 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13652 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13653 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13654 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13655 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13656 .klen = 8 + 32 + 32,
13657 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13658 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13659 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13660 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13661 .alen = 16,
a0d608ee 13662 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13663 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13664 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13665 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13666 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13667 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13668 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13669 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
13670 .plen = 64,
13671 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
92a4c9fe
EB
13672 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13673 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13674 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
13675 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
13676 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
13677 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
13678 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
13679 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
13680 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
13681 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
13682 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
a0d608ee 13683 .clen = 64 + 32,
da7a0ab5
EB
13684 },
13685};
13686
a0d608ee 13687static const struct aead_testvec hmac_sha512_aes_cbc_tv_temp[] = {
92a4c9fe
EB
13688 { /* RFC 3602 Case 1 */
13689#ifdef __LITTLE_ENDIAN
13690 .key = "\x08\x00" /* rta length */
13691 "\x01\x00" /* rta type */
13692#else
13693 .key = "\x00\x08" /* rta length */
13694 "\x00\x01" /* rta type */
13695#endif
13696 "\x00\x00\x00\x10" /* enc key length */
41b3316e 13697 "\x00\x00\x00\x00\x00\x00\x00\x00"
41b3316e
EB
13698 "\x00\x00\x00\x00\x00\x00\x00\x00"
13699 "\x00\x00\x00\x00\x00\x00\x00\x00"
92a4c9fe
EB
13700 "\x00\x00\x00\x00\x00\x00\x00\x00"
13701 "\x00\x00\x00\x00\x00\x00\x00\x00"
13702 "\x00\x00\x00\x00\x00\x00\x00\x00"
13703 "\x00\x00\x00\x00\x00\x00\x00\x00"
13704 "\x00\x00\x00\x00\x00\x00\x00\x00"
13705 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13706 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13707 .klen = 8 + 64 + 16,
13708 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13709 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13710 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13711 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13712 .alen = 16,
a0d608ee
EB
13713 .ptext = "Single block msg",
13714 .plen = 16,
13715 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
92a4c9fe
EB
13716 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13717 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
13718 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
13719 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
13720 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
13721 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
13722 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
13723 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
13724 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
a0d608ee 13725 .clen = 16 + 64,
92a4c9fe
EB
13726 }, { /* RFC 3602 Case 2 */
13727#ifdef __LITTLE_ENDIAN
13728 .key = "\x08\x00" /* rta length */
13729 "\x01\x00" /* rta type */
13730#else
13731 .key = "\x00\x08" /* rta length */
13732 "\x00\x01" /* rta type */
13733#endif
13734 "\x00\x00\x00\x10" /* enc key length */
41b3316e
EB
13735 "\x20\x21\x22\x23\x24\x25\x26\x27"
13736 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13737 "\x30\x31\x32\x33\x34\x35\x36\x37"
13738 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13739 "\x40\x41\x42\x43\x44\x45\x46\x47"
13740 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13741 "\x50\x51\x52\x53\x54\x55\x56\x57"
13742 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
92a4c9fe
EB
13743 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13744 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13745 .klen = 8 + 64 + 16,
13746 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13747 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13748 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13749 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13750 .alen = 16,
a0d608ee 13751 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
92a4c9fe
EB
13752 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13753 "\x10\x11\x12\x13\x14\x15\x16\x17"
13754 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
a0d608ee
EB
13755 .plen = 32,
13756 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
92a4c9fe
EB
13757 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13758 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13759 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13760 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
13761 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
13762 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
13763 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
13764 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
13765 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
13766 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
13767 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
a0d608ee 13768 .clen = 32 + 64,
92a4c9fe
EB
13769 }, { /* RFC 3602 Case 3 */
13770#ifdef __LITTLE_ENDIAN
13771 .key = "\x08\x00" /* rta length */
13772 "\x01\x00" /* rta type */
13773#else
13774 .key = "\x00\x08" /* rta length */
13775 "\x00\x01" /* rta type */
13776#endif
13777 "\x00\x00\x00\x10" /* enc key length */
13778 "\x11\x22\x33\x44\x55\x66\x77\x88"
13779 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13780 "\x22\x33\x44\x55\x66\x77\x88\x99"
13781 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13782 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13783 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13784 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13785 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13786 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
13787 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
13788 .klen = 8 + 64 + 16,
13789 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13790 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13791 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13792 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13793 .alen = 16,
a0d608ee
EB
13794 .ptext = "This is a 48-byte message (exactly 3 AES blocks)",
13795 .plen = 48,
13796 .ctext = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
92a4c9fe
EB
13797 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13798 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13799 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
13800 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
13801 "\x85\x79\x69\x5d\x83\xba\x26\x84"
13802 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
13803 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
13804 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
13805 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
13806 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
13807 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
13808 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
13809 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
a0d608ee 13810 .clen = 48 + 64,
92a4c9fe
EB
13811 }, { /* RFC 3602 Case 4 */
13812#ifdef __LITTLE_ENDIAN
13813 .key = "\x08\x00" /* rta length */
13814 "\x01\x00" /* rta type */
13815#else
13816 .key = "\x00\x08" /* rta length */
13817 "\x00\x01" /* rta type */
13818#endif
13819 "\x00\x00\x00\x10" /* enc key length */
13820 "\x11\x22\x33\x44\x55\x66\x77\x88"
13821 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13822 "\x22\x33\x44\x55\x66\x77\x88\x99"
13823 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13824 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13825 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13826 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13827 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13828 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
13829 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
13830 .klen = 8 + 64 + 16,
13831 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13832 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13833 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13834 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13835 .alen = 16,
a0d608ee 13836 .ptext = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
41b3316e
EB
13837 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13838 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13839 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13840 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13841 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13842 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
92a4c9fe 13843 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
a0d608ee
EB
13844 .plen = 64,
13845 .ctext = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
92a4c9fe
EB
13846 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13847 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13848 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
13849 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
13850 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
13851 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
13852 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
13853 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
13854 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
13855 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
13856 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
13857 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
13858 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
13859 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
13860 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
a0d608ee 13861 .clen = 64 + 64,
92a4c9fe
EB
13862 }, { /* RFC 3602 Case 5 */
13863#ifdef __LITTLE_ENDIAN
13864 .key = "\x08\x00" /* rta length */
13865 "\x01\x00" /* rta type */
13866#else
13867 .key = "\x00\x08" /* rta length */
13868 "\x00\x01" /* rta type */
13869#endif
13870 "\x00\x00\x00\x10" /* enc key length */
13871 "\x11\x22\x33\x44\x55\x66\x77\x88"
13872 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13873 "\x22\x33\x44\x55\x66\x77\x88\x99"
13874 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13875 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13876 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13877 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13878 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13879 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
13880 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
13881 .klen = 8 + 64 + 16,
13882 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13883 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13884 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13885 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13886 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13887 .alen = 24,
a0d608ee 13888 .ptext = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
92a4c9fe 13889 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
41b3316e
EB
13890 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13891 "\x10\x11\x12\x13\x14\x15\x16\x17"
13892 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13893 "\x20\x21\x22\x23\x24\x25\x26\x27"
13894 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13895 "\x30\x31\x32\x33\x34\x35\x36\x37"
92a4c9fe
EB
13896 "\x01\x02\x03\x04\x05\x06\x07\x08"
13897 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
a0d608ee
EB
13898 .plen = 80,
13899 .ctext = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
92a4c9fe
EB
13900 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13901 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13902 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
13903 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
13904 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
13905 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
13906 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
13907 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
13908 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
13909 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
13910 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
13911 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
13912 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
13913 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
13914 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
13915 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
13916 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
a0d608ee 13917 .clen = 80 + 64,
92a4c9fe
EB
13918 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13919#ifdef __LITTLE_ENDIAN
13920 .key = "\x08\x00" /* rta length */
13921 "\x01\x00" /* rta type */
13922#else
13923 .key = "\x00\x08" /* rta length */
13924 "\x00\x01" /* rta type */
13925#endif
13926 "\x00\x00\x00\x18" /* enc key length */
13927 "\x11\x22\x33\x44\x55\x66\x77\x88"
13928 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13929 "\x22\x33\x44\x55\x66\x77\x88\x99"
13930 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13931 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13932 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13933 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13934 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13935 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13936 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13937 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13938 .klen = 8 + 64 + 24,
13939 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13940 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13941 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13942 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13943 .alen = 16,
a0d608ee 13944 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13945 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13946 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13947 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13948 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13949 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13950 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13951 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
13952 .plen = 64,
13953 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
92a4c9fe
EB
13954 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13955 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13956 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13957 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13958 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13959 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13960 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
13961 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
13962 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
13963 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
13964 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
13965 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
13966 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
13967 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
13968 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
a0d608ee 13969 .clen = 64 + 64,
92a4c9fe
EB
13970 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13971#ifdef __LITTLE_ENDIAN
13972 .key = "\x08\x00" /* rta length */
13973 "\x01\x00" /* rta type */
13974#else
13975 .key = "\x00\x08" /* rta length */
13976 "\x00\x01" /* rta type */
13977#endif
13978 "\x00\x00\x00\x20" /* enc key length */
13979 "\x11\x22\x33\x44\x55\x66\x77\x88"
13980 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13981 "\x22\x33\x44\x55\x66\x77\x88\x99"
13982 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13983 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13984 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13985 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13986 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13987 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13988 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13989 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13990 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13991 .klen = 8 + 64 + 32,
13992 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13993 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13994 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
13995 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13996 .alen = 16,
a0d608ee 13997 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
92a4c9fe
EB
13998 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13999 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14000 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14001 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14002 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14003 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14004 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
a0d608ee
EB
14005 .plen = 64,
14006 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
92a4c9fe
EB
14007 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14008 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14009 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14010 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14011 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14012 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14013 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
14014 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
14015 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
14016 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
14017 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
14018 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
14019 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
14020 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
14021 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
a0d608ee 14022 .clen = 64 + 64,
92a4c9fe 14023 },
41b3316e
EB
14024};
14025
a0d608ee 14026static const struct aead_testvec hmac_sha1_des_cbc_tv_temp[] = {
92a4c9fe
EB
14027 { /*Generated with cryptopp*/
14028#ifdef __LITTLE_ENDIAN
14029 .key = "\x08\x00" /* rta length */
14030 "\x01\x00" /* rta type */
14031#else
14032 .key = "\x00\x08" /* rta length */
14033 "\x00\x01" /* rta type */
14034#endif
14035 "\x00\x00\x00\x08" /* enc key length */
14036 "\x11\x22\x33\x44\x55\x66\x77\x88"
14037 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14038 "\x22\x33\x44\x55"
14039 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
14040 .klen = 8 + 20 + 8,
14041 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14042 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14043 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14044 .alen = 16,
a0d608ee 14045 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14046 "\x53\x20\x63\x65\x65\x72\x73\x74"
14047 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14048 "\x20\x79\x65\x53\x72\x63\x74\x65"
14049 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14050 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14051 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14052 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14053 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14054 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14055 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14056 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14057 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14058 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14059 "\x63\x65\x65\x72\x73\x74\x54\x20"
14060 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14061 .plen = 128,
14062 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
92a4c9fe
EB
14063 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14064 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14065 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
14066 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
14067 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
14068 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
14069 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
14070 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
14071 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
14072 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
14073 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
14074 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
14075 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
14076 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
14077 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
14078 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
14079 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
14080 "\x5c\x44\xa9\x37",
a0d608ee 14081 .clen = 128 + 20,
92a4c9fe 14082 },
41b3316e
EB
14083};
14084
a0d608ee 14085static const struct aead_testvec hmac_sha224_des_cbc_tv_temp[] = {
92a4c9fe
EB
14086 { /*Generated with cryptopp*/
14087#ifdef __LITTLE_ENDIAN
14088 .key = "\x08\x00" /* rta length */
14089 "\x01\x00" /* rta type */
14090#else
14091 .key = "\x00\x08" /* rta length */
14092 "\x00\x01" /* rta type */
14093#endif
14094 "\x00\x00\x00\x08" /* enc key length */
14095 "\x11\x22\x33\x44\x55\x66\x77\x88"
14096 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14097 "\x22\x33\x44\x55\x66\x77\x88\x99"
14098 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
14099 .klen = 8 + 24 + 8,
14100 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14101 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14102 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14103 .alen = 16,
a0d608ee 14104 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14105 "\x53\x20\x63\x65\x65\x72\x73\x74"
14106 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14107 "\x20\x79\x65\x53\x72\x63\x74\x65"
14108 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14109 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14110 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14111 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14112 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14113 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14114 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14115 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14116 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14117 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14118 "\x63\x65\x65\x72\x73\x74\x54\x20"
14119 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14120 .plen = 128,
14121 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
92a4c9fe
EB
14122 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14123 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14124 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
14125 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
14126 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
14127 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
14128 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
14129 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
14130 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
14131 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
14132 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
14133 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
14134 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
14135 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
14136 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
14137 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
14138 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
14139 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
a0d608ee 14140 .clen = 128 + 24,
da7f033d
HX
14141 },
14142};
14143
a0d608ee 14144static const struct aead_testvec hmac_sha256_des_cbc_tv_temp[] = {
92a4c9fe
EB
14145 { /*Generated with cryptopp*/
14146#ifdef __LITTLE_ENDIAN
14147 .key = "\x08\x00" /* rta length */
14148 "\x01\x00" /* rta type */
14149#else
14150 .key = "\x00\x08" /* rta length */
14151 "\x00\x01" /* rta type */
14152#endif
14153 "\x00\x00\x00\x08" /* enc key length */
14154 "\x11\x22\x33\x44\x55\x66\x77\x88"
14155 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14156 "\x22\x33\x44\x55\x66\x77\x88\x99"
14157 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14158 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
14159 .klen = 8 + 32 + 8,
14160 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14161 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14162 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14163 .alen = 16,
a0d608ee 14164 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14165 "\x53\x20\x63\x65\x65\x72\x73\x74"
14166 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14167 "\x20\x79\x65\x53\x72\x63\x74\x65"
14168 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14169 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14170 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14171 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14172 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14173 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14174 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14175 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14176 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14177 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14178 "\x63\x65\x65\x72\x73\x74\x54\x20"
14179 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14180 .plen = 128,
14181 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
92a4c9fe
EB
14182 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14183 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14184 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
14185 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
14186 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
14187 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
14188 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
14189 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
14190 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
14191 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
14192 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
14193 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
14194 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
14195 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
14196 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
14197 "\xc6\x58\xa1\x60\x70\x91\x39\x36"
14198 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
14199 "\xde\x63\xde\x76\x52\xde\x9f\xba"
14200 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
a0d608ee 14201 .clen = 128 + 32,
9b8b0405
JG
14202 },
14203};
14204
a0d608ee 14205static const struct aead_testvec hmac_sha384_des_cbc_tv_temp[] = {
92a4c9fe
EB
14206 { /*Generated with cryptopp*/
14207#ifdef __LITTLE_ENDIAN
14208 .key = "\x08\x00" /* rta length */
14209 "\x01\x00" /* rta type */
14210#else
14211 .key = "\x00\x08" /* rta length */
14212 "\x00\x01" /* rta type */
14213#endif
14214 "\x00\x00\x00\x08" /* enc key length */
14215 "\x11\x22\x33\x44\x55\x66\x77\x88"
14216 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14217 "\x22\x33\x44\x55\x66\x77\x88\x99"
14218 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14219 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14220 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14221 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
14222 .klen = 8 + 48 + 8,
14223 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14224 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14225 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14226 .alen = 16,
a0d608ee 14227 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14228 "\x53\x20\x63\x65\x65\x72\x73\x74"
14229 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14230 "\x20\x79\x65\x53\x72\x63\x74\x65"
14231 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14232 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14233 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14234 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14235 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14236 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14237 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14238 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14239 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14240 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14241 "\x63\x65\x65\x72\x73\x74\x54\x20"
14242 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14243 .plen = 128,
14244 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
92a4c9fe
EB
14245 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14246 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14247 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
14248 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
14249 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
14250 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
14251 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
14252 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
14253 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
14254 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
14255 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
14256 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
14257 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
14258 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
14259 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
14260 "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
14261 "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
14262 "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
14263 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
14264 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
14265 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
a0d608ee 14266 .clen = 128 + 48,
9b8b0405
JG
14267 },
14268};
14269
a0d608ee 14270static const struct aead_testvec hmac_sha512_des_cbc_tv_temp[] = {
92a4c9fe
EB
14271 { /*Generated with cryptopp*/
14272#ifdef __LITTLE_ENDIAN
14273 .key = "\x08\x00" /* rta length */
14274 "\x01\x00" /* rta type */
14275#else
14276 .key = "\x00\x08" /* rta length */
14277 "\x00\x01" /* rta type */
14278#endif
14279 "\x00\x00\x00\x08" /* enc key length */
14280 "\x11\x22\x33\x44\x55\x66\x77\x88"
14281 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14282 "\x22\x33\x44\x55\x66\x77\x88\x99"
14283 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14284 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14285 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14286 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14287 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14288 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
14289 .klen = 8 + 64 + 8,
14290 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14291 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14292 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14293 .alen = 16,
a0d608ee 14294 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14295 "\x53\x20\x63\x65\x65\x72\x73\x74"
14296 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14297 "\x20\x79\x65\x53\x72\x63\x74\x65"
14298 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14299 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14300 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14301 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14302 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14303 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14304 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14305 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14306 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14307 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14308 "\x63\x65\x65\x72\x73\x74\x54\x20"
14309 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14310 .plen = 128,
14311 .ctext = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
92a4c9fe
EB
14312 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
14313 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
14314 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
14315 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
14316 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
14317 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
14318 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
14319 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
14320 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
14321 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
14322 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
14323 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
14324 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
14325 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
14326 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
14327 "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
14328 "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
14329 "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
14330 "\x58\x83\xda\x67\xfb\x21\x24\xa2"
14331 "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
14332 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
14333 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
14334 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
a0d608ee 14335 .clen = 128 + 64,
9b8b0405
JG
14336 },
14337};
14338
a0d608ee 14339static const struct aead_testvec hmac_sha1_des3_ede_cbc_tv_temp[] = {
92a4c9fe
EB
14340 { /*Generated with cryptopp*/
14341#ifdef __LITTLE_ENDIAN
14342 .key = "\x08\x00" /* rta length */
14343 "\x01\x00" /* rta type */
14344#else
14345 .key = "\x00\x08" /* rta length */
14346 "\x00\x01" /* rta type */
14347#endif
14348 "\x00\x00\x00\x18" /* enc key length */
14349 "\x11\x22\x33\x44\x55\x66\x77\x88"
14350 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14351 "\x22\x33\x44\x55"
14352 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
14353 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
14354 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
14355 .klen = 8 + 20 + 24,
14356 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14357 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14358 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14359 .alen = 16,
a0d608ee 14360 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14361 "\x53\x20\x63\x65\x65\x72\x73\x74"
14362 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14363 "\x20\x79\x65\x53\x72\x63\x74\x65"
14364 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14365 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14366 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14367 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14368 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14369 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14370 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14371 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14372 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14373 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14374 "\x63\x65\x65\x72\x73\x74\x54\x20"
14375 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14376 .plen = 128,
14377 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
92a4c9fe
EB
14378 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14379 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14380 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
14381 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
14382 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
14383 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
14384 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
14385 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
14386 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
14387 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
14388 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
14389 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
14390 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
14391 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
14392 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
14393 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
14394 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
14395 "\xd1\x60\x91\xb3",
a0d608ee 14396 .clen = 128 + 20,
9b8b0405
JG
14397 },
14398};
14399
a0d608ee 14400static const struct aead_testvec hmac_sha224_des3_ede_cbc_tv_temp[] = {
92a4c9fe
EB
14401 { /*Generated with cryptopp*/
14402#ifdef __LITTLE_ENDIAN
14403 .key = "\x08\x00" /* rta length */
14404 "\x01\x00" /* rta type */
14405#else
14406 .key = "\x00\x08" /* rta length */
14407 "\x00\x01" /* rta type */
14408#endif
14409 "\x00\x00\x00\x18" /* enc key length */
14410 "\x11\x22\x33\x44\x55\x66\x77\x88"
14411 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14412 "\x22\x33\x44\x55\x66\x77\x88\x99"
14413 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
14414 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
14415 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
14416 .klen = 8 + 24 + 24,
14417 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14418 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14419 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14420 .alen = 16,
a0d608ee 14421 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14422 "\x53\x20\x63\x65\x65\x72\x73\x74"
14423 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14424 "\x20\x79\x65\x53\x72\x63\x74\x65"
14425 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14426 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14427 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14428 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14429 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14430 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14431 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14432 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14433 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14434 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14435 "\x63\x65\x65\x72\x73\x74\x54\x20"
14436 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14437 .plen = 128,
14438 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
92a4c9fe
EB
14439 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14440 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14441 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
14442 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
14443 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
14444 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
14445 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
14446 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
14447 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
14448 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
14449 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
14450 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
14451 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
14452 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
14453 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
14454 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
14455 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
14456 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
a0d608ee 14457 .clen = 128 + 24,
9b8b0405
JG
14458 },
14459};
14460
a0d608ee 14461static const struct aead_testvec hmac_sha256_des3_ede_cbc_tv_temp[] = {
92a4c9fe
EB
14462 { /*Generated with cryptopp*/
14463#ifdef __LITTLE_ENDIAN
14464 .key = "\x08\x00" /* rta length */
14465 "\x01\x00" /* rta type */
14466#else
14467 .key = "\x00\x08" /* rta length */
14468 "\x00\x01" /* rta type */
14469#endif
14470 "\x00\x00\x00\x18" /* enc key length */
14471 "\x11\x22\x33\x44\x55\x66\x77\x88"
14472 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14473 "\x22\x33\x44\x55\x66\x77\x88\x99"
14474 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14475 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
14476 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
14477 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
14478 .klen = 8 + 32 + 24,
14479 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14480 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14481 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14482 .alen = 16,
a0d608ee 14483 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14484 "\x53\x20\x63\x65\x65\x72\x73\x74"
14485 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14486 "\x20\x79\x65\x53\x72\x63\x74\x65"
14487 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14488 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14489 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14490 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14491 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14492 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14493 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14494 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14495 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14496 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14497 "\x63\x65\x65\x72\x73\x74\x54\x20"
14498 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14499 .plen = 128,
14500 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
92a4c9fe
EB
14501 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14502 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14503 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
14504 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
14505 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
14506 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
14507 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
14508 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
14509 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
14510 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
14511 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
14512 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
14513 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
14514 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
14515 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
14516 "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
14517 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
14518 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
14519 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
a0d608ee 14520 .clen = 128 + 32,
9b8b0405
JG
14521 },
14522};
14523
a0d608ee 14524static const struct aead_testvec hmac_sha384_des3_ede_cbc_tv_temp[] = {
92a4c9fe
EB
14525 { /*Generated with cryptopp*/
14526#ifdef __LITTLE_ENDIAN
14527 .key = "\x08\x00" /* rta length */
14528 "\x01\x00" /* rta type */
14529#else
14530 .key = "\x00\x08" /* rta length */
14531 "\x00\x01" /* rta type */
14532#endif
14533 "\x00\x00\x00\x18" /* enc key length */
14534 "\x11\x22\x33\x44\x55\x66\x77\x88"
14535 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14536 "\x22\x33\x44\x55\x66\x77\x88\x99"
14537 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14538 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14539 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14540 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
14541 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
14542 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
14543 .klen = 8 + 48 + 24,
14544 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14545 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14546 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14547 .alen = 16,
a0d608ee 14548 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14549 "\x53\x20\x63\x65\x65\x72\x73\x74"
14550 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14551 "\x20\x79\x65\x53\x72\x63\x74\x65"
14552 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14553 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14554 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14555 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14556 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14557 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14558 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14559 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14560 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14561 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14562 "\x63\x65\x65\x72\x73\x74\x54\x20"
14563 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14564 .plen = 128,
14565 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
92a4c9fe
EB
14566 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14567 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14568 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
14569 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
14570 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
14571 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
14572 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
14573 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
14574 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
14575 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
14576 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
14577 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
14578 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
14579 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
14580 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
14581 "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
14582 "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
14583 "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
14584 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
14585 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
14586 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
a0d608ee 14587 .clen = 128 + 48,
92a4c9fe
EB
14588 },
14589};
14590
a0d608ee 14591static const struct aead_testvec hmac_sha512_des3_ede_cbc_tv_temp[] = {
92a4c9fe
EB
14592 { /*Generated with cryptopp*/
14593#ifdef __LITTLE_ENDIAN
14594 .key = "\x08\x00" /* rta length */
14595 "\x01\x00" /* rta type */
14596#else
14597 .key = "\x00\x08" /* rta length */
14598 "\x00\x01" /* rta type */
14599#endif
14600 "\x00\x00\x00\x18" /* enc key length */
14601 "\x11\x22\x33\x44\x55\x66\x77\x88"
14602 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14603 "\x22\x33\x44\x55\x66\x77\x88\x99"
14604 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14605 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14606 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14607 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14608 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14609 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
14610 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
14611 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
14612 .klen = 8 + 64 + 24,
14613 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14614 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
14615 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
14616 .alen = 16,
a0d608ee 14617 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
92a4c9fe
EB
14618 "\x53\x20\x63\x65\x65\x72\x73\x74"
14619 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
14620 "\x20\x79\x65\x53\x72\x63\x74\x65"
14621 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
14622 "\x79\x6e\x53\x20\x63\x65\x65\x72"
14623 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
14624 "\x6e\x61\x20\x79\x65\x53\x72\x63"
14625 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
14626 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
14627 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
14628 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
14629 "\x72\x63\x74\x65\x20\x73\x6f\x54"
14630 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
14631 "\x63\x65\x65\x72\x73\x74\x54\x20"
14632 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
a0d608ee
EB
14633 .plen = 128,
14634 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
92a4c9fe
EB
14635 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
14636 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
14637 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
14638 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
14639 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
14640 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
14641 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
14642 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
14643 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
14644 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
14645 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
14646 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
14647 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
14648 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
14649 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
14650 "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
14651 "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
14652 "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
14653 "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
14654 "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
14655 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
14656 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
14657 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
a0d608ee 14658 .clen = 128 + 64,
92a4c9fe
EB
14659 },
14660};
14661
14662static const struct cipher_testvec aes_lrw_tv_template[] = {
14663 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
14664 { /* LRW-32-AES 1 */
14665 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14666 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14667 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14668 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14669 .klen = 32,
14670 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14671 "\x00\x00\x00\x00\x00\x00\x00\x01",
14672 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14673 "\x38\x39\x41\x42\x43\x44\x45\x46",
14674 .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
14675 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
14676 .len = 16,
14677 }, { /* LRW-32-AES 2 */
14678 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
14679 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
14680 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
14681 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
14682 .klen = 32,
14683 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14684 "\x00\x00\x00\x00\x00\x00\x00\x02",
14685 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14686 "\x38\x39\x41\x42\x43\x44\x45\x46",
14687 .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
14688 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
14689 .len = 16,
14690 }, { /* LRW-32-AES 3 */
14691 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
14692 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
14693 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
14694 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
14695 .klen = 32,
14696 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14697 "\x00\x00\x00\x02\x00\x00\x00\x00",
14698 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14699 "\x38\x39\x41\x42\x43\x44\x45\x46",
14700 .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
14701 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
14702 .len = 16,
14703 }, { /* LRW-32-AES 4 */
14704 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
14705 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
14706 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
14707 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
14708 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
14709 .klen = 40,
14710 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14711 "\x00\x00\x00\x00\x00\x00\x00\x01",
14712 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14713 "\x38\x39\x41\x42\x43\x44\x45\x46",
14714 .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
14715 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
14716 .len = 16,
14717 }, { /* LRW-32-AES 5 */
14718 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
14719 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
14720 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
14721 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
14722 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
14723 .klen = 40,
14724 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14725 "\x00\x00\x00\x02\x00\x00\x00\x00",
14726 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14727 "\x38\x39\x41\x42\x43\x44\x45\x46",
14728 .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
14729 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
14730 .len = 16,
14731 }, { /* LRW-32-AES 6 */
14732 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9b8b0405
JG
14733 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14734 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14735 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14736 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14737 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
92a4c9fe
EB
14738 .klen = 48,
14739 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9b8b0405 14740 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe
EB
14741 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14742 "\x38\x39\x41\x42\x43\x44\x45\x46",
14743 .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
14744 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
14745 .len = 16,
14746 }, { /* LRW-32-AES 7 */
14747 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14748 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14749 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14750 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14751 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14752 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14753 .klen = 48,
14754 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14755 "\x00\x00\x00\x02\x00\x00\x00\x00",
14756 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14757 "\x38\x39\x41\x42\x43\x44\x45\x46",
14758 .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
14759 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
14760 .len = 16,
dc6d6d5a
OM
14761 }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
14762 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14763 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14764 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14765 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14766 .klen = 32,
14767 .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
14768 "\xff\xff\xff\xff\xff\xff\xff\xff",
14769 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
14770 "\x38\x39\x41\x42\x43\x44\x45\x46"
14771 "\x30\x31\x32\x33\x34\x35\x36\x37"
14772 "\x38\x39\x41\x42\x43\x44\x45\x46"
14773 "\x30\x31\x32\x33\x34\x35\x36\x37"
14774 "\x38\x39\x41\x42\x43\x44\x45\x46",
14775 .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
14776 "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
14777 "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
14778 "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
14779 "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
14780 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
14781 .len = 48,
92a4c9fe
EB
14782 }, {
14783/* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
14784 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14785 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14786 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14787 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14788 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14789 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14790 .klen = 48,
14791 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14792 "\x00\x00\x00\x00\x00\x00\x00\x01",
14793 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9b8b0405
JG
14794 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14795 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14796 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14797 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14798 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14799 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14800 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14801 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14802 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14803 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14804 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14805 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14806 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14807 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14808 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14809 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14810 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14811 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14812 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14813 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14814 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14815 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14816 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14817 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14818 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14819 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14820 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14821 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14822 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14823 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14824 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14825 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14826 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14827 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14828 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14829 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14830 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14831 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14832 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14833 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14834 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14835 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14836 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14837 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14838 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14839 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14840 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14841 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14842 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14843 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14844 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14845 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14846 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14847 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14848 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14849 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14850 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14851 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14852 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14853 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14854 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14855 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14856 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
92a4c9fe
EB
14857 .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
14858 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
14859 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
14860 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
14861 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
14862 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
14863 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
14864 "\xe8\x58\x46\x97\x39\x51\x07\xde"
14865 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
14866 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
14867 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
14868 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
14869 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
14870 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
14871 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
14872 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
14873 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
14874 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
14875 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
14876 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
14877 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
14878 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
14879 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
14880 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
14881 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
14882 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
14883 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
14884 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
14885 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
14886 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
14887 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
14888 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
14889 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
14890 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
14891 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
14892 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
14893 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
14894 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
14895 "\xb8\x79\x78\x97\x94\xff\x72\x13"
14896 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
14897 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
14898 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
14899 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
14900 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
14901 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
14902 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
14903 "\x1e\x86\x53\x11\x53\x94\x00\xee"
14904 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
14905 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
14906 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
14907 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
14908 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
14909 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
14910 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
14911 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
14912 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
14913 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
14914 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
14915 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
14916 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
14917 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
14918 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
14919 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
14920 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
14921 .len = 512,
92a4c9fe 14922 }
9b8b0405
JG
14923};
14924
92a4c9fe
EB
14925static const struct cipher_testvec aes_xts_tv_template[] = {
14926 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
14927 { /* XTS-AES 1 */
14928 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
14929 "\x00\x00\x00\x00\x00\x00\x00\x00"
14930 "\x00\x00\x00\x00\x00\x00\x00\x00"
14931 "\x00\x00\x00\x00\x00\x00\x00\x00",
14932 .klen = 32,
14933 .fips_skip = 1,
14934 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14935 "\x00\x00\x00\x00\x00\x00\x00\x00",
14936 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
14937 "\x00\x00\x00\x00\x00\x00\x00\x00"
14938 "\x00\x00\x00\x00\x00\x00\x00\x00"
14939 "\x00\x00\x00\x00\x00\x00\x00\x00",
14940 .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
14941 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
14942 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
14943 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
14944 .len = 32,
14945 }, { /* XTS-AES 2 */
14946 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
14947 "\x11\x11\x11\x11\x11\x11\x11\x11"
14948 "\x22\x22\x22\x22\x22\x22\x22\x22"
14949 "\x22\x22\x22\x22\x22\x22\x22\x22",
14950 .klen = 32,
14951 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
14952 "\x00\x00\x00\x00\x00\x00\x00\x00",
14953 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
14954 "\x44\x44\x44\x44\x44\x44\x44\x44"
14955 "\x44\x44\x44\x44\x44\x44\x44\x44"
14956 "\x44\x44\x44\x44\x44\x44\x44\x44",
14957 .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
14958 "\x39\x33\x40\x38\xac\xef\x83\x8b"
14959 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
14960 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
14961 .len = 32,
14962 }, { /* XTS-AES 3 */
14963 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14964 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14965 "\x22\x22\x22\x22\x22\x22\x22\x22"
14966 "\x22\x22\x22\x22\x22\x22\x22\x22",
14967 .klen = 32,
14968 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
14969 "\x00\x00\x00\x00\x00\x00\x00\x00",
14970 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
14971 "\x44\x44\x44\x44\x44\x44\x44\x44"
14972 "\x44\x44\x44\x44\x44\x44\x44\x44"
14973 "\x44\x44\x44\x44\x44\x44\x44\x44",
14974 .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
14975 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
14976 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
14977 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
14978 .len = 32,
14979 }, { /* XTS-AES 4 */
14980 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
9b8b0405 14981 "\x23\x53\x60\x28\x74\x71\x35\x26"
9b8b0405 14982 "\x31\x41\x59\x26\x53\x58\x97\x93"
92a4c9fe
EB
14983 "\x23\x84\x62\x64\x33\x83\x27\x95",
14984 .klen = 32,
14985 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9b8b0405 14986 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 14987 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
9b8b0405
JG
14988 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14989 "\x10\x11\x12\x13\x14\x15\x16\x17"
14990 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14991 "\x20\x21\x22\x23\x24\x25\x26\x27"
14992 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14993 "\x30\x31\x32\x33\x34\x35\x36\x37"
14994 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14995 "\x40\x41\x42\x43\x44\x45\x46\x47"
14996 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14997 "\x50\x51\x52\x53\x54\x55\x56\x57"
14998 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14999 "\x60\x61\x62\x63\x64\x65\x66\x67"
15000 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15001 "\x70\x71\x72\x73\x74\x75\x76\x77"
15002 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15003 "\x80\x81\x82\x83\x84\x85\x86\x87"
15004 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15005 "\x90\x91\x92\x93\x94\x95\x96\x97"
15006 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15007 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15008 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15009 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15010 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15011 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15012 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15013 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15014 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15015 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15016 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15017 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15018 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15019 "\x00\x01\x02\x03\x04\x05\x06\x07"
15020 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15021 "\x10\x11\x12\x13\x14\x15\x16\x17"
15022 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15023 "\x20\x21\x22\x23\x24\x25\x26\x27"
15024 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15025 "\x30\x31\x32\x33\x34\x35\x36\x37"
15026 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15027 "\x40\x41\x42\x43\x44\x45\x46\x47"
15028 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15029 "\x50\x51\x52\x53\x54\x55\x56\x57"
15030 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15031 "\x60\x61\x62\x63\x64\x65\x66\x67"
15032 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15033 "\x70\x71\x72\x73\x74\x75\x76\x77"
15034 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15035 "\x80\x81\x82\x83\x84\x85\x86\x87"
15036 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15037 "\x90\x91\x92\x93\x94\x95\x96\x97"
15038 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15039 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15040 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15041 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15042 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15043 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15044 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15045 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15046 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15047 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15048 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15049 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15050 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
15051 .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
15052 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
15053 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
15054 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
15055 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
15056 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
15057 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
15058 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
15059 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
15060 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
15061 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
15062 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
15063 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
15064 "\x22\x97\x61\x46\xae\x20\xce\x84"
15065 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
15066 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
15067 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
15068 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
15069 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
15070 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
15071 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
15072 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
15073 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
15074 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
15075 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
15076 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
15077 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
15078 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
15079 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
15080 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
15081 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
15082 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
15083 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
15084 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
15085 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
15086 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
15087 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
15088 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
15089 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
15090 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
15091 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
15092 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
15093 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
15094 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
15095 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
15096 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
15097 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
15098 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
15099 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
15100 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
15101 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
15102 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
15103 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
15104 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
15105 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
15106 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
15107 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
15108 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
15109 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
15110 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
15111 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
15112 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
15113 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
15114 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
15115 .len = 512,
15116 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
9b8b0405
JG
15117 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15118 "\x23\x53\x60\x28\x74\x71\x35\x26"
15119 "\x62\x49\x77\x57\x24\x70\x93\x69"
15120 "\x99\x59\x57\x49\x66\x96\x76\x27"
15121 "\x31\x41\x59\x26\x53\x58\x97\x93"
15122 "\x23\x84\x62\x64\x33\x83\x27\x95"
15123 "\x02\x88\x41\x97\x16\x93\x99\x37"
15124 "\x51\x05\x82\x09\x74\x94\x45\x92",
15125 .klen = 64,
15126 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
15127 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 15128 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
9b8b0405
JG
15129 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15130 "\x10\x11\x12\x13\x14\x15\x16\x17"
15131 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15132 "\x20\x21\x22\x23\x24\x25\x26\x27"
15133 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15134 "\x30\x31\x32\x33\x34\x35\x36\x37"
15135 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15136 "\x40\x41\x42\x43\x44\x45\x46\x47"
15137 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15138 "\x50\x51\x52\x53\x54\x55\x56\x57"
15139 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15140 "\x60\x61\x62\x63\x64\x65\x66\x67"
15141 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15142 "\x70\x71\x72\x73\x74\x75\x76\x77"
15143 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15144 "\x80\x81\x82\x83\x84\x85\x86\x87"
15145 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15146 "\x90\x91\x92\x93\x94\x95\x96\x97"
15147 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15148 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15149 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15150 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15151 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15152 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15153 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15154 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15155 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15156 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15157 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15158 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15159 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15160 "\x00\x01\x02\x03\x04\x05\x06\x07"
15161 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15162 "\x10\x11\x12\x13\x14\x15\x16\x17"
15163 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15164 "\x20\x21\x22\x23\x24\x25\x26\x27"
15165 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15166 "\x30\x31\x32\x33\x34\x35\x36\x37"
15167 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15168 "\x40\x41\x42\x43\x44\x45\x46\x47"
15169 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15170 "\x50\x51\x52\x53\x54\x55\x56\x57"
15171 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15172 "\x60\x61\x62\x63\x64\x65\x66\x67"
15173 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15174 "\x70\x71\x72\x73\x74\x75\x76\x77"
15175 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15176 "\x80\x81\x82\x83\x84\x85\x86\x87"
15177 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15178 "\x90\x91\x92\x93\x94\x95\x96\x97"
15179 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15180 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15181 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15182 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15183 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15184 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15185 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15186 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15187 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15188 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15189 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15190 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15191 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
15192 .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
15193 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
15194 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
15195 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
15196 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
15197 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
15198 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
15199 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
15200 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
15201 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
15202 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
15203 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
15204 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
15205 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
15206 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
15207 "\x00\x02\x08\x87\x89\x14\x29\xca"
15208 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
15209 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
15210 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
15211 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
15212 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
15213 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
15214 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
15215 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
15216 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
15217 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
15218 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
15219 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
15220 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
15221 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
15222 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
15223 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
15224 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
15225 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
15226 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
15227 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
15228 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
15229 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
15230 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
15231 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
15232 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
15233 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
15234 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
15235 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
15236 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
15237 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
15238 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
15239 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
15240 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
15241 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
15242 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
15243 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
15244 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
15245 "\x94\x30\x54\xff\x84\x01\x14\x93"
15246 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
15247 "\x53\x76\x44\x1a\x77\xed\x43\x85"
15248 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
15249 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
15250 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
15251 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
15252 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
15253 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
15254 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
15255 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
15256 .len = 512,
92a4c9fe 15257 }
da7f033d
HX
15258};
15259
92a4c9fe
EB
15260static const struct cipher_testvec aes_ctr_tv_template[] = {
15261 { /* From NIST Special Publication 800-38A, Appendix F.5 */
15262 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
15263 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
da7f033d 15264 .klen = 16,
92a4c9fe
EB
15265 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15266 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
e674dbc0
EB
15267 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15268 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
92a4c9fe
EB
15269 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15270 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15271 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15272 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15273 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15274 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15275 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15276 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15277 .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
15278 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
15279 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
15280 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
15281 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
15282 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
15283 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
15284 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
15285 .len = 64,
da7f033d 15286 }, {
92a4c9fe
EB
15287 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15288 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15289 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
da7f033d 15290 .klen = 24,
92a4c9fe
EB
15291 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15292 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
e674dbc0
EB
15293 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15294 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
92a4c9fe
EB
15295 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15296 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15297 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15298 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15299 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15300 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15301 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15302 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15303 .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
15304 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
15305 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
15306 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
15307 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
15308 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
15309 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
15310 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
15311 .len = 64,
da7f033d 15312 }, {
92a4c9fe
EB
15313 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15314 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15315 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15316 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
da7f033d 15317 .klen = 32,
92a4c9fe
EB
15318 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15319 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
e674dbc0
EB
15320 .iv_out = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15321 "\xf8\xf9\xfa\xfb\xfc\xfd\xff\x03",
92a4c9fe
EB
15322 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15323 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15324 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15325 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15326 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15327 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15328 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15329 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15330 .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
15331 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
15332 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
15333 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
15334 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
15335 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
15336 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
15337 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
15338 .len = 64,
c3b9e8f6 15339 }, { /* Generated with Crypto++ */
92a4c9fe
EB
15340 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15341 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15342 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15343 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
c3b9e8f6 15344 .klen = 32,
92a4c9fe
EB
15345 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
15346 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0
EB
15347 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
15348 "\x00\x00\x00\x00\x00\x00\x00\x1C",
92a4c9fe 15349 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
c3b9e8f6
JK
15350 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15351 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15352 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15353 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15354 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15355 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15356 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15357 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15358 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15359 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15360 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15361 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15362 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15363 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15364 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15365 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15366 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15367 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15368 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15369 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15370 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15371 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15372 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15373 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15374 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15375 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15376 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15377 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15378 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15379 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15380 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15381 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15382 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15383 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15384 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15385 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15386 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15387 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15388 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15389 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15390 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15391 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15392 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15393 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15394 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15395 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15396 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15397 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15398 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15399 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15400 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15401 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15402 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15403 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15404 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15405 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15406 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15407 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15408 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15409 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15410 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
92a4c9fe
EB
15411 .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
15412 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
15413 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
15414 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
15415 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
15416 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
15417 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
15418 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
15419 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
15420 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
15421 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
15422 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
15423 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
15424 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
15425 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
15426 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
15427 "\x34\x4B\x31\x69\x84\x66\x96\x44"
15428 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
15429 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
15430 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
15431 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
15432 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
15433 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
15434 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
15435 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
15436 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
15437 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
15438 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
15439 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
15440 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
15441 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
15442 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
15443 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
15444 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
15445 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
15446 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
15447 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
15448 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
15449 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
15450 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
15451 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
15452 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
15453 "\x85\x99\x22\xE8\x91\x38\x70\x83"
15454 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
15455 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
15456 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
15457 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
15458 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
15459 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
15460 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
15461 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
15462 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
15463 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
15464 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
15465 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
15466 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
15467 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
15468 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
15469 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
15470 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
15471 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
15472 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
15473 .len = 496,
c3b9e8f6 15474 }, { /* Generated with Crypto++ */
92a4c9fe
EB
15475 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15476 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15477 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15478 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
c3b9e8f6 15479 .klen = 32,
92a4c9fe
EB
15480 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15481 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
e674dbc0
EB
15482 .iv_out = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15483 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x62",
92a4c9fe 15484 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
c3b9e8f6
JK
15485 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15486 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15487 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15488 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15489 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15490 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15491 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15492 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15493 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15494 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15495 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15496 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15497 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15498 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15499 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15500 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15501 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15502 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15503 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15504 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15505 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15506 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15507 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15508 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15509 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15510 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15511 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15512 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15513 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15514 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15515 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15516 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15517 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15518 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15519 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15520 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15521 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15522 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15523 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15524 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15525 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15526 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15527 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15528 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15529 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15530 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15531 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15532 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15533 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15534 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15535 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15536 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15537 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15538 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15539 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15540 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15541 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15542 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15543 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15544 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
92a4c9fe
EB
15545 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
15546 "\x7B\xE4\x4D",
15547 .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
15548 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
15549 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
15550 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
15551 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
15552 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
15553 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
15554 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
15555 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
15556 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
15557 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
15558 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
15559 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
15560 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
15561 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
15562 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
15563 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
15564 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
15565 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
15566 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
15567 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
15568 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
15569 "\x45\x18\x18\x74\x19\xAD\x71\x01"
15570 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
15571 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
15572 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
15573 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
15574 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
15575 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
15576 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
15577 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
15578 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
15579 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
15580 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
15581 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
15582 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
15583 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
15584 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
15585 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
15586 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
15587 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
15588 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
15589 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
15590 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
15591 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
15592 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
15593 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
15594 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
15595 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
15596 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
15597 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
15598 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
15599 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
15600 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
15601 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
15602 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
15603 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
15604 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
15605 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
15606 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
15607 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
15608 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
15609 "\xFB\xF2\x3F",
15610 .len = 499,
da7f033d
HX
15611 },
15612};
15613
92a4c9fe
EB
15614static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
15615 { /* From RFC 3686 */
15616 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
15617 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
15618 "\x00\x00\x00\x30",
15619 .klen = 20,
15620 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
15621 .ptext = "Single block msg",
15622 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
15623 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
15624 .len = 16,
da7f033d 15625 }, {
92a4c9fe
EB
15626 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
15627 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
15628 "\x00\x6c\xb6\xdb",
15629 .klen = 20,
15630 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
15631 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
da7f033d
HX
15632 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15633 "\x10\x11\x12\x13\x14\x15\x16\x17"
15634 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
92a4c9fe
EB
15635 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
15636 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
15637 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
15638 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
15639 .len = 32,
da7f033d 15640 }, {
92a4c9fe
EB
15641 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
15642 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
15643 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
15644 "\x00\x00\x00\x48",
15645 .klen = 28,
15646 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
15647 .ptext = "Single block msg",
15648 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
15649 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
15650 .len = 16,
da7f033d 15651 }, {
92a4c9fe
EB
15652 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
15653 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
15654 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
15655 "\x00\x96\xb0\x3b",
15656 .klen = 28,
15657 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
15658 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
da7f033d
HX
15659 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15660 "\x10\x11\x12\x13\x14\x15\x16\x17"
15661 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
92a4c9fe
EB
15662 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
15663 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
15664 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
15665 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
15666 .len = 32,
da7f033d 15667 }, {
92a4c9fe
EB
15668 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
15669 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
15670 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
15671 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
15672 "\x00\x00\x00\x60",
15673 .klen = 36,
15674 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
15675 .ptext = "Single block msg",
15676 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
15677 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
15678 .len = 16,
bca4feb0 15679 }, {
92a4c9fe
EB
15680 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
15681 "\x07\x96\x36\x58\x79\xef\xf8\x86"
15682 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
15683 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
15684 "\x00\xfa\xac\x24",
15685 .klen = 36,
15686 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
15687 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
e46e9a46
HG
15688 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15689 "\x10\x11\x12\x13\x14\x15\x16\x17"
15690 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
92a4c9fe
EB
15691 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
15692 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
15693 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
15694 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
15695 .len = 32,
bca4feb0 15696 }, {
92a4c9fe
EB
15697 // generated using Crypto++
15698 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15699 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15700 "\x10\x11\x12\x13\x14\x15\x16\x17"
15701 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15702 "\x00\x00\x00\x00",
15703 .klen = 32 + 4,
15704 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
15705 .ptext =
15706 "\x00\x01\x02\x03\x04\x05\x06\x07"
15707 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15708 "\x10\x11\x12\x13\x14\x15\x16\x17"
15709 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15710 "\x20\x21\x22\x23\x24\x25\x26\x27"
15711 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15712 "\x30\x31\x32\x33\x34\x35\x36\x37"
15713 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15714 "\x40\x41\x42\x43\x44\x45\x46\x47"
15715 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15716 "\x50\x51\x52\x53\x54\x55\x56\x57"
15717 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15718 "\x60\x61\x62\x63\x64\x65\x66\x67"
15719 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15720 "\x70\x71\x72\x73\x74\x75\x76\x77"
15721 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15722 "\x80\x81\x82\x83\x84\x85\x86\x87"
15723 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15724 "\x90\x91\x92\x93\x94\x95\x96\x97"
15725 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15726 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15727 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15728 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15729 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15730 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15731 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15732 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15733 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15734 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15735 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15736 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15737 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15738 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
15739 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
15740 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
15741 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
15742 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
15743 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
15744 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
15745 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
15746 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
15747 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
15748 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
15749 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
15750 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
15751 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
15752 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
15753 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
15754 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
15755 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
15756 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
15757 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
15758 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
15759 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
15760 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
15761 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
15762 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
15763 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
15764 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
15765 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
15766 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
15767 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
15768 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
15769 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
15770 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
15771 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
15772 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
15773 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
15774 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
15775 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
15776 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
15777 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
15778 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
15779 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
15780 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
15781 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
15782 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
15783 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
15784 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
15785 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
15786 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
15787 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
15788 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
15789 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
15790 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
15791 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
15792 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
15793 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
15794 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
15795 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
15796 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
15797 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
15798 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
15799 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
15800 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
15801 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
15802 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
15803 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
15804 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
15805 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
15806 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
15807 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
15808 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
15809 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
15810 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
15811 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
15812 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
15813 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
15814 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
15815 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
15816 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
15817 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
15818 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
15819 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
15820 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
15821 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
15822 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
15823 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
15824 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
15825 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
15826 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
15827 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
15828 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
15829 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
15830 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
15831 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
15832 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
15833 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
15834 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
15835 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
15836 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
15837 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
15838 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
15839 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
15840 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
15841 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
15842 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
15843 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
15844 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
15845 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
15846 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
15847 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
15848 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
15849 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
15850 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
15851 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
15852 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
15853 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
15854 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
15855 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
15856 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
15857 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
15858 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
15859 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
15860 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
15861 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
15862 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
15863 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
15864 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
15865 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
15866 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
15867 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
15868 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
15869 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
15870 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
15871 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
15872 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
15873 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
15874 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
15875 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
15876 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
15877 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
15878 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
15879 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
15880 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
15881 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
15882 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
15883 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
15884 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
15885 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
15886 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
15887 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
15888 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
15889 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
15890 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
15891 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
15892 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
15893 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
15894 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
15895 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
15896 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
15897 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
15898 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
15899 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
15900 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
15901 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
15902 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
15903 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
15904 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
15905 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
15906 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
15907 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
15908 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
15909 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
15910 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
15911 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
15912 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
15913 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
15914 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
15915 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
15916 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
15917 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
15918 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
15919 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
15920 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
15921 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
15922 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
15923 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
15924 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
15925 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
15926 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
15927 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
15928 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
15929 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
15930 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
15931 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
15932 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
15933 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
15934 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
15935 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
15936 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
15937 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
15938 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
15939 "\x38\x47\x56\x65\x74\x83\x92\xa1"
15940 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
15941 "\x28\x37\x46\x55\x64\x73\x82\x91"
15942 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
15943 "\x18\x27\x36\x45\x54\x63\x72\x81"
15944 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
15945 "\x08\x17\x26\x35\x44\x53\x62\x71"
15946 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
15947 "\xf8\x07\x16\x25\x34\x43\x52\x61"
15948 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
15949 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
15950 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
15951 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
15952 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
15953 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
15954 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
15955 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
15956 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
15957 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
15958 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
15959 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
15960 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
15961 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
15962 "\x00\x11\x22\x33\x44\x55\x66\x77"
15963 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
15964 "\x10\x21\x32\x43\x54\x65\x76\x87"
15965 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
15966 "\x20\x31\x42\x53\x64\x75\x86\x97"
15967 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
15968 "\x30\x41\x52\x63\x74\x85\x96\xa7"
15969 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
15970 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
15971 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
15972 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
15973 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
15974 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
15975 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
15976 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
15977 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
15978 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
15979 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
15980 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
15981 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
15982 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
15983 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
15984 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
15985 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
15986 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
15987 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
15988 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
15989 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
15990 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
15991 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
15992 "\xf0\x01\x12\x23\x34\x45\x56\x67"
15993 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
15994 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
15995 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
15996 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
15997 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
15998 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
15999 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
16000 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
16001 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
16002 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
16003 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
16004 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
16005 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
16006 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
16007 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
16008 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
16009 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
16010 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
16011 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
16012 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
16013 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
16014 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
16015 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
16016 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
16017 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
16018 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
16019 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
16020 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
16021 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
16022 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
16023 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
16024 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
16025 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
16026 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
16027 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
16028 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
16029 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
16030 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
16031 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
16032 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
16033 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
16034 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
16035 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
16036 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
16037 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
16038 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
16039 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
16040 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
16041 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
16042 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
16043 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
16044 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
16045 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
16046 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
16047 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
16048 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
16049 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
16050 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
16051 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
16052 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
16053 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
16054 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
16055 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
16056 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
16057 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
16058 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
16059 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
16060 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
16061 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
16062 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
16063 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
16064 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
16065 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
16066 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
16067 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
16068 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
16069 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
16070 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
16071 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
16072 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
16073 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
16074 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
16075 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
16076 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
16077 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
16078 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
16079 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
16080 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
16081 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
16082 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
16083 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
16084 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
16085 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
16086 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
16087 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
16088 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
16089 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
16090 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
16091 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
16092 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
16093 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
16094 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
16095 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
16096 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
16097 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
16098 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
16099 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
16100 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
16101 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
16102 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
16103 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
16104 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
16105 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
16106 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
16107 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
16108 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
16109 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
16110 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
16111 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
16112 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
16113 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
16114 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
16115 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
16116 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
16117 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
16118 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
16119 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
16120 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
16121 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
16122 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
16123 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
16124 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
16125 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
16126 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
16127 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
16128 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
16129 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
16130 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
16131 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
16132 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
16133 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
16134 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
16135 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
16136 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
16137 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
16138 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
16139 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
16140 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
16141 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
16142 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
16143 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
16144 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
16145 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
16146 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
16147 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
16148 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
16149 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
16150 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
16151 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
16152 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
16153 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
16154 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
16155 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
16156 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
16157 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
16158 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
16159 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
16160 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
16161 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
16162 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
16163 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
16164 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
16165 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
16166 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
16167 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
16168 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
16169 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
16170 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
16171 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
16172 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
16173 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
16174 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
16175 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
16176 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
16177 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
16178 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
16179 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
16180 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
16181 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
16182 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
16183 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
16184 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
16185 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
16186 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
16187 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
16188 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
16189 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
16190 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
16191 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
16192 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
16193 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
16194 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
16195 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
16196 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
16197 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
16198 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
16199 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
16200 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
16201 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
16202 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
16203 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
16204 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
16205 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
16206 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
16207 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
16208 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
16209 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
16210 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
16211 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
16212 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
16213 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
16214 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
16215 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
16216 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
16217 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
16218 "\x00\x21\x42\x63",
16219 .ctext =
16220 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
16221 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
16222 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
16223 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
16224 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
16225 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
16226 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
16227 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
16228 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
16229 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
16230 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
16231 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
16232 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
16233 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
16234 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
16235 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
16236 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
16237 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
16238 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
16239 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
16240 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
16241 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
16242 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
16243 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
16244 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
16245 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
16246 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
16247 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
16248 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
16249 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
16250 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
16251 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
16252 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
16253 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
16254 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
16255 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
16256 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
16257 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
16258 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
16259 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
16260 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
16261 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
16262 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
16263 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
16264 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
16265 "\x04\x02\xef\xd3\x44\xde\x76\x31"
16266 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
16267 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
16268 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
16269 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
16270 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
16271 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
16272 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
16273 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
16274 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
16275 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
16276 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
16277 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
16278 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
16279 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
16280 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
16281 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
16282 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
16283 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
16284 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
16285 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
16286 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
16287 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
16288 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
16289 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
16290 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
16291 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
16292 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
16293 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
16294 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
16295 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
16296 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
16297 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
16298 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
16299 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
16300 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
16301 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
16302 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
16303 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
16304 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
16305 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
16306 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
16307 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
16308 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
16309 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
16310 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
16311 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
16312 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
16313 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
16314 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
16315 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
16316 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
16317 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
16318 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
16319 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
16320 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
16321 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
16322 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
16323 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
16324 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
16325 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
16326 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
16327 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
16328 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
16329 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
16330 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
16331 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
16332 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
16333 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
16334 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
16335 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
16336 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
16337 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
16338 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
16339 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
16340 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
16341 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
16342 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
16343 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
16344 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
16345 "\x26\x39\x83\x94\xef\x27\xd8\x53"
16346 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
16347 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
16348 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
16349 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
16350 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
16351 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
16352 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
16353 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
16354 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
16355 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
16356 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
16357 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
16358 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
16359 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
16360 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
16361 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
16362 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
16363 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
16364 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
16365 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
16366 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
16367 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
16368 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
16369 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
16370 "\x35\x12\xe3\x36\x28\x27\x36\x58"
16371 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
16372 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
16373 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
16374 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
16375 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
16376 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
16377 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
16378 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
16379 "\x89\xf3\x78\x35\x44\x62\x78\x72"
16380 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
16381 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
16382 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
16383 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
16384 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
16385 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
16386 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
16387 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
16388 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
16389 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
16390 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
16391 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
16392 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
16393 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
16394 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
16395 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
16396 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
16397 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
16398 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
16399 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
16400 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
16401 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
16402 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
16403 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
16404 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
16405 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
16406 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
16407 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
16408 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
16409 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
16410 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
16411 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
16412 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
16413 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
16414 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
16415 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
16416 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
16417 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
16418 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
16419 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
16420 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
16421 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
16422 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
16423 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
16424 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
16425 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
16426 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
16427 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
16428 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
16429 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
16430 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
16431 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
16432 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
16433 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
16434 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
16435 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
16436 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
16437 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
16438 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
16439 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
16440 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
16441 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
16442 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
16443 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
16444 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
16445 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
16446 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
16447 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
16448 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
16449 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
16450 "\x29\x90\x46\x30\x92\x69\x7d\x13"
16451 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
16452 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
16453 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
16454 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
16455 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
16456 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
16457 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
16458 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
16459 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
16460 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
16461 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
16462 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
16463 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
16464 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
16465 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
16466 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
16467 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
16468 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
16469 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
16470 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
16471 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
16472 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
16473 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
16474 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
16475 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
16476 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
16477 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
16478 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
16479 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
16480 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
16481 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
16482 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
16483 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
16484 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
16485 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
16486 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
16487 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
16488 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
16489 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
16490 "\x73\x02\x3b\x78\x21\x72\x43\x00"
16491 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
16492 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
16493 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
16494 "\x11\x94\x13\x69\x51\x09\x28\xde"
16495 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
16496 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
16497 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
16498 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
16499 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
16500 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
16501 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
16502 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
16503 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
16504 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
16505 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
16506 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
16507 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
16508 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
16509 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
16510 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
16511 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
16512 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
16513 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
16514 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
16515 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
16516 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
16517 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
16518 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
16519 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
16520 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
16521 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
16522 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
16523 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
16524 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
16525 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
16526 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
16527 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
16528 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
16529 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
16530 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
16531 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
16532 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
16533 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
16534 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
16535 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
16536 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
16537 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
16538 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
16539 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
16540 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
16541 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
16542 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
16543 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
16544 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
16545 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
16546 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
16547 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
16548 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
16549 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
16550 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
16551 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
16552 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
16553 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
16554 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
16555 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
16556 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
16557 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
16558 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
16559 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
16560 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
16561 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
16562 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
16563 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
16564 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
16565 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
16566 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
16567 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
16568 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
16569 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
16570 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
16571 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
16572 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
16573 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
16574 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
16575 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
16576 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
16577 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
16578 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
16579 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
16580 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
16581 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
16582 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
16583 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
16584 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
16585 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
16586 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
16587 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
16588 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
16589 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
16590 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
16591 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
16592 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
16593 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
16594 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
16595 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
16596 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
16597 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
16598 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
16599 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
16600 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
16601 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
16602 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
16603 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
16604 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
16605 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
16606 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
16607 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
16608 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
16609 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
16610 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
16611 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
16612 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
16613 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
16614 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
16615 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
16616 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
16617 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
16618 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
16619 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
16620 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
16621 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
16622 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
16623 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
16624 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
16625 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
16626 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
16627 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
16628 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
16629 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
16630 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
16631 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
16632 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
16633 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
16634 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
16635 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
16636 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
16637 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
16638 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
16639 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
16640 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
16641 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
16642 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
16643 "\xae\xed\x39\x88\x42\x11\x3c\xed"
16644 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
16645 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
16646 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
16647 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
16648 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
16649 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
16650 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
16651 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
16652 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
16653 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
16654 "\x34\x17\xde\xba\x47\xf1\x06\x18"
16655 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
16656 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
16657 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
16658 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
16659 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
16660 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
16661 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
16662 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
16663 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
16664 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
16665 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
16666 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
16667 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
16668 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
16669 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
16670 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
16671 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
16672 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
16673 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
16674 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
16675 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
16676 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
16677 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
16678 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
16679 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
16680 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
16681 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
16682 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
16683 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
16684 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
16685 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
16686 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
16687 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
16688 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
16689 "\x74\x56\x58\x40\x02\x37\x52\x2c"
16690 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
16691 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
16692 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
16693 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
16694 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
16695 "\xed\x38\x80\x36\x72\x43\x27\x49"
16696 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
16697 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
16698 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
16699 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
16700 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
16701 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
16702 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
16703 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
16704 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
16705 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
16706 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
16707 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
16708 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
16709 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
16710 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
16711 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
16712 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
16713 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
16714 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
16715 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
16716 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
16717 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
16718 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
16719 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
16720 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
16721 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
16722 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
16723 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
16724 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
16725 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
16726 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
16727 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
16728 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
16729 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
16730 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
16731 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
16732 "\x21\xed\xda\x86",
16733 .len = 4100,
af2b76b5
MW
16734 },
16735};
92a4c9fe
EB
16736
16737static const struct cipher_testvec aes_ofb_tv_template[] = {
b3e3e2db 16738 { /* From NIST Special Publication 800-38A, Appendix F.5 */
92a4c9fe
EB
16739 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16740 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
b87dc203 16741 .klen = 16,
92a4c9fe
EB
16742 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
16743 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16744 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16745 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16746 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16747 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16748 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16749 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16750 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16751 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16752 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
16753 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
16754 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
16755 "\x3c\x52\xda\xc5\x4e\xd8\x25"
16756 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
16757 "\x44\xf7\xa8\x22\x60\xed\xcc"
16758 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
16759 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
16760 .len = 64,
b3e3e2db
EB
16761 }, { /* > 16 bytes, not a multiple of 16 bytes */
16762 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16763 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16764 .klen = 16,
16765 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16766 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16767 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16768 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16769 "\xae",
16770 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
16771 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
16772 "\x77",
16773 .len = 17,
16774 }, { /* < 16 bytes */
16775 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
16776 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
16777 .klen = 16,
16778 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
16779 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16780 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f",
16781 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad",
16782 .len = 7,
92a4c9fe
EB
16783 }
16784};
16785
a0d608ee 16786static const struct aead_testvec aes_gcm_tv_template[] = {
92a4c9fe
EB
16787 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
16788 .key = zeroed_string,
b87dc203 16789 .klen = 16,
a0d608ee 16790 .ctext = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
92a4c9fe 16791 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
a0d608ee 16792 .clen = 16,
b87dc203 16793 }, {
92a4c9fe 16794 .key = zeroed_string,
b87dc203 16795 .klen = 16,
a0d608ee
EB
16796 .ptext = zeroed_string,
16797 .plen = 16,
16798 .ctext = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
92a4c9fe
EB
16799 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
16800 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
16801 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
a0d608ee 16802 .clen = 32,
b87dc203 16803 }, {
92a4c9fe
EB
16804 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16805 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
b87dc203 16806 .klen = 16,
92a4c9fe
EB
16807 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16808 "\xde\xca\xf8\x88",
a0d608ee 16809 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
92a4c9fe
EB
16810 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16811 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16812 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16813 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16814 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16815 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16816 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
a0d608ee
EB
16817 .plen = 64,
16818 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
92a4c9fe
EB
16819 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
16820 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
16821 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
16822 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
16823 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
16824 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
16825 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
16826 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
16827 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
a0d608ee 16828 .clen = 80,
b87dc203 16829 }, {
92a4c9fe
EB
16830 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16831 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
b87dc203 16832 .klen = 16,
92a4c9fe
EB
16833 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16834 "\xde\xca\xf8\x88",
a0d608ee 16835 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
92a4c9fe
EB
16836 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16837 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16838 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16839 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16840 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16841 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16842 "\xba\x63\x7b\x39",
a0d608ee 16843 .plen = 60,
92a4c9fe
EB
16844 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16845 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16846 "\xab\xad\xda\xd2",
16847 .alen = 20,
a0d608ee 16848 .ctext = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
92a4c9fe
EB
16849 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
16850 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
16851 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
16852 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
16853 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
16854 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
16855 "\x3d\x58\xe0\x91"
16856 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
16857 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
a0d608ee 16858 .clen = 76,
92a4c9fe
EB
16859 }, {
16860 .key = zeroed_string,
16861 .klen = 24,
a0d608ee 16862 .ctext = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
92a4c9fe 16863 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
a0d608ee 16864 .clen = 16,
92a4c9fe
EB
16865 }, {
16866 .key = zeroed_string,
16867 .klen = 24,
a0d608ee
EB
16868 .ptext = zeroed_string,
16869 .plen = 16,
16870 .ctext = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
92a4c9fe
EB
16871 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
16872 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
16873 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
a0d608ee 16874 .clen = 32,
92a4c9fe
EB
16875 }, {
16876 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16877 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16878 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
16879 .klen = 24,
16880 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16881 "\xde\xca\xf8\x88",
a0d608ee 16882 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
92a4c9fe
EB
16883 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16884 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16885 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16886 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16887 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16888 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16889 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
a0d608ee
EB
16890 .plen = 64,
16891 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
92a4c9fe
EB
16892 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
16893 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
16894 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
16895 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
16896 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
16897 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
16898 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
16899 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
16900 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
a0d608ee 16901 .clen = 80,
92a4c9fe
EB
16902 }, {
16903 .key = zeroed_string,
16904 .klen = 32,
a0d608ee 16905 .ctext = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
92a4c9fe 16906 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
a0d608ee 16907 .clen = 16,
f38e8885
EB
16908 }, {
16909 .key = zeroed_string,
16910 .klen = 32,
a0d608ee
EB
16911 .ptext = zeroed_string,
16912 .plen = 16,
16913 .ctext = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
f38e8885
EB
16914 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
16915 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
16916 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
a0d608ee 16917 .clen = 32,
f38e8885
EB
16918 }, {
16919 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16920 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16921 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16922 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
16923 .klen = 32,
16924 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16925 "\xde\xca\xf8\x88",
a0d608ee 16926 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
f38e8885
EB
16927 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16928 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16929 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16930 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16931 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16932 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16933 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
a0d608ee
EB
16934 .plen = 64,
16935 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
f38e8885
EB
16936 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
16937 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
16938 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
16939 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
16940 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
16941 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
16942 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
16943 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
16944 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
a0d608ee 16945 .clen = 80,
f38e8885
EB
16946 }, {
16947 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16948 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16949 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16950 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
16951 .klen = 32,
16952 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16953 "\xde\xca\xf8\x88",
a0d608ee 16954 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
f38e8885
EB
16955 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16956 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16957 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16958 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16959 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16960 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16961 "\xba\x63\x7b\x39",
a0d608ee 16962 .plen = 60,
f38e8885
EB
16963 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16964 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16965 "\xab\xad\xda\xd2",
16966 .alen = 20,
a0d608ee 16967 .ctext = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
f38e8885
EB
16968 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
16969 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
16970 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
16971 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
16972 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
16973 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
16974 "\xbc\xc9\xf6\x62"
16975 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
16976 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
a0d608ee 16977 .clen = 76,
f38e8885
EB
16978 }, {
16979 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16980 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16981 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
16982 .klen = 24,
16983 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
16984 "\xde\xca\xf8\x88",
a0d608ee 16985 .ptext = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
f38e8885
EB
16986 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
16987 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
16988 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
16989 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
16990 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
16991 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
16992 "\xba\x63\x7b\x39",
a0d608ee 16993 .plen = 60,
f38e8885
EB
16994 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16995 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
16996 "\xab\xad\xda\xd2",
16997 .alen = 20,
a0d608ee 16998 .ctext = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
f38e8885
EB
16999 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17000 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17001 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17002 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17003 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17004 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17005 "\xcc\xda\x27\x10"
17006 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
17007 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
a0d608ee 17008 .clen = 76,
92a4c9fe 17009 }
b87dc203
OM
17010};
17011
a0d608ee
EB
17012static const struct aead_testvec aes_gcm_rfc4106_tv_template[] = {
17013 { /* Generated using Crypto++ */
92a4c9fe 17014 .key = zeroed_string,
a0d608ee
EB
17015 .klen = 20,
17016 .iv = zeroed_string,
17017 .ptext = zeroed_string,
17018 .plen = 16,
17019 .assoc = zeroed_string,
17020 .alen = 16,
17021 .ctext = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
17022 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
17023 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
17024 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
17025 .clen = 32,
17026 },{
17027 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
92a4c9fe 17028 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
a0d608ee
EB
17029 "\x00\x00\x00\x00",
17030 .klen = 20,
17031 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17032 .ptext = zeroed_string,
17033 .plen = 16,
17034 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
17035 "\x00\x00\x00\x00\x00\x00\x00\x01",
17036 .alen = 16,
17037 .ctext = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
17038 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
17039 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
17040 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
17041 .clen = 32,
17042
b87dc203 17043 }, {
a0d608ee 17044 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
92a4c9fe 17045 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
a0d608ee
EB
17046 "\x00\x00\x00\x00",
17047 .klen = 20,
17048 .iv = zeroed_string,
17049 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17050 "\x01\x01\x01\x01\x01\x01\x01\x01",
17051 .plen = 16,
17052 .assoc = zeroed_string,
17053 .alen = 16,
17054 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17055 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17056 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
17057 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
17058 .clen = 32,
92a4c9fe 17059 }, {
a0d608ee
EB
17060 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17061 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17062 "\x00\x00\x00\x00",
17063 .klen = 20,
17064 .iv = zeroed_string,
17065 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
17066 "\x01\x01\x01\x01\x01\x01\x01\x01",
17067 .plen = 16,
17068 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17069 "\x00\x00\x00\x00\x00\x00\x00\x00",
17070 .alen = 16,
17071 .ctext = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
17072 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
17073 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
17074 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
17075 .clen = 32,
b87dc203 17076 }, {
92a4c9fe
EB
17077 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17078 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17079 "\x00\x00\x00\x00",
17080 .klen = 20,
17081 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
a0d608ee 17082 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe 17083 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 17084 .plen = 16,
92a4c9fe
EB
17085 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17086 "\x00\x00\x00\x00\x00\x00\x00\x01",
17087 .alen = 16,
a0d608ee 17088 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
92a4c9fe
EB
17089 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17090 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
17091 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
a0d608ee 17092 .clen = 32,
b87dc203 17093 }, {
92a4c9fe
EB
17094 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17095 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17096 "\x00\x00\x00\x00",
17097 .klen = 20,
17098 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
a0d608ee 17099 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe
EB
17100 "\x01\x01\x01\x01\x01\x01\x01\x01"
17101 "\x01\x01\x01\x01\x01\x01\x01\x01"
17102 "\x01\x01\x01\x01\x01\x01\x01\x01"
17103 "\x01\x01\x01\x01\x01\x01\x01\x01"
17104 "\x01\x01\x01\x01\x01\x01\x01\x01"
17105 "\x01\x01\x01\x01\x01\x01\x01\x01"
17106 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 17107 .plen = 64,
92a4c9fe
EB
17108 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17109 "\x00\x00\x00\x00\x00\x00\x00\x01",
17110 .alen = 16,
a0d608ee 17111 .ctext = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
92a4c9fe
EB
17112 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
17113 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
17114 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
17115 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
17116 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
17117 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
17118 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
17119 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
17120 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
a0d608ee 17121 .clen = 80,
b87dc203 17122 }, {
92a4c9fe
EB
17123 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
17124 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17125 "\x00\x00\x00\x00",
17126 .klen = 20,
17127 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
a0d608ee 17128 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
92a4c9fe
EB
17129 "\xff\xff\xff\xff\xff\xff\xff\xff"
17130 "\xff\xff\xff\xff\xff\xff\xff\xff"
17131 "\xff\xff\xff\xff\xff\xff\xff\xff"
17132 "\xff\xff\xff\xff\xff\xff\xff\xff"
17133 "\xff\xff\xff\xff\xff\xff\xff\xff"
17134 "\xff\xff\xff\xff\xff\xff\xff\xff"
17135 "\xff\xff\xff\xff\xff\xff\xff\xff"
17136 "\xff\xff\xff\xff\xff\xff\xff\xff"
17137 "\xff\xff\xff\xff\xff\xff\xff\xff"
17138 "\xff\xff\xff\xff\xff\xff\xff\xff"
17139 "\xff\xff\xff\xff\xff\xff\xff\xff"
17140 "\xff\xff\xff\xff\xff\xff\xff\xff"
17141 "\xff\xff\xff\xff\xff\xff\xff\xff"
17142 "\xff\xff\xff\xff\xff\xff\xff\xff"
17143 "\xff\xff\xff\xff\xff\xff\xff\xff"
17144 "\xff\xff\xff\xff\xff\xff\xff\xff"
17145 "\xff\xff\xff\xff\xff\xff\xff\xff"
17146 "\xff\xff\xff\xff\xff\xff\xff\xff"
17147 "\xff\xff\xff\xff\xff\xff\xff\xff"
17148 "\xff\xff\xff\xff\xff\xff\xff\xff"
17149 "\xff\xff\xff\xff\xff\xff\xff\xff"
17150 "\xff\xff\xff\xff\xff\xff\xff\xff"
17151 "\xff\xff\xff\xff\xff\xff\xff\xff",
a0d608ee 17152 .plen = 192,
92a4c9fe
EB
17153 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
17154 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
17155 "\x89\xab\xcd\xef",
17156 .alen = 20,
a0d608ee 17157 .ctext = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
92a4c9fe
EB
17158 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
17159 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
17160 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
17161 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
17162 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
17163 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
17164 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
17165 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
17166 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
17167 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
17168 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
17169 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
17170 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
17171 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
17172 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
17173 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
17174 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
17175 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
17176 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
17177 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
17178 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
17179 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
17180 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
17181 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
17182 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
a0d608ee 17183 .clen = 208,
92a4c9fe
EB
17184 }, { /* From draft-mcgrew-gcm-test-01 */
17185 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17186 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17187 "\x2E\x44\x3B\x68",
17188 .klen = 20,
17189 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
a0d608ee 17190 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
92a4c9fe
EB
17191 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
17192 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
17193 "\x38\xD3\x01\x00\x00\x01\x00\x00"
17194 "\x00\x00\x00\x00\x04\x5F\x73\x69"
17195 "\x70\x04\x5F\x75\x64\x70\x03\x73"
17196 "\x69\x70\x09\x63\x79\x62\x65\x72"
17197 "\x63\x69\x74\x79\x02\x64\x6B\x00"
17198 "\x00\x21\x00\x01\x01\x02\x02\x01",
a0d608ee 17199 .plen = 72,
92a4c9fe
EB
17200 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
17201 "\x00\x00\x00\x00\x49\x56\xED\x7E"
17202 "\x3B\x24\x4C\xFE",
17203 .alen = 20,
a0d608ee 17204 .ctext = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
92a4c9fe
EB
17205 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
17206 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
17207 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
17208 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
17209 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
17210 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
17211 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
17212 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
17213 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
17214 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
a0d608ee 17215 .clen = 88,
b87dc203 17216 }, {
92a4c9fe
EB
17217 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17218 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
17219 "\xCA\xFE\xBA\xBE",
17220 .klen = 20,
17221 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
a0d608ee 17222 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
92a4c9fe
EB
17223 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
17224 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
17225 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
17226 "\x00\x01\x00\x00\x00\x00\x00\x00"
17227 "\x03\x73\x69\x70\x09\x63\x79\x62"
17228 "\x65\x72\x63\x69\x74\x79\x02\x64"
17229 "\x6B\x00\x00\x01\x00\x01\x00\x01",
a0d608ee 17230 .plen = 64,
92a4c9fe
EB
17231 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17232 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
b87dc203 17233 .alen = 16,
a0d608ee 17234 .ctext = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
92a4c9fe
EB
17235 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
17236 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
17237 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
17238 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
17239 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
17240 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
17241 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
17242 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
17243 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
a0d608ee 17244 .clen = 80,
b87dc203 17245 }, {
92a4c9fe
EB
17246 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17247 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17248 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17249 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17250 "\x11\x22\x33\x44",
17251 .klen = 36,
17252 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
a0d608ee 17253 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
92a4c9fe
EB
17254 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
17255 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
17256 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
17257 "\x70\x02\x40\x00\x20\xBF\x00\x00"
17258 "\x02\x04\x05\xB4\x01\x01\x04\x02"
17259 "\x01\x02\x02\x01",
a0d608ee 17260 .plen = 52,
92a4c9fe
EB
17261 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
17262 "\x01\x02\x03\x04\x05\x06\x07\x08",
17263 .alen = 16,
a0d608ee 17264 .ctext = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
92a4c9fe
EB
17265 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
17266 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
17267 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
17268 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
17269 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
17270 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
17271 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
17272 "\x15\x95\x6C\x96",
a0d608ee 17273 .clen = 68,
b87dc203 17274 }, {
92a4c9fe
EB
17275 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
17276 "\x00\x00\x00\x00\x00\x00\x00\x00"
17277 "\x00\x00\x00\x00",
17278 .klen = 20,
17279 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
a0d608ee 17280 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
92a4c9fe
EB
17281 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
17282 "\x01\x01\x01\x01\x08\x00\x07\x5C"
17283 "\x02\x00\x44\x00\x61\x62\x63\x64"
17284 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17285 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17286 "\x75\x76\x77\x61\x62\x63\x64\x65"
17287 "\x66\x67\x68\x69\x01\x02\x02\x01",
a0d608ee 17288 .plen = 64,
92a4c9fe
EB
17289 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
17290 "\x00\x00\x00\x00\x00\x00\x00\x00",
17291 .alen = 16,
a0d608ee 17292 .ctext = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
92a4c9fe
EB
17293 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
17294 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
17295 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
17296 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
17297 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
17298 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
17299 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
17300 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
17301 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
a0d608ee 17302 .clen = 80,
b87dc203 17303 }, {
92a4c9fe
EB
17304 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17305 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17306 "\x57\x69\x0E\x43",
17307 .klen = 20,
17308 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 17309 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
92a4c9fe
EB
17310 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
17311 "\x01\x01\x01\x01\x08\x00\x08\x5C"
17312 "\x02\x00\x43\x00\x61\x62\x63\x64"
17313 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17314 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17315 "\x75\x76\x77\x61\x62\x63\x64\x65"
17316 "\x66\x67\x68\x69\x01\x02\x02\x01",
a0d608ee 17317 .plen = 64,
92a4c9fe
EB
17318 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17319 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17320 "\xA2\xFC\xA1\xA3",
17321 .alen = 20,
a0d608ee 17322 .ctext = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
92a4c9fe
EB
17323 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
17324 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
17325 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
17326 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
17327 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
17328 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
17329 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
17330 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
17331 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
a0d608ee 17332 .clen = 80,
b87dc203 17333 }, {
92a4c9fe
EB
17334 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17335 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17336 "\x57\x69\x0E\x43",
17337 .klen = 20,
17338 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 17339 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
92a4c9fe
EB
17340 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
17341 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
17342 "\x01\x02\x02\x01",
a0d608ee 17343 .plen = 28,
92a4c9fe
EB
17344 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17345 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17346 "\xA2\xFC\xA1\xA3",
17347 .alen = 20,
a0d608ee 17348 .ctext = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
92a4c9fe
EB
17349 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
17350 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
17351 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
17352 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
17353 "\xE7\xD0\x5D\x35",
a0d608ee 17354 .clen = 44,
b87dc203 17355 }, {
92a4c9fe
EB
17356 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17357 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
17358 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17359 "\xCA\xFE\xBA\xBE",
17360 .klen = 28,
17361 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
a0d608ee 17362 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
92a4c9fe
EB
17363 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
17364 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
17365 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
17366 "\x50\x10\x16\xD0\x75\x68\x00\x01",
a0d608ee 17367 .plen = 40,
92a4c9fe
EB
17368 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17369 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
b87dc203 17370 .alen = 16,
a0d608ee 17371 .ctext = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
92a4c9fe
EB
17372 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
17373 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
17374 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
17375 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
17376 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
17377 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
a0d608ee 17378 .clen = 56,
b87dc203 17379 }, {
92a4c9fe
EB
17380 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17381 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17382 "\xDE\xCA\xF8\x88",
17383 .klen = 20,
17384 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
a0d608ee 17385 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
92a4c9fe
EB
17386 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
17387 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17388 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
17389 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
17390 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
17391 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
17392 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
17393 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
17394 "\x23\x01\x01\x01",
a0d608ee 17395 .plen = 76,
92a4c9fe
EB
17396 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
17397 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
17398 "\xCE\xFA\xCE\x74",
17399 .alen = 20,
a0d608ee 17400 .ctext = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
92a4c9fe
EB
17401 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
17402 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
17403 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
17404 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
17405 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
17406 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
17407 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
17408 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
17409 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
17410 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
17411 "\x69\x62\x34\x36",
a0d608ee 17412 .clen = 92,
b87dc203 17413 }, {
92a4c9fe
EB
17414 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17415 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17416 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17417 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17418 "\x73\x61\x6C\x74",
17419 .klen = 36,
17420 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
a0d608ee 17421 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
92a4c9fe
EB
17422 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
17423 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
17424 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
17425 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
a0d608ee 17426 .plen = 40,
92a4c9fe
EB
17427 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
17428 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
17429 "\x69\x76\x65\x63",
17430 .alen = 20,
a0d608ee 17431 .ctext = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
92a4c9fe
EB
17432 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
17433 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
17434 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
17435 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
17436 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
17437 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
a0d608ee 17438 .clen = 56,
b87dc203 17439 }, {
92a4c9fe
EB
17440 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17441 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17442 "\x57\x69\x0E\x43",
17443 .klen = 20,
17444 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 17445 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
92a4c9fe
EB
17446 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
17447 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17448 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
17449 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
17450 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
17451 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
17452 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
17453 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
17454 "\x15\x01\x01\x01",
a0d608ee 17455 .plen = 76,
92a4c9fe
EB
17456 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17457 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17458 "\xA2\xFC\xA1\xA3",
17459 .alen = 20,
a0d608ee 17460 .ctext = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
92a4c9fe
EB
17461 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
17462 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
17463 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
17464 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
17465 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
17466 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
17467 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
17468 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
17469 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
17470 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
17471 "\x8C\xAA\x81\xE2",
a0d608ee 17472 .clen = 92,
b87dc203 17473 }, {
92a4c9fe
EB
17474 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17475 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17476 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17477 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17478 "\x73\x61\x6C\x74",
17479 .klen = 36,
17480 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
a0d608ee 17481 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
92a4c9fe
EB
17482 "\x6C\x65\x73\x01\x74\x68\x65\x01"
17483 "\x6E\x65\x74\x77\x65\x01\x64\x65"
17484 "\x66\x69\x6E\x65\x01\x74\x68\x65"
17485 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
17486 "\x67\x69\x65\x73\x01\x74\x68\x61"
17487 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
17488 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
17489 "\x72\x72\x6F\x77\x01\x02\x02\x01",
a0d608ee 17490 .plen = 72,
92a4c9fe
EB
17491 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
17492 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
17493 "\x69\x76\x65\x63",
17494 .alen = 20,
a0d608ee 17495 .ctext = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
92a4c9fe
EB
17496 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
17497 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
17498 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
17499 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
17500 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
17501 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
17502 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
17503 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
17504 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
17505 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
a0d608ee 17506 .clen = 88,
b87dc203 17507 }, {
92a4c9fe
EB
17508 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
17509 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
17510 "\xD9\x66\x42\x67",
17511 .klen = 20,
17512 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
a0d608ee
EB
17513 .ptext = "\x01\x02\x02\x01",
17514 .plen = 4,
92a4c9fe
EB
17515 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
17516 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
b87dc203 17517 .alen = 16,
a0d608ee 17518 .ctext = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
92a4c9fe
EB
17519 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
17520 "\x04\xBE\xF2\x70",
a0d608ee 17521 .clen = 20,
b87dc203 17522 }, {
92a4c9fe
EB
17523 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17524 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17525 "\xDE\xCA\xF8\x88",
17526 .klen = 20,
17527 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
a0d608ee 17528 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
92a4c9fe
EB
17529 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
17530 "\x62\x65\x00\x01",
a0d608ee 17531 .plen = 20,
92a4c9fe
EB
17532 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
17533 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
17534 "\xCE\xFA\xCE\x74",
17535 .alen = 20,
a0d608ee 17536 .ctext = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
92a4c9fe
EB
17537 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
17538 "\x43\x33\x21\x64\x41\x25\x03\x52"
17539 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
17540 "\x43\xAF\x8C\x3E",
a0d608ee 17541 .clen = 36,
b87dc203 17542 }, {
92a4c9fe
EB
17543 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
17544 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
17545 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
17546 "\x62\x65\x66\x6F\x72\x65\x69\x61"
17547 "\x74\x75\x72\x6E",
17548 .klen = 36,
17549 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
a0d608ee 17550 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
92a4c9fe
EB
17551 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
17552 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
17553 "\x02\x00\x07\x00\x61\x62\x63\x64"
17554 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17555 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17556 "\x01\x02\x02\x01",
a0d608ee 17557 .plen = 52,
92a4c9fe
EB
17558 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
17559 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
17560 "\x67\x65\x74\x6D",
17561 .alen = 20,
a0d608ee 17562 .ctext = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
92a4c9fe
EB
17563 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
17564 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
17565 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
17566 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
17567 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
17568 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
17569 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
17570 "\x9F\xB4\xC0\x53",
a0d608ee 17571 .clen = 68,
92a4c9fe
EB
17572 }, {
17573 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17574 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17575 "\x57\x69\x0E\x43",
17576 .klen = 20,
17577 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 17578 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
92a4c9fe
EB
17579 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
17580 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
17581 "\x02\x00\x07\x00\x61\x62\x63\x64"
17582 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17583 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17584 "\x01\x02\x02\x01",
a0d608ee 17585 .plen = 52,
92a4c9fe
EB
17586 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
17587 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17588 "\xA2\xFC\xA1\xA3",
17589 .alen = 20,
a0d608ee 17590 .ctext = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
92a4c9fe
EB
17591 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
17592 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
17593 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
17594 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
17595 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
17596 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
17597 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
17598 "\x40\xD7\xCB\x05",
a0d608ee 17599 .clen = 68,
92a4c9fe
EB
17600 }, {
17601 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17602 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17603 "\x22\x43\x3C\x64",
17604 .klen = 20,
17605 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
a0d608ee 17606 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
92a4c9fe
EB
17607 "\x61\x62\x63\x64\x65\x66\x67\x68"
17608 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
17609 "\x71\x72\x73\x74\x01\x02\x02\x01",
a0d608ee 17610 .plen = 32,
92a4c9fe
EB
17611 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
17612 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
17613 "\x3A\x23\x4B\xFD",
17614 .alen = 20,
a0d608ee 17615 .ctext = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
92a4c9fe
EB
17616 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
17617 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
17618 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
17619 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
17620 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
a0d608ee 17621 .clen = 48,
92a4c9fe 17622 }
b87dc203
OM
17623};
17624
a0d608ee
EB
17625static const struct aead_testvec aes_gcm_rfc4543_tv_template[] = {
17626 { /* From draft-mcgrew-gcm-test-01 */
17627 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
17628 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
17629 "\x22\x43\x3c\x64",
92a4c9fe 17630 .klen = 20,
a0d608ee
EB
17631 .iv = zeroed_string,
17632 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
17633 "\x00\x00\x00\x00\x00\x00\x00\x00",
17634 .alen = 16,
17635 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
17636 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
17637 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
17638 "\x02\x00\x07\x00\x61\x62\x63\x64"
17639 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
17640 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
17641 "\x01\x02\x02\x01",
17642 .plen = 52,
17643 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
17644 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
17645 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
17646 "\x02\x00\x07\x00\x61\x62\x63\x64"
17647 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
17648 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
17649 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
17650 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
17651 "\xe4\x09\x9a\xaa",
17652 .clen = 68,
17653 }, { /* nearly same as previous, but should fail */
17654 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
17655 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
17656 "\x22\x43\x3c\x64",
92a4c9fe 17657 .klen = 20,
a0d608ee
EB
17658 .iv = zeroed_string,
17659 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
92a4c9fe 17660 "\x00\x00\x00\x00\x00\x00\x00\x00",
a0d608ee
EB
17661 .alen = 16,
17662 .ptext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
17663 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
17664 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
17665 "\x02\x00\x07\x00\x61\x62\x63\x64"
17666 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
17667 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
17668 "\x01\x02\x02\x01",
17669 .plen = 52,
17670 .novrfy = 1,
17671 .ctext = "\x45\x00\x00\x30\xda\x3a\x00\x00"
17672 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
17673 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
17674 "\x02\x00\x07\x00\x61\x62\x63\x64"
17675 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
17676 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
17677 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
17678 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
17679 "\x00\x00\x00\x00",
17680 .clen = 68,
17681 },
17682};
92a4c9fe 17683
a0d608ee
EB
17684static const struct aead_testvec aes_ccm_tv_template[] = {
17685 { /* From RFC 3610 */
17686 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17687 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17688 .klen = 16,
17689 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
17690 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17691 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
17692 .alen = 8,
17693 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17694 "\x10\x11\x12\x13\x14\x15\x16\x17"
17695 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
17696 .plen = 23,
17697 .ctext = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
17698 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
17699 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
17700 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
17701 .clen = 31,
b87dc203 17702 }, {
a0d608ee
EB
17703 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17704 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17705 .klen = 16,
17706 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
17707 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17708 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17709 "\x08\x09\x0a\x0b",
17710 .alen = 12,
17711 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
17712 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
17713 "\x1c\x1d\x1e\x1f",
17714 .plen = 20,
17715 .ctext = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
17716 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
17717 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
17718 "\x7d\x9c\x2d\x93",
17719 .clen = 28,
b87dc203 17720 }, {
a0d608ee
EB
17721 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17722 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17723 .klen = 16,
17724 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
17725 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17726 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
17727 .alen = 8,
17728 .ptext = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17729 "\x10\x11\x12\x13\x14\x15\x16\x17"
17730 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17731 "\x20",
17732 .plen = 25,
17733 .ctext = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
17734 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
17735 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
17736 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
17737 "\x7e\x5f\x4e",
17738 .clen = 35,
b87dc203 17739 }, {
a0d608ee
EB
17740 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17741 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17742 .klen = 16,
17743 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
17744 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17745 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17746 "\x08\x09\x0a\x0b",
17747 .alen = 12,
17748 .ptext = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
17749 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
17750 "\x1c\x1d\x1e",
17751 .plen = 19,
17752 .ctext = "\x07\x34\x25\x94\x15\x77\x85\x15"
17753 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
17754 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
17755 "\x4d\x99\x99\x88\xdd",
17756 .clen = 29,
b87dc203 17757 }, {
a0d608ee
EB
17758 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17759 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17760 .klen = 16,
17761 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
17762 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17763 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
17764 .alen = 8,
17765 .ptext = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
17766 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
17767 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
17768 .plen = 24,
17769 .ctext = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
17770 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
17771 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
17772 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
17773 .clen = 32,
b87dc203 17774 }, {
a0d608ee
EB
17775 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17776 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17777 .klen = 16,
17778 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
17779 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17780 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
17781 "\x20\xea\x60\xc0",
17782 .alen = 12,
17783 .ptext = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
17784 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
17785 "\x3a\x80\x3b\xa8\x7f",
17786 .plen = 21,
17787 .ctext = "\x00\x97\x69\xec\xab\xdf\x48\x62"
17788 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
17789 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
17790 "\x5a\xe0\x70\x45\x51",
17791 .clen = 29,
b87dc203 17792 }, {
a0d608ee
EB
17793 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17794 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17795 .klen = 16,
17796 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
17797 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17798 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
17799 .alen = 8,
17800 .ptext = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
17801 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
17802 "\x98\x09\xd6\x7d\xbe\xdd\x18",
17803 .plen = 23,
17804 .ctext = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
17805 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
17806 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
17807 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
17808 "\xba",
17809 .clen = 33,
b87dc203 17810 }, {
a0d608ee
EB
17811 /* This is taken from FIPS CAVS. */
17812 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
17813 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
17814 .klen = 16,
17815 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
17816 .alen = 0,
17817 .ptext = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
17818 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
17819 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
17820 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
17821 .plen = 32,
17822 .ctext = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
17823 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
17824 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
17825 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
17826 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
17827 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
17828 .clen = 48,
b87dc203 17829 }, {
a0d608ee
EB
17830 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
17831 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
17832 .klen = 16,
17833 .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
17834 "\x30\x60\x15\x56\x00\x00\x00\x00",
17835 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
17836 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
17837 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
17838 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
17839 .alen = 32,
17840 .ptext = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
17841 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
17842 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
17843 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
17844 .plen = 32,
17845 .ctext = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
17846 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
17847 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
17848 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
17849 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
17850 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
17851 .clen = 48,
b87dc203 17852 }, {
a0d608ee
EB
17853 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
17854 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
17855 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
17856 .klen = 24,
17857 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
17858 "\x50\x20\xda\xe2\x00\x00\x00\x00",
17859 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
17860 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
17861 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
17862 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
17863 .alen = 32,
17864 .ctext = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
17865 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
17866 .clen = 16,
b87dc203 17867 }, {
a0d608ee
EB
17868 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
17869 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
17870 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
17871 .klen = 24,
17872 .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
17873 "\xef\x09\x2e\x94\x00\x00\x00\x00",
17874 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
17875 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
17876 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
17877 "\xe3\x00\x73\x69\x84\x69\x87\x79",
17878 .alen = 32,
17879 .ptext = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
17880 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
17881 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
17882 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
17883 .plen = 32,
17884 .ctext = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
17885 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
17886 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
17887 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
17888 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
17889 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
17890 .clen = 48,
b87dc203 17891 }, {
a0d608ee
EB
17892 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
17893 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
17894 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
17895 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
17896 .klen = 32,
17897 .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
17898 "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
17899 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
17900 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
17901 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
17902 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
17903 .alen = 32,
17904 .ptext = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
17905 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
17906 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
17907 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
17908 .plen = 32,
17909 .ctext = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
17910 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
17911 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
17912 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
17913 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
17914 .clen = 40,
b87dc203 17915 }, {
a0d608ee
EB
17916 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
17917 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
17918 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
17919 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
17920 .klen = 32,
17921 .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
17922 "\x43\xf6\x1e\x50\0\0\0\0",
17923 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
17924 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
17925 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
17926 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
17927 .alen = 32,
17928 .ptext = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
17929 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
17930 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
17931 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
17932 .plen = 32,
17933 .ctext = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
17934 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
17935 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
17936 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
17937 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
17938 "\x7b\x72\x8a\xf7",
17939 .clen = 44,
b87dc203 17940 }, {
a0d608ee
EB
17941 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
17942 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
17943 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
17944 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
17945 .klen = 32,
17946 .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
17947 "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
17948 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
17949 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
17950 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
17951 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
17952 .alen = 32,
17953 .ptext = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
17954 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
17955 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
17956 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
17957 .plen = 32,
17958 .ctext = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
17959 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
17960 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
17961 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
17962 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
17963 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
17964 .clen = 48,
b87dc203 17965 }, {
a0d608ee
EB
17966 /* This is taken from FIPS CAVS. */
17967 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
17968 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
b87dc203 17969 .klen = 16,
a0d608ee
EB
17970 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
17971 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
17972 .alen = 0,
17973 .ptext = "\x00",
17974 .plen = 0,
17975 .ctext = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
17976 .clen = 8,
17977 .novrfy = 1,
b87dc203 17978 }, {
a0d608ee
EB
17979 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
17980 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
b87dc203 17981 .klen = 16,
a0d608ee
EB
17982 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
17983 "\x7f\x88\x94\x68\x00\x00\x00\x00",
17984 .alen = 0,
17985 .ptext = "\x00",
17986 .plen = 0,
17987 .ctext = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
17988 .clen = 8,
b87dc203 17989 }, {
a0d608ee
EB
17990 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
17991 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
de845da9
EB
17992 .klen = 16,
17993 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
17994 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
17995 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
17996 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
17997 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
17998 "\xd8\x94\x99\x91\x81\x54\x62\x57",
17999 .alen = 32,
a0d608ee 18000 .ptext = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
de845da9
EB
18001 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
18002 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
18003 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
a0d608ee
EB
18004 .plen = 32,
18005 .ctext = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
de845da9
EB
18006 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
18007 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
18008 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
18009 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
18010 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
a0d608ee 18011 .clen = 48,
de845da9
EB
18012 .novrfy = 1,
18013 }, {
18014 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
18015 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
18016 .klen = 16,
18017 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
18018 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
18019 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
18020 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
18021 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
18022 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
18023 .alen = 32,
a0d608ee 18024 .ptext = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
de845da9
EB
18025 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
18026 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
18027 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
a0d608ee
EB
18028 .plen = 32,
18029 .ctext = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
de845da9
EB
18030 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
18031 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
18032 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
18033 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
18034 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
a0d608ee 18035 .clen = 48,
de845da9
EB
18036 }, {
18037 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18038 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
18039 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
18040 .klen = 24,
18041 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
18042 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
18043 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
18044 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
18045 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18046 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18047 .alen = 32,
a0d608ee
EB
18048 .ptext = "\x00",
18049 .plen = 0,
18050 .ctext = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
18051 .clen = 8,
de845da9
EB
18052 }, {
18053 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18054 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
18055 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
18056 .klen = 24,
18057 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
18058 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
18059 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
18060 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
18061 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18062 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18063 .alen = 32,
a0d608ee 18064 .ptext = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
de845da9
EB
18065 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
18066 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
18067 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
a0d608ee
EB
18068 .plen = 32,
18069 .ctext = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
de845da9
EB
18070 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
18071 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
18072 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
18073 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
a0d608ee 18074 .clen = 40,
de845da9
EB
18075 }, {
18076 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18077 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
18078 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
18079 .klen = 24,
18080 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
18081 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
18082 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
18083 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
18084 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
18085 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
18086 .alen = 32,
a0d608ee 18087 .ptext = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
de845da9
EB
18088 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
18089 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
18090 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
a0d608ee
EB
18091 .plen = 32,
18092 .ctext = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
de845da9
EB
18093 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
18094 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
18095 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
18096 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
18097 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
a0d608ee 18098 .clen = 48,
de845da9
EB
18099 .novrfy = 1,
18100 }, {
18101 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
18102 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
18103 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
18104 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
18105 .klen = 32,
18106 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
18107 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
18108 .alen = 0,
a0d608ee
EB
18109 .ptext = "\x00",
18110 .plen = 0,
18111 .ctext = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
18112 .clen = 8,
de845da9
EB
18113 }, {
18114 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18115 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
18116 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
18117 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
18118 .klen = 32,
18119 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
18120 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
18121 .alen = 0,
a0d608ee 18122 .ptext = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
de845da9
EB
18123 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
18124 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
18125 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
a0d608ee
EB
18126 .plen = 32,
18127 .ctext = "\x48\x01\x5e\x02\x24\x04\x66\x47"
de845da9
EB
18128 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
18129 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
18130 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
18131 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
18132 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
a0d608ee 18133 .clen = 48,
de845da9
EB
18134 .novrfy = 1,
18135 }, {
18136 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18137 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
18138 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
18139 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
18140 .klen = 32,
18141 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
18142 "\x44\x89\x40\x7b\x00\x00\x00\x00",
18143 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
18144 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
18145 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
18146 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
18147 .alen = 32,
a0d608ee 18148 .ptext = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
de845da9
EB
18149 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
18150 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
18151 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
a0d608ee
EB
18152 .plen = 32,
18153 .ctext = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
de845da9
EB
18154 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
18155 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
18156 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
18157 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
18158 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
a0d608ee 18159 .clen = 48,
b87dc203
OM
18160 },
18161};
18162
18163/*
92a4c9fe
EB
18164 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
18165 * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
18166 * they use AD lengths which are not valid ESP header lengths.
b87dc203 18167 *
92a4c9fe
EB
18168 * These vectors are copied/generated from the ones for rfc4106 with
18169 * the key truncated by one byte..
b87dc203 18170 */
a0d608ee 18171static const struct aead_testvec aes_ccm_rfc4309_tv_template[] = {
92a4c9fe
EB
18172 { /* Generated using Crypto++ */
18173 .key = zeroed_string,
18174 .klen = 19,
18175 .iv = zeroed_string,
a0d608ee
EB
18176 .ptext = zeroed_string,
18177 .plen = 16,
92a4c9fe
EB
18178 .assoc = zeroed_string,
18179 .alen = 16,
a0d608ee 18180 .ctext = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
92a4c9fe
EB
18181 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
18182 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
18183 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
a0d608ee 18184 .clen = 32,
92a4c9fe
EB
18185 },{
18186 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18187 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18188 "\x00\x00\x00",
18189 .klen = 19,
18190 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
a0d608ee
EB
18191 .ptext = zeroed_string,
18192 .plen = 16,
92a4c9fe
EB
18193 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
18194 "\x00\x00\x00\x00\x00\x00\x00\x01",
18195 .alen = 16,
a0d608ee 18196 .ctext = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
92a4c9fe
EB
18197 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
18198 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
18199 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
a0d608ee 18200 .clen = 32,
92a4c9fe 18201
b87dc203 18202 }, {
92a4c9fe
EB
18203 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18204 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18205 "\x00\x00\x00",
18206 .klen = 19,
18207 .iv = zeroed_string,
a0d608ee 18208 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe 18209 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 18210 .plen = 16,
92a4c9fe
EB
18211 .assoc = zeroed_string,
18212 .alen = 16,
a0d608ee 18213 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
92a4c9fe
EB
18214 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
18215 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
18216 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
a0d608ee 18217 .clen = 32,
b87dc203 18218 }, {
92a4c9fe
EB
18219 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18220 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18221 "\x00\x00\x00",
18222 .klen = 19,
18223 .iv = zeroed_string,
a0d608ee 18224 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe 18225 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 18226 .plen = 16,
92a4c9fe
EB
18227 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18228 "\x00\x00\x00\x00\x00\x00\x00\x00",
18229 .alen = 16,
a0d608ee 18230 .ctext = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
92a4c9fe
EB
18231 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
18232 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
18233 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
a0d608ee 18234 .clen = 32,
b87dc203 18235 }, {
92a4c9fe
EB
18236 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18237 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18238 "\x00\x00\x00",
18239 .klen = 19,
18240 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
a0d608ee 18241 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe 18242 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 18243 .plen = 16,
92a4c9fe
EB
18244 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18245 "\x00\x00\x00\x00\x00\x00\x00\x01",
18246 .alen = 16,
a0d608ee 18247 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
92a4c9fe
EB
18248 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
18249 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
18250 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
a0d608ee 18251 .clen = 32,
b87dc203 18252 }, {
92a4c9fe
EB
18253 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18254 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18255 "\x00\x00\x00",
18256 .klen = 19,
18257 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
a0d608ee 18258 .ptext = "\x01\x01\x01\x01\x01\x01\x01\x01"
92a4c9fe
EB
18259 "\x01\x01\x01\x01\x01\x01\x01\x01"
18260 "\x01\x01\x01\x01\x01\x01\x01\x01"
18261 "\x01\x01\x01\x01\x01\x01\x01\x01"
18262 "\x01\x01\x01\x01\x01\x01\x01\x01"
18263 "\x01\x01\x01\x01\x01\x01\x01\x01"
18264 "\x01\x01\x01\x01\x01\x01\x01\x01"
18265 "\x01\x01\x01\x01\x01\x01\x01\x01",
a0d608ee 18266 .plen = 64,
92a4c9fe
EB
18267 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18268 "\x00\x00\x00\x00\x00\x00\x00\x01",
18269 .alen = 16,
a0d608ee 18270 .ctext = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
92a4c9fe
EB
18271 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
18272 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
18273 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
18274 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
18275 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
18276 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
18277 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
18278 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
18279 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
a0d608ee 18280 .clen = 80,
b87dc203 18281 }, {
92a4c9fe
EB
18282 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18283 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18284 "\x00\x00\x00",
18285 .klen = 19,
18286 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
a0d608ee 18287 .ptext = "\xff\xff\xff\xff\xff\xff\xff\xff"
92a4c9fe
EB
18288 "\xff\xff\xff\xff\xff\xff\xff\xff"
18289 "\xff\xff\xff\xff\xff\xff\xff\xff"
18290 "\xff\xff\xff\xff\xff\xff\xff\xff"
18291 "\xff\xff\xff\xff\xff\xff\xff\xff"
18292 "\xff\xff\xff\xff\xff\xff\xff\xff"
18293 "\xff\xff\xff\xff\xff\xff\xff\xff"
18294 "\xff\xff\xff\xff\xff\xff\xff\xff"
18295 "\xff\xff\xff\xff\xff\xff\xff\xff"
18296 "\xff\xff\xff\xff\xff\xff\xff\xff"
18297 "\xff\xff\xff\xff\xff\xff\xff\xff"
18298 "\xff\xff\xff\xff\xff\xff\xff\xff"
18299 "\xff\xff\xff\xff\xff\xff\xff\xff"
18300 "\xff\xff\xff\xff\xff\xff\xff\xff"
18301 "\xff\xff\xff\xff\xff\xff\xff\xff"
18302 "\xff\xff\xff\xff\xff\xff\xff\xff"
18303 "\xff\xff\xff\xff\xff\xff\xff\xff"
18304 "\xff\xff\xff\xff\xff\xff\xff\xff"
18305 "\xff\xff\xff\xff\xff\xff\xff\xff"
18306 "\xff\xff\xff\xff\xff\xff\xff\xff"
18307 "\xff\xff\xff\xff\xff\xff\xff\xff"
18308 "\xff\xff\xff\xff\xff\xff\xff\xff"
18309 "\xff\xff\xff\xff\xff\xff\xff\xff"
18310 "\xff\xff\xff\xff\xff\xff\xff\xff",
a0d608ee 18311 .plen = 192,
92a4c9fe
EB
18312 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
18313 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
18314 "\x89\xab\xcd\xef",
18315 .alen = 20,
a0d608ee 18316 .ctext = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
92a4c9fe
EB
18317 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
18318 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
18319 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
18320 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
18321 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
18322 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
18323 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
18324 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
18325 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
18326 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
18327 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
18328 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
18329 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
18330 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
18331 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
18332 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
18333 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
18334 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
18335 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
18336 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
18337 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
18338 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
18339 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
18340 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
18341 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
a0d608ee 18342 .clen = 208,
92a4c9fe
EB
18343 }, { /* From draft-mcgrew-gcm-test-01 */
18344 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18345 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18346 "\x2E\x44\x3B",
18347 .klen = 19,
18348 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
a0d608ee 18349 .ptext = "\x45\x00\x00\x48\x69\x9A\x00\x00"
92a4c9fe
EB
18350 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
18351 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
18352 "\x38\xD3\x01\x00\x00\x01\x00\x00"
18353 "\x00\x00\x00\x00\x04\x5F\x73\x69"
18354 "\x70\x04\x5F\x75\x64\x70\x03\x73"
18355 "\x69\x70\x09\x63\x79\x62\x65\x72"
18356 "\x63\x69\x74\x79\x02\x64\x6B\x00"
18357 "\x00\x21\x00\x01\x01\x02\x02\x01",
a0d608ee 18358 .plen = 72,
92a4c9fe
EB
18359 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18360 "\x00\x00\x00\x00\x49\x56\xED\x7E"
18361 "\x3B\x24\x4C\xFE",
18362 .alen = 20,
a0d608ee 18363 .ctext = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
92a4c9fe
EB
18364 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
18365 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
18366 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
18367 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
18368 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
18369 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
18370 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
18371 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
18372 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
18373 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
a0d608ee 18374 .clen = 88,
b87dc203 18375 }, {
92a4c9fe
EB
18376 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18377 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18378 "\xCA\xFE\xBA",
18379 .klen = 19,
18380 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
a0d608ee 18381 .ptext = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
92a4c9fe
EB
18382 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
18383 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
18384 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
18385 "\x00\x01\x00\x00\x00\x00\x00\x00"
18386 "\x03\x73\x69\x70\x09\x63\x79\x62"
18387 "\x65\x72\x63\x69\x74\x79\x02\x64"
18388 "\x6B\x00\x00\x01\x00\x01\x00\x01",
a0d608ee 18389 .plen = 64,
92a4c9fe
EB
18390 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18391 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18392 .alen = 16,
a0d608ee 18393 .ctext = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
92a4c9fe
EB
18394 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
18395 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
18396 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
18397 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
18398 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
18399 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
18400 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
18401 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
18402 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
a0d608ee 18403 .clen = 80,
b87dc203 18404 }, {
92a4c9fe
EB
18405 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18406 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18407 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18408 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18409 "\x11\x22\x33",
18410 .klen = 35,
18411 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
a0d608ee 18412 .ptext = "\x45\x00\x00\x30\x69\xA6\x40\x00"
92a4c9fe
EB
18413 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
18414 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
18415 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
18416 "\x70\x02\x40\x00\x20\xBF\x00\x00"
18417 "\x02\x04\x05\xB4\x01\x01\x04\x02"
18418 "\x01\x02\x02\x01",
a0d608ee 18419 .plen = 52,
92a4c9fe
EB
18420 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
18421 "\x01\x02\x03\x04\x05\x06\x07\x08",
18422 .alen = 16,
a0d608ee 18423 .ctext = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
92a4c9fe
EB
18424 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
18425 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
18426 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
18427 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
18428 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
18429 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
18430 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
18431 "\x5A\x48\x6A\x3E",
a0d608ee 18432 .clen = 68,
b87dc203 18433 }, {
92a4c9fe
EB
18434 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18435 "\x00\x00\x00\x00\x00\x00\x00\x00"
18436 "\x00\x00\x00",
18437 .klen = 19,
18438 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
a0d608ee 18439 .ptext = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
92a4c9fe
EB
18440 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
18441 "\x01\x01\x01\x01\x08\x00\x07\x5C"
18442 "\x02\x00\x44\x00\x61\x62\x63\x64"
18443 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18444 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18445 "\x75\x76\x77\x61\x62\x63\x64\x65"
18446 "\x66\x67\x68\x69\x01\x02\x02\x01",
a0d608ee 18447 .plen = 64,
92a4c9fe
EB
18448 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
18449 "\x00\x00\x00\x00\x00\x00\x00\x00",
b87dc203 18450 .alen = 16,
a0d608ee 18451 .ctext = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
92a4c9fe
EB
18452 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
18453 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
18454 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
18455 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
18456 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
18457 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
18458 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
18459 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
18460 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
a0d608ee 18461 .clen = 80,
b87dc203 18462 }, {
92a4c9fe
EB
18463 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18464 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18465 "\x57\x69\x0E",
18466 .klen = 19,
18467 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 18468 .ptext = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
92a4c9fe
EB
18469 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
18470 "\x01\x01\x01\x01\x08\x00\x08\x5C"
18471 "\x02\x00\x43\x00\x61\x62\x63\x64"
18472 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18473 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18474 "\x75\x76\x77\x61\x62\x63\x64\x65"
18475 "\x66\x67\x68\x69\x01\x02\x02\x01",
a0d608ee 18476 .plen = 64,
92a4c9fe
EB
18477 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18478 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18479 "\xA2\xFC\xA1\xA3",
18480 .alen = 20,
a0d608ee 18481 .ctext = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
92a4c9fe
EB
18482 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
18483 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
18484 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
18485 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
18486 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
18487 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
18488 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
18489 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
18490 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
a0d608ee 18491 .clen = 80,
b87dc203 18492 }, {
92a4c9fe
EB
18493 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18494 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18495 "\x57\x69\x0E",
18496 .klen = 19,
18497 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 18498 .ptext = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
92a4c9fe
EB
18499 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
18500 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
18501 "\x01\x02\x02\x01",
a0d608ee 18502 .plen = 28,
92a4c9fe
EB
18503 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18504 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18505 "\xA2\xFC\xA1\xA3",
18506 .alen = 20,
a0d608ee 18507 .ctext = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
92a4c9fe
EB
18508 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
18509 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
18510 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
18511 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
18512 "\x08\xB4\x22\xE4",
a0d608ee 18513 .clen = 44,
92a4c9fe
EB
18514 }, {
18515 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18516 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18517 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18518 "\xCA\xFE\xBA",
18519 .klen = 27,
18520 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
a0d608ee 18521 .ptext = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
92a4c9fe
EB
18522 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
18523 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
18524 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
18525 "\x50\x10\x16\xD0\x75\x68\x00\x01",
a0d608ee 18526 .plen = 40,
92a4c9fe
EB
18527 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18528 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18529 .alen = 16,
a0d608ee 18530 .ctext = "\x05\x22\x15\xD1\x52\x56\x85\x04"
92a4c9fe
EB
18531 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
18532 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
18533 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
18534 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
18535 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
18536 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
a0d608ee 18537 .clen = 56,
b87dc203 18538 }, {
92a4c9fe
EB
18539 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18540 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18541 "\xDE\xCA\xF8",
18542 .klen = 19,
18543 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
a0d608ee 18544 .ptext = "\x45\x00\x00\x49\x33\xBA\x00\x00"
92a4c9fe
EB
18545 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
18546 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18547 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
18548 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
18549 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
18550 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
18551 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
18552 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
18553 "\x23\x01\x01\x01",
a0d608ee 18554 .plen = 76,
92a4c9fe
EB
18555 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18556 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18557 "\xCE\xFA\xCE\x74",
18558 .alen = 20,
a0d608ee 18559 .ctext = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
92a4c9fe
EB
18560 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
18561 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
18562 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
18563 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
18564 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
18565 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
18566 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
18567 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
18568 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
18569 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
18570 "\x12\x25\x0B\xF9",
a0d608ee 18571 .clen = 92,
b87dc203 18572 }, {
92a4c9fe
EB
18573 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18574 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18575 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18576 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18577 "\x73\x61\x6C",
18578 .klen = 35,
18579 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
a0d608ee 18580 .ptext = "\x45\x08\x00\x28\x73\x2C\x00\x00"
92a4c9fe
EB
18581 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
18582 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
18583 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
18584 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
a0d608ee 18585 .plen = 40,
92a4c9fe
EB
18586 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18587 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18588 "\x69\x76\x65\x63",
18589 .alen = 20,
a0d608ee 18590 .ctext = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
92a4c9fe
EB
18591 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
18592 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
18593 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
18594 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
18595 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
18596 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
a0d608ee 18597 .clen = 56,
b87dc203 18598 }, {
92a4c9fe
EB
18599 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18600 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18601 "\x57\x69\x0E",
18602 .klen = 19,
18603 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 18604 .ptext = "\x45\x00\x00\x49\x33\x3E\x00\x00"
92a4c9fe
EB
18605 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
18606 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18607 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
18608 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
18609 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
18610 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
18611 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
18612 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
18613 "\x15\x01\x01\x01",
a0d608ee 18614 .plen = 76,
92a4c9fe
EB
18615 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18616 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18617 "\xA2\xFC\xA1\xA3",
18618 .alen = 20,
a0d608ee 18619 .ctext = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
92a4c9fe
EB
18620 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
18621 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
18622 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
18623 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
18624 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
18625 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
18626 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
18627 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
18628 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
18629 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
18630 "\xCC\xF7\x46\x6F",
a0d608ee 18631 .clen = 92,
b87dc203 18632 }, {
92a4c9fe
EB
18633 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18634 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18635 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18636 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18637 "\x73\x61\x6C",
18638 .klen = 35,
18639 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
a0d608ee 18640 .ptext = "\x63\x69\x73\x63\x6F\x01\x72\x75"
92a4c9fe
EB
18641 "\x6C\x65\x73\x01\x74\x68\x65\x01"
18642 "\x6E\x65\x74\x77\x65\x01\x64\x65"
18643 "\x66\x69\x6E\x65\x01\x74\x68\x65"
18644 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
18645 "\x67\x69\x65\x73\x01\x74\x68\x61"
18646 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
18647 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
18648 "\x72\x72\x6F\x77\x01\x02\x02\x01",
a0d608ee 18649 .plen = 72,
92a4c9fe
EB
18650 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18651 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18652 "\x69\x76\x65\x63",
18653 .alen = 20,
a0d608ee 18654 .ctext = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
92a4c9fe
EB
18655 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
18656 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
18657 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
18658 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
18659 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
18660 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
18661 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
18662 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
18663 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
18664 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
a0d608ee 18665 .clen = 88,
92a4c9fe
EB
18666 }, {
18667 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
18668 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
18669 "\xD9\x66\x42",
18670 .klen = 19,
18671 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
a0d608ee
EB
18672 .ptext = "\x01\x02\x02\x01",
18673 .plen = 4,
92a4c9fe
EB
18674 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
18675 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
b87dc203 18676 .alen = 16,
a0d608ee 18677 .ctext = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
92a4c9fe
EB
18678 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
18679 "\xF7\x61\x24\x62",
a0d608ee 18680 .clen = 20,
b87dc203 18681 }, {
92a4c9fe
EB
18682 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18683 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18684 "\xDE\xCA\xF8",
18685 .klen = 19,
18686 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
a0d608ee 18687 .ptext = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
92a4c9fe
EB
18688 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
18689 "\x62\x65\x00\x01",
a0d608ee 18690 .plen = 20,
92a4c9fe
EB
18691 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18692 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18693 "\xCE\xFA\xCE\x74",
18694 .alen = 20,
a0d608ee 18695 .ctext = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
92a4c9fe
EB
18696 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
18697 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
18698 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
18699 "\x17\x17\x65\xAD",
a0d608ee 18700 .clen = 36,
b87dc203 18701 }, {
92a4c9fe
EB
18702 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
18703 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
18704 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
18705 "\x62\x65\x66\x6F\x72\x65\x69\x61"
18706 "\x74\x75\x72",
18707 .klen = 35,
18708 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
a0d608ee 18709 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
92a4c9fe
EB
18710 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18711 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18712 "\x02\x00\x07\x00\x61\x62\x63\x64"
18713 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18714 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18715 "\x01\x02\x02\x01",
a0d608ee 18716 .plen = 52,
92a4c9fe
EB
18717 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
18718 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
18719 "\x67\x65\x74\x6D",
18720 .alen = 20,
a0d608ee 18721 .ctext = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
92a4c9fe
EB
18722 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
18723 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
18724 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
18725 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
18726 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
18727 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
18728 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
18729 "\x39\xDB\xC8\xDC",
a0d608ee 18730 .clen = 68,
b87dc203 18731 }, {
92a4c9fe
EB
18732 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18733 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18734 "\x57\x69\x0E",
18735 .klen = 19,
18736 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
a0d608ee 18737 .ptext = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
92a4c9fe
EB
18738 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18739 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18740 "\x02\x00\x07\x00\x61\x62\x63\x64"
18741 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18742 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18743 "\x01\x02\x02\x01",
a0d608ee 18744 .plen = 52,
92a4c9fe
EB
18745 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
18746 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18747 "\xA2\xFC\xA1\xA3",
18748 .alen = 20,
a0d608ee 18749 .ctext = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
92a4c9fe
EB
18750 "\x10\x60\x54\x25\xEB\x80\x04\x93"
18751 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
18752 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
18753 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
18754 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
18755 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
18756 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
18757 "\xF4\x95\x5D\x4F",
a0d608ee 18758 .clen = 68,
92a4c9fe
EB
18759 }, {
18760 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18761 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18762 "\x22\x43\x3C",
18763 .klen = 19,
18764 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
a0d608ee 18765 .ptext = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
92a4c9fe
EB
18766 "\x61\x62\x63\x64\x65\x66\x67\x68"
18767 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
18768 "\x71\x72\x73\x74\x01\x02\x02\x01",
a0d608ee 18769 .plen = 32,
92a4c9fe
EB
18770 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18771 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
18772 "\x3A\x23\x4B\xFD",
18773 .alen = 20,
a0d608ee 18774 .ctext = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
92a4c9fe
EB
18775 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
18776 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
18777 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
18778 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
18779 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
a0d608ee 18780 .clen = 48,
92a4c9fe
EB
18781 }
18782};
18783
a0d608ee
EB
18784/*
18785 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
18786 */
18787static const struct aead_testvec rfc7539_tv_template[] = {
18788 {
18789 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
18790 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18791 "\x90\x91\x92\x93\x94\x95\x96\x97"
18792 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
4feb4c59 18793 .klen = 32,
a0d608ee
EB
18794 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
18795 "\x44\x45\x46\x47",
18796 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
18797 "\xc4\xc5\xc6\xc7",
18798 .alen = 12,
18799 .ptext = "\x4c\x61\x64\x69\x65\x73\x20\x61"
18800 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
18801 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
18802 "\x74\x68\x65\x20\x63\x6c\x61\x73"
18803 "\x73\x20\x6f\x66\x20\x27\x39\x39"
18804 "\x3a\x20\x49\x66\x20\x49\x20\x63"
18805 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
18806 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
18807 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
18808 "\x74\x69\x70\x20\x66\x6f\x72\x20"
18809 "\x74\x68\x65\x20\x66\x75\x74\x75"
18810 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
18811 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
18812 "\x75\x6c\x64\x20\x62\x65\x20\x69"
18813 "\x74\x2e",
18814 .plen = 114,
18815 .ctext = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
18816 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
18817 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
18818 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
18819 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
18820 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
18821 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
18822 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
18823 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
18824 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
18825 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
18826 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
18827 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
18828 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
18829 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
18830 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
18831 "\x06\x91",
18832 .clen = 130,
4feb4c59 18833 }, {
a0d608ee
EB
18834 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
18835 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
18836 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
18837 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
4feb4c59 18838 .klen = 32,
a0d608ee
EB
18839 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
18840 "\x05\x06\x07\x08",
18841 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
18842 "\x00\x00\x4e\x91",
18843 .alen = 12,
18844 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
18845 "\x2d\x44\x72\x61\x66\x74\x73\x20"
18846 "\x61\x72\x65\x20\x64\x72\x61\x66"
18847 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
18848 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
18849 "\x64\x20\x66\x6f\x72\x20\x61\x20"
18850 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
18851 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
18852 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
18853 "\x64\x20\x6d\x61\x79\x20\x62\x65"
18854 "\x20\x75\x70\x64\x61\x74\x65\x64"
18855 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
18856 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
18857 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
18858 "\x20\x62\x79\x20\x6f\x74\x68\x65"
18859 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
18860 "\x6e\x74\x73\x20\x61\x74\x20\x61"
18861 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
18862 "\x20\x49\x74\x20\x69\x73\x20\x69"
18863 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
18864 "\x69\x61\x74\x65\x20\x74\x6f\x20"
18865 "\x75\x73\x65\x20\x49\x6e\x74\x65"
18866 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
18867 "\x66\x74\x73\x20\x61\x73\x20\x72"
18868 "\x65\x66\x65\x72\x65\x6e\x63\x65"
18869 "\x20\x6d\x61\x74\x65\x72\x69\x61"
18870 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
18871 "\x63\x69\x74\x65\x20\x74\x68\x65"
18872 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
18873 "\x74\x68\x61\x6e\x20\x61\x73\x20"
18874 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
18875 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
18876 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
18877 "\x9d",
18878 .plen = 265,
18879 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
18880 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
18881 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
18882 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
18883 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
18884 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
18885 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
18886 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
18887 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
18888 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
18889 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
18890 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
18891 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
18892 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
18893 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
18894 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
18895 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
18896 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
18897 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
18898 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
18899 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
18900 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
18901 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
18902 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
18903 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
18904 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
18905 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
18906 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
18907 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
18908 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
18909 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
18910 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
18911 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
18912 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
18913 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
18914 "\x38",
18915 .clen = 281,
18916 },
18917};
18918
18919/*
18920 * draft-irtf-cfrg-chacha20-poly1305
18921 */
18922static const struct aead_testvec rfc7539esp_tv_template[] = {
18923 {
18924 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
18925 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
18926 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
18927 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
18928 "\x00\x00\x00\x00",
18929 .klen = 36,
18930 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
18931 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
18932 "\x00\x00\x4e\x91\x01\x02\x03\x04"
18933 "\x05\x06\x07\x08",
18934 .alen = 20,
18935 .ptext = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
18936 "\x2d\x44\x72\x61\x66\x74\x73\x20"
18937 "\x61\x72\x65\x20\x64\x72\x61\x66"
18938 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
18939 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
18940 "\x64\x20\x66\x6f\x72\x20\x61\x20"
18941 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
18942 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
18943 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
18944 "\x64\x20\x6d\x61\x79\x20\x62\x65"
18945 "\x20\x75\x70\x64\x61\x74\x65\x64"
18946 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
18947 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
18948 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
18949 "\x20\x62\x79\x20\x6f\x74\x68\x65"
18950 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
18951 "\x6e\x74\x73\x20\x61\x74\x20\x61"
18952 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
18953 "\x20\x49\x74\x20\x69\x73\x20\x69"
18954 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
18955 "\x69\x61\x74\x65\x20\x74\x6f\x20"
18956 "\x75\x73\x65\x20\x49\x6e\x74\x65"
18957 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
18958 "\x66\x74\x73\x20\x61\x73\x20\x72"
18959 "\x65\x66\x65\x72\x65\x6e\x63\x65"
18960 "\x20\x6d\x61\x74\x65\x72\x69\x61"
18961 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
18962 "\x63\x69\x74\x65\x20\x74\x68\x65"
18963 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
18964 "\x74\x68\x61\x6e\x20\x61\x73\x20"
18965 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
18966 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
18967 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
92a4c9fe 18968 "\x9d",
a0d608ee
EB
18969 .plen = 265,
18970 .ctext = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
18971 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
18972 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
18973 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
18974 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
18975 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
18976 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
18977 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
18978 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
18979 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
18980 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
18981 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
18982 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
18983 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
18984 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
18985 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
18986 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
18987 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
18988 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
18989 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
18990 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
18991 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
18992 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
18993 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
18994 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
18995 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
18996 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
18997 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
18998 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
18999 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
19000 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
19001 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
19002 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
19003 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
19004 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
19005 "\x38",
19006 .clen = 281,
35351988
SM
19007 },
19008};
19009
e08ca2da 19010/*
a0d608ee 19011 * AEGIS-128 test vectors - generated via reference implementation from
92a4c9fe
EB
19012 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
19013 *
19014 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
a0d608ee 19015 * (see crypto_aead/aegis128/)
e08ca2da 19016 */
a0d608ee 19017static const struct aead_testvec aegis128_tv_template[] = {
e08ca2da 19018 {
a0d608ee 19019 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
92a4c9fe 19020 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
a0d608ee
EB
19021 .klen = 16,
19022 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
19023 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
92a4c9fe
EB
19024 .assoc = "",
19025 .alen = 0,
a0d608ee
EB
19026 .ptext = "",
19027 .plen = 0,
19028 .ctext = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
19029 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
19030 .clen = 16,
92a4c9fe 19031 }, {
a0d608ee 19032 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
92a4c9fe 19033 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
a0d608ee
EB
19034 .klen = 16,
19035 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
19036 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
92a4c9fe
EB
19037 .assoc = "",
19038 .alen = 0,
a0d608ee
EB
19039 .ptext = "\x79",
19040 .plen = 1,
19041 .ctext = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
19042 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
19043 "\xcc",
19044 .clen = 17,
92a4c9fe 19045 }, {
a0d608ee 19046 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
92a4c9fe 19047 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
a0d608ee
EB
19048 .klen = 16,
19049 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
19050 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
92a4c9fe
EB
19051 .assoc = "",
19052 .alen = 0,
a0d608ee
EB
19053 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
19054 "\x82\x8e\x16\xb4\xed\x6d\x47",
19055 .plen = 15,
19056 .ctext = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
19057 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
19058 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
19059 "\x7a\x21\x16\xb3\xe6\x67\x66",
19060 .clen = 31,
92a4c9fe 19061 }, {
a0d608ee 19062 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
92a4c9fe 19063 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
a0d608ee
EB
19064 .klen = 16,
19065 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
19066 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
92a4c9fe
EB
19067 .assoc = "",
19068 .alen = 0,
a0d608ee 19069 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
92a4c9fe 19070 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
a0d608ee
EB
19071 .plen = 16,
19072 .ctext = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
19073 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
19074 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
19075 "\x51\x10\x16\x27\x70\x9b\x64\x29",
19076 .clen = 32,
19077 }, {
19078 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
92a4c9fe 19079 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
a0d608ee
EB
19080 .klen = 16,
19081 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
19082 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
92a4c9fe
EB
19083 .assoc = "",
19084 .alen = 0,
a0d608ee
EB
19085 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
19086 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
19087 "\xd3",
19088 .plen = 17,
19089 .ctext = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
19090 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
19091 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
19092 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
19093 "\x3b",
19094 .clen = 33,
92a4c9fe 19095 }, {
a0d608ee 19096 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
92a4c9fe 19097 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
a0d608ee
EB
19098 .klen = 16,
19099 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
19100 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
92a4c9fe
EB
19101 .assoc = "",
19102 .alen = 0,
a0d608ee
EB
19103 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
19104 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
19105 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
19106 "\x88\x11\x39\x12\x1c\x3a\xbb",
19107 .plen = 31,
19108 .ctext = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
19109 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
19110 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
19111 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
19112 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
19113 "\x75\xc4\x53\x01\x89\x45\x59",
19114 .clen = 47,
92a4c9fe 19115 }, {
a0d608ee 19116 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
92a4c9fe 19117 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
a0d608ee
EB
19118 .klen = 16,
19119 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
19120 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
92a4c9fe
EB
19121 .assoc = "",
19122 .alen = 0,
a0d608ee
EB
19123 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
19124 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
19125 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
19126 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
19127 .plen = 32,
19128 .ctext = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
19129 "\x95\xf4\x58\x38\x14\x83\x27\x01"
19130 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
19131 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
19132 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
19133 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
19134 .clen = 48,
92a4c9fe 19135 }, {
a0d608ee 19136 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
92a4c9fe 19137 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
a0d608ee
EB
19138 .klen = 16,
19139 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
19140 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
19141 .assoc = "\xd5",
92a4c9fe 19142 .alen = 1,
a0d608ee
EB
19143 .ptext = "",
19144 .plen = 0,
19145 .ctext = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
19146 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
19147 .clen = 16,
e08ca2da 19148 }, {
a0d608ee 19149 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
92a4c9fe 19150 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
a0d608ee
EB
19151 .klen = 16,
19152 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
19153 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
19154 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
19155 "\x68\x75\x16\xf8\xcb\x7e\xa7",
92a4c9fe 19156 .alen = 15,
a0d608ee
EB
19157 .ptext = "",
19158 .plen = 0,
19159 .ctext = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
19160 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
19161 .clen = 16,
e08ca2da 19162 }, {
a0d608ee 19163 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
92a4c9fe 19164 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
a0d608ee
EB
19165 .klen = 16,
19166 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
92a4c9fe 19167 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
a0d608ee
EB
19168 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
19169 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
92a4c9fe 19170 .alen = 16,
a0d608ee
EB
19171 .ptext = "",
19172 .plen = 0,
19173 .ctext = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
19174 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
19175 .clen = 16,
e08ca2da 19176 }, {
a0d608ee 19177 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
92a4c9fe 19178 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
a0d608ee
EB
19179 .klen = 16,
19180 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
19181 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
19182 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
19183 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
19184 "\x07",
92a4c9fe 19185 .alen = 17,
a0d608ee
EB
19186 .ptext = "",
19187 .plen = 0,
19188 .ctext = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
19189 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
19190 .clen = 16,
e08ca2da 19191 }, {
a0d608ee 19192 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
92a4c9fe 19193 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
a0d608ee
EB
19194 .klen = 16,
19195 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
19196 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
19197 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
19198 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
19199 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
19200 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
92a4c9fe 19201 .alen = 31,
a0d608ee
EB
19202 .ptext = "",
19203 .plen = 0,
19204 .ctext = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
19205 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
19206 .clen = 16,
92a4c9fe 19207 }, {
a0d608ee 19208 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
92a4c9fe 19209 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
a0d608ee
EB
19210 .klen = 16,
19211 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
19212 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
19213 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
19214 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
19215 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
19216 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
92a4c9fe 19217 .alen = 32,
a0d608ee
EB
19218 .ptext = "",
19219 .plen = 0,
19220 .ctext = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
19221 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
19222 .clen = 16,
3332ee2a 19223 }, {
a0d608ee 19224 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
92a4c9fe 19225 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
a0d608ee
EB
19226 .klen = 16,
19227 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
19228 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
19229 .assoc = "\x40",
92a4c9fe 19230 .alen = 1,
a0d608ee
EB
19231 .ptext = "\x4f",
19232 .plen = 1,
19233 .ctext = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
19234 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
19235 "\x39",
19236 .clen = 17,
3332ee2a 19237 }, {
a0d608ee 19238 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
92a4c9fe 19239 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
a0d608ee
EB
19240 .klen = 16,
19241 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
19242 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
19243 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
92a4c9fe 19244 "\x6d\x92\x42\x61\xa7\x58\x37",
a0d608ee
EB
19245 .alen = 15,
19246 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
19247 "\x8d\xc8\x6e\x85\xa5\x21\x67",
19248 .plen = 15,
19249 .ctext = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
19250 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
19251 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
19252 "\x98\xbd\x71\x7a\xef\xa4\xfa",
19253 .clen = 31,
3332ee2a 19254 }, {
a0d608ee 19255 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
92a4c9fe 19256 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
a0d608ee
EB
19257 .klen = 16,
19258 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
92a4c9fe 19259 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
a0d608ee 19260 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
92a4c9fe 19261 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
a0d608ee
EB
19262 .alen = 16,
19263 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
92a4c9fe 19264 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
a0d608ee
EB
19265 .plen = 16,
19266 .ctext = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
19267 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
19268 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
19269 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
19270 .clen = 32,
19271 }, {
19272 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
92a4c9fe 19273 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
a0d608ee
EB
19274 .klen = 16,
19275 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
19276 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
19277 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
92a4c9fe
EB
19278 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
19279 "\x05",
a0d608ee
EB
19280 .alen = 17,
19281 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
19282 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
19283 "\xd0",
19284 .plen = 17,
19285 .ctext = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
19286 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
19287 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
19288 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
19289 "\x93",
19290 .clen = 33,
92a4c9fe 19291 }, {
a0d608ee 19292 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
92a4c9fe 19293 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
a0d608ee
EB
19294 .klen = 16,
19295 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
19296 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
19297 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
92a4c9fe
EB
19298 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
19299 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
19300 "\x68\x28\x73\x40\x9f\x96\x4a",
a0d608ee
EB
19301 .alen = 31,
19302 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
19303 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
19304 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
19305 "\x98\x34\xab\x37\x56\xae\x32",
19306 .plen = 31,
19307 .ctext = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
19308 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
19309 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
19310 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
19311 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
19312 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
19313 .clen = 47,
92a4c9fe 19314 }, {
a0d608ee 19315 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
92a4c9fe 19316 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
a0d608ee
EB
19317 .klen = 16,
19318 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
19319 "\x50\xc4\xde\x82\x90\x21\x11\x73",
19320 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
92a4c9fe
EB
19321 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
19322 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
19323 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
a0d608ee
EB
19324 .alen = 32,
19325 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
19326 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
19327 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
19328 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
19329 .plen = 32,
19330 .ctext = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
19331 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
19332 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
19333 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
19334 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
19335 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
19336 .clen = 48,
92a4c9fe 19337 }, {
a0d608ee
EB
19338 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
19339 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
92a4c9fe 19340 .klen = 16,
a0d608ee
EB
19341 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
19342 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
19343 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
19344 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
19345 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
19346 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
19347 "\x9d",
19348 .alen = 33,
19349 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
19350 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
19351 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
19352 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
19353 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
19354 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
19355 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
19356 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
19357 "\xbd",
19358 .plen = 65,
19359 .ctext = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
19360 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
19361 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
19362 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
19363 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
19364 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
19365 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
19366 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
19367 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
19368 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
19369 "\x3f",
19370 .clen = 81,
19371 }, {
19372 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
92a4c9fe 19373 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
a0d608ee
EB
19374 .klen = 16,
19375 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
19376 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
19377 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
92a4c9fe
EB
19378 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
19379 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
19380 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
a0d608ee
EB
19381 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
19382 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
19383 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
19384 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
19385 "\x54",
19386 .alen = 65,
19387 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
19388 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
19389 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
19390 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
19391 "\x2f",
19392 .plen = 33,
19393 .ctext = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
19394 "\x77\x09\xac\x74\xef\xd2\x56\xae"
19395 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
19396 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
19397 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
19398 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
19399 "\x39",
19400 .clen = 49,
3332ee2a 19401 }, {
a0d608ee 19402 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
92a4c9fe 19403 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
a0d608ee
EB
19404 .klen = 16,
19405 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
92a4c9fe 19406 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
a0d608ee 19407 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
92a4c9fe 19408 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
a0d608ee
EB
19409 .alen = 16,
19410 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
92a4c9fe 19411 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
a0d608ee
EB
19412 .plen = 16,
19413 .ctext = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
19414 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
19415 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
19416 "\xde\x20\x59\x77\xc1\x74\x90",
19417 .clen = 31,
19418 }, {
19419 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
92a4c9fe 19420 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
a0d608ee
EB
19421 .klen = 16,
19422 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
92a4c9fe 19423 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
a0d608ee 19424 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
92a4c9fe 19425 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
a0d608ee
EB
19426 .alen = 16,
19427 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
92a4c9fe 19428 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
a0d608ee
EB
19429 .plen = 16,
19430 .ctext = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
19431 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
19432 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
19433 "\xe9\xe0\x17\x45\x70\x12",
19434 .clen = 30,
19435 }, {
19436 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
92a4c9fe 19437 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
a0d608ee
EB
19438 .klen = 16,
19439 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
92a4c9fe 19440 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
a0d608ee 19441 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
92a4c9fe 19442 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
92a4c9fe 19443 .alen = 16,
a0d608ee
EB
19444 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
19445 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
19446 .plen = 16,
19447 .ctext = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
19448 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
19449 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
19450 .clen = 24,
3332ee2a
SM
19451 },
19452};
19453
a0d608ee
EB
19454/*
19455 * AEGIS-128L test vectors - generated via reference implementation from
19456 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
19457 *
19458 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
19459 * (see crypto_aead/aegis128l/)
19460 */
19461static const struct aead_testvec aegis128l_tv_template[] = {
3332ee2a 19462 {
a0d608ee 19463 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
92a4c9fe 19464 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
a0d608ee
EB
19465 .klen = 16,
19466 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
19467 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
92a4c9fe
EB
19468 .assoc = "",
19469 .alen = 0,
a0d608ee
EB
19470 .ptext = "",
19471 .plen = 0,
19472 .ctext = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
19473 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
19474 .clen = 16,
3332ee2a 19475 }, {
a0d608ee 19476 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
92a4c9fe 19477 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
a0d608ee
EB
19478 .klen = 16,
19479 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
19480 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
92a4c9fe
EB
19481 .assoc = "",
19482 .alen = 0,
a0d608ee
EB
19483 .ptext = "\x79",
19484 .plen = 1,
19485 .ctext = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
19486 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
19487 "\x6d",
19488 .clen = 17,
3332ee2a 19489 }, {
a0d608ee 19490 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
92a4c9fe 19491 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
a0d608ee
EB
19492 .klen = 16,
19493 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
19494 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
92a4c9fe
EB
19495 .assoc = "",
19496 .alen = 0,
a0d608ee
EB
19497 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
19498 "\x82\x8e\x16\xb4\xed\x6d\x47",
19499 .plen = 15,
19500 .ctext = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
19501 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
19502 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
19503 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
19504 .clen = 31,
92a4c9fe 19505 }, {
a0d608ee 19506 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
92a4c9fe 19507 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
a0d608ee
EB
19508 .klen = 16,
19509 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
19510 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
92a4c9fe
EB
19511 .assoc = "",
19512 .alen = 0,
a0d608ee 19513 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
92a4c9fe 19514 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
a0d608ee
EB
19515 .plen = 16,
19516 .ctext = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
19517 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
19518 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
19519 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
19520 .clen = 32,
19521 }, {
19522 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
92a4c9fe 19523 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
a0d608ee
EB
19524 .klen = 16,
19525 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
19526 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
92a4c9fe
EB
19527 .assoc = "",
19528 .alen = 0,
a0d608ee
EB
19529 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
19530 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
19531 "\xd3",
19532 .plen = 17,
19533 .ctext = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
19534 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
19535 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
19536 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
19537 "\xf8",
19538 .clen = 33,
92a4c9fe 19539 }, {
a0d608ee 19540 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
92a4c9fe 19541 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
a0d608ee
EB
19542 .klen = 16,
19543 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
19544 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
92a4c9fe
EB
19545 .assoc = "",
19546 .alen = 0,
a0d608ee
EB
19547 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
19548 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
19549 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
19550 "\x88\x11\x39\x12\x1c\x3a\xbb",
19551 .plen = 31,
19552 .ctext = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
19553 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
19554 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
19555 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
19556 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
19557 "\x59\x28\x88\x3c\x79\x10\x6b",
19558 .clen = 47,
92a4c9fe 19559 }, {
a0d608ee 19560 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
92a4c9fe 19561 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
a0d608ee
EB
19562 .klen = 16,
19563 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
19564 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
92a4c9fe 19565 .assoc = "",
a0d608ee
EB
19566 .alen = 0,
19567 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
19568 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
19569 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
19570 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
19571 .plen = 32,
19572 .ctext = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
19573 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
19574 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
19575 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
19576 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
19577 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
19578 .clen = 48,
92a4c9fe 19579 }, {
a0d608ee 19580 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
92a4c9fe 19581 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
a0d608ee
EB
19582 .klen = 16,
19583 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
19584 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
19585 .assoc = "\xd5",
92a4c9fe 19586 .alen = 1,
a0d608ee
EB
19587 .ptext = "",
19588 .plen = 0,
19589 .ctext = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
19590 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
19591 .clen = 16,
92a4c9fe 19592 }, {
a0d608ee 19593 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
92a4c9fe 19594 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
a0d608ee
EB
19595 .klen = 16,
19596 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
19597 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
19598 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
19599 "\x68\x75\x16\xf8\xcb\x7e\xa7",
92a4c9fe 19600 .alen = 15,
a0d608ee
EB
19601 .ptext = "",
19602 .plen = 0,
19603 .ctext = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
19604 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
19605 .clen = 16,
92a4c9fe 19606 }, {
a0d608ee 19607 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
92a4c9fe 19608 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
a0d608ee
EB
19609 .klen = 16,
19610 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
92a4c9fe 19611 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
a0d608ee
EB
19612 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
19613 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
92a4c9fe 19614 .alen = 16,
a0d608ee
EB
19615 .ptext = "",
19616 .plen = 0,
19617 .ctext = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
19618 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
19619 .clen = 16,
92a4c9fe 19620 }, {
a0d608ee 19621 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
92a4c9fe 19622 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
a0d608ee
EB
19623 .klen = 16,
19624 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
19625 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
19626 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
19627 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
19628 "\x07",
92a4c9fe 19629 .alen = 17,
a0d608ee
EB
19630 .ptext = "",
19631 .plen = 0,
19632 .ctext = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
19633 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
19634 .clen = 16,
92a4c9fe 19635 }, {
a0d608ee 19636 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
92a4c9fe 19637 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
a0d608ee
EB
19638 .klen = 16,
19639 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
19640 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
19641 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
19642 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
19643 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
19644 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
92a4c9fe 19645 .alen = 31,
a0d608ee
EB
19646 .ptext = "",
19647 .plen = 0,
19648 .ctext = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
19649 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
19650 .clen = 16,
92a4c9fe 19651 }, {
a0d608ee 19652 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
92a4c9fe 19653 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
a0d608ee
EB
19654 .klen = 16,
19655 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
19656 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
19657 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
19658 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
19659 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
19660 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
92a4c9fe 19661 .alen = 32,
a0d608ee
EB
19662 .ptext = "",
19663 .plen = 0,
19664 .ctext = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
19665 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
19666 .clen = 16,
92a4c9fe 19667 }, {
a0d608ee 19668 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
92a4c9fe 19669 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
a0d608ee
EB
19670 .klen = 16,
19671 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
19672 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
19673 .assoc = "\x40",
92a4c9fe 19674 .alen = 1,
a0d608ee
EB
19675 .ptext = "\x4f",
19676 .plen = 1,
19677 .ctext = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
19678 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
19679 "\xf4",
19680 .clen = 17,
92a4c9fe 19681 }, {
a0d608ee 19682 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
92a4c9fe 19683 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
a0d608ee
EB
19684 .klen = 16,
19685 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
19686 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
19687 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
92a4c9fe 19688 "\x6d\x92\x42\x61\xa7\x58\x37",
a0d608ee
EB
19689 .alen = 15,
19690 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
19691 "\x8d\xc8\x6e\x85\xa5\x21\x67",
19692 .plen = 15,
19693 .ctext = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
19694 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
19695 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
19696 "\x20\x63\x0b\x49\x7e\x97\x08",
19697 .clen = 31,
92a4c9fe 19698 }, {
a0d608ee 19699 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
92a4c9fe 19700 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
a0d608ee
EB
19701 .klen = 16,
19702 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
92a4c9fe 19703 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
a0d608ee 19704 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
92a4c9fe 19705 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
a0d608ee
EB
19706 .alen = 16,
19707 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
92a4c9fe 19708 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
a0d608ee
EB
19709 .plen = 16,
19710 .ctext = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
19711 "\x78\x08\x12\xec\x09\xaf\x53\x14"
19712 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
19713 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
19714 .clen = 32,
19715 }, {
19716 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
92a4c9fe 19717 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
a0d608ee
EB
19718 .klen = 16,
19719 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
19720 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
19721 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
92a4c9fe
EB
19722 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
19723 "\x05",
a0d608ee
EB
19724 .alen = 17,
19725 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
19726 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
19727 "\xd0",
19728 .plen = 17,
19729 .ctext = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
19730 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
19731 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
19732 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
19733 "\x7d",
19734 .clen = 33,
3332ee2a 19735 }, {
a0d608ee 19736 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
92a4c9fe 19737 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
a0d608ee
EB
19738 .klen = 16,
19739 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
19740 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
19741 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
92a4c9fe
EB
19742 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
19743 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
19744 "\x68\x28\x73\x40\x9f\x96\x4a",
a0d608ee
EB
19745 .alen = 31,
19746 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
19747 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
19748 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
19749 "\x98\x34\xab\x37\x56\xae\x32",
19750 .plen = 31,
19751 .ctext = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
19752 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
19753 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
19754 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
19755 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
19756 "\xed\x90\xce\xb9\xcd\xcc\xa1",
19757 .clen = 47,
3332ee2a 19758 }, {
a0d608ee 19759 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
92a4c9fe 19760 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
a0d608ee
EB
19761 .klen = 16,
19762 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
19763 "\x50\xc4\xde\x82\x90\x21\x11\x73",
19764 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
92a4c9fe
EB
19765 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
19766 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
19767 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
a0d608ee
EB
19768 .alen = 32,
19769 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
19770 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
19771 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
19772 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
19773 .plen = 32,
19774 .ctext = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
19775 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
19776 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
19777 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
19778 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
19779 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
19780 .clen = 48,
3332ee2a 19781 }, {
a0d608ee 19782 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
92a4c9fe 19783 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
a0d608ee
EB
19784 .klen = 16,
19785 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
19786 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
19787 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
92a4c9fe
EB
19788 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
19789 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
19790 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
a0d608ee
EB
19791 "\x9d",
19792 .alen = 33,
19793 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
19794 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
19795 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
19796 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
19797 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
19798 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
19799 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
19800 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
19801 "\xbd",
19802 .plen = 65,
19803 .ctext = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
19804 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
19805 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
19806 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
19807 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
19808 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
19809 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
19810 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
19811 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
19812 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
19813 "\x01",
19814 .clen = 81,
3332ee2a 19815 }, {
a0d608ee 19816 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
92a4c9fe 19817 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
a0d608ee
EB
19818 .klen = 16,
19819 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
19820 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
19821 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
92a4c9fe
EB
19822 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
19823 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
19824 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
a0d608ee
EB
19825 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
19826 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
19827 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
19828 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
19829 "\x54",
19830 .alen = 65,
19831 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
19832 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
19833 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
19834 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
19835 "\x2f",
19836 .plen = 33,
19837 .ctext = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
19838 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
19839 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
19840 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
19841 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
19842 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
19843 "\x9f",
19844 .clen = 49,
3332ee2a 19845 }, {
a0d608ee 19846 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
92a4c9fe 19847 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
a0d608ee
EB
19848 .klen = 16,
19849 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
92a4c9fe 19850 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
a0d608ee 19851 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
92a4c9fe 19852 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
a0d608ee
EB
19853 .alen = 16,
19854 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
92a4c9fe 19855 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
a0d608ee
EB
19856 .plen = 16,
19857 .ctext = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
19858 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
19859 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
19860 "\x05\xa8\x31\x50\x11\x19\x44",
19861 .clen = 31,
19862 }, {
19863 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
92a4c9fe 19864 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
a0d608ee
EB
19865 .klen = 16,
19866 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
92a4c9fe 19867 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
a0d608ee 19868 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
92a4c9fe 19869 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
a0d608ee
EB
19870 .alen = 16,
19871 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
92a4c9fe 19872 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
a0d608ee
EB
19873 .plen = 16,
19874 .ctext = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
19875 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
19876 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
19877 "\x21\x93\x2e\x31\x84\x83",
19878 .clen = 30,
19879 }, {
19880 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
92a4c9fe 19881 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
a0d608ee
EB
19882 .klen = 16,
19883 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
92a4c9fe 19884 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
a0d608ee 19885 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
92a4c9fe 19886 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
92a4c9fe 19887 .alen = 16,
a0d608ee
EB
19888 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
19889 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
19890 .plen = 16,
19891 .ctext = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
19892 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
19893 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
19894 .clen = 24,
3332ee2a
SM
19895 },
19896};
19897
92a4c9fe 19898/*
a0d608ee 19899 * AEGIS-256 test vectors - generated via reference implementation from
92a4c9fe
EB
19900 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
19901 *
19902 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
a0d608ee 19903 * (see crypto_aead/aegis256/)
92a4c9fe 19904 */
a0d608ee 19905static const struct aead_testvec aegis256_tv_template[] = {
3332ee2a 19906 {
a0d608ee
EB
19907 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
19908 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
19909 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
19910 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
19911 .klen = 32,
19912 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
19913 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
19914 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
19915 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
92a4c9fe
EB
19916 .assoc = "",
19917 .alen = 0,
a0d608ee
EB
19918 .ptext = "",
19919 .plen = 0,
19920 .ctext = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
19921 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
19922 .clen = 16,
3332ee2a 19923 }, {
a0d608ee
EB
19924 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
19925 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
19926 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
19927 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
19928 .klen = 32,
19929 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
19930 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
19931 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
19932 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
92a4c9fe
EB
19933 .assoc = "",
19934 .alen = 0,
a0d608ee
EB
19935 .ptext = "\x79",
19936 .plen = 1,
19937 .ctext = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
19938 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
19939 "\x8b",
19940 .clen = 17,
3332ee2a 19941 }, {
a0d608ee
EB
19942 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
19943 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
19944 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
19945 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
19946 .klen = 32,
19947 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
19948 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
19949 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
19950 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
92a4c9fe
EB
19951 .assoc = "",
19952 .alen = 0,
a0d608ee
EB
19953 .ptext = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
19954 "\x82\x8e\x16\xb4\xed\x6d\x47",
19955 .plen = 15,
19956 .ctext = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
19957 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
19958 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
19959 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
19960 .clen = 31,
3332ee2a 19961 }, {
a0d608ee
EB
19962 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
19963 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
19964 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
19965 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
19966 .klen = 32,
19967 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
19968 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
19969 "\x14\xa8\x28\xce\x92\x30\x46\x59"
19970 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
92a4c9fe
EB
19971 .assoc = "",
19972 .alen = 0,
a0d608ee 19973 .ptext = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
92a4c9fe 19974 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
a0d608ee
EB
19975 .plen = 16,
19976 .ctext = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
19977 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
19978 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
19979 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
19980 .clen = 32,
19981 }, {
19982 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
19983 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
19984 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
19985 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
19986 .klen = 32,
19987 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
19988 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
19989 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
19990 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
92a4c9fe
EB
19991 .assoc = "",
19992 .alen = 0,
a0d608ee
EB
19993 .ptext = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
19994 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
19995 "\xd3",
19996 .plen = 17,
19997 .ctext = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
19998 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
19999 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
20000 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
20001 "\xad",
20002 .clen = 33,
da7f033d 20003 }, {
a0d608ee
EB
20004 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
20005 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
20006 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
20007 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
20008 .klen = 32,
20009 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
20010 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
20011 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
20012 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
92a4c9fe
EB
20013 .assoc = "",
20014 .alen = 0,
a0d608ee
EB
20015 .ptext = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
20016 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
20017 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
20018 "\x88\x11\x39\x12\x1c\x3a\xbb",
20019 .plen = 31,
20020 .ctext = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
20021 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
20022 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
20023 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
20024 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
20025 "\xc4\x1f\x12\x27\xcf\x77\x90",
20026 .clen = 47,
92a4c9fe 20027 }, {
a0d608ee
EB
20028 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
20029 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
20030 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
20031 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
20032 .klen = 32,
20033 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
20034 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
20035 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
20036 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
92a4c9fe
EB
20037 .assoc = "",
20038 .alen = 0,
a0d608ee
EB
20039 .ptext = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
20040 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
20041 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
20042 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
20043 .plen = 32,
20044 .ctext = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
20045 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
20046 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
20047 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
20048 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
20049 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
20050 .clen = 48,
92a4c9fe 20051 }, {
a0d608ee
EB
20052 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
20053 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
20054 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
20055 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
20056 .klen = 32,
20057 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
20058 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
20059 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
20060 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
20061 .assoc = "\xd5",
92a4c9fe 20062 .alen = 1,
a0d608ee
EB
20063 .ptext = "",
20064 .plen = 0,
20065 .ctext = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
20066 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
20067 .clen = 16,
92a4c9fe 20068 }, {
a0d608ee
EB
20069 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
20070 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
20071 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
20072 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
20073 .klen = 32,
20074 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
92a4c9fe
EB
20075 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
20076 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
a0d608ee
EB
20077 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
20078 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
20079 "\x68\x75\x16\xf8\xcb\x7e\xa7",
20080 .alen = 15,
20081 .ptext = "",
20082 .plen = 0,
20083 .ctext = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
20084 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
20085 .clen = 16,
92a4c9fe 20086 }, {
a0d608ee
EB
20087 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
20088 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
20089 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
20090 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
20091 .klen = 32,
20092 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
92a4c9fe
EB
20093 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
20094 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
20095 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
a0d608ee
EB
20096 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
20097 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
20098 .alen = 16,
20099 .ptext = "",
20100 .plen = 0,
20101 .ctext = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
20102 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
20103 .clen = 16,
92a4c9fe 20104 }, {
a0d608ee
EB
20105 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
20106 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
20107 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
20108 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
20109 .klen = 32,
20110 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
92a4c9fe
EB
20111 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
20112 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
a0d608ee
EB
20113 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
20114 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
20115 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
20116 "\x07",
20117 .alen = 17,
20118 .ptext = "",
20119 .plen = 0,
20120 .ctext = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
20121 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
20122 .clen = 16,
92a4c9fe 20123 }, {
a0d608ee
EB
20124 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
20125 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
20126 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
20127 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
20128 .klen = 32,
20129 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
92a4c9fe
EB
20130 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
20131 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
a0d608ee
EB
20132 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
20133 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
20134 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
20135 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
20136 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
20137 .alen = 31,
20138 .ptext = "",
20139 .plen = 0,
20140 .ctext = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
20141 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
20142 .clen = 16,
92a4c9fe 20143 }, {
a0d608ee
EB
20144 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
20145 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
20146 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
20147 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
20148 .klen = 32,
20149 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
92a4c9fe
EB
20150 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
20151 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
a0d608ee
EB
20152 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
20153 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
20154 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
20155 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
20156 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
20157 .alen = 32,
20158 .ptext = "",
20159 .plen = 0,
20160 .ctext = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
20161 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
20162 .clen = 16,
92a4c9fe 20163 }, {
a0d608ee
EB
20164 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
20165 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
20166 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
20167 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
20168 .klen = 32,
20169 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
20170 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
20171 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
20172 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
20173 .assoc = "\x40",
92a4c9fe 20174 .alen = 1,
a0d608ee
EB
20175 .ptext = "\x4f",
20176 .plen = 1,
20177 .ctext = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
20178 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
20179 "\xc7",
20180 .clen = 17,
92a4c9fe 20181 }, {
a0d608ee
EB
20182 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
20183 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
20184 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
20185 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
20186 .klen = 32,
20187 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
92a4c9fe
EB
20188 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
20189 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
a0d608ee
EB
20190 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
20191 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
20192 "\x6d\x92\x42\x61\xa7\x58\x37",
20193 .alen = 15,
20194 .ptext = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
20195 "\x8d\xc8\x6e\x85\xa5\x21\x67",
20196 .plen = 15,
20197 .ctext = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
20198 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
20199 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
20200 "\x14\x80\x6a\xa7\x1b\xae\x1d",
20201 .clen = 31,
da7f033d 20202 }, {
a0d608ee
EB
20203 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
20204 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
20205 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
20206 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
20207 .klen = 32,
20208 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
92a4c9fe
EB
20209 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
20210 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
20211 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
a0d608ee
EB
20212 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
20213 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
20214 .alen = 16,
20215 .ptext = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
92a4c9fe 20216 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
a0d608ee
EB
20217 .plen = 16,
20218 .ctext = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
20219 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
20220 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
20221 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
20222 .clen = 32,
20223 }, {
20224 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
20225 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
20226 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
20227 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
20228 .klen = 32,
20229 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
92a4c9fe
EB
20230 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
20231 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
a0d608ee
EB
20232 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
20233 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
92a4c9fe 20234 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
a0d608ee
EB
20235 "\x05",
20236 .alen = 17,
20237 .ptext = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
20238 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
20239 "\xd0",
20240 .plen = 17,
20241 .ctext = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
20242 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
20243 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
20244 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
20245 "\x55",
20246 .clen = 33,
92a4c9fe 20247 }, {
a0d608ee
EB
20248 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
20249 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
20250 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
20251 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
20252 .klen = 32,
20253 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
92a4c9fe
EB
20254 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
20255 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
a0d608ee
EB
20256 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
20257 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
92a4c9fe
EB
20258 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
20259 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
a0d608ee
EB
20260 "\x68\x28\x73\x40\x9f\x96\x4a",
20261 .alen = 31,
20262 .ptext = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
20263 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
20264 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
20265 "\x98\x34\xab\x37\x56\xae\x32",
20266 .plen = 31,
20267 .ctext = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
20268 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
20269 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
20270 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
20271 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
20272 "\xdf\xb8\xea\xd8\xa9\x38\xed",
20273 .clen = 47,
92a4c9fe 20274 }, {
a0d608ee
EB
20275 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
20276 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
20277 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
20278 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
20279 .klen = 32,
20280 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
92a4c9fe
EB
20281 "\x50\xc4\xde\x82\x90\x21\x11\x73"
20282 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
a0d608ee
EB
20283 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
20284 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
92a4c9fe
EB
20285 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
20286 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
a0d608ee
EB
20287 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
20288 .alen = 32,
20289 .ptext = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
20290 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
20291 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
20292 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
20293 .plen = 32,
20294 .ctext = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
20295 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
20296 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
20297 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
20298 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
20299 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
20300 .clen = 48,
92a4c9fe 20301 }, {
a0d608ee
EB
20302 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
20303 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
20304 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
20305 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
20306 .klen = 32,
20307 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
92a4c9fe
EB
20308 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
20309 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
a0d608ee
EB
20310 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
20311 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
92a4c9fe
EB
20312 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20313 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20314 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
a0d608ee
EB
20315 "\x9d",
20316 .alen = 33,
20317 .ptext = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20318 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
20319 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
20320 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
20321 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
20322 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
20323 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
20324 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
20325 "\xbd",
20326 .plen = 65,
20327 .ctext = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
20328 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
20329 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
20330 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
20331 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
20332 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
20333 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
20334 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
20335 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
20336 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
20337 "\x65",
20338 .clen = 81,
92a4c9fe 20339 }, {
a0d608ee
EB
20340 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
20341 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
20342 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
20343 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
20344 .klen = 32,
20345 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
92a4c9fe
EB
20346 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
20347 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
a0d608ee
EB
20348 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
20349 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
92a4c9fe
EB
20350 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
20351 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
20352 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
20353 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
20354 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
20355 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
a0d608ee
EB
20356 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
20357 "\x54",
20358 .alen = 65,
20359 .ptext = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
20360 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
20361 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
20362 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
20363 "\x2f",
20364 .plen = 33,
20365 .ctext = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
20366 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
20367 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
20368 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
20369 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
20370 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
20371 "\xda",
20372 .clen = 49,
92a4c9fe 20373 }, {
a0d608ee
EB
20374 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
20375 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
20376 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
20377 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
20378 .klen = 32,
20379 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
92a4c9fe
EB
20380 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
20381 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
20382 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
a0d608ee
EB
20383 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
20384 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
20385 .alen = 16,
20386 .ptext = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
92a4c9fe 20387 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
a0d608ee
EB
20388 .plen = 16,
20389 .ctext = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
20390 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
20391 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
20392 "\xc7\xff\xbd\xbc\x85\x09\x0b",
20393 .clen = 31,
20394 }, {
20395 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
20396 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
20397 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
20398 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
20399 .klen = 32,
20400 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
92a4c9fe
EB
20401 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
20402 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
20403 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
a0d608ee
EB
20404 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
20405 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
20406 .alen = 16,
20407 .ptext = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
92a4c9fe 20408 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
a0d608ee
EB
20409 .plen = 16,
20410 .ctext = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
20411 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
20412 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
20413 "\x62\xd5\xc8\xf0\x46\x1a",
20414 .clen = 30,
20415 }, {
20416 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
20417 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
20418 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
20419 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
20420 .klen = 32,
20421 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
92a4c9fe
EB
20422 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
20423 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
20424 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
a0d608ee
EB
20425 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
20426 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
20427 .alen = 16,
20428 .ptext = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
92a4c9fe 20429 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
a0d608ee
EB
20430 .plen = 16,
20431 .ctext = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
20432 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
20433 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
20434 .clen = 24,
20435 },
20436};
20437
20438/*
20439 * MORUS-640 test vectors - generated via reference implementation from
20440 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
20441 *
20442 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
20443 * (see crypto_aead/morus640128v2/)
20444 */
20445static const struct aead_testvec morus640_tv_template[] = {
20446 {
20447 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
20448 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 20449 .klen = 16,
a0d608ee
EB
20450 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
20451 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
92a4c9fe
EB
20452 .assoc = "",
20453 .alen = 0,
a0d608ee
EB
20454 .ptext = "",
20455 .plen = 0,
20456 .ctext = "\x89\x62\x7d\xf3\x07\x9d\x52\x05"
20457 "\x53\xc3\x04\x60\x93\xb4\x37\x9a",
20458 .clen = 16,
92a4c9fe 20459 }, {
a0d608ee
EB
20460 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
20461 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
20462 .klen = 16,
20463 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
20464 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
92a4c9fe
EB
20465 .assoc = "",
20466 .alen = 0,
a0d608ee
EB
20467 .ptext = "\x69",
20468 .plen = 1,
20469 .ctext = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78"
20470 "\xb6\x10\x9a\x59\x5f\x61\x37\x70"
20471 "\x09",
20472 .clen = 17,
92a4c9fe 20473 }, {
a0d608ee
EB
20474 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
20475 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
20476 .klen = 16,
20477 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
20478 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
92a4c9fe
EB
20479 .assoc = "",
20480 .alen = 0,
a0d608ee
EB
20481 .ptext = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
20482 "\x62\x58\xe9\x8f\xef\xa4\x17",
20483 .plen = 15,
20484 .ctext = "\x76\xdd\xb9\x05\x3d\xce\x61\x38"
20485 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5"
20486 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b"
20487 "\xd4\x6e\xfe\xd9\xc8\x63\x4b",
20488 .clen = 31,
92a4c9fe 20489 }, {
a0d608ee
EB
20490 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
20491 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
20492 .klen = 16,
20493 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
20494 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
92a4c9fe
EB
20495 .assoc = "",
20496 .alen = 0,
a0d608ee
EB
20497 .ptext = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
20498 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97",
20499 .plen = 16,
20500 .ctext = "\xdc\x72\xe8\x14\xfb\x63\xad\x72"
20501 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6"
20502 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c"
20503 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c",
20504 .clen = 32,
92a4c9fe 20505 }, {
a0d608ee
EB
20506 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
20507 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
20508 .klen = 16,
20509 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
20510 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
92a4c9fe
EB
20511 .assoc = "",
20512 .alen = 0,
a0d608ee
EB
20513 .ptext = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
20514 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
20515 "\x09",
20516 .plen = 17,
20517 .ctext = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82"
20518 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f"
20519 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2"
20520 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2"
20521 "\x0d",
20522 .clen = 33,
92a4c9fe 20523 }, {
a0d608ee
EB
20524 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
20525 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
20526 .klen = 16,
20527 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
20528 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
92a4c9fe 20529 .assoc = "",
a0d608ee
EB
20530 .alen = 0,
20531 .ptext = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
20532 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
20533 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
20534 "\x57\x05\x01\x1c\x66\x22\xd3",
20535 .plen = 31,
20536 .ctext = "\x59\xd1\x0f\x6b\xee\x27\x84\x92"
20537 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5"
20538 "\x50\x32\xb4\x9a\x2e\x35\x83\x55"
20539 "\x36\x12\x12\xed\xa3\x31\xc5\x30"
20540 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91"
20541 "\x75\xfa\x6c\x17\xc6\x73\xca",
20542 .clen = 47,
92a4c9fe 20543 }, {
a0d608ee
EB
20544 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
20545 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
20546 .klen = 16,
20547 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
20548 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
92a4c9fe
EB
20549 .assoc = "",
20550 .alen = 0,
a0d608ee
EB
20551 .ptext = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
20552 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
20553 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
20554 "\x19\x33\xe0\xf4\x40\x81\x72\x28",
20555 .plen = 32,
20556 .ctext = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1"
20557 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69"
20558 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39"
20559 "\x1b\xde\x68\x38\xcc\x27\x52\xc5"
20560 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c"
20561 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59",
20562 .clen = 48,
92a4c9fe 20563 }, {
a0d608ee
EB
20564 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
20565 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
20566 .klen = 16,
20567 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
20568 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
20569 .assoc = "\xc5",
92a4c9fe 20570 .alen = 1,
a0d608ee
EB
20571 .ptext = "",
20572 .plen = 0,
20573 .ctext = "\x56\xe7\x24\x52\xdd\x95\x60\x5b"
20574 "\x09\x48\x39\x69\x9c\xb3\x62\x46",
20575 .clen = 16,
92a4c9fe 20576 }, {
a0d608ee
EB
20577 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
20578 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
20579 .klen = 16,
20580 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
20581 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
20582 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
20583 "\x47\x3e\xe9\xd4\xcc\xb5\x76",
20584 .alen = 15,
20585 .ptext = "",
20586 .plen = 0,
20587 .ctext = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01"
20588 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1",
20589 .clen = 16,
20590 }, {
20591 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
20592 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
20593 .klen = 16,
20594 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
20595 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
20596 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
20597 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
20598 .alen = 16,
20599 .ptext = "",
20600 .plen = 0,
20601 .ctext = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac"
20602 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1",
20603 .clen = 16,
20604 }, {
20605 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
20606 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
20607 .klen = 16,
20608 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
20609 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
20610 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
20611 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
20612 "\x3c",
20613 .alen = 17,
20614 .ptext = "",
20615 .plen = 0,
20616 .ctext = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9"
20617 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60",
20618 .clen = 16,
20619 }, {
20620 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
20621 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
20622 .klen = 16,
20623 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
20624 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
20625 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
20626 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
20627 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
20628 "\xaf\x0b\x02\x38\xcc\x44\xa7",
92a4c9fe 20629 .alen = 31,
a0d608ee
EB
20630 .ptext = "",
20631 .plen = 0,
20632 .ctext = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d"
20633 "\x4b\xef\x75\x16\x0a\x99\xae\x6b",
20634 .clen = 16,
92a4c9fe 20635 }, {
a0d608ee
EB
20636 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
20637 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
20638 .klen = 16,
20639 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
20640 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
20641 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
20642 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
20643 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
20644 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
92a4c9fe 20645 .alen = 32,
a0d608ee
EB
20646 .ptext = "",
20647 .plen = 0,
20648 .ctext = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f"
20649 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0",
20650 .clen = 16,
92a4c9fe 20651 }, {
a0d608ee
EB
20652 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
20653 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
20654 .klen = 16,
20655 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
20656 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
20657 .assoc = "\x31",
20658 .alen = 1,
20659 .ptext = "\x40",
20660 .plen = 1,
20661 .ctext = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38"
20662 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3"
20663 "\x22",
20664 .clen = 17,
92a4c9fe 20665 }, {
a0d608ee
EB
20666 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
20667 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
20668 .klen = 16,
20669 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
20670 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
20671 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
20672 "\x4d\x5b\x15\x3c\xa8\x8f\x06",
20673 .alen = 15,
20674 .ptext = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
20675 "\x6d\x92\x42\x61\xa7\x58\x37",
20676 .plen = 15,
20677 .ctext = "\x77\x32\x61\xeb\xb4\x33\x29\x92"
20678 "\x29\x95\xc5\x8e\x85\x76\xab\xfc"
20679 "\x07\x95\xa7\x44\x74\xf7\x22\xff"
20680 "\xd8\xd8\x36\x3d\x8a\x7f\x9e",
20681 .clen = 31,
92a4c9fe 20682 }, {
a0d608ee
EB
20683 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
20684 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
20685 .klen = 16,
20686 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
20687 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
20688 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
20689 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
20690 .alen = 16,
20691 .ptext = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
20692 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
20693 .plen = 16,
20694 .ctext = "\xd8\xfd\x44\x45\xf6\x42\x12\x38"
20695 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07"
20696 "\x48\x67\x98\x18\x9b\xd0\x0c\x59"
20697 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70",
20698 .clen = 32,
92a4c9fe 20699 }, {
a0d608ee
EB
20700 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
20701 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
20702 .klen = 16,
20703 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
20704 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
20705 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
20706 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
20707 "\x3b",
20708 .alen = 17,
20709 .ptext = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
20710 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
20711 "\x05",
20712 .plen = 17,
20713 .ctext = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6"
20714 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2"
20715 "\x71\x83\x85\x5f\xc8\x79\x0a\x99"
20716 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9"
20717 "\x83",
20718 .clen = 33,
92a4c9fe 20719 }, {
a0d608ee
EB
20720 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
20721 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
20722 .klen = 16,
20723 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
20724 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
20725 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
20726 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
20727 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
20728 "\x38\x1d\x3b\x4a\xe9\x7e\x62",
92a4c9fe 20729 .alen = 31,
a0d608ee
EB
20730 .ptext = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
20731 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
20732 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
20733 "\x68\x28\x73\x40\x9f\x96\x4a",
20734 .plen = 31,
20735 .ctext = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06"
20736 "\x5c\x7b\xef\x64\x87\x00\xd1\x37"
20737 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0"
20738 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a"
20739 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c"
20740 "\xf1\x5a\x66\x69\xe0\xca\x83",
20741 .clen = 47,
92a4c9fe 20742 }, {
a0d608ee
EB
20743 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
20744 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
20745 .klen = 16,
20746 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
20747 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
20748 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
20749 "\x50\xc4\xde\x82\x90\x21\x11\x73"
20750 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
20751 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
92a4c9fe 20752 .alen = 32,
a0d608ee
EB
20753 .ptext = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
20754 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
20755 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
20756 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
20757 .plen = 32,
20758 .ctext = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2"
20759 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14"
20760 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2"
20761 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54"
20762 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa"
20763 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81",
20764 .clen = 48,
92a4c9fe 20765 }, {
a0d608ee
EB
20766 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
20767 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
20768 .klen = 16,
20769 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
20770 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
20771 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
20772 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
20773 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
20774 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
20775 "\x1a",
92a4c9fe 20776 .alen = 33,
a0d608ee
EB
20777 .ptext = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
20778 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20779 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20780 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
20781 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
20782 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
20783 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
20784 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
20785 "\x8a",
20786 .plen = 65,
20787 .ctext = "\xc7\xca\x26\x61\x57\xee\xa2\xb9"
20788 "\xb1\x37\xde\x95\x06\x90\x11\x08"
20789 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1"
20790 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76"
20791 "\x56\x9a\xb4\x58\xc5\x08\xfc\xb5"
20792 "\xf2\x31\x9b\xc9\xcd\xb3\x64\xdb"
20793 "\x6f\x50\xbf\xf4\x73\x9d\xfb\x6b"
20794 "\xef\x35\x25\x48\xed\xcf\x29\xa8"
20795 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92"
20796 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1"
20797 "\xc4",
20798 .clen = 81,
92a4c9fe 20799 }, {
a0d608ee
EB
20800 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20801 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
20802 .klen = 16,
20803 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
20804 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
20805 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
20806 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
20807 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
20808 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
20809 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
20810 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
20811 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
20812 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
20813 "\x21",
20814 .alen = 65,
20815 .ptext = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
20816 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
20817 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
20818 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
20819 "\xac",
20820 .plen = 33,
20821 .ctext = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b"
20822 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40"
20823 "\xf3\x78\x63\x34\x89\x79\x39\x6b"
20824 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3"
20825 "\x54\x0b\xea\x05\xa6\x95\x64\xed"
20826 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34"
20827 "\x66",
20828 .clen = 49,
92a4c9fe 20829 }, {
a0d608ee
EB
20830 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
20831 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
20832 .klen = 16,
20833 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
20834 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
20835 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
20836 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
20837 .alen = 16,
20838 .ptext = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
20839 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
20840 .plen = 16,
20841 .ctext = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f"
20842 "\x33\x98\x87\xde\x08\xb6\xb6\xae"
20843 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39"
20844 "\xb9\x6b\x3f\xdf\xc8\xcb\x30",
20845 .clen = 31,
92a4c9fe 20846 }, {
a0d608ee
EB
20847 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
20848 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
20849 .klen = 16,
20850 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
20851 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
20852 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
20853 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
20854 .alen = 16,
20855 .ptext = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
20856 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
20857 .plen = 16,
20858 .ctext = "\x74\x7d\x70\x07\xe9\xba\x01\xee"
20859 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50"
20860 "\x17\xb8\x17\x62\xed\x80\xa2\xf5"
20861 "\x03\xde\x85\x71\x5d\x34",
20862 .clen = 30,
92a4c9fe 20863 }, {
a0d608ee
EB
20864 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
20865 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
20866 .klen = 16,
20867 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
20868 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
20869 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
20870 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
20871 .alen = 16,
20872 .ptext = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
20873 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
20874 .plen = 16,
20875 .ctext = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38"
20876 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf"
20877 "\xba\xea\xd4\xfa\x3f\x11\x33\x98",
20878 .clen = 24,
20879 }, {
20880 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
20881 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
20882 .klen = 16,
20883 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
20884 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
20885 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
20886 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98",
20887 .alen = 16,
20888 .ptext = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
20889 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a",
20890 .plen = 16,
20891 .ctext = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86"
20892 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c"
20893 "\x6e",
20894 .clen = 17,
da7f033d
HX
20895 },
20896};
20897
a0d608ee
EB
20898/*
20899 * MORUS-1280 test vectors - generated via reference implementation from
20900 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
20901 *
20902 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
20903 * (see crypto_aead/morus1280128v2/ and crypto_aead/morus1280256v2/ )
20904 */
20905static const struct aead_testvec morus1280_tv_template[] = {
da7f033d 20906 {
92a4c9fe
EB
20907 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
20908 "\x00\x00\x00\x00\x00\x00\x00\x00",
20909 .klen = 16,
20910 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
20911 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
20912 .assoc = "",
20913 .alen = 0,
a0d608ee
EB
20914 .ptext = "",
20915 .plen = 0,
20916 .ctext = "\x91\x85\x0f\xf5\x52\x9e\xce\xce"
92a4c9fe 20917 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98",
a0d608ee 20918 .clen = 16,
da7f033d 20919 }, {
92a4c9fe
EB
20920 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
20921 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
20922 .klen = 16,
20923 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
20924 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
20925 .assoc = "",
20926 .alen = 0,
a0d608ee
EB
20927 .ptext = "\x69",
20928 .plen = 1,
20929 .ctext = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13"
92a4c9fe
EB
20930 "\x96\xda\x76\x34\x33\x4e\xd5\x39"
20931 "\x73",
a0d608ee 20932 .clen = 17,
da7f033d 20933 }, {
92a4c9fe
EB
20934 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
20935 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
20936 .klen = 16,
20937 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
20938 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
20939 .assoc = "",
20940 .alen = 0,
a0d608ee
EB
20941 .ptext = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
20942 "\x62\x58\xe9\x8f\xef\xa4\x17\x91"
20943 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46"
20944 "\x13\x7d\x64\x93\xd7\x05\xf5",
20945 .plen = 31,
20946 .ctext = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22"
92a4c9fe
EB
20947 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52"
20948 "\x97\x0b\x64\xd4\xce\x90\x52\xf7"
20949 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d"
20950 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc"
20951 "\xa4\x21\x74\xcf\x19\x16\x59",
a0d608ee 20952 .clen = 47,
da7f033d 20953 }, {
92a4c9fe
EB
20954 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
20955 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
20956 .klen = 16,
20957 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
20958 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
20959 .assoc = "",
20960 .alen = 0,
a0d608ee
EB
20961 .ptext = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
20962 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97"
20963 "\xde\x58\xab\xf0\xd3\xd8\x27\x60"
20964 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4",
20965 .plen = 32,
20966 .ctext = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f"
92a4c9fe
EB
20967 "\xde\x9f\x77\xb2\xda\x92\x61\x5c"
20968 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06"
20969 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1"
20970 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad"
20971 "\x21\x8e\x84\x5c\x12\x61\xb2\xae",
a0d608ee 20972 .clen = 48,
da7f033d 20973 }, {
92a4c9fe
EB
20974 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
20975 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
20976 .klen = 16,
20977 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
20978 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
20979 .assoc = "",
20980 .alen = 0,
a0d608ee
EB
20981 .ptext = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
20982 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
20983 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79"
20984 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b"
20985 "\xc4",
20986 .plen = 33,
20987 .ctext = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17"
92a4c9fe
EB
20988 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f"
20989 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f"
20990 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3"
20991 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed"
20992 "\x2b\x6a\xac\x63\x52\xaa\x10\x94"
20993 "\xd0",
a0d608ee 20994 .clen = 49,
da7f033d 20995 }, {
92a4c9fe
EB
20996 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
20997 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
20998 .klen = 16,
20999 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21000 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
21001 .assoc = "",
21002 .alen = 0,
a0d608ee
EB
21003 .ptext = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
21004 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
21005 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
21006 "\x57\x05\x01\x1c\x66\x22\xd3\x51"
21007 "\xd3\xdf\x18\xc9\x30\x66\xed\xb1"
21008 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5"
21009 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1"
21010 "\xe6\x16\xa2\xac\xde\x47\x40",
21011 .plen = 63,
21012 .ctext = "\x7d\x61\x1a\x35\x20\xcc\x07\x88"
92a4c9fe
EB
21013 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19"
21014 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a"
21015 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd"
21016 "\xed\xf6\xc9\xbe\xa6\x3b\xb8\xfc"
21017 "\x6c\xbe\x77\xed\x74\x0e\x20\x85"
21018 "\xd0\x65\xde\x24\x6f\xe3\x25\xc5"
21019 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9"
21020 "\xe5\x81\x37\xde\x84\x7a\xf6\x84"
21021 "\x99\x7a\x72\x9c\x54\x31\xa1",
a0d608ee 21022 .clen = 79,
da7f033d 21023 }, {
92a4c9fe
EB
21024 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
21025 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
da7f033d 21026 .klen = 16,
92a4c9fe
EB
21027 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
21028 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
21029 .assoc = "",
21030 .alen = 0,
a0d608ee
EB
21031 .ptext = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
21032 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
21033 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
21034 "\x19\x33\xe0\xf4\x40\x81\x72\x28"
21035 "\xe1\x8b\x1c\xf8\x91\x78\xff\xaf"
21036 "\xb0\x68\x69\xf2\x27\x35\x91\x84"
21037 "\x2e\x37\x5b\x00\x04\xff\x16\x9c"
21038 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a",
21039 .plen = 64,
21040 .ctext = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c"
92a4c9fe
EB
21041 "\xa5\x07\x12\xa7\x12\x39\x60\x66"
21042 "\x30\x81\x4a\x03\x78\x28\x45\x52"
21043 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66"
21044 "\x6f\x45\xd7\x3b\x67\x6f\x51\xb9"
21045 "\xc0\x3d\x6c\xca\x1e\xae\xff\xb6"
21046 "\x79\xa9\xe4\x82\x5d\x4c\x2d\xdf"
21047 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d"
21048 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a"
21049 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb",
a0d608ee 21050 .clen = 80,
da7f033d 21051 }, {
92a4c9fe
EB
21052 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
21053 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
21054 .klen = 16,
21055 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
21056 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
21057 .assoc = "\xc5",
21058 .alen = 1,
a0d608ee
EB
21059 .ptext = "",
21060 .plen = 0,
21061 .ctext = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e"
92a4c9fe 21062 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3",
a0d608ee 21063 .clen = 16,
da7f033d 21064 }, {
92a4c9fe
EB
21065 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
21066 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
21067 .klen = 16,
21068 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
21069 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
21070 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
21071 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
21072 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
21073 "\x6b\x83\x66\xaf\x3e\x27\xc9",
21074 .alen = 31,
a0d608ee
EB
21075 .ptext = "",
21076 .plen = 0,
21077 .ctext = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38"
92a4c9fe 21078 "\x03\x12\xf9\xcc\x9e\x46\x42\x92",
a0d608ee 21079 .clen = 16,
da7f033d 21080 }, {
92a4c9fe
EB
21081 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
21082 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
21083 .klen = 16,
21084 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
21085 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
21086 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
21087 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
21088 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
21089 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
21090 .alen = 32,
a0d608ee
EB
21091 .ptext = "",
21092 .plen = 0,
21093 .ctext = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2"
92a4c9fe 21094 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0",
a0d608ee 21095 .clen = 16,
da7f033d 21096 }, {
92a4c9fe
EB
21097 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
21098 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
21099 .klen = 16,
21100 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
21101 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
21102 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
21103 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
21104 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
21105 "\xee\xde\x23\x60\xf2\xe5\x08\xcc"
21106 "\x97",
21107 .alen = 33,
a0d608ee
EB
21108 .ptext = "",
21109 .plen = 0,
21110 .ctext = "\x28\x64\x78\x51\x55\xd8\x56\x4a"
92a4c9fe 21111 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94",
a0d608ee 21112 .clen = 16,
da7f033d 21113 }, {
92a4c9fe
EB
21114 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
21115 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
21116 .klen = 16,
21117 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
21118 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
21119 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
21120 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
21121 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
21122 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3"
21123 "\xa6\xbf\x31\x93\x60\xcd\xda\x63"
21124 "\x2c\xb1\xaa\x19\xc8\x19\xf8\xeb"
21125 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2"
21126 "\xcd\x2c\x45\x58\xbd\x8e\x80",
21127 .alen = 63,
a0d608ee
EB
21128 .ptext = "",
21129 .plen = 0,
21130 .ctext = "\xb3\xa6\x00\x4e\x09\x20\xac\x21"
92a4c9fe 21131 "\x77\x72\x69\x76\x2d\x36\xe5\xc8",
a0d608ee 21132 .clen = 16,
92a4c9fe
EB
21133 }, {
21134 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
21135 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
21136 .klen = 16,
21137 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
21138 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
21139 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
21140 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
21141 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
21142 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a"
21143 "\xb4\x6b\x35\xc2\xc1\xdf\xed\x60"
21144 "\x46\xc1\x3e\x7f\x8c\xc2\x0e\x7a"
21145 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d"
21146 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01",
21147 .alen = 64,
a0d608ee
EB
21148 .ptext = "",
21149 .plen = 0,
21150 .ctext = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd"
92a4c9fe 21151 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14",
a0d608ee 21152 .clen = 16,
92a4c9fe
EB
21153 }, {
21154 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
21155 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
21156 .klen = 16,
21157 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
21158 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
21159 .assoc = "\x31",
21160 .alen = 1,
a0d608ee
EB
21161 .ptext = "\x40",
21162 .plen = 1,
21163 .ctext = "\x1d\x47\x17\x34\x86\xf5\x54\x1a"
92a4c9fe
EB
21164 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9"
21165 "\xbf",
a0d608ee 21166 .clen = 17,
92a4c9fe
EB
21167 }, {
21168 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
21169 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
21170 .klen = 16,
21171 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
21172 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
21173 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
21174 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
21175 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
21176 "\xf4\x94\x9f\xc1\x5a\x61\x85",
21177 .alen = 31,
a0d608ee
EB
21178 .ptext = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
21179 "\x6d\x92\x42\x61\xa7\x58\x37\xdb"
21180 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a"
21181 "\x24\xa0\xd6\xb7\x11\x79\x6c",
21182 .plen = 31,
21183 .ctext = "\x78\x90\x52\xae\x0f\xf7\x2e\xef"
92a4c9fe
EB
21184 "\x63\x09\x08\x58\xb5\x56\xbd\x72"
21185 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92"
21186 "\x18\xe9\xa4\x33\x90\xba\x62\xb5"
21187 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51"
21188 "\x85\x87\x17\x09\x42\xed\x4e",
a0d608ee 21189 .clen = 47,
92a4c9fe
EB
21190 }, {
21191 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
21192 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
21193 .klen = 16,
21194 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
21195 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
21196 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
21197 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
21198 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
21199 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
21200 .alen = 32,
a0d608ee
EB
21201 .ptext = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
21202 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2"
21203 "\xdb\x74\x36\x23\x11\x58\x3f\x93"
21204 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3",
21205 .plen = 32,
21206 .ctext = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41"
92a4c9fe
EB
21207 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf"
21208 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e"
21209 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a"
21210 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6"
21211 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7",
a0d608ee 21212 .clen = 48,
92a4c9fe
EB
21213 }, {
21214 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
21215 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
21216 .klen = 16,
21217 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
21218 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
21219 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
21220 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
21221 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
21222 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4"
21223 "\xee",
21224 .alen = 33,
a0d608ee
EB
21225 .ptext = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
21226 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
21227 "\x05\x36\x42\xa7\x16\xf8\xc1\xad"
21228 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a"
21229 "\x72",
21230 .plen = 33,
21231 .ctext = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc"
92a4c9fe
EB
21232 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e"
21233 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9"
21234 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd"
21235 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37"
21236 "\x08\x06\x5a\xe5\x96\x10\x95\xc2"
21237 "\x5e",
a0d608ee 21238 .clen = 49,
92a4c9fe
EB
21239 }, {
21240 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
21241 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
21242 .klen = 16,
21243 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
21244 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
21245 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
21246 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
21247 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
21248 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa"
21249 "\xfd\xc9\x4a\xa9\xa9\x39\x4b\x54"
21250 "\xc8\x0e\x24\x7f\x5e\x10\x7a\x45"
21251 "\x10\x0b\x56\x85\xad\x54\xaa\x66"
21252 "\xa8\x43\xcd\xd4\x9b\xb7\xfa",
21253 .alen = 63,
a0d608ee 21254 .ptext = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
92a4c9fe
EB
21255 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
21256 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
21257 "\x68\x28\x73\x40\x9f\x96\x4a\x60"
21258 "\x80\xf4\x4b\xf4\xc1\x3d\xd0\x93"
21259 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8"
21260 "\x1b\xa5\x50\xed\x87\xa9\x72\x59"
21261 "\x9c\x44\xb2\xa4\x99\x98\x34",
a0d608ee
EB
21262 .plen = 63,
21263 .ctext = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22"
21264 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f"
21265 "\xef\x36\x19\xae\x91\xfa\xd6\x63"
21266 "\x46\xea\x8a\x39\x14\x21\xa6\x37"
21267 "\x18\xfc\x97\x3e\x16\xa5\x4d\x39"
21268 "\x45\x2e\x69\xcc\x9c\x5f\xdf\x6d"
21269 "\x5e\xa2\xbf\xac\x83\x32\x72\x52"
21270 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6"
21271 "\xe9\x5a\x50\x98\x00\x58\xc9\x86"
21272 "\x4f\x20\x37\xdb\x7b\x22\xa3",
21273 .clen = 79,
da7f033d 21274 }, {
92a4c9fe
EB
21275 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
21276 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
da7f033d 21277 .klen = 16,
92a4c9fe
EB
21278 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
21279 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
21280 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
21281 "\x50\xc4\xde\x82\x90\x21\x11\x73"
21282 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
21283 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81"
21284 "\x0b\x76\x4f\xd7\x0a\x4b\x5e\x51"
21285 "\xe3\x1d\xb9\xe5\x21\xb9\x8f\xd4"
21286 "\x3d\x72\x3e\x26\x16\xa9\xca\x32"
21287 "\x77\x47\x63\x14\x95\x3d\xe4\x34",
21288 .alen = 64,
a0d608ee
EB
21289 .ptext = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
21290 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
21291 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
21292 "\x29\x56\x52\x19\x79\xf5\xe9\x37"
21293 "\x8f\xa1\x50\x23\x22\x4f\xe3\x91"
21294 "\xe9\x21\x5e\xbf\x52\x23\x95\x37"
21295 "\x48\x0c\x38\x8f\xf0\xff\x92\x24"
21296 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01",
21297 .plen = 64,
21298 .ctext = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb"
92a4c9fe
EB
21299 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b"
21300 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b"
21301 "\x39\xda\x8b\x48\xec\xb2\x00\x4e"
21302 "\x80\x6f\x46\x4f\x9b\x1e\xbb\x35"
21303 "\xea\x5a\xbc\xa2\x36\xa5\x89\x45"
21304 "\xc2\xd6\xd7\x15\x0b\xf6\x6c\x56"
21305 "\xec\x99\x7d\x61\xb3\x15\x93\xed"
21306 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe"
21307 "\x95\x74\x44\xd5\x54\xa6\x27\x06",
a0d608ee 21308 .clen = 80,
da7f033d 21309 }, {
92a4c9fe
EB
21310 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
21311 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
da7f033d 21312 .klen = 16,
92a4c9fe
EB
21313 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
21314 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
21315 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
21316 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
21317 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
21318 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
21319 "\x1a\x22\x53\x05\x6b\x5c\x71\x4f"
21320 "\xfd\x2d\x4d\x4c\xe5\x62\xa5\x63"
21321 "\x6a\xda\x26\xc8\x7f\xff\xea\xfd"
21322 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68"
21323 "\x58",
21324 .alen = 65,
a0d608ee
EB
21325 .ptext = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
21326 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
21327 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
21328 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
21329 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
21330 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
21331 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
21332 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
21333 "\x8a\xdf\x27\xa0\xe4\x60\x99\xae"
21334 "\x8e\x43\xd9\x39\x7b\x10\x40\x67"
21335 "\x5c\x7e\xc9\x70\x63\x34\xca\x59"
21336 "\xfe\x86\xbc\xb7\x9c\x39\xf3\x6d"
21337 "\x6a\x41\x64\x6f\x16\x7f\x65\x7e"
21338 "\x89\x84\x68\xeb\xb0\x51\xbe\x55"
21339 "\x33\x16\x59\x6c\x3b\xef\x88\xad"
21340 "\x2f\xab\xbc\x25\x76\x87\x41\x2f"
21341 "\x36",
21342 .plen = 129,
21343 .ctext = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9"
92a4c9fe
EB
21344 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb"
21345 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0"
21346 "\x38\xa4\x74\xa5\x04\x15\x63\x05"
21347 "\x8f\x54\x81\x06\x5a\x6b\xa4\x63"
21348 "\x6d\xa7\x21\xcb\xff\x42\x30\x8e"
21349 "\x3b\xd1\xca\x3f\x4b\x1a\xb8\xc3"
21350 "\x42\x01\xe6\xbc\x75\x15\x87\xee"
21351 "\xc9\x8e\x65\x01\xd9\xd8\xb5\x9f"
21352 "\x48\x86\xa6\x5f\x2c\xc7\xb5\xb0"
21353 "\xed\x5d\x14\x7c\x3f\x40\xb1\x0b"
21354 "\x72\xef\x94\x8d\x7a\x85\x56\xe5"
21355 "\x56\x08\x15\x56\xba\xaf\xbd\xf0"
21356 "\x20\xef\xa0\xf6\xa9\xad\xa2\xc9"
21357 "\x1c\x3b\x28\x51\x7e\x77\xb2\x18"
21358 "\x4f\x61\x64\x37\x22\x36\x6d\x78"
21359 "\xed\xed\x35\xe8\x83\xa5\xec\x25"
21360 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc"
21361 "\x20",
a0d608ee 21362 .clen = 145,
da7f033d 21363 }, {
92a4c9fe
EB
21364 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
21365 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
da7f033d 21366 .klen = 16,
92a4c9fe
EB
21367 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21368 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
21369 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
21370 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
21371 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
21372 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
21373 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
21374 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
21375 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
21376 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
21377 "\x21\xf7\x42\x89\xac\x12\x2a\x54"
21378 "\x69\xee\x18\xc7\x8d\xed\xe8\xfd"
21379 "\xbb\x04\x28\xe6\x8a\x3c\x98\xc1"
21380 "\x04\x2d\xa9\xa1\x24\x83\xff\xe9"
21381 "\x55\x7a\xf0\xd1\xf6\x63\x05\xe1"
21382 "\xd9\x1e\x75\x72\xc1\x9f\xae\x32"
21383 "\xe1\x6b\xcd\x9e\x61\x19\x23\x86"
21384 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9"
21385 "\x51",
21386 .alen = 129,
a0d608ee
EB
21387 .ptext = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
21388 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
21389 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
21390 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
21391 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
21392 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
21393 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
21394 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21395 "\x54",
21396 .plen = 65,
21397 .ctext = "\x36\x78\xb9\x22\xde\x62\x35\x55"
92a4c9fe
EB
21398 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82"
21399 "\x01\xe9\x5a\x07\xea\x46\xaf\x91"
21400 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2"
21401 "\xdb\xd2\x9d\x59\xde\xfc\x83\x00"
21402 "\xf5\x46\xac\x97\xd5\x57\xa9\xb9"
21403 "\x1f\x8c\xe8\xca\x68\x8b\x91\x0c"
21404 "\x01\xbe\x0a\xaf\x7c\xf6\x67\xa4"
21405 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19"
21406 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf"
21407 "\xa2",
a0d608ee 21408 .clen = 81,
da7f033d 21409 }, {
92a4c9fe
EB
21410 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21411 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
da7f033d 21412 .klen = 16,
92a4c9fe
EB
21413 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
21414 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
21415 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
21416 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
21417 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
21418 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
21419 .alen = 32,
a0d608ee
EB
21420 .ptext = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
21421 "\xf3\x89\x20\x5b\x7c\x57\x89\x07"
21422 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d"
21423 "\x6e\xde\xee\xa2\x08\x12\xc7\xba",
21424 .plen = 32,
21425 .ctext = "\x08\x1b\x95\x0e\x41\x95\x02\x4b"
92a4c9fe
EB
21426 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e"
21427 "\x89\x14\x33\x70\x0a\xbc\xea\x39"
21428 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5"
21429 "\x33\x33\x9c\xd7\x42\x34\x49\x8e"
21430 "\x2f\x03\x30\x05\x47\xaf\x34",
a0d608ee 21431 .clen = 47,
da7f033d 21432 }, {
92a4c9fe
EB
21433 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
21434 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
da7f033d 21435 .klen = 16,
92a4c9fe
EB
21436 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
21437 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
21438 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
21439 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
21440 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
21441 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
21442 .alen = 32,
a0d608ee
EB
21443 .ptext = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
21444 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d"
21445 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47"
21446 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91",
21447 .plen = 32,
21448 .ctext = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68"
92a4c9fe
EB
21449 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6"
21450 "\x25\xd8\xf7\x1f\x10\x15\x48\x61"
21451 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6"
21452 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98"
21453 "\xb9\x9c\xe5\xef\xf2\x05",
a0d608ee 21454 .clen = 46,
da7f033d 21455 }, {
92a4c9fe
EB
21456 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
21457 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
da7f033d 21458 .klen = 16,
92a4c9fe
EB
21459 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
21460 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
21461 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
21462 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
21463 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
21464 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
21465 .alen = 32,
a0d608ee
EB
21466 .ptext = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
21467 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13"
21468 "\x2e\x86\x93\x45\x3a\x58\x4f\x61"
21469 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68",
21470 .plen = 32,
21471 .ctext = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d"
92a4c9fe
EB
21472 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf"
21473 "\x1a\x5a\x70\x15\x5a\x10\x40\x51"
21474 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77"
21475 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f",
a0d608ee 21476 .clen = 40,
da7f033d 21477 }, {
92a4c9fe
EB
21478 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
21479 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
da7f033d 21480 .klen = 16,
92a4c9fe
EB
21481 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
21482 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
21483 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
21484 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98"
21485 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74"
21486 "\x81\x5c\x53\x35\xe0\x17\xbd\x88",
21487 .alen = 32,
a0d608ee
EB
21488 .ptext = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
21489 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a"
21490 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a"
21491 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e",
21492 .plen = 32,
21493 .ctext = "\xf1\x62\x44\xc7\x5f\x19\xca\x43"
92a4c9fe
EB
21494 "\x47\x2c\xaf\x68\x82\xbd\x51\xef"
21495 "\x3d\x65\xd8\x45\x2d\x06\x07\x78"
21496 "\x08\x2e\xb3\x23\xcd\x81\x12\x55"
21497 "\x1a",
a0d608ee 21498 .clen = 33,
da7f033d 21499 }, {
92a4c9fe
EB
21500 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7"
21501 "\x96\x4e\x63\x33\x69\x8d\x02\x9b"
21502 "\x23\xf9\x22\xeb\x80\xa0\xb1\x81"
21503 "\xe2\x73\xc3\x21\x4d\x47\x8d\xf4",
21504 .klen = 32,
21505 .iv = "\xf8\x5e\x31\xf7\xd7\xb2\x25\x3e"
21506 "\xb7\x85\x90\x58\x67\x57\x33\x1d",
21507 .assoc = "",
21508 .alen = 0,
a0d608ee
EB
21509 .ptext = "",
21510 .plen = 0,
21511 .ctext = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf"
92a4c9fe 21512 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70",
a0d608ee 21513 .clen = 16,
da7f033d 21514 }, {
92a4c9fe
EB
21515 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3"
21516 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1"
21517 "\x4d\xbc\x2d\x6f\x85\x40\x33\x9a"
21518 "\xa3\xa0\xa1\xfa\x27\xa6\x2c\xca",
21519 .klen = 32,
21520 .iv = "\x34\x83\x6a\x96\xe7\x2d\xce\x5a"
21521 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23",
21522 .assoc = "",
21523 .alen = 0,
a0d608ee
EB
21524 .ptext = "\x53",
21525 .plen = 1,
21526 .ctext = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7"
92a4c9fe
EB
21527 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78"
21528 "\x53",
a0d608ee 21529 .clen = 17,
da7f033d 21530 }, {
92a4c9fe
EB
21531 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef"
21532 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8"
21533 "\x77\x7e\x39\xf3\x8a\xe0\xb5\xb4"
21534 "\x65\xce\x80\xd2\x01\x05\xcb\xa1",
21535 .klen = 32,
21536 .iv = "\x71\xa8\xa4\x35\xf7\xa9\x76\x75"
21537 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29",
21538 .assoc = "",
21539 .alen = 0,
a0d608ee
EB
21540 .ptext = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83"
21541 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c"
21542 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7"
21543 "\xf6\xf0\x27\xb4\x25\x4c\x83",
21544 .plen = 31,
21545 .ctext = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07"
92a4c9fe
EB
21546 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37"
21547 "\xa5\x64\x31\x5c\xca\x73\x9b\x43"
21548 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5"
21549 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9"
21550 "\xb8\x4d\x11\x42\xd1\xf8\xf1",
a0d608ee 21551 .clen = 47,
da7f033d 21552 }, {
92a4c9fe
EB
21553 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a"
21554 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae"
21555 "\xa2\x40\x45\x77\x90\x80\x37\xce"
21556 "\x26\xfb\x5f\xaa\xdb\x64\x6b\x77",
21557 .klen = 32,
21558 .iv = "\xae\xcc\xde\xd5\x07\x25\x1f\x91"
21559 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30",
21560 .assoc = "",
21561 .alen = 0,
a0d608ee
EB
21562 .ptext = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f"
21563 "\x7a\x81\xff\x55\x52\x56\xdc\x33"
21564 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1"
21565 "\xb7\x1d\x06\x8d\xff\xab\x22\x98",
21566 .plen = 32,
21567 .ctext = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37"
92a4c9fe
EB
21568 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f"
21569 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a"
21570 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26"
21571 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f"
21572 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6",
a0d608ee 21573 .clen = 48,
da7f033d 21574 }, {
92a4c9fe
EB
21575 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26"
21576 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4"
21577 "\xcc\x03\x50\xfc\x95\x20\xb9\xe7"
21578 "\xe8\x29\x3e\x83\xb5\xc3\x0a\x4e",
21579 .klen = 32,
21580 .iv = "\xea\xf1\x18\x74\x17\xa0\xc8\xad"
21581 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36",
21582 .assoc = "",
21583 .alen = 0,
a0d608ee
EB
21584 .ptext = "\x08\x84\x34\x44\x9f\xde\x1c\xbb"
21585 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39"
21586 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb"
21587 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f"
21588 "\x2e",
21589 .plen = 33,
21590 .ctext = "\xc2\xf4\x40\x55\xf9\x59\xff\x73"
92a4c9fe
EB
21591 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a"
21592 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22"
21593 "\x23\x06\x1e\xf8\x89\x22\xf4\x46"
21594 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa"
21595 "\x15\xd7\x83\x19\xfd\x31\x59\x5b"
21596 "\x32",
a0d608ee 21597 .clen = 49,
da7f033d 21598 }, {
92a4c9fe
EB
21599 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42"
21600 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba"
21601 "\xf6\xc5\x5c\x80\x9a\xc0\x3b\x01"
21602 "\xa9\x56\x1d\x5b\x8f\x22\xa9\x25",
21603 .klen = 32,
21604 .iv = "\x27\x16\x51\x13\x27\x1c\x71\xc9"
21605 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c",
21606 .assoc = "",
21607 .alen = 0,
a0d608ee
EB
21608 .ptext = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7"
21609 "\x7c\x35\x63\x77\x46\x9f\x61\x3f"
21610 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14"
21611 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46"
21612 "\x3c\xb6\x83\x4e\xb4\x26\xc7\x73"
21613 "\x22\xda\x52\x8b\x7d\x11\x98\xea"
21614 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad"
21615 "\x20\x76\x5a\xdc\x4e\x71\x13",
21616 .plen = 63,
21617 .ctext = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb"
92a4c9fe
EB
21618 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28"
21619 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70"
21620 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6"
21621 "\x21\x72\xee\x7e\x65\x95\xe5\xcc"
21622 "\x01\xb7\x39\xa6\x51\x15\xca\xff"
21623 "\x61\xdc\x97\x38\xcc\xf4\xca\xc7"
21624 "\x83\x9b\x05\x11\x72\x60\xf0\xb4"
21625 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23"
21626 "\xaa\x2d\xfc\x4e\x35\x05\x59",
a0d608ee 21627 .clen = 79,
da7f033d 21628 }, {
92a4c9fe
EB
21629 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e"
21630 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1"
21631 "\x21\x87\x67\x04\x9f\x60\xbd\x1b"
21632 "\x6a\x84\xfc\x34\x6a\x81\x48\xfb",
21633 .klen = 32,
21634 .iv = "\x63\x3b\x8b\xb3\x37\x98\x1a\xe5"
21635 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42",
21636 .assoc = "",
21637 .alen = 0,
a0d608ee
EB
21638 .ptext = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3"
21639 "\xfd\x0f\x15\x09\x40\xc3\x24\x45"
21640 "\x81\x99\xf0\x67\x63\x58\x5e\x2e"
21641 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c"
21642 "\x4b\x62\x87\x7c\x15\x38\xda\x70"
21643 "\x3d\xea\xe7\xf2\x40\xba\xae\x79"
21644 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78"
21645 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c",
21646 .plen = 64,
21647 .ctext = "\x11\x7c\x7d\xef\xce\x29\x95\xec"
92a4c9fe
EB
21648 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75"
21649 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa"
21650 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc"
21651 "\x5f\x8c\x1c\x60\x15\x4f\x9b\x20"
21652 "\x7b\xff\xcd\x82\x60\x84\xf4\xa5"
21653 "\x20\x9a\x05\x19\x5b\x02\x0a\x72"
21654 "\x43\x11\x26\x58\xcf\xc5\x41\xcf"
21655 "\x13\xcc\xde\x32\x92\xfa\x86\xf2"
21656 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54",
a0d608ee 21657 .clen = 80,
da7f033d 21658 }, {
92a4c9fe
EB
21659 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a"
21660 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7"
21661 "\x4b\x4a\x73\x89\xa4\x00\x3f\x34"
21662 "\x2c\xb1\xdb\x0c\x44\xe0\xe8\xd2",
21663 .klen = 32,
21664 .iv = "\xa0\x5f\xc5\x52\x47\x13\xc2\x01"
21665 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48",
21666 .assoc = "\xaf",
21667 .alen = 1,
a0d608ee
EB
21668 .ptext = "",
21669 .plen = 0,
21670 .ctext = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe"
92a4c9fe 21671 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0",
a0d608ee 21672 .clen = 16,
da7f033d 21673 }, {
92a4c9fe
EB
21674 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95"
21675 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd"
21676 "\x76\x0c\x7f\x0d\xa9\xa0\xc1\x4e"
21677 "\xed\xdf\xb9\xe4\x1e\x3f\x87\xa8",
21678 .klen = 32,
21679 .iv = "\xdc\x84\xfe\xf1\x58\x8f\x6b\x1c"
21680 "\xbe\x57\x20\xe3\x37\x7a\x48\x4f",
21681 .assoc = "\xeb\x4d\x8d\x59\x9c\x2e\x15\xa3"
21682 "\xde\x8d\x4d\x07\x36\x43\x78\xd0"
21683 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b"
21684 "\x4e\xf6\x29\xd1\x8b\x6f\x56",
21685 .alen = 31,
a0d608ee
EB
21686 .ptext = "",
21687 .plen = 0,
21688 .ctext = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d"
92a4c9fe 21689 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69",
a0d608ee 21690 .clen = 16,
da7f033d 21691 }, {
92a4c9fe
EB
21692 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1"
21693 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3"
21694 "\xa0\xce\x8a\x91\xae\x40\x43\x68"
21695 "\xae\x0d\x98\xbd\xf8\x9e\x26\x7f",
21696 .klen = 32,
21697 .iv = "\x19\xa9\x38\x91\x68\x0b\x14\x38"
21698 "\x3f\x31\xd2\x74\x31\x9e\x0a\x55",
21699 .assoc = "\x28\x72\xc7\xf8\xac\xaa\xbe\xbf"
21700 "\x5f\x67\xff\x99\x30\x67\x3b\xd6"
21701 "\x35\x2f\x90\xd3\x31\x90\x04\x74"
21702 "\x0f\x23\x08\xa9\x65\xce\xf6\xea",
21703 .alen = 32,
a0d608ee
EB
21704 .ptext = "",
21705 .plen = 0,
21706 .ctext = "\xb9\x57\x13\x3e\x82\x31\x61\x65"
92a4c9fe 21707 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2",
a0d608ee 21708 .clen = 16,
da7f033d 21709 }, {
92a4c9fe
EB
21710 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd"
21711 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda"
21712 "\xca\x91\x96\x15\xb4\xe0\xc5\x81"
21713 "\x70\x3a\x77\x95\xd2\xfd\xc5\x55",
21714 .klen = 32,
21715 .iv = "\x55\xcd\x72\x30\x78\x86\xbd\x54"
21716 "\xc0\x0b\x84\x06\x2b\xc2\xcd\x5b",
21717 .assoc = "\x64\x97\x00\x98\xbc\x25\x67\xdb"
21718 "\xe0\x41\xb1\x2a\x2a\x8c\xfe\xdd"
21719 "\x5f\xf2\x9c\x58\x36\x30\x86\x8e"
21720 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1"
21721 "\x01",
21722 .alen = 33,
a0d608ee
EB
21723 .ptext = "",
21724 .plen = 0,
21725 .ctext = "\x81\x96\x34\xde\xbb\x36\xdd\x3e"
92a4c9fe 21726 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1",
a0d608ee 21727 .clen = 16,
da7f033d 21728 }, {
92a4c9fe
EB
21729 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9"
21730 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0"
21731 "\xf5\x53\xa1\x9a\xb9\x80\x47\x9b"
21732 "\x31\x68\x56\x6e\xac\x5c\x65\x2c",
da7f033d 21733 .klen = 32,
92a4c9fe
EB
21734 .iv = "\x92\xf2\xac\xcf\x88\x02\x65\x70"
21735 "\x41\xe5\x36\x97\x25\xe7\x90\x61",
21736 .assoc = "\xa1\xbb\x3a\x37\xcc\xa1\x10\xf7"
21737 "\x61\x1c\x63\xbc\x24\xb0\xc0\xe3"
21738 "\x8a\xb4\xa7\xdc\x3b\xd0\x08\xa8"
21739 "\x92\x7f\xc5\x5a\x19\x8c\x34\x97"
21740 "\x0f\x95\x9b\x18\xe4\x8d\xb4\x24"
21741 "\xb9\x33\x28\x18\xe1\x9d\x14\xe0"
21742 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e"
21743 "\x07\x8c\xfc\x88\x2d\xb8\x53",
21744 .alen = 63,
a0d608ee
EB
21745 .ptext = "",
21746 .plen = 0,
21747 .ctext = "\x2e\x99\xb6\x79\x57\x56\x80\x36"
92a4c9fe 21748 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c",
a0d608ee 21749 .clen = 16,
da7f033d 21750 }, {
92a4c9fe
EB
21751 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05"
21752 "\xa1\x89\xbc\x04\x21\x42\x22\xe6"
21753 "\x1f\x15\xad\x1e\xbe\x20\xc9\xb4"
21754 "\xf3\x95\x35\x46\x86\xbb\x04\x03",
21755 .klen = 32,
21756 .iv = "\xce\x17\xe5\x6f\x98\x7e\x0e\x8c"
21757 "\xc2\xbf\xe8\x29\x1f\x0b\x52\x68",
21758 .assoc = "\xdd\xe0\x74\xd6\xdc\x1d\xb8\x13"
21759 "\xe2\xf6\x15\x4d\x1e\xd4\x83\xe9"
21760 "\xb4\x76\xb3\x60\x40\x70\x8a\xc1"
21761 "\x53\xac\xa4\x32\xf3\xeb\xd3\x6e"
21762 "\x1e\x42\xa0\x46\x45\x9f\xc7\x22"
21763 "\xd3\x43\xbc\x7e\xa5\x47\x2a\x6f"
21764 "\x91\x19\x70\x1e\xe1\xfe\x25\x49"
21765 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03",
21766 .alen = 64,
a0d608ee
EB
21767 .ptext = "",
21768 .plen = 0,
21769 .ctext = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce"
92a4c9fe 21770 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2",
a0d608ee 21771 .clen = 16,
da7f033d 21772 }, {
92a4c9fe
EB
21773 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21"
21774 "\x22\x63\x6e\x96\x1b\x67\xe4\xec"
21775 "\x49\xd7\xb9\xa2\xc3\xc0\x4b\xce"
21776 "\xb4\xc3\x14\x1e\x61\x1a\xa3\xd9",
21777 .klen = 32,
21778 .iv = "\x0b\x3c\x1f\x0e\xa8\xf9\xb7\xa7"
21779 "\x42\x9a\x9a\xba\x19\x30\x15\x6e",
21780 .assoc = "\x1a",
21781 .alen = 1,
a0d608ee
EB
21782 .ptext = "\x29",
21783 .plen = 1,
21784 .ctext = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6"
92a4c9fe
EB
21785 "\x17\x75\x81\x16\xdf\x26\xff\x67"
21786 "\x92",
a0d608ee 21787 .clen = 17,
da7f033d 21788 }, {
92a4c9fe
EB
21789 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c"
21790 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2"
21791 "\x74\x9a\xc4\x27\xc8\x60\xcd\xe8"
21792 "\x75\xf0\xf2\xf7\x3b\x79\x42\xb0",
21793 .klen = 32,
21794 .iv = "\x47\x60\x59\xad\xb8\x75\x60\xc3"
21795 "\xc3\x74\x4c\x4c\x13\x54\xd8\x74",
21796 .assoc = "\x56\x29\xe7\x15\xfc\x14\x0a\x4a"
21797 "\xe4\xaa\x79\x70\x12\x1d\x08\xf6"
21798 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5"
21799 "\xd6\x07\x62\xe3\xa8\xa9\x12",
21800 .alen = 31,
a0d608ee
EB
21801 .ptext = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1"
21802 "\x04\xe1\xa6\x94\x10\xe6\x39\x77"
21803 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb"
21804 "\x06\x13\x9a\xd9\x5e\xc0\xfa",
21805 .plen = 31,
21806 .ctext = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd"
92a4c9fe
EB
21807 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda"
21808 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01"
21809 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10"
21810 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6"
21811 "\x76\xc3\xf5\x3a\x76\xfd\x4a",
a0d608ee 21812 .clen = 47,
da7f033d 21813 }, {
92a4c9fe
EB
21814 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58"
21815 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9"
21816 "\x9e\x5c\xd0\xab\xcd\x00\x4f\x01"
21817 "\x37\x1e\xd1\xcf\x15\xd8\xe2\x86",
21818 .klen = 32,
21819 .iv = "\x84\x85\x92\x4d\xc8\xf1\x08\xdf"
21820 "\x44\x4e\xff\xdd\x0d\x78\x9a\x7a",
21821 .assoc = "\x93\x4e\x21\xb4\x0c\x90\xb3\x66"
21822 "\x65\x84\x2b\x01\x0b\x42\xcb\xfc"
21823 "\x33\xbd\xd6\xed\x50\x50\x10\x0e"
21824 "\x97\x35\x41\xbb\x82\x08\xb1\xf2",
21825 .alen = 32,
a0d608ee
EB
21826 .ptext = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed"
21827 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d"
21828 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15"
21829 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7",
21830 .plen = 32,
21831 .ctext = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a"
92a4c9fe
EB
21832 "\x71\xce\xe4\xaa\x45\x70\xe6\x84"
21833 "\x62\x48\x08\x64\x86\x6a\xdf\xec"
21834 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4"
21835 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e"
21836 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca",
a0d608ee 21837 .clen = 48,
92a4c9fe
EB
21838 }, {
21839 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74"
21840 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff"
21841 "\xc8\x1e\xdb\x2f\xd2\xa0\xd1\x1b"
21842 "\xf8\x4c\xb0\xa8\xef\x37\x81\x5d",
21843 .klen = 32,
21844 .iv = "\xc0\xaa\xcc\xec\xd8\x6c\xb1\xfb"
21845 "\xc5\x28\xb1\x6e\x07\x9d\x5d\x81",
21846 .assoc = "\xd0\x73\x5a\x54\x1d\x0b\x5b\x82"
21847 "\xe5\x5f\xdd\x93\x05\x66\x8e\x02"
21848 "\x5e\x80\xe1\x71\x55\xf0\x92\x28"
21849 "\x59\x62\x20\x94\x5c\x67\x50\xc8"
21850 "\x58",
21851 .alen = 33,
a0d608ee
EB
21852 .ptext = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09"
21853 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84"
21854 "\x28\x30\x64\x92\x96\x98\x72\x2e"
21855 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e"
21856 "\xdb",
21857 .plen = 33,
21858 .ctext = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60"
92a4c9fe
EB
21859 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34"
21860 "\xe9\xf8\x80\x65\x53\xd0\x72\x70"
21861 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c"
21862 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67"
21863 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4"
21864 "\xc3",
a0d608ee 21865 .clen = 49,
92a4c9fe
EB
21866 }, {
21867 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90"
21868 "\x26\xcc\x36\xdc\x02\xf8\xef\x05"
21869 "\xf3\xe1\xe7\xb3\xd8\x40\x53\x35"
21870 "\xb9\x79\x8f\x80\xc9\x96\x20\x33",
21871 .klen = 32,
21872 .iv = "\xfd\xce\x06\x8b\xe9\xe8\x5a\x17"
21873 "\x46\x02\x63\x00\x01\xc1\x20\x87",
21874 .assoc = "\x0c\x98\x94\xf3\x2d\x87\x04\x9e"
21875 "\x66\x39\x8f\x24\xff\x8a\x50\x08"
21876 "\x88\x42\xed\xf6\x5a\x90\x14\x42"
21877 "\x1a\x90\xfe\x6c\x36\xc6\xf0\x9f"
21878 "\x66\xa0\xb5\x2d\x2c\xf8\x25\x15"
21879 "\x55\x90\xa2\x7e\x77\x94\x96\x3a"
21880 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42"
21881 "\xe2\xa3\x84\x04\x0b\xe1\xce",
21882 .alen = 63,
a0d608ee
EB
21883 .ptext = "\x1b\x61\x23\x5b\x71\x26\xae\x25"
21884 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a"
21885 "\x53\xf2\x70\x17\x9b\x38\xf4\x48"
21886 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54"
21887 "\xea\xcb\xb6\x79\x45\xfc\xaa\x54"
21888 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e"
21889 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35"
21890 "\xd5\xa4\x6a\xd4\x09\xc2\x08",
21891 .plen = 63,
21892 .ctext = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a"
92a4c9fe
EB
21893 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8"
21894 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b"
21895 "\x59\xc0\x79\xbc\x17\xa0\x15\x01"
21896 "\xf5\x72\xfb\x5a\xe7\xaf\x07\xe3"
21897 "\x1b\x49\x21\x34\x23\x63\x55\x5e"
21898 "\xee\x4f\x34\x17\xfa\xfe\xa5\x0c"
21899 "\xed\x0b\x23\xea\x9b\xda\x57\x2f"
21900 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45"
21901 "\x7f\xfa\xf0\xbf\xc4\x98\x78",
a0d608ee 21902 .clen = 79,
92a4c9fe
EB
21903 }, {
21904 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac"
21905 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b"
21906 "\x1d\xa3\xf3\x38\xdd\xe0\xd5\x4e"
21907 "\x7b\xa7\x6e\x58\xa3\xf5\xbf\x0a",
21908 .klen = 32,
21909 .iv = "\x39\xf3\x3f\x2b\xf9\x64\x03\x33"
21910 "\xc7\xdd\x15\x91\xfb\xe6\xe2\x8d",
21911 .assoc = "\x49\xbc\xce\x92\x3d\x02\xad\xba"
21912 "\xe7\x13\x41\xb6\xf9\xaf\x13\x0f"
21913 "\xb2\x04\xf8\x7a\x5f\x30\x96\x5b"
21914 "\xdc\xbd\xdd\x44\x10\x25\x8f\x75"
21915 "\x75\x4d\xb9\x5b\x8e\x0a\x38\x13"
21916 "\x6f\x9f\x36\xe4\x3a\x3e\xac\xc9"
21917 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e"
21918 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37",
21919 .alen = 64,
a0d608ee
EB
21920 .ptext = "\x58\x85\x5c\xfa\x81\xa1\x57\x40"
21921 "\x08\x4a\x6e\xda\xf8\x78\x44\x90"
21922 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62"
21923 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b"
21924 "\xf8\x78\xba\xa7\xa6\x0e\xbd\x52"
21925 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d"
21926 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00"
21927 "\xa5\xa7\x01\x13\x04\x49\xf2\x04",
21928 .plen = 64,
21929 .ctext = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1"
92a4c9fe
EB
21930 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb"
21931 "\x35\x35\x60\x9d\x06\x40\x65\xc1"
21932 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5"
21933 "\x2b\xcb\xde\x18\x78\x6b\x42\xbe"
21934 "\x6d\x24\xd0\xb2\x7d\xd7\x08\x8f"
21935 "\x4a\x18\x98\xad\x8c\xf2\x97\xb4"
21936 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06"
21937 "\xce\x9e\x34\x81\xf0\x89\x11\x13"
21938 "\x02\x65\xa1\x7c\xdf\x07\x33\x06",
a0d608ee 21939 .clen = 80,
92a4c9fe
EB
21940 }, {
21941 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7"
21942 "\x28\x80\x9a\xfe\xf6\x41\x74\x12"
21943 "\x48\x65\xfe\xbc\xe2\x80\x57\x68"
21944 "\x3c\xd4\x4d\x31\x7d\x54\x5f\xe1",
21945 .klen = 32,
21946 .iv = "\x76\x18\x79\xca\x09\xdf\xac\x4e"
21947 "\x48\xb7\xc7\x23\xf5\x0a\xa5\x93",
21948 .assoc = "\x85\xe1\x08\x32\x4d\x7e\x56\xd5"
21949 "\x68\xed\xf3\x47\xf3\xd3\xd6\x15"
21950 "\xdd\xc7\x04\xfe\x64\xd0\x18\x75"
21951 "\x9d\xeb\xbc\x1d\xea\x84\x2e\x4c"
21952 "\x83\xf9\xbe\x8a\xef\x1c\x4b\x10"
21953 "\x89\xaf\xcb\x4b\xfe\xe7\xc1\x58"
21954 "\xca\xea\xc6\x87\xc0\x53\x03\xd9"
21955 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a"
21956 "\x04",
21957 .alen = 65,
a0d608ee
EB
21958 .ptext = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c"
21959 "\x88\x24\x20\x6b\xf2\x9c\x06\x96"
21960 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b"
21961 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02"
21962 "\x07\x24\xbf\xd5\x08\x20\xd0\x4f"
21963 "\x90\xb3\x70\x24\x2f\x51\xc7\xbb"
21964 "\xd6\x84\xc0\xef\x9a\xa8\xca\xcc"
21965 "\x74\xab\x97\x53\xfe\xd0\xdb\x37"
21966 "\x37\x6a\x0e\x9f\x3f\xa3\x2a\xe3"
21967 "\x1b\x34\x6d\x51\x72\x2b\x17\xe7"
21968 "\x4d\xaa\x2c\x18\xda\xa3\x33\x89"
21969 "\x2a\x9f\xf4\xd2\xed\x76\x3d\x3f"
21970 "\x3c\x15\x9d\x8e\x4f\x3c\x27\xb0"
21971 "\x42\x3f\x2f\x8a\xd4\xc2\x10\xb2"
21972 "\x27\x7f\xe3\x34\x80\x02\x49\x4b"
21973 "\x07\x68\x22\x2a\x88\x25\x53\xb2"
21974 "\x2f",
21975 .plen = 129,
21976 .ctext = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6"
92a4c9fe
EB
21977 "\x85\x43\x88\xd0\xd7\x78\x60\x19"
21978 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec"
21979 "\xf7\x84\x85\xc7\x27\x0f\x74\x57"
21980 "\x28\x9e\xdd\x90\x3c\x43\x12\xc5"
21981 "\x51\x3d\x39\x8f\xa5\xf4\xe0\x0b"
21982 "\x57\x04\xf1\x6d\xfe\x9b\x84\x27"
21983 "\xe8\xeb\x4d\xda\x02\x0a\xc5\x49"
21984 "\x1a\x55\x5e\x50\x56\x4d\x94\xda"
21985 "\x20\xf8\x12\x54\x50\xb3\x11\xda"
21986 "\xed\x44\x27\x67\xd5\xd1\x8b\x4b"
21987 "\x38\x67\x56\x65\x59\xda\xe6\x97"
21988 "\x81\xae\x2f\x92\x3b\xae\x22\x1c"
21989 "\x91\x59\x38\x18\x00\xe8\xba\x92"
21990 "\x04\x19\x56\xdf\xb0\x82\xeb\x6f"
21991 "\x2e\xdb\x54\x3c\x4b\xbb\x60\x90"
21992 "\x4c\x50\x10\x62\xba\x7a\xb1\x68"
21993 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f"
21994 "\xa5",
a0d608ee 21995 .clen = 145,
92a4c9fe
EB
21996 }, {
21997 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3"
21998 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18"
21999 "\x72\x28\x0a\x40\xe7\x20\xd9\x82"
22000 "\xfe\x02\x2b\x09\x57\xb3\xfe\xb7",
22001 .klen = 32,
22002 .iv = "\xb3\x3d\xb3\x69\x19\x5b\x54\x6a"
22003 "\xc9\x91\x79\xb4\xef\x2e\x68\x99",
22004 .assoc = "\xc2\x06\x41\xd1\x5d\xfa\xff\xf1"
22005 "\xe9\xc7\xa5\xd9\xed\xf8\x98\x1b"
22006 "\x07\x89\x10\x82\x6a\x70\x9a\x8f"
22007 "\x5e\x19\x9b\xf5\xc5\xe3\xcd\x22"
22008 "\x92\xa5\xc2\xb8\x51\x2e\x5e\x0e"
22009 "\xa4\xbe\x5f\xb1\xc1\x90\xd7\xe7"
22010 "\xf7\x52\xae\x28\x29\xa8\x22\xa4"
22011 "\x4f\xae\x48\xc2\xfa\x75\x8b\x9e"
22012 "\xce\x83\x2a\x88\x07\x55\xbb\x89"
22013 "\xf6\xdf\xac\xdf\x83\x08\xbf\x7d"
22014 "\xac\x30\x8b\x8e\x02\xac\x00\xf1"
22015 "\x30\x46\xe1\xbc\x75\xbf\x49\xbb"
22016 "\x26\x4e\x29\xf0\x2f\x21\xc6\x13"
22017 "\x92\xd9\x3d\x11\xe4\x10\x00\x8e"
22018 "\xd4\xd4\x58\x65\xa6\x2b\xe3\x25"
22019 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c"
22020 "\x4b",
22021 .alen = 129,
a0d608ee
EB
22022 .ptext = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78"
22023 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d"
22024 "\xd2\x39\x93\xa3\xab\x18\x7a\x95"
22025 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8"
22026 "\x15\xd1\xc3\x04\x69\x32\xe3\x4d"
22027 "\xaa\xc2\x04\x8b\xf2\xfa\xdc\x4a"
22028 "\x02\xeb\xa8\x90\x03\xfd\xea\x97"
22029 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a"
22030 "\x00",
22031 .plen = 65,
22032 .ctext = "\x7d\xde\x53\x22\xe4\x23\x3b\x30"
92a4c9fe
EB
22033 "\x78\xde\x35\x90\x7a\xd9\x0b\x93"
22034 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c"
22035 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf"
22036 "\x63\x7f\x2d\x0c\xcf\x96\xec\x64"
22037 "\x1a\x87\xcc\x7d\x2c\x5e\x81\x4b"
22038 "\xd2\x8f\x4c\x7c\x00\xb1\xb4\xe0"
22039 "\x87\x4d\xb1\xbc\xd8\x78\x2c\x17"
22040 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6"
22041 "\x20\x13\x83\x46\xaf\xff\xe3\x0f"
22042 "\x72",
a0d608ee 22043 .clen = 81,
92a4c9fe
EB
22044 }, {
22045 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff"
22046 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e"
22047 "\x9c\xea\x15\xc5\xec\xc0\x5b\x9b"
22048 "\xbf\x2f\x0a\xe1\x32\x12\x9d\x8e",
22049 .klen = 32,
22050 .iv = "\xef\x61\xed\x08\x29\xd7\xfd\x86"
22051 "\x4a\x6b\x2b\x46\xe9\x53\x2a\xa0",
22052 .assoc = "\xfe\x2a\x7b\x70\x6d\x75\xa7\x0d"
22053 "\x6a\xa2\x57\x6a\xe7\x1c\x5b\x21"
22054 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8"
22055 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9",
22056 .alen = 32,
a0d608ee
EB
22057 .ptext = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94"
22058 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3"
22059 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf"
22060 "\x50\x52\xb1\xc4\x55\x59\x55\xaf",
22061 .plen = 32,
22062 .ctext = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe"
92a4c9fe
EB
22063 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4"
22064 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc"
22065 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e"
22066 "\x24\xf8\x52\x7c\x15\x41\x0e\xba"
22067 "\x69\x0e\x36\x5f\x2f\x22\x8c",
a0d608ee 22068 .clen = 47,
92a4c9fe
EB
22069 }, {
22070 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b"
22071 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24"
22072 "\xc7\xac\x21\x49\xf1\x60\xdd\xb5"
22073 "\x80\x5d\xe9\xba\x0c\x71\x3c\x64",
da7f033d 22074 .klen = 32,
92a4c9fe
EB
22075 .iv = "\x2c\x86\x26\xa8\x39\x52\xa6\xa2"
22076 "\xcb\x45\xdd\xd7\xe3\x77\xed\xa6",
22077 .assoc = "\x3b\x4f\xb5\x10\x7d\xf1\x50\x29"
22078 "\xeb\x7c\x0a\xfb\xe1\x40\x1e\x27"
22079 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2"
22080 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0",
22081 .alen = 32,
a0d608ee
EB
22082 .ptext = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0"
22083 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9"
22084 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8"
22085 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85",
22086 .plen = 32,
22087 .ctext = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51"
92a4c9fe
EB
22088 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e"
22089 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1"
22090 "\xab\xd6\x7c\x76\xad\xea\x7d\x76"
22091 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70"
22092 "\x5b\x6f\x7b\xe2\x8c\xe8",
a0d608ee 22093 .clen = 46,
da7f033d 22094 }, {
92a4c9fe
EB
22095 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37"
22096 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b"
22097 "\xf1\x6f\x2d\xcd\xf6\x00\x5f\xcf"
22098 "\x42\x8a\xc8\x92\xe6\xd0\xdc\x3b",
22099 .klen = 32,
22100 .iv = "\x68\xab\x60\x47\x49\xce\x4f\xbe"
22101 "\x4c\x20\x8f\x68\xdd\x9c\xb0\xac",
22102 .assoc = "\x77\x74\xee\xaf\x8d\x6d\xf9\x45"
22103 "\x6c\x56\xbc\x8d\xdb\x65\xe0\x2e"
22104 "\x86\xd0\x32\x0f\x79\x50\x20\xdb"
22105 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6",
22106 .alen = 32,
a0d608ee
EB
22107 .ptext = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc"
22108 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf"
22109 "\x51\x80\xb5\x30\xba\xf8\x00\xe2"
22110 "\xd3\xad\x6f\x75\x09\x18\x93\x5c",
22111 .plen = 32,
22112 .ctext = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b"
92a4c9fe
EB
22113 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60"
22114 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68"
22115 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11"
22116 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf",
a0d608ee 22117 .clen = 40,
da7f033d 22118 }, {
92a4c9fe
EB
22119 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53"
22120 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31"
22121 "\x1b\x31\x38\x51\xfc\xa0\xe1\xe8"
22122 "\x03\xb8\xa7\x6b\xc0\x2f\x7b\x11",
22123 .klen = 32,
22124 .iv = "\xa5\xcf\x9a\xe6\x59\x4a\xf7\xd9"
22125 "\xcd\xfa\x41\xfa\xd7\xc0\x72\xb2",
22126 .assoc = "\xb4\x99\x28\x4e\x9d\xe8\xa2\x60"
22127 "\xed\x30\x6e\x1e\xd5\x89\xa3\x34"
22128 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5"
22129 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d",
22130 .alen = 32,
a0d608ee
EB
22131 .ptext = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7"
22132 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5"
22133 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc"
22134 "\x94\xda\x4e\x4d\xe4\x77\x32\x32",
22135 .plen = 32,
22136 .ctext = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e"
92a4c9fe
EB
22137 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c"
22138 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70"
22139 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb"
22140 "\x56",
a0d608ee 22141 .clen = 33,
da7f033d
HX
22142 },
22143};
22144
92a4c9fe
EB
22145/*
22146 * All key wrapping test vectors taken from
22147 * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
22148 *
22149 * Note: as documented in keywrap.c, the ivout for encryption is the first
22150 * semiblock of the ciphertext from the test vector. For decryption, iv is
22151 * the first semiblock of the ciphertext.
22152 */
22153static const struct cipher_testvec aes_kw_tv_template[] = {
da7f033d 22154 {
92a4c9fe
EB
22155 .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
22156 "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
da7f033d 22157 .klen = 16,
92a4c9fe
EB
22158 .ptext = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
22159 "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
22160 .ctext = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
22161 "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
22162 .len = 16,
8efd972e 22163 .iv_out = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
92a4c9fe 22164 .generates_iv = true,
da7f033d 22165 }, {
92a4c9fe
EB
22166 .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
22167 "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
22168 "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
22169 "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
22170 .klen = 32,
22171 .ptext = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
22172 "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
22173 .ctext = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
22174 "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
22175 .len = 16,
8efd972e 22176 .iv_out = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
92a4c9fe 22177 .generates_iv = true,
da7f033d
HX
22178 },
22179};
22180
22181/*
92a4c9fe
EB
22182 * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
22183 * test vectors, taken from Appendix B.2.9 and B.2.10:
22184 * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
22185 * Only AES-128 is supported at this time.
da7f033d 22186 */
92a4c9fe 22187static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
da7f033d 22188 {
92a4c9fe
EB
22189 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22190 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
da7f033d 22191 .klen = 16,
92a4c9fe
EB
22192 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22193 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
22194 .dtlen = 16,
22195 .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
22196 "\x00\x00\x00\x00\x00\x00\x00\x00",
22197 .vlen = 16,
22198 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
22199 "\x84\x79\x66\x85\xc1\x2f\x76\x41",
22200 .rlen = 16,
22201 .loops = 1,
da7f033d 22202 }, {
92a4c9fe
EB
22203 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22204 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
da7f033d 22205 .klen = 16,
92a4c9fe
EB
22206 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22207 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
22208 .dtlen = 16,
22209 .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
22210 "\x00\x00\x00\x00\x00\x00\x00\x00",
22211 .vlen = 16,
22212 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
22213 "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
da7f033d 22214 .rlen = 16,
92a4c9fe 22215 .loops = 1,
da7f033d 22216 }, {
92a4c9fe
EB
22217 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22218 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
da7f033d 22219 .klen = 16,
92a4c9fe
EB
22220 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22221 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
22222 .dtlen = 16,
22223 .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
22224 "\x00\x00\x00\x00\x00\x00\x00\x00",
22225 .vlen = 16,
22226 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
22227 "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
22228 .rlen = 16,
22229 .loops = 1,
da7f033d 22230 }, {
92a4c9fe
EB
22231 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22232 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
da7f033d 22233 .klen = 16,
92a4c9fe
EB
22234 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22235 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
22236 .dtlen = 16,
22237 .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
22238 "\x00\x00\x00\x00\x00\x00\x00\x00",
22239 .vlen = 16,
22240 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
22241 "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
22242 .rlen = 16,
22243 .loops = 1,
da7f033d 22244 }, {
92a4c9fe
EB
22245 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
22246 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
da7f033d 22247 .klen = 16,
92a4c9fe
EB
22248 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
22249 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
22250 .dtlen = 16,
22251 .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
22252 "\x00\x00\x00\x00\x00\x00\x00\x00",
22253 .vlen = 16,
22254 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
22255 "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
da7f033d 22256 .rlen = 16,
92a4c9fe
EB
22257 .loops = 1,
22258 }, { /* Monte Carlo Test */
22259 .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
22260 "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
da7f033d 22261 .klen = 16,
92a4c9fe
EB
22262 .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
22263 "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
22264 .dtlen = 16,
22265 .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
22266 "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
22267 .vlen = 16,
22268 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
22269 "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
22270 .rlen = 16,
22271 .loops = 10000,
22272 },
da7f033d
HX
22273};
22274
22275/*
92a4c9fe
EB
22276 * SP800-90A DRBG Test vectors from
22277 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22278 *
22279 * Test vectors for DRBG with prediction resistance. All types of DRBGs
22280 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
22281 * w/o personalization string, w/ and w/o additional input string).
da7f033d 22282 */
92a4c9fe
EB
22283static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
22284 {
22285 .entropy = (unsigned char *)
22286 "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
22287 "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
22288 "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
22289 "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
22290 .entropylen = 48,
22291 .entpra = (unsigned char *)
22292 "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
22293 "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
22294 "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
22295 .entprb = (unsigned char *)
22296 "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
22297 "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
22298 "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
22299 .entprlen = 32,
22300 .expected = (unsigned char *)
22301 "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
22302 "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
22303 "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
22304 "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
22305 "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
22306 "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
22307 "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
22308 "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
22309 "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
22310 "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
22311 "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
22312 .expectedlen = 128,
22313 .addtla = NULL,
22314 .addtlb = NULL,
22315 .addtllen = 0,
22316 .pers = NULL,
22317 .perslen = 0,
da7f033d 22318 }, {
92a4c9fe
EB
22319 .entropy = (unsigned char *)
22320 "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
22321 "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
22322 "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
22323 "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
22324 .entropylen = 48,
22325 .entpra = (unsigned char *)
22326 "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
22327 "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
22328 "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
22329 .entprb = (unsigned char *)
22330 "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
22331 "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
22332 "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
22333 .entprlen = 32,
22334 .expected = (unsigned char *)
22335 "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
22336 "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
22337 "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
22338 "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
22339 "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
22340 "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
22341 "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
22342 "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
22343 "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
22344 "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
22345 "\x50\x47\xa3\x63\x81\x16\xaf\x19",
22346 .expectedlen = 128,
22347 .addtla = (unsigned char *)
22348 "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
22349 "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
22350 "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
22351 .addtlb = (unsigned char *)
22352 "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
22353 "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
22354 "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
22355 .addtllen = 32,
22356 .pers = NULL,
22357 .perslen = 0,
da7f033d 22358 }, {
92a4c9fe
EB
22359 .entropy = (unsigned char *)
22360 "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
22361 "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
22362 "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
22363 "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
22364 .entropylen = 48,
22365 .entpra = (unsigned char *)
22366 "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
22367 "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
22368 "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
22369 .entprb = (unsigned char *)
22370 "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
22371 "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
22372 "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
22373 .entprlen = 32,
22374 .expected = (unsigned char *)
22375 "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
22376 "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
22377 "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
22378 "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
22379 "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
22380 "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
22381 "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
22382 "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
22383 "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
22384 "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
22385 "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
22386 .expectedlen = 128,
22387 .addtla = NULL,
22388 .addtlb = NULL,
22389 .addtllen = 0,
22390 .pers = (unsigned char *)
22391 "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
22392 "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
22393 "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
22394 .perslen = 32,
22395 }, {
22396 .entropy = (unsigned char *)
22397 "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
22398 "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
22399 "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
22400 "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
22401 .entropylen = 48,
22402 .entpra = (unsigned char *)
22403 "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
22404 "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
22405 "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
22406 .entprb = (unsigned char *)
22407 "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
22408 "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
22409 "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
22410 .entprlen = 32,
22411 .expected = (unsigned char *)
22412 "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
22413 "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
22414 "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
22415 "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
22416 "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
22417 "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
22418 "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
22419 "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
22420 "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
22421 "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
22422 "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
22423 .expectedlen = 128,
22424 .addtla = (unsigned char *)
22425 "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
22426 "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
22427 "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
22428 .addtlb = (unsigned char *)
22429 "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
22430 "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
22431 "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
22432 .addtllen = 32,
22433 .pers = (unsigned char *)
22434 "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
22435 "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
22436 "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
22437 .perslen = 32,
22438 },
da7f033d
HX
22439};
22440
92a4c9fe
EB
22441static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
22442 {
22443 .entropy = (unsigned char *)
22444 "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
22445 "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
22446 "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
22447 "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
22448 .entropylen = 48,
22449 .entpra = (unsigned char *)
22450 "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
22451 "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
22452 "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
22453 .entprb = (unsigned char *)
22454 "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
22455 "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
22456 "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
22457 .entprlen = 32,
22458 .expected = (unsigned char *)
22459 "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
22460 "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
22461 "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
22462 "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
22463 "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
22464 "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
22465 "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
22466 "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
22467 "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
22468 "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
22469 "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
22470 .expectedlen = 128,
22471 .addtla = NULL,
22472 .addtlb = NULL,
22473 .addtllen = 0,
22474 .pers = NULL,
22475 .perslen = 0,
da7f033d 22476 }, {
92a4c9fe
EB
22477 .entropy = (unsigned char *)
22478 "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
22479 "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
22480 "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
22481 "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
22482 .entropylen = 48,
22483 .entpra = (unsigned char *)
22484 "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
22485 "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
22486 "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
22487 .entprb = (unsigned char *)
22488 "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
22489 "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
22490 "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
22491 .entprlen = 32,
22492 .expected = (unsigned char *)
22493 "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
22494 "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
22495 "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
22496 "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
22497 "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
22498 "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
22499 "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
22500 "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
22501 "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
22502 "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
22503 "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
22504 .expectedlen = 128,
22505 .addtla = (unsigned char *)
22506 "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
22507 "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
22508 "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
22509 .addtlb = (unsigned char *)
22510 "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
22511 "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
22512 "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
22513 .addtllen = 32,
22514 .pers = NULL,
22515 .perslen = 0,
da7f033d 22516 }, {
92a4c9fe
EB
22517 .entropy = (unsigned char *)
22518 "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
22519 "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
22520 "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
22521 "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
22522 .entropylen = 48,
22523 .entpra = (unsigned char *)
22524 "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
22525 "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
22526 "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
22527 .entprb = (unsigned char *)
22528 "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
22529 "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
22530 "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
22531 .entprlen = 32,
22532 .expected = (unsigned char *)
22533 "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
22534 "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
22535 "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
22536 "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
22537 "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
22538 "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
22539 "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
22540 "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
22541 "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
22542 "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
22543 "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
22544 .expectedlen = 128,
22545 .addtla = NULL,
22546 .addtlb = NULL,
22547 .addtllen = 0,
22548 .pers = (unsigned char *)
22549 "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
22550 "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
22551 "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
22552 .perslen = 32,
22553 }, {
22554 .entropy = (unsigned char *)
22555 "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
22556 "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
22557 "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
22558 "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
22559 .entropylen = 48,
22560 .entpra = (unsigned char *)
22561 "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
22562 "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
22563 "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
22564 .entprb = (unsigned char *)
22565 "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
22566 "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
22567 "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
22568 .entprlen = 32,
22569 .expected = (unsigned char *)
22570 "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
22571 "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
22572 "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
22573 "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
22574 "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
22575 "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
22576 "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
22577 "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
22578 "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
22579 "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
22580 "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
22581 .expectedlen = 128,
22582 .addtla = (unsigned char *)
22583 "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
22584 "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
22585 "\x86\x88\x55\x28\xc1\x69\xdd\x76",
22586 .addtlb = (unsigned char *)
22587 "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
22588 "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
22589 "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
22590 .addtllen = 32,
22591 .pers = (unsigned char *)
22592 "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
22593 "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
22594 "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
22595 .perslen = 32,
22596 },
da7f033d
HX
22597};
22598
92a4c9fe 22599static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
da7f033d 22600 {
92a4c9fe
EB
22601 .entropy = (unsigned char *)
22602 "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
22603 "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
22604 .entropylen = 24,
22605 .entpra = (unsigned char *)
22606 "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
22607 "\xb4\xec\x80\xb1",
22608 .entprb = (unsigned char *)
22609 "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
22610 "\x28\x07\xeb\xc2",
22611 .entprlen = 16,
22612 .expected = (unsigned char *)
22613 "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
22614 "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
22615 "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
22616 "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
22617 "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
22618 "\x8a\xf1\x23\xa8",
22619 .expectedlen = 64,
22620 .addtla = NULL,
22621 .addtlb = NULL,
22622 .addtllen = 0,
22623 .pers = NULL,
22624 .perslen = 0,
da7f033d 22625 }, {
92a4c9fe
EB
22626 .entropy = (unsigned char *)
22627 "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
22628 "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
22629 .entropylen = 24,
22630 .entpra = (unsigned char *)
22631 "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
22632 "\x67\xd1\x08\xf8",
22633 .entprb = (unsigned char *)
22634 "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
22635 "\xd4\xba\x04\x58",
22636 .entprlen = 16,
22637 .expected = (unsigned char *)
22638 "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
22639 "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
22640 "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
22641 "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
22642 "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
22643 "\xc1\x02\x41\x82",
22644 .expectedlen = 64,
22645 .addtla = (unsigned char *)
22646 "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
22647 "\xeb\xb3\x01\x76",
22648 .addtlb = (unsigned char *)
22649 "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
22650 "\xd0\x7f\xcc\x43",
22651 .addtllen = 16,
22652 .pers = NULL,
22653 .perslen = 0,
da7f033d 22654 }, {
92a4c9fe
EB
22655 .entropy = (unsigned char *)
22656 "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
22657 "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
22658 .entropylen = 24,
22659 .entpra = (unsigned char *)
22660 "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
22661 "\xc3\x0f\xe3\xb0",
22662 .entprb = (unsigned char *)
22663 "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
22664 "\xd6\x9c\x9d\xe8",
22665 .entprlen = 16,
22666 .expected = (unsigned char *)
22667 "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
22668 "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
22669 "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
22670 "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
22671 "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
22672 "\x72\x82\x0c\xcf",
22673 .expectedlen = 64,
22674 .addtla = NULL,
22675 .addtlb = NULL,
22676 .addtllen = 0,
22677 .pers = (unsigned char *)
22678 "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
22679 "\x21\x52\xb3\xad",
22680 .perslen = 16,
22681 }, {
22682 .entropy = (unsigned char *)
22683 "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
22684 "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
22685 .entropylen = 24,
22686 .entpra = (unsigned char *)
22687 "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
22688 "\xc4\x2c\xe8\x10",
22689 .entprb = (unsigned char *)
22690 "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
22691 "\x08\xf7\xa5\x01",
22692 .entprlen = 16,
22693 .expected = (unsigned char *)
22694 "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
22695 "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
22696 "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
22697 "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
22698 "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
22699 "\x23\xc5\x1f\x68",
22700 .expectedlen = 64,
22701 .addtla = (unsigned char *)
22702 "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
22703 "\x23\x6d\xad\x1d",
22704 .addtlb = (unsigned char *)
22705 "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
22706 "\xbc\x59\x31\x8c",
22707 .addtllen = 16,
22708 .pers = (unsigned char *)
22709 "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
22710 "\x37\x3c\x5c\x0b",
22711 .perslen = 16,
0840605e 22712 },
da7f033d
HX
22713};
22714
92a4c9fe
EB
22715/*
22716 * SP800-90A DRBG Test vectors from
22717 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
22718 *
22719 * Test vectors for DRBG without prediction resistance. All types of DRBGs
22720 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
22721 * w/o personalization string, w/ and w/o additional input string).
22722 */
22723static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
da7f033d 22724 {
92a4c9fe
EB
22725 .entropy = (unsigned char *)
22726 "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
22727 "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
22728 "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
22729 "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
22730 .entropylen = 48,
22731 .expected = (unsigned char *)
22732 "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
22733 "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
22734 "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
22735 "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
22736 "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
22737 "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
22738 "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
22739 "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
22740 "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
22741 "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
22742 "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
22743 .expectedlen = 128,
22744 .addtla = NULL,
22745 .addtlb = NULL,
22746 .addtllen = 0,
22747 .pers = NULL,
22748 .perslen = 0,
da7f033d 22749 }, {
92a4c9fe
EB
22750 .entropy = (unsigned char *)
22751 "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
22752 "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
22753 "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
22754 "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
22755 .entropylen = 48,
22756 .expected = (unsigned char *)
22757 "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
22758 "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
22759 "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
22760 "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
22761 "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
22762 "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
22763 "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
22764 "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
22765 "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
22766 "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
22767 "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
22768 .expectedlen = 128,
22769 .addtla = (unsigned char *)
22770 "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
22771 "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
22772 "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
22773 .addtlb = (unsigned char *)
22774 "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
22775 "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
22776 "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
22777 .addtllen = 32,
22778 .pers = NULL,
22779 .perslen = 0,
da7f033d 22780 }, {
92a4c9fe
EB
22781 .entropy = (unsigned char *)
22782 "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
22783 "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
22784 "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
22785 "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
22786 .entropylen = 48,
22787 .expected = (unsigned char *)
22788 "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
22789 "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
22790 "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
22791 "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
22792 "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
22793 "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
22794 "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
22795 "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
22796 "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
22797 "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
22798 "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
22799 .expectedlen = 128,
22800 .addtla = NULL,
22801 .addtlb = NULL,
22802 .addtllen = 0,
22803 .pers = (unsigned char *)
22804 "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
22805 "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
22806 "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
22807 .perslen = 32,
22808 }, {
22809 .entropy = (unsigned char *)
22810 "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
22811 "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
22812 "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
22813 "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
22814 .entropylen = 48,
22815 .expected = (unsigned char *)
22816 "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
22817 "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
22818 "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
22819 "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
22820 "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
22821 "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
22822 "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
22823 "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
22824 "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
22825 "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
22826 "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
22827 .expectedlen = 128,
22828 .addtla = (unsigned char *)
22829 "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
22830 "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
22831 "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
22832 .addtlb = (unsigned char *)
22833 "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
22834 "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
22835 "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
22836 .addtllen = 32,
22837 .pers = (unsigned char *)
22838 "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
22839 "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
22840 "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
22841 .perslen = 32,
22842 },
22843};
22844
22845static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
22846 {
22847 .entropy = (unsigned char *)
22848 "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
22849 "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
22850 "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
22851 "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
22852 .entropylen = 48,
22853 .expected = (unsigned char *)
22854 "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
22855 "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
22856 "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
22857 "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
22858 "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
22859 "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
22860 "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
22861 "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
22862 "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
22863 "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
22864 "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
22865 .expectedlen = 128,
22866 .addtla = NULL,
22867 .addtlb = NULL,
22868 .addtllen = 0,
22869 .pers = NULL,
22870 .perslen = 0,
22871 }, {
22872 .entropy = (unsigned char *)
22873 "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
22874 "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
22875 "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
22876 "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
22877 .entropylen = 48,
22878 .expected = (unsigned char *)
22879 "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
22880 "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
22881 "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
22882 "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
22883 "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
22884 "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
22885 "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
22886 "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
22887 "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
22888 "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
22889 "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
22890 .expectedlen = 128,
22891 .addtla = (unsigned char *)
22892 "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
22893 "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
22894 "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
22895 .addtlb = (unsigned char *)
22896 "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
22897 "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
22898 "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
22899 .addtllen = 32,
22900 .pers = NULL,
22901 .perslen = 0,
22902 }, {
22903 .entropy = (unsigned char *)
22904 "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
22905 "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
22906 "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
22907 "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
22908 .entropylen = 48,
22909 .expected = (unsigned char *)
22910 "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
22911 "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
22912 "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
22913 "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
22914 "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
22915 "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
22916 "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
22917 "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
22918 "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
22919 "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
22920 "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
22921 .expectedlen = 128,
22922 .addtla = NULL,
22923 .addtlb = NULL,
22924 .addtllen = 0,
22925 .pers = (unsigned char *)
22926 "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
22927 "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
22928 "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
22929 .perslen = 32,
22930 }, {
22931 .entropy = (unsigned char *)
22932 "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
22933 "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
22934 "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
22935 "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
22936 .entropylen = 48,
22937 .expected = (unsigned char *)
22938 "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
22939 "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
22940 "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
22941 "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
22942 "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
22943 "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
22944 "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
22945 "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
22946 "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
22947 "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
22948 "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
22949 .expectedlen = 128,
22950 .addtla = (unsigned char *)
22951 "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
22952 "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
22953 "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
22954 .addtlb = (unsigned char *)
22955 "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
22956 "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
22957 "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
22958 .addtllen = 32,
22959 .pers = (unsigned char *)
22960 "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
22961 "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
22962 "\x36\x60\x3b\xca\x37\xc9\xee\x29",
22963 .perslen = 32,
0840605e 22964 },
da7f033d
HX
22965};
22966
92a4c9fe 22967static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
da7f033d 22968 {
92a4c9fe
EB
22969 .entropy = (unsigned char *)
22970 "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
22971 "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
22972 "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
22973 "\xac\x9b\xbb\x00",
22974 .entropylen = 40,
22975 .expected = (unsigned char *)
22976 "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
22977 "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
22978 "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
22979 "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
22980 "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
22981 "\x9a\x9d\xf1\x0d",
22982 .expectedlen = 64,
22983 .addtla = NULL,
22984 .addtlb = NULL,
22985 .addtllen = 0,
22986 .pers = NULL,
22987 .perslen = 0,
22988 },
22989};
22990
22991static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
22992 {
22993 .entropy = (unsigned char *)
22994 "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
22995 "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
22996 "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
22997 "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
22998 .entropylen = 48,
22999 .expected = (unsigned char *)
23000 "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
23001 "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
23002 "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
23003 "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
23004 "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
23005 "\xb4\xf0\x7e\x1d",
23006 .expectedlen = 64,
23007 .addtla = NULL,
23008 .addtlb = NULL,
23009 .addtllen = 0,
23010 .pers = NULL,
23011 .perslen = 0,
23012 },
23013};
23014
23015static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
23016 {
23017 .entropy = (unsigned char *)
23018 "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
23019 "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
23020 .entropylen = 24,
23021 .expected = (unsigned char *)
23022 "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
23023 "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
23024 "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
23025 "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
23026 "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
23027 "\xcb\x2d\xd6\xb0",
23028 .expectedlen = 64,
23029 .addtla = NULL,
23030 .addtlb = NULL,
23031 .addtllen = 0,
23032 .pers = NULL,
23033 .perslen = 0,
da7f033d 23034 }, {
92a4c9fe
EB
23035 .entropy = (unsigned char *)
23036 "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
23037 "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
23038 .entropylen = 24,
23039 .expected = (unsigned char *)
23040 "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
23041 "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
23042 "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
23043 "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
23044 "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
23045 "\xc3\xdf\xb3\x81",
23046 .expectedlen = 64,
23047 .addtla = (unsigned char *)
23048 "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
23049 "\x91\x4d\x81\x56",
23050 .addtlb = (unsigned char *)
23051 "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
23052 "\x4a\x55\xd1\xc6",
23053 .addtllen = 16,
23054 .pers = NULL,
23055 .perslen = 0,
23056 }, {
23057 .entropy = (unsigned char *)
23058 "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
23059 "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
23060 .entropylen = 24,
23061 .expected = (unsigned char *)
23062 "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
23063 "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
23064 "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
23065 "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
23066 "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
23067 "\x34\x30\x0c\x3d",
23068 .expectedlen = 64,
23069 .addtla = NULL,
23070 .addtlb = NULL,
23071 .addtllen = 0,
23072 .pers = (unsigned char *)
23073 "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
23074 "\x0b\xc6\x97\x54",
23075 .perslen = 16,
23076 }, {
23077 .entropy = (unsigned char *)
23078 "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
23079 "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
23080 .entropylen = 24,
23081 .expected = (unsigned char *)
23082 "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
23083 "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
23084 "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
23085 "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
23086 "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
23087 "\x2b\x49\x1e\x5c",
23088 .expectedlen = 64,
23089 .addtla = (unsigned char *)
23090 "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
23091 "\x44\x85\xe7\xfe",
23092 .addtlb = (unsigned char *)
23093 "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
23094 "\x82\x16\x62\x7f",
23095 .addtllen = 16,
23096 .pers = (unsigned char *)
23097 "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
23098 "\x8e\xcf\xe0\x02",
23099 .perslen = 16,
23100 },
23101};
23102
23103/* Cast5 test vectors from RFC 2144 */
23104static const struct cipher_testvec cast5_tv_template[] = {
23105 {
23106 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23107 "\x23\x45\x67\x89\x34\x56\x78\x9a",
23108 .klen = 16,
23109 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23110 .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
23111 .len = 8,
23112 }, {
23113 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
23114 "\x23\x45",
23115 .klen = 10,
23116 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23117 .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
23118 .len = 8,
23119 }, {
23120 .key = "\x01\x23\x45\x67\x12",
23121 .klen = 5,
23122 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23123 .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
23124 .len = 8,
23125 }, { /* Generated from TF test vectors */
0840605e 23126 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
92a4c9fe
EB
23127 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23128 .klen = 16,
23129 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
23130 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
0840605e
JK
23131 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23132 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23133 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23134 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
be6314b4
JK
23135 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23136 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23137 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23138 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23139 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23140 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23141 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23142 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23143 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23144 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23145 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23146 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23147 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23148 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23149 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23150 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23151 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23152 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23153 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23154 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23155 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23156 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23157 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23158 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23159 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23160 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23161 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23162 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23163 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23164 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23165 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23166 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23167 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23168 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23169 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23170 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23171 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23172 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23173 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23174 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23175 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23176 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23177 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23178 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23179 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23180 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23181 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23182 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23183 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23184 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23185 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23186 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23187 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23188 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23189 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23190 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
23191 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23192 .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
23193 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
23194 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
23195 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
23196 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
23197 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
23198 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
23199 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
23200 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
23201 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
23202 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
23203 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
23204 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
23205 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
23206 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
23207 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
23208 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
23209 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
23210 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
23211 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
23212 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
23213 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
23214 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
23215 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
23216 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
23217 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
23218 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
23219 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
23220 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
23221 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
23222 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
23223 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
23224 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
23225 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
23226 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
23227 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
23228 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
23229 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
23230 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
23231 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
23232 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
23233 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
23234 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
23235 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
23236 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
23237 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
23238 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
23239 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
23240 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
23241 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
23242 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
23243 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
23244 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
23245 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
23246 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
23247 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
23248 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
23249 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
23250 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
23251 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
23252 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
23253 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
23254 .len = 496,
92a4c9fe
EB
23255 },
23256};
23257
23258static const struct cipher_testvec cast5_cbc_tv_template[] = {
23259 { /* Generated from TF test vectors */
23260 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23261 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23262 .klen = 16,
23263 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
cdc69469 23264 .iv_out = "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
92a4c9fe
EB
23265 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23266 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23267 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23268 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23269 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23270 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23271 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23272 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23273 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23274 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23275 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23276 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23277 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23278 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23279 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23280 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23281 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23282 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23283 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23284 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23285 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23286 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23287 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23288 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23289 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23290 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23291 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23292 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23293 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23294 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23295 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23296 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23297 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23298 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23299 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23300 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23301 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23302 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23303 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23304 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23305 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23306 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23307 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23308 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23309 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23310 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23311 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23312 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23313 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23314 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23315 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23316 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23317 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23318 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23319 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23320 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23321 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23322 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23323 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23324 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23325 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23326 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23327 .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
23328 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
23329 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
23330 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
23331 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
23332 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
23333 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
23334 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
23335 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
23336 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
23337 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
23338 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
23339 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
23340 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
23341 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
23342 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
23343 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
23344 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
23345 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
23346 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
23347 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
23348 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
23349 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
23350 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
23351 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
23352 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
23353 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
23354 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
23355 "\x90\x12\x37\x49\x27\x98\x69\x18"
23356 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
23357 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
23358 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
23359 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
23360 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
23361 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
23362 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
23363 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
23364 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
23365 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
23366 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
23367 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
23368 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
23369 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
23370 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
23371 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
23372 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
23373 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
23374 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
23375 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
23376 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
23377 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
23378 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
23379 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
23380 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
23381 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
23382 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
23383 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
23384 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
23385 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
23386 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
23387 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
23388 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
23389 .len = 496,
0840605e 23390 },
da7f033d
HX
23391};
23392
92a4c9fe
EB
23393static const struct cipher_testvec cast5_ctr_tv_template[] = {
23394 { /* Generated from TF test vectors */
0840605e 23395 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
92a4c9fe
EB
23396 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23397 .klen = 16,
23398 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
e674dbc0 23399 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x62",
92a4c9fe
EB
23400 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
23401 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23402 "\x3A",
23403 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
23404 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
23405 "\x0C",
23406 .len = 17,
23407 }, { /* Generated from TF test vectors */
23408 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
23409 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
23410 .klen = 16,
23411 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
e674dbc0 23412 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x9D",
92a4c9fe 23413 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
0840605e
JK
23414 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23415 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23416 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23417 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
be6314b4
JK
23418 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
23419 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23420 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23421 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23422 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23423 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23424 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23425 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23426 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23427 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23428 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23429 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23430 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23431 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23432 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23433 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23434 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23435 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23436 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23437 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23438 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23439 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23440 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23441 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23442 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23443 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23444 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23445 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23446 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23447 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23448 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23449 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23450 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23451 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23452 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23453 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23454 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23455 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
23456 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
23457 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
23458 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
23459 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
23460 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
23461 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
23462 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
23463 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
23464 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
23465 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
23466 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
23467 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
23468 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
23469 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
23470 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
23471 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
23472 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
23473 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
23474 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
23475 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
23476 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
23477 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
23478 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
23479 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
23480 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
23481 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
23482 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
23483 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
23484 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
23485 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
23486 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
23487 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
23488 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
23489 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
23490 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
23491 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
23492 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
23493 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
23494 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
23495 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
23496 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
23497 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
23498 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
23499 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
23500 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
23501 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
23502 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
23503 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
23504 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
23505 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
23506 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
23507 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
23508 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
23509 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
23510 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
23511 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
23512 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
23513 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
23514 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
23515 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
23516 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
23517 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
23518 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
23519 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
23520 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
23521 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
23522 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
23523 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
23524 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
23525 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
23526 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
23527 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
23528 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
23529 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
23530 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
23531 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
23532 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
23533 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
23534 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
23535 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
23536 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
23537 .len = 496,
92a4c9fe
EB
23538 },
23539};
23540
23541/*
23542 * ARC4 test vectors from OpenSSL
23543 */
23544static const struct cipher_testvec arc4_tv_template[] = {
23545 {
23546 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23547 .klen = 8,
23548 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23549 .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
23550 .len = 8,
23551 }, {
23552 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23553 .klen = 8,
23554 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23555 .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
23556 .len = 8,
23557 }, {
23558 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
23559 .klen = 8,
23560 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23561 .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
23562 .len = 8,
23563 }, {
23564 .key = "\xef\x01\x23\x45",
23565 .klen = 4,
23566 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
23567 "\x00\x00\x00\x00\x00\x00\x00\x00"
23568 "\x00\x00\x00\x00",
23569 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
23570 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
23571 "\x36\xb6\x78\x58",
23572 .len = 20,
23573 }, {
23574 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
23575 .klen = 8,
23576 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23577 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23578 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
23579 "\x12\x34\x56\x78",
23580 .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
23581 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
23582 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
23583 "\x40\x01\x1e\xcf",
23584 .len = 28,
23585 }, {
23586 .key = "\xef\x01\x23\x45",
23587 .klen = 4,
23588 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
23589 "\x00\x00",
23590 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
23591 "\xbd\x61",
23592 .len = 10,
23593 }, {
23594 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
23595 "\x00\x00\x00\x00\x00\x00\x00\x00",
23596 .klen = 16,
23597 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
23598 .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
23599 .len = 8,
23600 },
23601};
23602
23603/*
23604 * TEA test vectors
23605 */
23606static const struct cipher_testvec tea_tv_template[] = {
23607 {
23608 .key = zeroed_string,
23609 .klen = 16,
23610 .ptext = zeroed_string,
23611 .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
23612 .len = 8,
23613 }, {
23614 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
23615 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
23616 .klen = 16,
23617 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
23618 .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
23619 .len = 8,
23620 }, {
23621 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
23622 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
23623 .klen = 16,
23624 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
23625 "\x65\x73\x74\x5f\x76\x65\x63\x74",
23626 .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
23627 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
23628 .len = 16,
23629 }, {
23630 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
23631 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
23632 .klen = 16,
23633 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
23634 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
23635 "\x79\x6f\x75\x21\x21\x21\x20\x72"
23636 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
23637 .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
23638 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
23639 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
23640 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
23641 .len = 32,
23642 }
23643};
23644
23645/*
23646 * XTEA test vectors
23647 */
23648static const struct cipher_testvec xtea_tv_template[] = {
23649 {
23650 .key = zeroed_string,
23651 .klen = 16,
23652 .ptext = zeroed_string,
23653 .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
23654 .len = 8,
23655 }, {
23656 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
23657 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
23658 .klen = 16,
23659 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
23660 .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
23661 .len = 8,
23662 }, {
23663 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
23664 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
23665 .klen = 16,
23666 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
23667 "\x65\x73\x74\x5f\x76\x65\x63\x74",
23668 .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
23669 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
23670 .len = 16,
23671 }, {
23672 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
23673 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
23674 .klen = 16,
23675 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
23676 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
23677 "\x79\x6f\x75\x21\x21\x21\x20\x72"
23678 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
23679 .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
23680 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
23681 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
23682 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
23683 .len = 32,
23684 }
23685};
23686
23687/*
23688 * KHAZAD test vectors.
23689 */
23690static const struct cipher_testvec khazad_tv_template[] = {
23691 {
23692 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
23693 "\x00\x00\x00\x00\x00\x00\x00\x00",
23694 .klen = 16,
23695 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23696 .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
23697 .len = 8,
23698 }, {
23699 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
23700 "\x38\x38\x38\x38\x38\x38\x38\x38",
23701 .klen = 16,
23702 .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
23703 .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
23704 .len = 8,
23705 }, {
23706 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
23707 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
23708 .klen = 16,
23709 .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
23710 .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
23711 .len = 8,
23712 }, {
23713 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23714 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23715 .klen = 16,
23716 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23717 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
23718 .len = 8,
23719 }, {
23720 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23721 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23722 .klen = 16,
23723 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
23724 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
23725 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
23726 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
23727 .len = 16,
0840605e
JK
23728 },
23729};
23730
92a4c9fe
EB
23731/*
23732 * Anubis test vectors.
23733 */
23734
23735static const struct cipher_testvec anubis_tv_template[] = {
23736 {
23737 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23738 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
23739 .klen = 16,
23740 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23741 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
23742 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
23743 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
23744 .len = 16,
23745 }, {
23746
23747 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
23748 "\x03\x03\x03\x03\x03\x03\x03\x03"
23749 "\x03\x03\x03\x03",
23750 .klen = 20,
23751 .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
23752 "\x03\x03\x03\x03\x03\x03\x03\x03",
23753 .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
23754 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
23755 .len = 16,
23756 }, {
23757 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
23758 "\x24\x24\x24\x24\x24\x24\x24\x24"
23759 "\x24\x24\x24\x24\x24\x24\x24\x24"
23760 "\x24\x24\x24\x24",
23761 .klen = 28,
23762 .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
23763 "\x24\x24\x24\x24\x24\x24\x24\x24",
23764 .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
23765 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
23766 .len = 16,
23767 }, {
23768 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
23769 "\x25\x25\x25\x25\x25\x25\x25\x25"
23770 "\x25\x25\x25\x25\x25\x25\x25\x25"
23771 "\x25\x25\x25\x25\x25\x25\x25\x25",
0840605e 23772 .klen = 32,
92a4c9fe
EB
23773 .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
23774 "\x25\x25\x25\x25\x25\x25\x25\x25",
23775 .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
23776 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
23777 .len = 16,
23778 }, {
23779 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
23780 "\x35\x35\x35\x35\x35\x35\x35\x35"
23781 "\x35\x35\x35\x35\x35\x35\x35\x35"
23782 "\x35\x35\x35\x35\x35\x35\x35\x35"
23783 "\x35\x35\x35\x35\x35\x35\x35\x35",
23784 .klen = 40,
23785 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
23786 "\x35\x35\x35\x35\x35\x35\x35\x35",
23787 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
23788 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
23789 .len = 16,
23790 },
23791};
23792
23793static const struct cipher_testvec anubis_cbc_tv_template[] = {
23794 {
23795 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23796 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
23797 .klen = 16,
cdc69469
EB
23798 .iv_out = "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
23799 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
92a4c9fe
EB
23800 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23801 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23802 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
23803 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
23804 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
23805 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
23806 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
23807 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
23808 .len = 32,
23809 }, {
23810 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
23811 "\x35\x35\x35\x35\x35\x35\x35\x35"
23812 "\x35\x35\x35\x35\x35\x35\x35\x35"
23813 "\x35\x35\x35\x35\x35\x35\x35\x35"
23814 "\x35\x35\x35\x35\x35\x35\x35\x35",
23815 .klen = 40,
cdc69469
EB
23816 .iv_out = "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
23817 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
92a4c9fe
EB
23818 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
23819 "\x35\x35\x35\x35\x35\x35\x35\x35"
23820 "\x35\x35\x35\x35\x35\x35\x35\x35"
23821 "\x35\x35\x35\x35\x35\x35\x35\x35",
23822 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
23823 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
23824 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
23825 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
23826 .len = 32,
23827 },
23828};
23829
23830/*
23831 * XETA test vectors
23832 */
23833static const struct cipher_testvec xeta_tv_template[] = {
23834 {
23835 .key = zeroed_string,
23836 .klen = 16,
23837 .ptext = zeroed_string,
23838 .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
23839 .len = 8,
23840 }, {
23841 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
23842 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
23843 .klen = 16,
23844 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
23845 .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
23846 .len = 8,
23847 }, {
23848 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
23849 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
23850 .klen = 16,
23851 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
23852 "\x65\x73\x74\x5f\x76\x65\x63\x74",
23853 .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
23854 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
23855 .len = 16,
23856 }, {
23857 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
23858 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
23859 .klen = 16,
23860 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
23861 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
23862 "\x79\x6f\x75\x21\x21\x21\x20\x72"
23863 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
23864 .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
23865 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
23866 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
23867 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
23868 .len = 32,
23869 }
23870};
23871
23872/*
23873 * FCrypt test vectors
23874 */
23875static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
23876 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
23877 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
23878 .klen = 8,
23879 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
23880 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
23881 .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
23882 .len = 8,
23883 }, {
23884 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
23885 .klen = 8,
23886 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
23887 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
23888 .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
23889 .len = 8,
23890 }, { /* From Arla */
23891 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
23892 .klen = 8,
23893 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23894 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
23895 .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
23896 "\xee\xac\x98\x62\x44\x51\xe4\x84"
23897 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
23898 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
23899 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
23900 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
23901 .len = 48,
23902 }, {
23903 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23904 .klen = 8,
23905 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
23906 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
23907 .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
23908 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
23909 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
23910 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
23911 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
23912 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
23913 .len = 48,
92a4c9fe
EB
23914 }
23915};
23916
23917/*
23918 * CAMELLIA test vectors.
23919 */
23920static const struct cipher_testvec camellia_tv_template[] = {
23921 {
23922 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23923 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23924 .klen = 16,
23925 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23926 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23927 .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
23928 "\x08\x57\x06\x56\x48\xea\xbe\x43",
23929 .len = 16,
23930 }, {
23931 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23932 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
23933 "\x00\x11\x22\x33\x44\x55\x66\x77",
23934 .klen = 24,
23935 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23936 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23937 .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
23938 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
23939 .len = 16,
23940 }, {
23941 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23942 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
23943 "\x00\x11\x22\x33\x44\x55\x66\x77"
23944 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
23945 .klen = 32,
23946 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
23947 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
23948 .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
23949 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
23950 .len = 16,
be6314b4 23951 }, { /* Generated with Crypto++ */
92a4c9fe
EB
23952 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
23953 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
23954 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
23955 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
0840605e 23956 .klen = 32,
92a4c9fe 23957 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
0840605e
JK
23958 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
23959 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
23960 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
23961 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
23962 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
be6314b4
JK
23963 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
23964 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
23965 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
23966 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
23967 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
23968 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
23969 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
23970 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
23971 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
23972 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
23973 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
23974 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
23975 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
23976 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
23977 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
23978 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
23979 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
23980 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
23981 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
23982 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
23983 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
23984 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
23985 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
23986 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
23987 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
23988 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
23989 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
23990 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
23991 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
23992 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
23993 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
23994 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
23995 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
23996 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
23997 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
23998 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
23999 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24000 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24001 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24002 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24003 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24004 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24005 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24006 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24007 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24008 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24009 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24010 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24011 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24012 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24013 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24014 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24015 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24016 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24017 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24018 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
23a836e8
JK
24019 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24020 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24021 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24022 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24023 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24024 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24025 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24026 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24027 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24028 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24029 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24030 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24031 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24032 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24033 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24034 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24035 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24036 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24037 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24038 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24039 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24040 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24041 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24042 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24043 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24044 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24045 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24046 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24047 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24048 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24049 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24050 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24051 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24052 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24053 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24054 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24055 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24056 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24057 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24058 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24059 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24060 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24061 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24062 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24063 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24064 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24065 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24066 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24067 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24068 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24069 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24070 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24071 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24072 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24073 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24074 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24075 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24076 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24077 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24078 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24079 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24080 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24081 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
92a4c9fe
EB
24082 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
24083 .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
24084 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
24085 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
24086 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
24087 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
24088 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
24089 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
24090 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
24091 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
24092 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
24093 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
24094 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
24095 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
24096 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
24097 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
24098 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
24099 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
24100 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
24101 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
24102 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
24103 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
24104 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
24105 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
24106 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
24107 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
24108 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
24109 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
24110 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
24111 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
24112 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
24113 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
24114 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
24115 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
24116 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
24117 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
24118 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
24119 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
24120 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
24121 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
24122 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
24123 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
24124 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
24125 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
24126 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
24127 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
24128 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
24129 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
24130 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
24131 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
24132 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
24133 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
24134 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
24135 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
24136 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
24137 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
24138 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
24139 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
24140 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
24141 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
24142 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
24143 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
24144 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
24145 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
24146 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
24147 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
24148 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
24149 "\xED\x28\x39\xE9\x63\xED\x41\x70"
24150 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
24151 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
24152 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
24153 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
24154 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
24155 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
24156 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
24157 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
24158 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
24159 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
24160 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
24161 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
24162 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
24163 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
24164 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
24165 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
24166 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
24167 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
24168 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
24169 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
24170 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
24171 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
24172 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
24173 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
24174 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
24175 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
24176 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
24177 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
24178 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
24179 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
24180 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
24181 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
24182 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
24183 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
24184 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
24185 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
24186 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
24187 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
24188 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
24189 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
24190 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
24191 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
24192 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
24193 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
24194 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
24195 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
24196 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
24197 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
24198 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
24199 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
24200 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
24201 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
24202 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
24203 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
24204 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
24205 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
24206 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
24207 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
24208 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
24209 .len = 1008,
92a4c9fe
EB
24210 },
24211};
24212
24213static const struct cipher_testvec camellia_cbc_tv_template[] = {
24214 {
24215 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
24216 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
24217 .klen = 16,
24218 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
24219 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
cdc69469
EB
24220 .iv_out = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24221 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
92a4c9fe
EB
24222 .ptext = "Single block msg",
24223 .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
24224 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
24225 .len = 16,
24226 }, {
24227 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
24228 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
24229 .klen = 16,
24230 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
24231 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
cdc69469
EB
24232 .iv_out = "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24233 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
92a4c9fe
EB
24234 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
24235 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
24236 "\x10\x11\x12\x13\x14\x15\x16\x17"
24237 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
24238 .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
24239 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
24240 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
24241 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
24242 .len = 32,
549595a0
JK
24243 }, { /* Generated with Crypto++ */
24244 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24245 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24246 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24247 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24248 .klen = 32,
92a4c9fe
EB
24249 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24250 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
cdc69469
EB
24251 .iv_out = "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
24252 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
92a4c9fe 24253 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
549595a0
JK
24254 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24255 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24256 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24257 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24258 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24259 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24260 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24261 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24262 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24263 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24264 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24265 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24266 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24267 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24268 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24269 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24270 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24271 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24272 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24273 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24274 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24275 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24276 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24277 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24278 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24279 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24280 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24281 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24282 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24283 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24284 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24285 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24286 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24287 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24288 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24289 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24290 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24291 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24292 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24293 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24294 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24295 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24296 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24297 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24298 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24299 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24300 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24301 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24302 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24303 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24304 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24305 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24306 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24307 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24308 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24309 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24310 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24311 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24312 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24313 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
23a836e8
JK
24314 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24315 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24316 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24317 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24318 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24319 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24320 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24321 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24322 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24323 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24324 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24325 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24326 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24327 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24328 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24329 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24330 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24331 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24332 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24333 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24334 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24335 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24336 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24337 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24338 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24339 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24340 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24341 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24342 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24343 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24344 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24345 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24346 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24347 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24348 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24349 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24350 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24351 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24352 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24353 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24354 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24355 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24356 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24357 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24358 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24359 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24360 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24361 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24362 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24363 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24364 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24365 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24366 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24367 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24368 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24369 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24370 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24371 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24372 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24373 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24374 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24375 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24376 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24377 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24378 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
92a4c9fe
EB
24379 .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
24380 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
24381 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
24382 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
24383 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
24384 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
24385 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
24386 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
24387 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
24388 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
24389 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
24390 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
24391 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
24392 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
24393 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
24394 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
24395 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
24396 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
24397 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
24398 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
24399 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
24400 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
24401 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
24402 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
24403 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
24404 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
24405 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
24406 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
24407 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
24408 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
24409 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
24410 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
24411 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
24412 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
24413 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
24414 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
24415 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
24416 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
24417 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
24418 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
24419 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
24420 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
24421 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
24422 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
24423 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
24424 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
24425 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
24426 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
24427 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
24428 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
24429 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
24430 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
24431 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
24432 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
24433 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
24434 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
24435 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
24436 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
24437 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
24438 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
24439 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
24440 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
24441 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
24442 "\x21\x41\x56\x72\x13\xE1\x86\x07"
24443 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
24444 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
24445 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
24446 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
24447 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
24448 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
24449 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
24450 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
24451 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
24452 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
24453 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
24454 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
24455 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
24456 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
24457 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
24458 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
24459 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
24460 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
24461 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
24462 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
24463 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
24464 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
24465 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
24466 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
24467 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
24468 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
24469 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
24470 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
24471 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
24472 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
24473 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
24474 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
24475 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
24476 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
24477 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
24478 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
24479 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
24480 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
24481 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
24482 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
24483 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
24484 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
24485 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
24486 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
24487 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
24488 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
24489 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
24490 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
24491 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
24492 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
24493 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
24494 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
24495 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
24496 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
24497 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
24498 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
24499 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
24500 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
24501 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
24502 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
24503 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
24504 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
24505 .len = 1008,
0840605e
JK
24506 },
24507};
24508
92a4c9fe 24509static const struct cipher_testvec camellia_ctr_tv_template[] = {
0840605e
JK
24510 { /* Generated with Crypto++ */
24511 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24512 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24513 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24514 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24515 .klen = 32,
24516 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24517 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
24518 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24519 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x83",
92a4c9fe
EB
24520 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
24521 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24522 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24523 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24524 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24525 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24526 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24527 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24528 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24529 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24530 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24531 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24532 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24533 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24534 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24535 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24536 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24537 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24538 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24539 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24540 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24541 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24542 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24543 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24544 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24545 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24546 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24547 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24548 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24549 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24550 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24551 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24552 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24553 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24554 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24555 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24556 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24557 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24558 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24559 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24560 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24561 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24562 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24563 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24564 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24565 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24566 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24567 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24568 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24569 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24570 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24571 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24572 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24573 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24574 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24575 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24576 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24577 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24578 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24579 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24580 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24581 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
24582 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
0840605e
JK
24583 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
24584 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
24585 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
24586 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
be6314b4
JK
24587 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
24588 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
24589 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
24590 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
24591 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
24592 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
24593 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
24594 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
24595 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
24596 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
24597 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
24598 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
24599 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
24600 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
24601 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
24602 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
24603 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
24604 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
24605 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
24606 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
24607 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
24608 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
24609 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
24610 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
24611 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
24612 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
24613 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
24614 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
24615 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
24616 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
24617 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
24618 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
24619 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
24620 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
24621 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
24622 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
24623 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
24624 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
24625 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
24626 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
24627 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
24628 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
24629 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
24630 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
24631 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
24632 "\x76\x44\x45\xF3\x24\x11\x57\x98"
24633 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
24634 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
24635 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
24636 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
24637 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
24638 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
24639 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
24640 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
24641 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
24642 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
24643 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
92a4c9fe
EB
24644 .len = 496,
24645 }, { /* Generated with Crypto++ */
24646 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24647 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24648 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24649 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24650 .klen = 32,
24651 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24652 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
e674dbc0
EB
24653 .iv_out = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
24654 "\xC4\x29\x8E\xF3\x35\x9A\xFF\xA4",
92a4c9fe 24655 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
0840605e
JK
24656 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24657 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24658 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24659 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
be6314b4
JK
24660 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
24661 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24662 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24663 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24664 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24665 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24666 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24667 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24668 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24669 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24670 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24671 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24672 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24673 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24674 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24675 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24676 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24677 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24678 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24679 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24680 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24681 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24682 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24683 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24684 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24685 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24686 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24687 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24688 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24689 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24690 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24691 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24692 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24693 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24694 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24695 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24696 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24697 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24698 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24699 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24700 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24701 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24702 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24703 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24704 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24705 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24706 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24707 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24708 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24709 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24710 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24711 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24712 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24713 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24714 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24715 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
92a4c9fe
EB
24716 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
24717 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24718 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24719 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24720 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24721 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24722 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24723 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24724 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24725 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24726 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24727 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24728 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24729 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24730 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24731 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24732 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24733 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24734 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
24735 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
24736 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
24737 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
24738 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
24739 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
24740 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
24741 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
24742 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
24743 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
24744 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
24745 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
24746 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
24747 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
24748 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
24749 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
24750 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
24751 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
24752 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
24753 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
24754 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
24755 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
24756 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
24757 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
24758 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
24759 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
24760 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
24761 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
24762 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
24763 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
24764 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
24765 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
24766 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
24767 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
24768 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
24769 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
24770 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
24771 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
24772 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
24773 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
24774 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
24775 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
24776 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
24777 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
24778 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
24779 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
24780 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
24781 "\xE4\x7B\x12",
24782 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
0840605e
JK
24783 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
24784 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
24785 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
24786 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
24787 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
be6314b4
JK
24788 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
24789 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
24790 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
24791 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
24792 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
24793 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
24794 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
24795 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
24796 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
24797 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
24798 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
24799 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
24800 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
24801 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
24802 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
24803 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
24804 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
24805 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
24806 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
24807 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
24808 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
24809 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
24810 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
24811 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
24812 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
24813 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
24814 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
24815 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
24816 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
24817 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
24818 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
24819 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
24820 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
24821 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
24822 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
24823 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
24824 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
24825 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
24826 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
24827 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
24828 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
24829 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
24830 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
24831 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
24832 "\x76\x44\x45\xF3\x24\x11\x57\x98"
24833 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
24834 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
24835 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
24836 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
24837 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
24838 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
24839 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
24840 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
24841 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
24842 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
24843 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
23a836e8
JK
24844 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
24845 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
24846 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
24847 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
24848 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
24849 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
24850 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
24851 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
24852 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
24853 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
24854 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
24855 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
24856 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
24857 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
24858 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
24859 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
24860 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
24861 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
24862 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
24863 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
24864 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
24865 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
24866 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
24867 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
24868 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
24869 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
24870 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
24871 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
24872 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
24873 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
24874 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
24875 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
24876 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
24877 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
24878 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
24879 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
24880 "\x00\x70\x12\x56\x56\x50\xAD\x14"
24881 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
24882 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
24883 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
24884 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
24885 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
24886 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
24887 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
24888 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
24889 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
24890 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
24891 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
24892 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
24893 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
24894 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
24895 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
24896 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
24897 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
24898 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
24899 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
24900 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
24901 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
24902 "\x74\x28\x9D\x05\x30\x20\x62\x41"
24903 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
24904 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
24905 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
24906 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
24907 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
24908 "\xF1\x6B\xD9",
92a4c9fe 24909 .len = 1011,
92a4c9fe
EB
24910 }, { /* Generated with Crypto++ */
24911 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
24912 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
24913 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
24914 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
24915 .klen = 32,
24916 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
24917 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
e674dbc0
EB
24918 .iv_out = "\x00\x00\x00\x00\x00\x00\x00\x00"
24919 "\x00\x00\x00\x00\x00\x00\x00\x3C",
92a4c9fe 24920 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
0840605e
JK
24921 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
24922 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
24923 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
24924 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
24925 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
be6314b4
JK
24926 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
24927 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
24928 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
24929 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
24930 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
24931 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
24932 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
24933 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
24934 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
24935 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
24936 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
24937 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
24938 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
24939 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
24940 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
24941 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
24942 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
24943 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
24944 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
24945 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
24946 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
24947 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
24948 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
24949 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
24950 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
24951 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
24952 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
24953 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
24954 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
24955 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
24956 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
24957 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
24958 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
24959 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
24960 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
24961 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
24962 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
24963 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
24964 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
24965 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
24966 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
24967 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
24968 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
24969 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
24970 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
24971 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
24972 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
24973 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
24974 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
24975 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
24976 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
24977 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
24978 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
24979 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
24980 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
24981 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
23a836e8
JK
24982 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
24983 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
24984 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
24985 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
24986 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
24987 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
24988 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
24989 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
24990 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
24991 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
24992 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
24993 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
24994 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
24995 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
24996 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
24997 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
24998 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
24999 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
25000 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
25001 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
25002 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
25003 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
25004 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
25005 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
25006 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
25007 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
25008 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
25009 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
25010 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
25011 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
25012 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
25013 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
25014 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
25015 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
25016 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
25017 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
25018 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
25019 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
25020 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
25021 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
25022 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
25023 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
25024 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
25025 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
25026 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
25027 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
25028 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
25029 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
25030 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
25031 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
25032 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
25033 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
25034 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
25035 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
25036 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
25037 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
25038 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
25039 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
25040 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
25041 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
25042 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
25043 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
25044 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
92a4c9fe
EB
25045 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
25046 .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
549595a0
JK
25047 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
25048 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
25049 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
25050 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
25051 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
25052 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
25053 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
25054 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
25055 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
25056 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
25057 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
25058 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
25059 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
25060 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
25061 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
25062 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
25063 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
25064 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
25065 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
25066 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
25067 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
25068 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
25069 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
25070 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
25071 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
25072 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
25073 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
25074 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
25075 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
25076 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
25077 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
25078 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
25079 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
25080 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
25081 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
25082 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
25083 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
25084 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
25085 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
25086 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
25087 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
25088 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
25089 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
25090 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
25091 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
25092 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
25093 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
25094 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
25095 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
25096 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
25097 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
25098 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
25099 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
25100 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
25101 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
25102 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
25103 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
25104 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
25105 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
25106 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
23a836e8
JK
25107 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
25108 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
25109 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
25110 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
25111 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
25112 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
25113 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
25114 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
25115 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
25116 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
25117 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
25118 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
25119 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
25120 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
25121 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
25122 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
25123 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
25124 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
25125 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
25126 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
25127 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
25128 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
25129 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
25130 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
25131 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
25132 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
25133 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
25134 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
25135 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
25136 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
25137 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
25138 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
25139 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
25140 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
25141 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
25142 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
25143 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
25144 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
25145 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
25146 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
25147 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
25148 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
25149 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
25150 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
25151 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
25152 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
25153 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
25154 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
25155 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
25156 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
25157 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
25158 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
25159 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
25160 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
25161 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
25162 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
25163 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
25164 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
25165 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
25166 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
25167 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
25168 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
25169 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
25170 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
25171 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
92a4c9fe 25172 .len = 1008,
0840605e 25173 },
0840605e
JK
25174};
25175
92a4c9fe 25176static const struct cipher_testvec camellia_lrw_tv_template[] = {
0840605e
JK
25177 /* Generated from AES-LRW test vectors */
25178 {
25179 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
25180 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
25181 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
25182 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
25183 .klen = 32,
25184 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25185 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 25186 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0840605e 25187 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe 25188 .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
0840605e 25189 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
92a4c9fe 25190 .len = 16,
0840605e
JK
25191 }, {
25192 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
25193 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
25194 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
25195 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
25196 .klen = 32,
25197 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25198 "\x00\x00\x00\x00\x00\x00\x00\x02",
92a4c9fe 25199 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0840605e 25200 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe 25201 .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
0840605e 25202 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
92a4c9fe 25203 .len = 16,
0840605e
JK
25204 }, {
25205 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
25206 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
25207 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
25208 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
25209 .klen = 32,
25210 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25211 "\x00\x00\x00\x02\x00\x00\x00\x00",
92a4c9fe 25212 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
0840605e 25213 "\x38\x39\x41\x42\x43\x44\x45\x46",
92a4c9fe 25214 .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
0840605e 25215 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
92a4c9fe 25216 .len = 16,
0840605e
JK
25217 }, {
25218 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
25219 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
92a4c9fe
EB
25220 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
25221 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
25222 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
25223 .klen = 40,
25224 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25225 "\x00\x00\x00\x00\x00\x00\x00\x01",
25226 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25227 "\x38\x39\x41\x42\x43\x44\x45\x46",
25228 .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
25229 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
25230 .len = 16,
25231 }, {
25232 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
25233 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
25234 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
25235 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
25236 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
25237 .klen = 40,
25238 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25239 "\x00\x00\x00\x02\x00\x00\x00\x00",
25240 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25241 "\x38\x39\x41\x42\x43\x44\x45\x46",
25242 .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
25243 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
25244 .len = 16,
25245 }, {
25246 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25247 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25248 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25249 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25250 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25251 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25252 .klen = 48,
25253 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25254 "\x00\x00\x00\x00\x00\x00\x00\x01",
25255 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25256 "\x38\x39\x41\x42\x43\x44\x45\x46",
25257 .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
25258 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
25259 .len = 16,
25260 }, {
25261 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
25262 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
25263 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
25264 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
25265 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
25266 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
25267 .klen = 48,
25268 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25269 "\x00\x00\x00\x02\x00\x00\x00\x00",
25270 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
25271 "\x38\x39\x41\x42\x43\x44\x45\x46",
25272 .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
25273 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
25274 .len = 16,
25275 }, {
25276 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
25277 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
25278 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
25279 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
25280 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
25281 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
25282 .klen = 48,
25283 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25284 "\x00\x00\x00\x00\x00\x00\x00\x01",
25285 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
0840605e
JK
25286 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
25287 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
25288 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
25289 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
25290 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
25291 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
25292 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
25293 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
25294 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
25295 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
25296 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
25297 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
25298 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
25299 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
25300 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
25301 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
25302 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
25303 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
25304 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
25305 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
25306 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
25307 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
25308 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
25309 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
25310 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
25311 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
25312 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
25313 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
25314 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
25315 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
25316 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
25317 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
25318 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
25319 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
25320 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
25321 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
25322 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
25323 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
25324 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
25325 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
25326 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
25327 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
25328 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
25329 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
25330 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
25331 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
25332 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
25333 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
25334 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
25335 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
25336 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
25337 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
25338 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
25339 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
25340 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
25341 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
25342 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
25343 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
25344 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
25345 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
25346 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
25347 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
25348 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
92a4c9fe
EB
25349 .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
25350 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
25351 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
25352 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
25353 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
25354 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
25355 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
25356 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
25357 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
25358 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
25359 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
25360 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
25361 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
25362 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
25363 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
25364 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
25365 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
25366 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
25367 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
25368 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
25369 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
25370 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
25371 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
25372 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
25373 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
25374 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
25375 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
25376 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
25377 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
25378 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
25379 "\xed\x14\xa9\x57\x19\x63\x40\x04"
25380 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
25381 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
25382 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
25383 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
25384 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
25385 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
25386 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
25387 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
25388 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
25389 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
25390 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
25391 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
25392 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
25393 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
25394 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
25395 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
25396 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
25397 "\x35\xa5\x83\x04\x84\x01\x99\x56"
25398 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
25399 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
25400 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
25401 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
25402 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
25403 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
25404 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
25405 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
25406 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
25407 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
25408 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
25409 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
25410 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
25411 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
25412 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
25413 .len = 512,
0840605e
JK
25414 },
25415};
25416
92a4c9fe 25417static const struct cipher_testvec camellia_xts_tv_template[] = {
0840605e
JK
25418 /* Generated from AES-XTS test vectors */
25419 {
25420 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
25421 "\x00\x00\x00\x00\x00\x00\x00\x00"
25422 "\x00\x00\x00\x00\x00\x00\x00\x00"
25423 "\x00\x00\x00\x00\x00\x00\x00\x00",
25424 .klen = 32,
25425 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25426 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25427 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
0840605e
JK
25428 "\x00\x00\x00\x00\x00\x00\x00\x00"
25429 "\x00\x00\x00\x00\x00\x00\x00\x00"
25430 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25431 .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
0840605e
JK
25432 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
25433 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
25434 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
92a4c9fe 25435 .len = 32,
0840605e
JK
25436 }, {
25437 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
25438 "\x11\x11\x11\x11\x11\x11\x11\x11"
25439 "\x22\x22\x22\x22\x22\x22\x22\x22"
25440 "\x22\x22\x22\x22\x22\x22\x22\x22",
25441 .klen = 32,
25442 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25443 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25444 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
0840605e
JK
25445 "\x44\x44\x44\x44\x44\x44\x44\x44"
25446 "\x44\x44\x44\x44\x44\x44\x44\x44"
25447 "\x44\x44\x44\x44\x44\x44\x44\x44",
92a4c9fe 25448 .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
0840605e
JK
25449 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
25450 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
25451 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
92a4c9fe 25452 .len = 32,
0840605e
JK
25453 }, {
25454 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
25455 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
25456 "\x22\x22\x22\x22\x22\x22\x22\x22"
25457 "\x22\x22\x22\x22\x22\x22\x22\x22",
25458 .klen = 32,
25459 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
25460 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25461 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
0840605e
JK
25462 "\x44\x44\x44\x44\x44\x44\x44\x44"
25463 "\x44\x44\x44\x44\x44\x44\x44\x44"
25464 "\x44\x44\x44\x44\x44\x44\x44\x44",
92a4c9fe 25465 .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
0840605e
JK
25466 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
25467 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
25468 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
92a4c9fe 25469 .len = 32,
0840605e
JK
25470 }, {
25471 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
25472 "\x23\x53\x60\x28\x74\x71\x35\x26"
25473 "\x31\x41\x59\x26\x53\x58\x97\x93"
25474 "\x23\x84\x62\x64\x33\x83\x27\x95",
25475 .klen = 32,
25476 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25477 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25478 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
0840605e
JK
25479 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25480 "\x10\x11\x12\x13\x14\x15\x16\x17"
25481 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25482 "\x20\x21\x22\x23\x24\x25\x26\x27"
25483 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25484 "\x30\x31\x32\x33\x34\x35\x36\x37"
25485 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25486 "\x40\x41\x42\x43\x44\x45\x46\x47"
25487 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25488 "\x50\x51\x52\x53\x54\x55\x56\x57"
25489 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25490 "\x60\x61\x62\x63\x64\x65\x66\x67"
25491 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25492 "\x70\x71\x72\x73\x74\x75\x76\x77"
25493 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25494 "\x80\x81\x82\x83\x84\x85\x86\x87"
25495 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25496 "\x90\x91\x92\x93\x94\x95\x96\x97"
25497 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25498 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25499 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25500 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25501 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25502 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25503 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25504 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25505 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25506 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25507 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25508 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25509 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
25510 "\x00\x01\x02\x03\x04\x05\x06\x07"
25511 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25512 "\x10\x11\x12\x13\x14\x15\x16\x17"
25513 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25514 "\x20\x21\x22\x23\x24\x25\x26\x27"
25515 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25516 "\x30\x31\x32\x33\x34\x35\x36\x37"
25517 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25518 "\x40\x41\x42\x43\x44\x45\x46\x47"
25519 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25520 "\x50\x51\x52\x53\x54\x55\x56\x57"
25521 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25522 "\x60\x61\x62\x63\x64\x65\x66\x67"
25523 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25524 "\x70\x71\x72\x73\x74\x75\x76\x77"
25525 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25526 "\x80\x81\x82\x83\x84\x85\x86\x87"
25527 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25528 "\x90\x91\x92\x93\x94\x95\x96\x97"
25529 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25530 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25531 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25532 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25533 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25534 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25535 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25536 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25537 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25538 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25539 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25540 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25541 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
25542 .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
25543 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
25544 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
25545 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
25546 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
25547 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
25548 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
25549 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
25550 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
25551 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
25552 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
25553 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
25554 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
25555 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
25556 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
25557 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
25558 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
25559 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
25560 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
25561 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
25562 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
25563 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
25564 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
25565 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
25566 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
25567 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
25568 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
25569 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
25570 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
25571 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
25572 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
25573 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
25574 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
25575 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
25576 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
25577 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
25578 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
25579 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
25580 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
25581 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
25582 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
25583 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
25584 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
25585 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
25586 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
25587 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
25588 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
25589 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
25590 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
25591 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
25592 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
25593 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
25594 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
25595 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
25596 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
25597 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
25598 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
25599 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
25600 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
25601 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
25602 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
25603 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
25604 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
25605 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
25606 .len = 512,
0840605e
JK
25607 }, {
25608 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
25609 "\x23\x53\x60\x28\x74\x71\x35\x26"
25610 "\x62\x49\x77\x57\x24\x70\x93\x69"
25611 "\x99\x59\x57\x49\x66\x96\x76\x27"
25612 "\x31\x41\x59\x26\x53\x58\x97\x93"
25613 "\x23\x84\x62\x64\x33\x83\x27\x95"
25614 "\x02\x88\x41\x97\x16\x93\x99\x37"
25615 "\x51\x05\x82\x09\x74\x94\x45\x92",
25616 .klen = 64,
25617 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
25618 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25619 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
0840605e
JK
25620 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25621 "\x10\x11\x12\x13\x14\x15\x16\x17"
25622 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25623 "\x20\x21\x22\x23\x24\x25\x26\x27"
25624 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25625 "\x30\x31\x32\x33\x34\x35\x36\x37"
25626 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25627 "\x40\x41\x42\x43\x44\x45\x46\x47"
25628 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25629 "\x50\x51\x52\x53\x54\x55\x56\x57"
25630 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25631 "\x60\x61\x62\x63\x64\x65\x66\x67"
25632 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25633 "\x70\x71\x72\x73\x74\x75\x76\x77"
25634 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25635 "\x80\x81\x82\x83\x84\x85\x86\x87"
25636 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25637 "\x90\x91\x92\x93\x94\x95\x96\x97"
25638 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25639 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25640 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25641 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25642 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25643 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25644 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25645 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25646 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25647 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25648 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25649 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25650 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
25651 "\x00\x01\x02\x03\x04\x05\x06\x07"
25652 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25653 "\x10\x11\x12\x13\x14\x15\x16\x17"
25654 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25655 "\x20\x21\x22\x23\x24\x25\x26\x27"
25656 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25657 "\x30\x31\x32\x33\x34\x35\x36\x37"
25658 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25659 "\x40\x41\x42\x43\x44\x45\x46\x47"
25660 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25661 "\x50\x51\x52\x53\x54\x55\x56\x57"
25662 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25663 "\x60\x61\x62\x63\x64\x65\x66\x67"
25664 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25665 "\x70\x71\x72\x73\x74\x75\x76\x77"
25666 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25667 "\x80\x81\x82\x83\x84\x85\x86\x87"
25668 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25669 "\x90\x91\x92\x93\x94\x95\x96\x97"
25670 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25671 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25672 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25673 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25674 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25675 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25676 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25677 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25678 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25679 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25680 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25681 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25682 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
92a4c9fe
EB
25683 .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
25684 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
25685 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
25686 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
25687 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
25688 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
25689 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
25690 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
25691 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
25692 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
25693 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
25694 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
25695 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
25696 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
25697 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
25698 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
25699 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
25700 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
25701 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
25702 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
25703 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
25704 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
25705 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
25706 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
25707 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
25708 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
25709 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
25710 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
25711 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
25712 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
25713 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
25714 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
25715 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
25716 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
25717 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
25718 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
25719 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
25720 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
25721 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
25722 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
25723 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
25724 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
25725 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
25726 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
25727 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
25728 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
25729 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
25730 "\x21\x17\xf8\x59\x15\x24\x64\x22"
25731 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
25732 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
25733 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
25734 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
25735 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
25736 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
25737 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
25738 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
25739 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
25740 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
25741 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
25742 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
25743 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
25744 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
25745 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
25746 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
25747 .len = 512,
0840605e 25748 },
da7f033d
HX
25749};
25750
25751/*
25752 * SEED test vectors
25753 */
92a4c9fe 25754static const struct cipher_testvec seed_tv_template[] = {
da7f033d
HX
25755 {
25756 .key = zeroed_string,
25757 .klen = 16,
92a4c9fe 25758 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
da7f033d 25759 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
92a4c9fe 25760 .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
da7f033d 25761 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
92a4c9fe 25762 .len = 16,
da7f033d
HX
25763 }, {
25764 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
25765 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
25766 .klen = 16,
92a4c9fe
EB
25767 .ptext = zeroed_string,
25768 .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
da7f033d 25769 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
92a4c9fe 25770 .len = 16,
da7f033d
HX
25771 }, {
25772 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
25773 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
25774 .klen = 16,
92a4c9fe 25775 .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
da7f033d 25776 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
92a4c9fe 25777 .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
da7f033d 25778 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
92a4c9fe 25779 .len = 16,
da7f033d
HX
25780 }, {
25781 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
25782 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
25783 .klen = 16,
92a4c9fe 25784 .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
da7f033d 25785 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
92a4c9fe 25786 .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
da7f033d 25787 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
92a4c9fe 25788 .len = 16,
da7f033d
HX
25789 }
25790};
25791
92a4c9fe 25792static const struct cipher_testvec salsa20_stream_tv_template[] = {
da7f033d
HX
25793 /*
25794 * Testvectors from verified.test-vectors submitted to ECRYPT.
25795 * They are truncated to size 39, 64, 111, 129 to test a variety
25796 * of input length.
25797 */
25798 { /* Set 3, vector 0 */
25799 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
25800 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
25801 .klen = 16,
25802 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25803 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
da7f033d
HX
25804 "\x00\x00\x00\x00\x00\x00\x00\x00"
25805 "\x00\x00\x00\x00\x00\x00\x00\x00"
25806 "\x00\x00\x00\x00\x00\x00\x00\x00"
25807 "\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25808 .ctext = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
da7f033d
HX
25809 "\x68\x02\x41\x0C\x68\x86\x88\x89"
25810 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
25811 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
25812 "\x58\x3F\x52\x79\x70\xEB\xC1",
92a4c9fe 25813 .len = 39,
da7f033d
HX
25814 }, { /* Set 5, vector 0 */
25815 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
25816 "\x00\x00\x00\x00\x00\x00\x00\x00",
25817 .klen = 16,
25818 .iv = "\x80\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25819 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
da7f033d
HX
25820 "\x00\x00\x00\x00\x00\x00\x00\x00"
25821 "\x00\x00\x00\x00\x00\x00\x00\x00"
25822 "\x00\x00\x00\x00\x00\x00\x00\x00"
25823 "\x00\x00\x00\x00\x00\x00\x00\x00"
25824 "\x00\x00\x00\x00\x00\x00\x00\x00"
25825 "\x00\x00\x00\x00\x00\x00\x00\x00"
25826 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25827 .ctext = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
da7f033d
HX
25828 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
25829 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
25830 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
25831 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
25832 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
25833 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
25834 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
92a4c9fe 25835 .len = 64,
da7f033d
HX
25836 }, { /* Set 3, vector 27 */
25837 .key = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
25838 "\x23\x24\x25\x26\x27\x28\x29\x2A"
25839 "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
25840 "\x33\x34\x35\x36\x37\x38\x39\x3A",
25841 .klen = 32,
25842 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25843 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
da7f033d
HX
25844 "\x00\x00\x00\x00\x00\x00\x00\x00"
25845 "\x00\x00\x00\x00\x00\x00\x00\x00"
25846 "\x00\x00\x00\x00\x00\x00\x00\x00"
25847 "\x00\x00\x00\x00\x00\x00\x00\x00"
25848 "\x00\x00\x00\x00\x00\x00\x00\x00"
25849 "\x00\x00\x00\x00\x00\x00\x00\x00"
25850 "\x00\x00\x00\x00\x00\x00\x00\x00"
25851 "\x00\x00\x00\x00\x00\x00\x00\x00"
25852 "\x00\x00\x00\x00\x00\x00\x00\x00"
25853 "\x00\x00\x00\x00\x00\x00\x00\x00"
25854 "\x00\x00\x00\x00\x00\x00\x00\x00"
25855 "\x00\x00\x00\x00\x00\x00\x00\x00"
25856 "\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25857 .ctext = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
da7f033d
HX
25858 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
25859 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
25860 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
25861 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
25862 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
25863 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
25864 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
25865 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
25866 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
25867 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
25868 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
25869 "\x95\x46\x45\x54\xE9\x75\x03\x08"
25870 "\x44\xAF\xE5\x8A\x81\x12\x09",
92a4c9fe 25871 .len = 111,
da7f033d
HX
25872 }, { /* Set 5, vector 27 */
25873 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
25874 "\x00\x00\x00\x00\x00\x00\x00\x00"
25875 "\x00\x00\x00\x00\x00\x00\x00\x00"
25876 "\x00\x00\x00\x00\x00\x00\x00\x00",
25877 .klen = 32,
25878 .iv = "\x00\x00\x00\x10\x00\x00\x00\x00",
92a4c9fe 25879 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
da7f033d
HX
25880 "\x00\x00\x00\x00\x00\x00\x00\x00"
25881 "\x00\x00\x00\x00\x00\x00\x00\x00"
25882 "\x00\x00\x00\x00\x00\x00\x00\x00"
25883 "\x00\x00\x00\x00\x00\x00\x00\x00"
25884 "\x00\x00\x00\x00\x00\x00\x00\x00"
25885 "\x00\x00\x00\x00\x00\x00\x00\x00"
25886 "\x00\x00\x00\x00\x00\x00\x00\x00"
25887 "\x00\x00\x00\x00\x00\x00\x00\x00"
25888 "\x00\x00\x00\x00\x00\x00\x00\x00"
25889 "\x00\x00\x00\x00\x00\x00\x00\x00"
25890 "\x00\x00\x00\x00\x00\x00\x00\x00"
25891 "\x00\x00\x00\x00\x00\x00\x00\x00"
25892 "\x00\x00\x00\x00\x00\x00\x00\x00"
25893 "\x00\x00\x00\x00\x00\x00\x00\x00"
25894 "\x00\x00\x00\x00\x00\x00\x00\x00"
25895 "\x00",
92a4c9fe 25896 .ctext = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
da7f033d
HX
25897 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
25898 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
25899 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
25900 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
25901 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
25902 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
25903 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
25904 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
25905 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
25906 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
25907 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
25908 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
25909 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
25910 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
25911 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
25912 "\x5A",
92a4c9fe 25913 .len = 129,
da7f033d
HX
25914 }, { /* large test vector generated using Crypto++ */
25915 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
25916 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25917 "\x10\x11\x12\x13\x14\x15\x16\x17"
25918 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
25919 .klen = 32,
25920 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
25921 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 25922 .ptext =
da7f033d
HX
25923 "\x00\x01\x02\x03\x04\x05\x06\x07"
25924 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
25925 "\x10\x11\x12\x13\x14\x15\x16\x17"
25926 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
25927 "\x20\x21\x22\x23\x24\x25\x26\x27"
25928 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
25929 "\x30\x31\x32\x33\x34\x35\x36\x37"
25930 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
25931 "\x40\x41\x42\x43\x44\x45\x46\x47"
25932 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
25933 "\x50\x51\x52\x53\x54\x55\x56\x57"
25934 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
25935 "\x60\x61\x62\x63\x64\x65\x66\x67"
25936 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
25937 "\x70\x71\x72\x73\x74\x75\x76\x77"
25938 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
25939 "\x80\x81\x82\x83\x84\x85\x86\x87"
25940 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
25941 "\x90\x91\x92\x93\x94\x95\x96\x97"
25942 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
25943 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
25944 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
25945 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
25946 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
25947 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
25948 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
25949 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
25950 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
25951 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
25952 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
25953 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
25954 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
25955 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
25956 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
25957 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
25958 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
25959 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
25960 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
25961 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
25962 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
25963 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
25964 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
25965 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
25966 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
25967 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
25968 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
25969 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
25970 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
25971 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
25972 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
25973 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
25974 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
25975 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
25976 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
25977 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
25978 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
25979 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
25980 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
25981 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
25982 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
25983 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
25984 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
25985 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
25986 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
25987 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
25988 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
25989 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
25990 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
25991 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
25992 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
25993 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
25994 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
25995 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
25996 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
25997 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
25998 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
25999 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
26000 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
26001 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
26002 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
26003 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
26004 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
26005 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
26006 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
26007 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
26008 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
26009 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
26010 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
26011 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
26012 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
26013 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
26014 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
26015 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
26016 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
26017 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
26018 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
26019 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
26020 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
26021 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
26022 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
26023 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
26024 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
26025 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
26026 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
26027 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
26028 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
26029 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
26030 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
26031 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
26032 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
26033 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
26034 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
26035 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
26036 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
26037 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
26038 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
26039 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
26040 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
26041 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
26042 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
26043 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
26044 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
26045 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
26046 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
26047 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
26048 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
26049 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
26050 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
26051 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
26052 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
26053 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
26054 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
26055 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
26056 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
26057 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
26058 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
26059 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
26060 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
26061 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
26062 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
26063 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
26064 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
26065 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
26066 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
26067 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
26068 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
26069 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
26070 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
26071 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
26072 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
26073 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
26074 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
26075 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
26076 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
26077 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
26078 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
26079 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
26080 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
26081 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
26082 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
26083 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
26084 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
26085 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
26086 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
26087 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
26088 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
26089 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
26090 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
26091 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
26092 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
26093 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
26094 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
26095 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
26096 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
26097 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
26098 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
26099 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
26100 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
26101 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
26102 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
26103 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
26104 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
26105 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
26106 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
26107 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
26108 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
26109 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
26110 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
26111 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
26112 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
26113 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
26114 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
26115 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
26116 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
26117 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
26118 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
26119 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
26120 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
26121 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
26122 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
26123 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
26124 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
26125 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
26126 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
26127 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
26128 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
26129 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
26130 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
26131 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
26132 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
26133 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
26134 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
26135 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
26136 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
26137 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
26138 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
26139 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
26140 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
26141 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
26142 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
26143 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
26144 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
26145 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
26146 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
26147 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
26148 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
26149 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
26150 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
26151 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
26152 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
26153 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
26154 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
26155 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
26156 "\x38\x47\x56\x65\x74\x83\x92\xa1"
26157 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
26158 "\x28\x37\x46\x55\x64\x73\x82\x91"
26159 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
26160 "\x18\x27\x36\x45\x54\x63\x72\x81"
26161 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
26162 "\x08\x17\x26\x35\x44\x53\x62\x71"
26163 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
26164 "\xf8\x07\x16\x25\x34\x43\x52\x61"
26165 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
26166 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
26167 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
26168 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
26169 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
26170 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
26171 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
26172 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
26173 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
26174 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
26175 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
26176 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
26177 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
26178 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
26179 "\x00\x11\x22\x33\x44\x55\x66\x77"
26180 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
26181 "\x10\x21\x32\x43\x54\x65\x76\x87"
26182 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
26183 "\x20\x31\x42\x53\x64\x75\x86\x97"
26184 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
26185 "\x30\x41\x52\x63\x74\x85\x96\xa7"
26186 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
26187 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
26188 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
26189 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
26190 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
26191 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
26192 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
26193 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
26194 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
26195 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
26196 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
26197 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
26198 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
26199 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
26200 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
26201 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
26202 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
26203 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
26204 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
26205 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
26206 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
26207 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
26208 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
26209 "\xf0\x01\x12\x23\x34\x45\x56\x67"
26210 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
26211 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
26212 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
26213 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
26214 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
26215 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
26216 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
26217 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
26218 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
26219 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
26220 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
26221 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
26222 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
26223 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
26224 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
26225 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
26226 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
26227 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
26228 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
26229 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
26230 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
26231 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
26232 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
26233 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
26234 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
26235 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
26236 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
26237 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
26238 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
26239 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
26240 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
26241 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
26242 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
26243 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
26244 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
26245 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
26246 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
26247 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
26248 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
26249 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
26250 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
26251 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
26252 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
26253 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
26254 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
26255 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
26256 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
26257 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
26258 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
26259 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
26260 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
26261 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
26262 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
26263 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
26264 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
26265 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
26266 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
26267 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
26268 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
26269 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
26270 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
26271 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
26272 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
26273 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
26274 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
26275 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
26276 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
26277 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
26278 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
26279 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
26280 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
26281 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
26282 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
26283 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
26284 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
26285 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
26286 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
26287 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
26288 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
26289 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
26290 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
26291 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
26292 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
26293 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
26294 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
26295 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
26296 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
26297 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
26298 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
26299 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
26300 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
26301 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
26302 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
26303 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
26304 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
26305 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
26306 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
26307 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
26308 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
26309 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
26310 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
26311 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
26312 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
26313 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
26314 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
26315 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
26316 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
26317 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
26318 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
26319 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
26320 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
26321 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
26322 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
26323 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
26324 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
26325 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
26326 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
26327 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
26328 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
26329 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
26330 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
26331 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
26332 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
26333 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
26334 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
26335 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
26336 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
26337 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
26338 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
26339 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
26340 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
26341 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
26342 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
26343 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
26344 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
26345 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
26346 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
26347 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
26348 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
26349 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
26350 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
26351 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
26352 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
26353 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
26354 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
26355 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
26356 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
26357 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
26358 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
26359 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
26360 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
26361 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
26362 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
26363 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
26364 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
26365 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
26366 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
26367 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
26368 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
26369 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
26370 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
26371 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
26372 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
26373 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
26374 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
26375 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
26376 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
26377 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
26378 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
26379 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
26380 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
26381 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
26382 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
26383 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
26384 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
26385 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
26386 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
26387 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
26388 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
26389 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
26390 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
26391 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
26392 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
26393 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
26394 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
26395 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
26396 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
26397 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
26398 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
26399 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
26400 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
26401 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
26402 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
26403 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
26404 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
26405 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
26406 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
26407 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
26408 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
26409 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
26410 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
26411 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
26412 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
26413 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
26414 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
26415 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
26416 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
26417 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
26418 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
26419 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
26420 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
26421 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
26422 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
26423 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
26424 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
26425 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
26426 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
26427 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
26428 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
26429 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
26430 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
26431 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
26432 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
26433 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
26434 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
26435 "\x00\x21\x42\x63",
92a4c9fe 26436 .ctext =
da7f033d
HX
26437 "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
26438 "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
26439 "\x29\x01\xce\x98\x55\x53\xf9\x0c"
26440 "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
26441 "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
26442 "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
26443 "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
26444 "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
26445 "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
26446 "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
26447 "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
26448 "\xbb\xde\x56\x86\xab\x65\x21\x30"
26449 "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
26450 "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
26451 "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
26452 "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
26453 "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
26454 "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
26455 "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
26456 "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
26457 "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
26458 "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
26459 "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
26460 "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
26461 "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
26462 "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
26463 "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
26464 "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
26465 "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
26466 "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
26467 "\x45\xff\x3f\xce\x55\xf6\x95\x10"
26468 "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
26469 "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
26470 "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
26471 "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
26472 "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
26473 "\x62\x08\x18\x7a\x25\x49\x28\xac"
26474 "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
26475 "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
26476 "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
26477 "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
26478 "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
26479 "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
26480 "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
26481 "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
26482 "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
26483 "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
26484 "\x33\xee\x14\x19\x22\x52\x89\xa7"
26485 "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
26486 "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
26487 "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
26488 "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
26489 "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
26490 "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
26491 "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
26492 "\x04\x07\x08\x52\xe6\xc0\xda\x93"
26493 "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
26494 "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
26495 "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
26496 "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
26497 "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
26498 "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
26499 "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
26500 "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
26501 "\x5a\x90\xae\x75\x0a\x74\x18\x89"
26502 "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
26503 "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
26504 "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
26505 "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
26506 "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
26507 "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
26508 "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
26509 "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
26510 "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
26511 "\x49\x97\x33\xab\x36\x14\x0a\x70"
26512 "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
26513 "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
26514 "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
26515 "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
26516 "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
26517 "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
26518 "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
26519 "\x47\x13\x28\x73\x3c\xbb\x00\x90"
26520 "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
26521 "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
26522 "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
26523 "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
26524 "\xad\x04\x07\xae\x22\x90\x4a\x93"
26525 "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
26526 "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
26527 "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
26528 "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
26529 "\x53\xf9\x80\x10\xde\x80\xa2\x41"
26530 "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
26531 "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
26532 "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
26533 "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
26534 "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
26535 "\xde\xff\x07\x44\xdd\x56\x1b\xad"
26536 "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
26537 "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
26538 "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
26539 "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
26540 "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
26541 "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
26542 "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
26543 "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
26544 "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
26545 "\x23\xf8\x66\x18\x14\x28\x34\x0f"
26546 "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
26547 "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
26548 "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
26549 "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
26550 "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
26551 "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
26552 "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
26553 "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
26554 "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
26555 "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
26556 "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
26557 "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
26558 "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
26559 "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
26560 "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
26561 "\xca\x8e\x61\x87\xde\xad\x80\xd2"
26562 "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
26563 "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
26564 "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
26565 "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
26566 "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
26567 "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
26568 "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
26569 "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
26570 "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
26571 "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
26572 "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
26573 "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
26574 "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
26575 "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
26576 "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
26577 "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
26578 "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
26579 "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
26580 "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
26581 "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
26582 "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
26583 "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
26584 "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
26585 "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
26586 "\x54\xda\x24\x6a\xc4\x41\x65\x46"
26587 "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
26588 "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
26589 "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
26590 "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
26591 "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
26592 "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
26593 "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
26594 "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
26595 "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
26596 "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
26597 "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
26598 "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
26599 "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
26600 "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
26601 "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
26602 "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
26603 "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
26604 "\xef\xcc\xa7\xec\xab\x43\x09\x18"
26605 "\xd3\xab\x68\xd1\x07\x99\x44\x47"
26606 "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
26607 "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
26608 "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
26609 "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
26610 "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
26611 "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
26612 "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
26613 "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
26614 "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
26615 "\x71\x6e\x9f\x58\x15\x67\x72\x87"
26616 "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
26617 "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
26618 "\xba\x41\x54\xac\xf0\xfc\x59\x12"
26619 "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
26620 "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
26621 "\x2e\x53\x49\x97\x94\x33\xae\x40"
26622 "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
26623 "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
26624 "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
26625 "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
26626 "\xce\x87\xad\xcc\x72\x05\x00\x29"
26627 "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
26628 "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
26629 "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
26630 "\xac\xc0\x79\x50\x69\xca\x59\x32"
26631 "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
26632 "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
26633 "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
26634 "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
26635 "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
26636 "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
26637 "\x05\x68\x6b\xab\xe3\x41\x49\xed"
26638 "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
26639 "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
26640 "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
26641 "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
26642 "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
26643 "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
26644 "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
26645 "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
26646 "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
26647 "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
26648 "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
26649 "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
26650 "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
26651 "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
26652 "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
26653 "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
26654 "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
26655 "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
26656 "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
26657 "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
26658 "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
26659 "\x85\x75\xe6\x43\xf6\x87\x08\x68"
26660 "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
26661 "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
26662 "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
26663 "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
26664 "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
26665 "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
26666 "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
26667 "\xaf\x55\xeb\x22\xac\x93\x68\x32"
26668 "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
26669 "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
26670 "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
26671 "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
26672 "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
26673 "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
26674 "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
26675 "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
26676 "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
26677 "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
26678 "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
26679 "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
26680 "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
26681 "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
26682 "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
26683 "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
26684 "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
26685 "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
26686 "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
26687 "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
26688 "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
26689 "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
26690 "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
26691 "\x38\x55\xab\x33\x26\xef\x9f\x43"
26692 "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
26693 "\x58\x09\x09\x1b\xc3\x65\x46\x46"
26694 "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
26695 "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
26696 "\x63\x86\xf2\x03\x67\x45\xd2\x72"
26697 "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
26698 "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
26699 "\x2b\x82\x39\xbd\x69\x54\xed\x62"
26700 "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
26701 "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
26702 "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
26703 "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
26704 "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
26705 "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
26706 "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
26707 "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
26708 "\x55\xad\xa4\xd1\x22\x54\x70\x94"
26709 "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
26710 "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
26711 "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
26712 "\x62\x36\x43\xb2\x82\x15\x75\x50"
26713 "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
26714 "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
26715 "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
26716 "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
26717 "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
26718 "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
26719 "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
26720 "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
26721 "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
26722 "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
26723 "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
26724 "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
26725 "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
26726 "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
26727 "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
26728 "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
26729 "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
26730 "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
26731 "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
26732 "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
26733 "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
26734 "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
26735 "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
26736 "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
26737 "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
26738 "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
26739 "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
26740 "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
26741 "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
26742 "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
26743 "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
26744 "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
26745 "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
26746 "\x42\x19\x23\x7d\xc8\x73\xee\x25"
26747 "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
26748 "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
26749 "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
26750 "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
26751 "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
26752 "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
26753 "\xdb\x87\xee\xef\x55\x89\x2a\x59"
26754 "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
26755 "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
26756 "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
26757 "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
26758 "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
26759 "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
26760 "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
26761 "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
26762 "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
26763 "\xae\xab\x86\x09\x89\xc9\xc2\x40"
26764 "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
26765 "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
26766 "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
26767 "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
26768 "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
26769 "\x95\xd9\x34\x34\x86\xc6\x41\x94"
26770 "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
26771 "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
26772 "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
26773 "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
26774 "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
26775 "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
26776 "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
26777 "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
26778 "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
26779 "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
26780 "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
26781 "\xa7\x33\x34\x86\xca\xe4\x96\x23"
26782 "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
26783 "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
26784 "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
26785 "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
26786 "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
26787 "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
26788 "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
26789 "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
26790 "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
26791 "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
26792 "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
26793 "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
26794 "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
26795 "\x68\xc8\x7f\x51\x22\x42\xef\x49"
26796 "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
26797 "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
26798 "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
26799 "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
26800 "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
26801 "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
26802 "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
26803 "\x73\x2e\x71\x79\x16\x06\x63\x28"
26804 "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
26805 "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
26806 "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
26807 "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
26808 "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
26809 "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
26810 "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
26811 "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
26812 "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
26813 "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
26814 "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
26815 "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
26816 "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
26817 "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
26818 "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
26819 "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
26820 "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
26821 "\x19\x07\xaf\x90\x62\x5c\x68\x98"
26822 "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
26823 "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
26824 "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
26825 "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
26826 "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
26827 "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
26828 "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
26829 "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
26830 "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
26831 "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
26832 "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
26833 "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
26834 "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
26835 "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
26836 "\x21\x33\x44\xfe\x7f\x35\x32\x93"
26837 "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
26838 "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
26839 "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
26840 "\x64\xf0\x48\xe5\x57\x99\xee\x75"
26841 "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
26842 "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
26843 "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
26844 "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
26845 "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
26846 "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
26847 "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
26848 "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
26849 "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
26850 "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
26851 "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
26852 "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
26853 "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
26854 "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
26855 "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
26856 "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
26857 "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
26858 "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
26859 "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
26860 "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
26861 "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
26862 "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
26863 "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
26864 "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
26865 "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
26866 "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
26867 "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
26868 "\x56\xf5\x4e\x01\x35\x27\x45\x77"
26869 "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
26870 "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
26871 "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
26872 "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
26873 "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
26874 "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
26875 "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
26876 "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
26877 "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
26878 "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
26879 "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
26880 "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
26881 "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
26882 "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
26883 "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
26884 "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
26885 "\x87\x8f\x03\x21\x28\x95\x0c\x89"
26886 "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
26887 "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
26888 "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
26889 "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
26890 "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
26891 "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
26892 "\x85\x73\x78\x45\x20\x7f\xae\x13"
26893 "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
26894 "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
26895 "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
26896 "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
26897 "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
26898 "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
26899 "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
26900 "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
26901 "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
26902 "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
26903 "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
26904 "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
26905 "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
26906 "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
26907 "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
26908 "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
26909 "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
26910 "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
26911 "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
26912 "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
26913 "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
26914 "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
26915 "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
26916 "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
26917 "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
26918 "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
26919 "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
26920 "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
26921 "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
26922 "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
26923 "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
26924 "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
26925 "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
26926 "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
26927 "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
26928 "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
26929 "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
26930 "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
26931 "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
26932 "\x6e\x12\x17\x72\x63\x57\xc7\xba"
26933 "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
26934 "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
26935 "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
26936 "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
26937 "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
26938 "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
26939 "\x0c\x24\x43\x31\x40\x57\xf1\x72"
26940 "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
26941 "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
26942 "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
26943 "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
26944 "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
26945 "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
26946 "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
26947 "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
26948 "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
26949 "\xaf\xdf\x11\x95",
92a4c9fe 26950 .len = 4100,
da7f033d
HX
26951 },
26952};
26953
92a4c9fe 26954static const struct cipher_testvec chacha20_tv_template[] = {
3590ebf2
MW
26955 { /* RFC7539 A.2. Test Vector #1 */
26956 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
26957 "\x00\x00\x00\x00\x00\x00\x00\x00"
26958 "\x00\x00\x00\x00\x00\x00\x00\x00"
26959 "\x00\x00\x00\x00\x00\x00\x00\x00",
26960 .klen = 32,
26961 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
26962 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 26963 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
3590ebf2
MW
26964 "\x00\x00\x00\x00\x00\x00\x00\x00"
26965 "\x00\x00\x00\x00\x00\x00\x00\x00"
26966 "\x00\x00\x00\x00\x00\x00\x00\x00"
26967 "\x00\x00\x00\x00\x00\x00\x00\x00"
26968 "\x00\x00\x00\x00\x00\x00\x00\x00"
26969 "\x00\x00\x00\x00\x00\x00\x00\x00"
26970 "\x00\x00\x00\x00\x00\x00\x00\x00",
92a4c9fe 26971 .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
3590ebf2
MW
26972 "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
26973 "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
26974 "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
26975 "\xda\x41\x59\x7c\x51\x57\x48\x8d"
26976 "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
26977 "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
26978 "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
92a4c9fe 26979 .len = 64,
3590ebf2
MW
26980 }, { /* RFC7539 A.2. Test Vector #2 */
26981 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
26982 "\x00\x00\x00\x00\x00\x00\x00\x00"
26983 "\x00\x00\x00\x00\x00\x00\x00\x00"
26984 "\x00\x00\x00\x00\x00\x00\x00\x01",
26985 .klen = 32,
26986 .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
26987 "\x00\x00\x00\x00\x00\x00\x00\x02",
92a4c9fe 26988 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
3590ebf2
MW
26989 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
26990 "\x6f\x20\x74\x68\x65\x20\x49\x45"
26991 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
26992 "\x64\x65\x64\x20\x62\x79\x20\x74"
26993 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
26994 "\x69\x62\x75\x74\x6f\x72\x20\x66"
26995 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
26996 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
26997 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
26998 "\x20\x70\x61\x72\x74\x20\x6f\x66"
26999 "\x20\x61\x6e\x20\x49\x45\x54\x46"
27000 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
27001 "\x74\x2d\x44\x72\x61\x66\x74\x20"
27002 "\x6f\x72\x20\x52\x46\x43\x20\x61"
27003 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
27004 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
27005 "\x20\x6d\x61\x64\x65\x20\x77\x69"
27006 "\x74\x68\x69\x6e\x20\x74\x68\x65"
27007 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
27008 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
27009 "\x45\x54\x46\x20\x61\x63\x74\x69"
27010 "\x76\x69\x74\x79\x20\x69\x73\x20"
27011 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
27012 "\x65\x64\x20\x61\x6e\x20\x22\x49"
27013 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
27014 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
27015 "\x22\x2e\x20\x53\x75\x63\x68\x20"
27016 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27017 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
27018 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
27019 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27020 "\x74\x73\x20\x69\x6e\x20\x49\x45"
27021 "\x54\x46\x20\x73\x65\x73\x73\x69"
27022 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
27023 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
27024 "\x77\x72\x69\x74\x74\x65\x6e\x20"
27025 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
27026 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
27027 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
27028 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
27029 "\x64\x65\x20\x61\x74\x20\x61\x6e"
27030 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
27031 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
27032 "\x20\x77\x68\x69\x63\x68\x20\x61"
27033 "\x72\x65\x20\x61\x64\x64\x72\x65"
27034 "\x73\x73\x65\x64\x20\x74\x6f",
92a4c9fe 27035 .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
3590ebf2
MW
27036 "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
27037 "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
27038 "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
27039 "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
27040 "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
27041 "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
27042 "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
27043 "\x40\x42\xe0\x27\x85\xec\xec\xfa"
27044 "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
27045 "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
27046 "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
27047 "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
27048 "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
27049 "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
27050 "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
27051 "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
27052 "\xd6\x62\xab\x05\x26\x91\xca\x66"
27053 "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
27054 "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
27055 "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
27056 "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
27057 "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
27058 "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
27059 "\x08\x71\xcd\xac\x63\x89\x39\xe2"
27060 "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
27061 "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
27062 "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
27063 "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
27064 "\x37\x20\xfc\x88\xdc\x95\xed\x84"
27065 "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
27066 "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
27067 "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
27068 "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
27069 "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
27070 "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
27071 "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
27072 "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
27073 "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
27074 "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
27075 "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
27076 "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
27077 "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
27078 "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
27079 "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
27080 "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
27081 "\xc4\xfd\x80\x6c\x22\xf2\x21",
92a4c9fe 27082 .len = 375,
549f6415 27083
3590ebf2
MW
27084 }, { /* RFC7539 A.2. Test Vector #3 */
27085 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27086 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27087 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27088 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27089 .klen = 32,
27090 .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
27091 "\x00\x00\x00\x00\x00\x00\x00\x02",
92a4c9fe 27092 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
3590ebf2
MW
27093 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
27094 "\x6e\x64\x20\x74\x68\x65\x20\x73"
27095 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
27096 "\x76\x65\x73\x0a\x44\x69\x64\x20"
27097 "\x67\x79\x72\x65\x20\x61\x6e\x64"
27098 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
27099 "\x69\x6e\x20\x74\x68\x65\x20\x77"
27100 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
27101 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
27102 "\x65\x72\x65\x20\x74\x68\x65\x20"
27103 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
27104 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
27105 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
27106 "\x72\x61\x74\x68\x73\x20\x6f\x75"
27107 "\x74\x67\x72\x61\x62\x65\x2e",
92a4c9fe 27108 .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
3590ebf2
MW
27109 "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
27110 "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
27111 "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
27112 "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
27113 "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
27114 "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
27115 "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
27116 "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
27117 "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
27118 "\x1a\x55\x32\x05\x57\x16\xea\xd6"
27119 "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
27120 "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
27121 "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
27122 "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
27123 "\x75\x7a\x79\x7a\xc1\x88\xd1",
92a4c9fe 27124 .len = 127,
6692cbc2
MW
27125 }, { /* Self-made test vector for long data */
27126 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27127 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27128 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27129 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27130 .klen = 32,
27131 .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
27132 "\x00\x00\x00\x00\x00\x00\x00\x01",
92a4c9fe 27133 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
6692cbc2
MW
27134 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
27135 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
27136 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
27137 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
27138 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
27139 "\x01\xc6\x67\xda\x03\x91\x18\x90"
27140 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
27141 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
27142 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
27143 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
27144 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
27145 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
27146 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
27147 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
27148 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
27149 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
27150 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
27151 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
27152 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
27153 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
27154 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
27155 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
27156 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
27157 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
27158 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
27159 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
27160 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
27161 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
27162 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
27163 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
27164 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
27165 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
27166 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
27167 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
27168 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
27169 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
27170 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
27171 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
27172 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
27173 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
27174 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
27175 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
27176 "\x49\x46\x00\x88\x22\x8d\xce\xea"
27177 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
27178 "\x72\x11\xf5\x50\x73\x04\x40\x47"
27179 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
27180 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
27181 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
27182 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
27183 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
27184 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
27185 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
27186 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
27187 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
27188 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
27189 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
27190 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
27191 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
27192 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
27193 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
27194 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
27195 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
27196 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
27197 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
27198 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
27199 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
27200 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
27201 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
27202 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
27203 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
27204 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
27205 "\x65\x69\x8a\x45\x29\xef\x74\x85"
27206 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
27207 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
27208 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
27209 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
27210 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
27211 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
27212 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
27213 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
27214 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
27215 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
27216 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
27217 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
27218 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
27219 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
27220 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
27221 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
27222 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
27223 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
27224 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
27225 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
27226 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
27227 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
27228 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
27229 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
27230 "\x25\x94\x10\x5f\x40\x00\x64\x99"
27231 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
27232 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
27233 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
27234 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
27235 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
27236 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
27237 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
27238 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
27239 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
27240 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
27241 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
27242 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
27243 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
27244 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
27245 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
27246 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
27247 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
27248 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
27249 "\xb9\x83\x90\xef\x20\x59\x46\xff"
27250 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
27251 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
27252 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
27253 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
27254 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
27255 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
27256 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
27257 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
27258 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
27259 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
27260 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
27261 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
27262 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
27263 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
27264 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
27265 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
27266 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
27267 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
27268 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
27269 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
27270 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
27271 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
27272 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
27273 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
27274 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
27275 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
27276 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
27277 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
27278 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
27279 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
27280 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
27281 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
27282 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
27283 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
27284 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
27285 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
27286 "\xca\x34\x83\x27\x10\x5b\x68\x45"
27287 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
27288 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
27289 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
27290 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
27291 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
27292 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
27293 "\x72",
92a4c9fe 27294 .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
6692cbc2
MW
27295 "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
27296 "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
27297 "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
27298 "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
27299 "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
27300 "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
27301 "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
27302 "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
27303 "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
27304 "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
27305 "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
27306 "\x33\x4a\x71\x15\xfe\xee\x12\x54"
27307 "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
27308 "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
27309 "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
27310 "\x57\x0e\x94\x17\x26\x39\xbb\x54"
27311 "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
27312 "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
27313 "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
27314 "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
27315 "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
27316 "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
27317 "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
27318 "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
27319 "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
27320 "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
27321 "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
27322 "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
27323 "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
27324 "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
27325 "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
27326 "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
27327 "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
27328 "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
27329 "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
27330 "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
27331 "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
27332 "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
27333 "\xae\xe7\x61\x32\xef\x41\x6c\x75"
27334 "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
27335 "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
27336 "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
27337 "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
27338 "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
27339 "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
27340 "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
27341 "\xc1\x22\xf3\x79\xae\x95\x78\x66"
27342 "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
27343 "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
27344 "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
27345 "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
27346 "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
27347 "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
27348 "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
27349 "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
27350 "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
27351 "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
27352 "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
27353 "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
27354 "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
27355 "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
27356 "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
27357 "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
27358 "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
27359 "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
27360 "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
27361 "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
27362 "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
27363 "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
27364 "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
27365 "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
27366 "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
27367 "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
27368 "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
27369 "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
27370 "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
27371 "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
27372 "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
27373 "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
27374 "\x54\x1c\x34\x72\xde\x0c\x68\x39"
27375 "\x9d\x32\xa5\x75\x92\x13\x32\xea"
27376 "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
27377 "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
27378 "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
27379 "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
27380 "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
27381 "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
27382 "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
27383 "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
27384 "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
27385 "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
27386 "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
27387 "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
27388 "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
27389 "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
27390 "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
27391 "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
27392 "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
27393 "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
27394 "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
27395 "\x79\x61\x23\xe0\xa2\x99\x73\x55"
27396 "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
27397 "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
27398 "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
27399 "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
27400 "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
27401 "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
27402 "\x48\x56\xaa\x85\x22\xd8\x36\xed"
27403 "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
27404 "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
27405 "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
27406 "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
27407 "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
27408 "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
27409 "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
27410 "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
27411 "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
27412 "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
27413 "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
27414 "\xec\x83\x92\x99\x87\x47\xe0\x7c"
27415 "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
27416 "\x98\xb0\x87\xb6\x86\x13\x64\x33"
27417 "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
27418 "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
27419 "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
27420 "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
27421 "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
27422 "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
27423 "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
27424 "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
27425 "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
27426 "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
27427 "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
27428 "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
27429 "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
27430 "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
27431 "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
27432 "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
27433 "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
27434 "\x5f\xae\x25\x84\x22\x90\x5f\x26"
27435 "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
27436 "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
27437 "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
27438 "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
27439 "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
27440 "\x74\x06\x89\x0e\x90\xeb\x85\xff"
27441 "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
27442 "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
27443 "\x02\x85\x68\xd0\x03\x12\xde\x92"
27444 "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
27445 "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
27446 "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
27447 "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
27448 "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
27449 "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
27450 "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
27451 "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
27452 "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
27453 "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
27454 "\x98",
92a4c9fe 27455 .len = 1281,
3590ebf2
MW
27456 },
27457};
27458
de61d7ae
EB
27459static const struct cipher_testvec xchacha20_tv_template[] = {
27460 { /* from libsodium test/default/xchacha20.c */
27461 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
27462 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
27463 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
27464 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
27465 .klen = 32,
27466 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
27467 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
27468 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
27469 "\x00\x00\x00\x00\x00\x00\x00\x00",
27470 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
27471 "\x00\x00\x00\x00\x00\x00\x00\x00"
27472 "\x00\x00\x00\x00\x00\x00\x00\x00"
27473 "\x00\x00\x00\x00\x00",
27474 .ctext = "\xc6\xe9\x75\x81\x60\x08\x3a\xc6"
27475 "\x04\xef\x90\xe7\x12\xce\x6e\x75"
27476 "\xd7\x79\x75\x90\x74\x4e\x0c\xf0"
27477 "\x60\xf0\x13\x73\x9c",
27478 .len = 29,
27479 }, { /* from libsodium test/default/xchacha20.c */
27480 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
27481 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
27482 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
27483 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
27484 .klen = 32,
27485 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
27486 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
27487 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
27488 "\x00\x00\x00\x00\x00\x00\x00\x00",
27489 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
27490 "\x00\x00\x00\x00\x00\x00\x00\x00"
27491 "\x00\x00\x00\x00\x00\x00\x00\x00"
27492 "\x00\x00\x00\x00\x00\x00\x00\x00"
27493 "\x00\x00\x00\x00\x00\x00\x00\x00"
27494 "\x00\x00\x00\x00\x00\x00\x00\x00"
27495 "\x00\x00\x00\x00\x00\x00\x00\x00"
27496 "\x00\x00\x00\x00\x00\x00\x00\x00"
27497 "\x00\x00\x00\x00\x00\x00\x00\x00"
27498 "\x00\x00\x00\x00\x00\x00\x00\x00"
27499 "\x00\x00\x00\x00\x00\x00\x00\x00"
27500 "\x00\x00\x00",
27501 .ctext = "\xa2\x12\x09\x09\x65\x94\xde\x8c"
27502 "\x56\x67\xb1\xd1\x3a\xd9\x3f\x74"
27503 "\x41\x06\xd0\x54\xdf\x21\x0e\x47"
27504 "\x82\xcd\x39\x6f\xec\x69\x2d\x35"
27505 "\x15\xa2\x0b\xf3\x51\xee\xc0\x11"
27506 "\xa9\x2c\x36\x78\x88\xbc\x46\x4c"
27507 "\x32\xf0\x80\x7a\xcd\x6c\x20\x3a"
27508 "\x24\x7e\x0d\xb8\x54\x14\x84\x68"
27509 "\xe9\xf9\x6b\xee\x4c\xf7\x18\xd6"
27510 "\x8d\x5f\x63\x7c\xbd\x5a\x37\x64"
27511 "\x57\x78\x8e\x6f\xae\x90\xfc\x31"
27512 "\x09\x7c\xfc",
27513 .len = 91,
282c1485
EB
27514 }, { /* Taken from the ChaCha20 test vectors, appended 12 random bytes
27515 to the nonce, zero-padded the stream position from 4 to 8 bytes,
27516 and recomputed the ciphertext using libsodium's XChaCha20 */
de61d7ae
EB
27517 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
27518 "\x00\x00\x00\x00\x00\x00\x00\x00"
27519 "\x00\x00\x00\x00\x00\x00\x00\x00"
27520 "\x00\x00\x00\x00\x00\x00\x00\x00",
27521 .klen = 32,
27522 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
27523 "\x00\x00\x00\x00\x67\xc6\x69\x73"
27524 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
27525 "\x00\x00\x00\x00\x00\x00\x00\x00",
27526 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
27527 "\x00\x00\x00\x00\x00\x00\x00\x00"
27528 "\x00\x00\x00\x00\x00\x00\x00\x00"
27529 "\x00\x00\x00\x00\x00\x00\x00\x00"
27530 "\x00\x00\x00\x00\x00\x00\x00\x00"
27531 "\x00\x00\x00\x00\x00\x00\x00\x00"
27532 "\x00\x00\x00\x00\x00\x00\x00\x00"
27533 "\x00\x00\x00\x00\x00\x00\x00\x00",
27534 .ctext = "\x9c\x49\x2a\xe7\x8a\x2f\x93\xc7"
27535 "\xb3\x33\x6f\x82\x17\xd8\xc4\x1e"
27536 "\xad\x80\x11\x11\x1d\x4c\x16\x18"
27537 "\x07\x73\x9b\x4f\xdb\x7c\xcb\x47"
27538 "\xfd\xef\x59\x74\xfa\x3f\xe5\x4c"
27539 "\x9b\xd0\xea\xbc\xba\x56\xad\x32"
27540 "\x03\xdc\xf8\x2b\xc1\xe1\x75\x67"
27541 "\x23\x7b\xe6\xfc\xd4\x03\x86\x54",
27542 .len = 64,
282c1485 27543 }, { /* Derived from a ChaCha20 test vector, via the process above */
de61d7ae
EB
27544 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
27545 "\x00\x00\x00\x00\x00\x00\x00\x00"
27546 "\x00\x00\x00\x00\x00\x00\x00\x00"
27547 "\x00\x00\x00\x00\x00\x00\x00\x01",
27548 .klen = 32,
27549 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
27550 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
27551 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
27552 "\x01\x00\x00\x00\x00\x00\x00\x00",
27553 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
27554 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
27555 "\x6f\x20\x74\x68\x65\x20\x49\x45"
27556 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
27557 "\x64\x65\x64\x20\x62\x79\x20\x74"
27558 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
27559 "\x69\x62\x75\x74\x6f\x72\x20\x66"
27560 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
27561 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
27562 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
27563 "\x20\x70\x61\x72\x74\x20\x6f\x66"
27564 "\x20\x61\x6e\x20\x49\x45\x54\x46"
27565 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
27566 "\x74\x2d\x44\x72\x61\x66\x74\x20"
27567 "\x6f\x72\x20\x52\x46\x43\x20\x61"
27568 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
27569 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
27570 "\x20\x6d\x61\x64\x65\x20\x77\x69"
27571 "\x74\x68\x69\x6e\x20\x74\x68\x65"
27572 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
27573 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
27574 "\x45\x54\x46\x20\x61\x63\x74\x69"
27575 "\x76\x69\x74\x79\x20\x69\x73\x20"
27576 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
27577 "\x65\x64\x20\x61\x6e\x20\x22\x49"
27578 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
27579 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
27580 "\x22\x2e\x20\x53\x75\x63\x68\x20"
27581 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27582 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
27583 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
27584 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
27585 "\x74\x73\x20\x69\x6e\x20\x49\x45"
27586 "\x54\x46\x20\x73\x65\x73\x73\x69"
27587 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
27588 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
27589 "\x77\x72\x69\x74\x74\x65\x6e\x20"
27590 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
27591 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
27592 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
27593 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
27594 "\x64\x65\x20\x61\x74\x20\x61\x6e"
27595 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
27596 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
27597 "\x20\x77\x68\x69\x63\x68\x20\x61"
27598 "\x72\x65\x20\x61\x64\x64\x72\x65"
27599 "\x73\x73\x65\x64\x20\x74\x6f",
27600 .ctext = "\xf9\xab\x7a\x4a\x60\xb8\x5f\xa0"
27601 "\x50\xbb\x57\xce\xef\x8c\xc1\xd9"
27602 "\x24\x15\xb3\x67\x5e\x7f\x01\xf6"
27603 "\x1c\x22\xf6\xe5\x71\xb1\x43\x64"
27604 "\x63\x05\xd5\xfc\x5c\x3d\xc0\x0e"
27605 "\x23\xef\xd3\x3b\xd9\xdc\x7f\xa8"
27606 "\x58\x26\xb3\xd0\xc2\xd5\x04\x3f"
27607 "\x0a\x0e\x8f\x17\xe4\xcd\xf7\x2a"
27608 "\xb4\x2c\x09\xe4\x47\xec\x8b\xfb"
27609 "\x59\x37\x7a\xa1\xd0\x04\x7e\xaa"
27610 "\xf1\x98\x5f\x24\x3d\x72\x9a\x43"
27611 "\xa4\x36\x51\x92\x22\x87\xff\x26"
27612 "\xce\x9d\xeb\x59\x78\x84\x5e\x74"
27613 "\x97\x2e\x63\xc0\xef\x29\xf7\x8a"
27614 "\xb9\xee\x35\x08\x77\x6a\x35\x9a"
27615 "\x3e\xe6\x4f\x06\x03\x74\x1b\xc1"
27616 "\x5b\xb3\x0b\x89\x11\x07\xd3\xb7"
27617 "\x53\xd6\x25\x04\xd9\x35\xb4\x5d"
27618 "\x4c\x33\x5a\xc2\x42\x4c\xe6\xa4"
27619 "\x97\x6e\x0e\xd2\xb2\x8b\x2f\x7f"
27620 "\x28\xe5\x9f\xac\x4b\x2e\x02\xab"
27621 "\x85\xfa\xa9\x0d\x7c\x2d\x10\xe6"
27622 "\x91\xab\x55\x63\xf0\xde\x3a\x94"
27623 "\x25\x08\x10\x03\xc2\x68\xd1\xf4"
27624 "\xaf\x7d\x9c\x99\xf7\x86\x96\x30"
27625 "\x60\xfc\x0b\xe6\xa8\x80\x15\xb0"
27626 "\x81\xb1\x0c\xbe\xb9\x12\x18\x25"
27627 "\xe9\x0e\xb1\xe7\x23\xb2\xef\x4a"
27628 "\x22\x8f\xc5\x61\x89\xd4\xe7\x0c"
27629 "\x64\x36\x35\x61\xb6\x34\x60\xf7"
27630 "\x7b\x61\x37\x37\x12\x10\xa2\xf6"
27631 "\x7e\xdb\x7f\x39\x3f\xb6\x8e\x89"
27632 "\x9e\xf3\xfe\x13\x98\xbb\x66\x5a"
27633 "\xec\xea\xab\x3f\x9c\x87\xc4\x8c"
27634 "\x8a\x04\x18\x49\xfc\x77\x11\x50"
27635 "\x16\xe6\x71\x2b\xee\xc0\x9c\xb6"
27636 "\x87\xfd\x80\xff\x0b\x1d\x73\x38"
27637 "\xa4\x1d\x6f\xae\xe4\x12\xd7\x93"
27638 "\x9d\xcd\x38\x26\x09\x40\x52\xcd"
27639 "\x67\x01\x67\x26\xe0\x3e\x98\xa8"
27640 "\xe8\x1a\x13\x41\xbb\x90\x4d\x87"
27641 "\xbb\x42\x82\x39\xce\x3a\xd0\x18"
27642 "\x6d\x7b\x71\x8f\xbb\x2c\x6a\xd1"
27643 "\xbd\xf5\xc7\x8a\x7e\xe1\x1e\x0f"
27644 "\x0d\x0d\x13\x7c\xd9\xd8\x3c\x91"
27645 "\xab\xff\x1f\x12\xc3\xee\xe5\x65"
27646 "\x12\x8d\x7b\x61\xe5\x1f\x98",
27647 .len = 375,
de61d7ae 27648
282c1485 27649 }, { /* Derived from a ChaCha20 test vector, via the process above */
de61d7ae
EB
27650 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27651 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27652 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27653 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27654 .klen = 32,
27655 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
27656 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
27657 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
27658 "\x2a\x00\x00\x00\x00\x00\x00\x00",
27659 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
27660 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
27661 "\x6e\x64\x20\x74\x68\x65\x20\x73"
27662 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
27663 "\x76\x65\x73\x0a\x44\x69\x64\x20"
27664 "\x67\x79\x72\x65\x20\x61\x6e\x64"
27665 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
27666 "\x69\x6e\x20\x74\x68\x65\x20\x77"
27667 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
27668 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
27669 "\x65\x72\x65\x20\x74\x68\x65\x20"
27670 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
27671 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
27672 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
27673 "\x72\x61\x74\x68\x73\x20\x6f\x75"
27674 "\x74\x67\x72\x61\x62\x65\x2e",
27675 .ctext = "\x95\xb9\x51\xe7\x8f\xb4\xa4\x03"
27676 "\xca\x37\xcc\xde\x60\x1d\x8c\xe2"
27677 "\xf1\xbb\x8a\x13\x7f\x61\x85\xcc"
27678 "\xad\xf4\xf0\xdc\x86\xa6\x1e\x10"
27679 "\xbc\x8e\xcb\x38\x2b\xa5\xc8\x8f"
27680 "\xaa\x03\x3d\x53\x4a\x42\xb1\x33"
27681 "\xfc\xd3\xef\xf0\x8e\x7e\x10\x9c"
27682 "\x6f\x12\x5e\xd4\x96\xfe\x5b\x08"
27683 "\xb6\x48\xf0\x14\x74\x51\x18\x7c"
27684 "\x07\x92\xfc\xac\x9d\xf1\x94\xc0"
27685 "\xc1\x9d\xc5\x19\x43\x1f\x1d\xbb"
27686 "\x07\xf0\x1b\x14\x25\x45\xbb\xcb"
27687 "\x5c\xe2\x8b\x28\xf3\xcf\x47\x29"
27688 "\x27\x79\x67\x24\xa6\x87\xc2\x11"
27689 "\x65\x03\xfa\x45\xf7\x9e\x53\x7a"
27690 "\x99\xf1\x82\x25\x4f\x8d\x07",
27691 .len = 127,
282c1485 27692 }, { /* Derived from a ChaCha20 test vector, via the process above */
de61d7ae
EB
27693 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
27694 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
27695 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
27696 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
27697 .klen = 32,
27698 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
27699 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
27700 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
27701 "\x1c\x00\x00\x00\x00\x00\x00\x00",
27702 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
27703 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
27704 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
27705 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
27706 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
27707 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
27708 "\x01\xc6\x67\xda\x03\x91\x18\x90"
27709 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
27710 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
27711 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
27712 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
27713 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
27714 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
27715 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
27716 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
27717 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
27718 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
27719 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
27720 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
27721 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
27722 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
27723 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
27724 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
27725 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
27726 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
27727 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
27728 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
27729 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
27730 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
27731 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
27732 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
27733 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
27734 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
27735 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
27736 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
27737 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
27738 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
27739 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
27740 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
27741 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
27742 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
27743 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
27744 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
27745 "\x49\x46\x00\x88\x22\x8d\xce\xea"
27746 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
27747 "\x72\x11\xf5\x50\x73\x04\x40\x47"
27748 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
27749 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
27750 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
27751 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
27752 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
27753 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
27754 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
27755 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
27756 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
27757 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
27758 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
27759 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
27760 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
27761 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
27762 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
27763 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
27764 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
27765 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
27766 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
27767 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
27768 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
27769 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
27770 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
27771 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
27772 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
27773 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
27774 "\x65\x69\x8a\x45\x29\xef\x74\x85"
27775 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
27776 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
27777 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
27778 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
27779 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
27780 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
27781 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
27782 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
27783 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
27784 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
27785 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
27786 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
27787 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
27788 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
27789 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
27790 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
27791 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
27792 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
27793 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
27794 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
27795 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
27796 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
27797 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
27798 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
27799 "\x25\x94\x10\x5f\x40\x00\x64\x99"
27800 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
27801 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
27802 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
27803 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
27804 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
27805 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
27806 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
27807 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
27808 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
27809 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
27810 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
27811 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
27812 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
27813 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
27814 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
27815 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
27816 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
27817 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
27818 "\xb9\x83\x90\xef\x20\x59\x46\xff"
27819 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
27820 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
27821 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
27822 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
27823 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
27824 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
27825 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
27826 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
27827 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
27828 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
27829 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
27830 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
27831 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
27832 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
27833 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
27834 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
27835 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
27836 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
27837 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
27838 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
27839 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
27840 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
27841 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
27842 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
27843 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
27844 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
27845 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
27846 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
27847 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
27848 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
27849 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
27850 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
27851 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
27852 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
27853 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
27854 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
27855 "\xca\x34\x83\x27\x10\x5b\x68\x45"
27856 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
27857 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
27858 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
27859 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
27860 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
27861 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
27862 "\x72",
27863 .ctext = "\x3a\x92\xee\x53\x31\xaf\x2b\x60"
27864 "\x5f\x55\x8d\x00\x5d\xfc\x74\x97"
27865 "\x28\x54\xf4\xa5\x75\xf1\x9b\x25"
27866 "\x62\x1c\xc0\xe0\x13\xc8\x87\x53"
27867 "\xd0\xf3\xa7\x97\x1f\x3b\x1e\xea"
27868 "\xe0\xe5\x2a\xd1\xdd\xa4\x3b\x50"
27869 "\x45\xa3\x0d\x7e\x1b\xc9\xa0\xad"
27870 "\xb9\x2c\x54\xa6\xc7\x55\x16\xd0"
27871 "\xc5\x2e\x02\x44\x35\xd0\x7e\x67"
27872 "\xf2\xc4\x9b\xcd\x95\x10\xcc\x29"
27873 "\x4b\xfa\x86\x87\xbe\x40\x36\xbe"
27874 "\xe1\xa3\x52\x89\x55\x20\x9b\xc2"
27875 "\xab\xf2\x31\x34\x16\xad\xc8\x17"
27876 "\x65\x24\xc0\xff\x12\x37\xfe\x5a"
27877 "\x62\x3b\x59\x47\x6c\x5f\x3a\x8e"
27878 "\x3b\xd9\x30\xc8\x7f\x2f\x88\xda"
27879 "\x80\xfd\x02\xda\x7f\x9a\x7a\x73"
27880 "\x59\xc5\x34\x09\x9a\x11\xcb\xa7"
27881 "\xfc\xf6\xa1\xa0\x60\xfb\x43\xbb"
27882 "\xf1\xe9\xd7\xc6\x79\x27\x4e\xff"
27883 "\x22\xb4\x24\xbf\x76\xee\x47\xb9"
27884 "\x6d\x3f\x8b\xb0\x9c\x3c\x43\xdd"
27885 "\xff\x25\x2e\x6d\xa4\x2b\xfb\x5d"
27886 "\x1b\x97\x6c\x55\x0a\x82\x7a\x7b"
27887 "\x94\x34\xc2\xdb\x2f\x1f\xc1\xea"
27888 "\xd4\x4d\x17\x46\x3b\x51\x69\x09"
27889 "\xe4\x99\x32\x25\xfd\x94\xaf\xfb"
27890 "\x10\xf7\x4f\xdd\x0b\x3c\x8b\x41"
27891 "\xb3\x6a\xb7\xd1\x33\xa8\x0c\x2f"
27892 "\x62\x4c\x72\x11\xd7\x74\xe1\x3b"
27893 "\x38\x43\x66\x7b\x6c\x36\x48\xe7"
27894 "\xe3\xe7\x9d\xb9\x42\x73\x7a\x2a"
27895 "\x89\x20\x1a\x41\x80\x03\xf7\x8f"
27896 "\x61\x78\x13\xbf\xfe\x50\xf5\x04"
27897 "\x52\xf9\xac\x47\xf8\x62\x4b\xb2"
27898 "\x24\xa9\xbf\x64\xb0\x18\x69\xd2"
27899 "\xf5\xe4\xce\xc8\xb1\x87\x75\xd6"
27900 "\x2c\x24\x79\x00\x7d\x26\xfb\x44"
27901 "\xe7\x45\x7a\xee\x58\xa5\x83\xc1"
27902 "\xb4\x24\xab\x23\x2f\x4d\xd7\x4f"
27903 "\x1c\xc7\xaa\xa9\x50\xf4\xa3\x07"
27904 "\x12\x13\x89\x74\xdc\x31\x6a\xb2"
27905 "\xf5\x0f\x13\x8b\xb9\xdb\x85\x1f"
27906 "\xf5\xbc\x88\xd9\x95\xea\x31\x6c"
27907 "\x36\x60\xb6\x49\xdc\xc4\xf7\x55"
27908 "\x3f\x21\xc1\xb5\x92\x18\x5e\xbc"
27909 "\x9f\x87\x7f\xe7\x79\x25\x40\x33"
27910 "\xd6\xb9\x33\xd5\x50\xb3\xc7\x89"
27911 "\x1b\x12\xa0\x46\xdd\xa7\xd8\x3e"
27912 "\x71\xeb\x6f\x66\xa1\x26\x0c\x67"
27913 "\xab\xb2\x38\x58\x17\xd8\x44\x3b"
27914 "\x16\xf0\x8e\x62\x8d\x16\x10\x00"
27915 "\x32\x8b\xef\xb9\x28\xd3\xc5\xad"
27916 "\x0a\x19\xa2\xe4\x03\x27\x7d\x94"
27917 "\x06\x18\xcd\xd6\x27\x00\xf9\x1f"
27918 "\xb6\xb3\xfe\x96\x35\x5f\xc4\x1c"
27919 "\x07\x62\x10\x79\x68\x50\xf1\x7e"
27920 "\x29\xe7\xc4\xc4\xe7\xee\x54\xd6"
27921 "\x58\x76\x84\x6d\x8d\xe4\x59\x31"
27922 "\xe9\xf4\xdc\xa1\x1f\xe5\x1a\xd6"
27923 "\xe6\x64\x46\xf5\x77\x9c\x60\x7a"
27924 "\x5e\x62\xe3\x0a\xd4\x9f\x7a\x2d"
27925 "\x7a\xa5\x0a\x7b\x29\x86\x7a\x74"
27926 "\x74\x71\x6b\xca\x7d\x1d\xaa\xba"
27927 "\x39\x84\x43\x76\x35\xfe\x4f\x9b"
27928 "\xbb\xbb\xb5\x6a\x32\xb5\x5d\x41"
27929 "\x51\xf0\x5b\x68\x03\x47\x4b\x8a"
27930 "\xca\x88\xf6\x37\xbd\x73\x51\x70"
27931 "\x66\xfe\x9e\x5f\x21\x9c\xf3\xdd"
27932 "\xc3\xea\x27\xf9\x64\x94\xe1\x19"
27933 "\xa0\xa9\xab\x60\xe0\x0e\xf7\x78"
27934 "\x70\x86\xeb\xe0\xd1\x5c\x05\xd3"
27935 "\xd7\xca\xe0\xc0\x47\x47\x34\xee"
27936 "\x11\xa3\xa3\x54\x98\xb7\x49\x8e"
27937 "\x84\x28\x70\x2c\x9e\xfb\x55\x54"
27938 "\x4d\xf8\x86\xf7\x85\x7c\xbd\xf3"
27939 "\x17\xd8\x47\xcb\xac\xf4\x20\x85"
27940 "\x34\x66\xad\x37\x2d\x5e\x52\xda"
27941 "\x8a\xfe\x98\x55\x30\xe7\x2d\x2b"
27942 "\x19\x10\x8e\x7b\x66\x5e\xdc\xe0"
27943 "\x45\x1f\x7b\xb4\x08\xfb\x8f\xf6"
27944 "\x8c\x89\x21\x34\x55\x27\xb2\x76"
27945 "\xb2\x07\xd9\xd6\x68\x9b\xea\x6b"
27946 "\x2d\xb4\xc4\x35\xdd\xd2\x79\xae"
27947 "\xc7\xd6\x26\x7f\x12\x01\x8c\xa7"
27948 "\xe3\xdb\xa8\xf4\xf7\x2b\xec\x99"
27949 "\x11\x00\xf1\x35\x8c\xcf\xd5\xc9"
27950 "\xbd\x91\x36\x39\x70\xcf\x7d\x70"
27951 "\x47\x1a\xfc\x6b\x56\xe0\x3f\x9c"
27952 "\x60\x49\x01\x72\xa9\xaf\x2c\x9c"
27953 "\xe8\xab\xda\x8c\x14\x19\xf3\x75"
27954 "\x07\x17\x9d\x44\x67\x7a\x2e\xef"
27955 "\xb7\x83\x35\x4a\xd1\x3d\x1c\x84"
27956 "\x32\xdd\xaa\xea\xca\x1d\xdc\x72"
27957 "\x2c\xcc\x43\xcd\x5d\xe3\x21\xa4"
27958 "\xd0\x8a\x4b\x20\x12\xa3\xd5\x86"
27959 "\x76\x96\xff\x5f\x04\x57\x0f\xe6"
27960 "\xba\xe8\x76\x50\x0c\x64\x1d\x83"
27961 "\x9c\x9b\x9a\x9a\x58\x97\x9c\x5c"
27962 "\xb4\xa4\xa6\x3e\x19\xeb\x8f\x5a"
27963 "\x61\xb2\x03\x7b\x35\x19\xbe\xa7"
27964 "\x63\x0c\xfd\xdd\xf9\x90\x6c\x08"
27965 "\x19\x11\xd3\x65\x4a\xf5\x96\x92"
27966 "\x59\xaa\x9c\x61\x0c\x29\xa7\xf8"
27967 "\x14\x39\x37\xbf\x3c\xf2\x16\x72"
27968 "\x02\xfa\xa2\xf3\x18\x67\x5d\xcb"
27969 "\xdc\x4d\xbb\x96\xff\x70\x08\x2d"
27970 "\xc2\xa8\x52\xe1\x34\x5f\x72\xfe"
27971 "\x64\xbf\xca\xa7\x74\x38\xfb\x74"
27972 "\x55\x9c\xfa\x8a\xed\xfb\x98\xeb"
27973 "\x58\x2e\x6c\xe1\x52\x76\x86\xd7"
27974 "\xcf\xa1\xa4\xfc\xb2\x47\x41\x28"
27975 "\xa3\xc1\xe5\xfd\x53\x19\x28\x2b"
27976 "\x37\x04\x65\x96\x99\x7a\x28\x0f"
27977 "\x07\x68\x4b\xc7\x52\x0a\x55\x35"
27978 "\x40\x19\x95\x61\xe8\x59\x40\x1f"
27979 "\x9d\xbf\x78\x7d\x8f\x84\xff\x6f"
27980 "\xd0\xd5\x63\xd2\x22\xbd\xc8\x4e"
27981 "\xfb\xe7\x9f\x06\xe6\xe7\x39\x6d"
27982 "\x6a\x96\x9f\xf0\x74\x7e\xc9\x35"
27983 "\xb7\x26\xb8\x1c\x0a\xa6\x27\x2c"
27984 "\xa2\x2b\xfe\xbe\x0f\x07\x73\xae"
27985 "\x7f\x7f\x54\xf5\x7c\x6a\x0a\x56"
27986 "\x49\xd4\x81\xe5\x85\x53\x99\x1f"
27987 "\x95\x05\x13\x58\x8d\x0e\x1b\x90"
27988 "\xc3\x75\x48\x64\x58\x98\x67\x84"
27989 "\xae\xe2\x21\xa2\x8a\x04\x0a\x0b"
27990 "\x61\xaa\xb0\xd4\x28\x60\x7a\xf8"
27991 "\xbc\x52\xfb\x24\x7f\xed\x0d\x2a"
27992 "\x0a\xb2\xf9\xc6\x95\xb5\x11\xc9"
27993 "\xf4\x0f\x26\x11\xcf\x2a\x57\x87"
27994 "\x7a\xf3\xe7\x94\x65\xc2\xb5\xb3"
27995 "\xab\x98\xe3\xc1\x2b\x59\x19\x7c"
27996 "\xd6\xf3\xf9\xbf\xff\x6d\xc6\x82"
27997 "\x13\x2f\x4a\x2e\xcd\x26\xfe\x2d"
27998 "\x01\x70\xf4\xc2\x7f\x1f\x4c\xcb"
27999 "\x47\x77\x0c\xa0\xa3\x03\xec\xda"
28000 "\xa9\xbf\x0d\x2d\xae\xe4\xb8\x7b"
28001 "\xa9\xbc\x08\xb4\x68\x2e\xc5\x60"
28002 "\x8d\x87\x41\x2b\x0f\x69\xf0\xaf"
28003 "\x5f\xba\x72\x20\x0f\x33\xcd\x6d"
28004 "\x36\x7d\x7b\xd5\x05\xf1\x4b\x05"
28005 "\xc4\xfc\x7f\x80\xb9\x4d\xbd\xf7"
28006 "\x7c\x84\x07\x01\xc2\x40\x66\x5b"
28007 "\x98\xc7\x2c\xe3\x97\xfa\xdf\x87"
28008 "\xa0\x1f\xe9\x21\x42\x0f\x3b\xeb"
28009 "\x89\x1c\x3b\xca\x83\x61\x77\x68"
28010 "\x84\xbb\x60\x87\x38\x2e\x25\xd5"
28011 "\x9e\x04\x41\x70\xac\xda\xc0\x9c"
28012 "\x9c\x69\xea\x8d\x4e\x55\x2a\x29"
28013 "\xed\x05\x4b\x7b\x73\x71\x90\x59"
28014 "\x4d\xc8\xd8\x44\xf0\x4c\xe1\x5e"
28015 "\x84\x47\x55\xcc\x32\x3f\xe7\x97"
28016 "\x42\xc6\x32\xac\x40\xe5\xa5\xc7"
28017 "\x8b\xed\xdb\xf7\x83\xd6\xb1\xc2"
28018 "\x52\x5e\x34\xb7\xeb\x6e\xd9\xfc"
28019 "\xe5\x93\x9a\x97\x3e\xb0\xdc\xd9"
28020 "\xd7\x06\x10\xb6\x1d\x80\x59\xdd"
28021 "\x0d\xfe\x64\x35\xcd\x5d\xec\xf0"
28022 "\xba\xd0\x34\xc9\x2d\x91\xc5\x17"
28023 "\x11",
28024 .len = 1281,
5569e8c0
EB
28025 }, { /* test vector from https://tools.ietf.org/html/draft-arciszewski-xchacha-02#appendix-A.3.2 */
28026 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
28027 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
28028 "\x90\x91\x92\x93\x94\x95\x96\x97"
28029 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
28030 .klen = 32,
28031 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
28032 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28033 "\x50\x51\x52\x53\x54\x55\x56\x58"
28034 "\x00\x00\x00\x00\x00\x00\x00\x00",
28035 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
28036 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
28037 "\x75\x6e\x63\x65\x64\x20\x22\x64"
28038 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
28039 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
28040 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
28041 "\x68\x65\x20\x41\x73\x69\x61\x74"
28042 "\x69\x63\x20\x77\x69\x6c\x64\x20"
28043 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
28044 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
28045 "\x64\x20\x77\x68\x69\x73\x74\x6c"
28046 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
28047 "\x20\x49\x74\x20\x69\x73\x20\x61"
28048 "\x62\x6f\x75\x74\x20\x74\x68\x65"
28049 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
28050 "\x20\x61\x20\x47\x65\x72\x6d\x61"
28051 "\x6e\x20\x73\x68\x65\x70\x68\x65"
28052 "\x72\x64\x20\x62\x75\x74\x20\x6c"
28053 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
28054 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
28055 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
28056 "\x67\x67\x65\x64\x20\x66\x6f\x78"
28057 "\x2e\x20\x54\x68\x69\x73\x20\x68"
28058 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
28059 "\x75\x73\x69\x76\x65\x20\x61\x6e"
28060 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
28061 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
28062 "\x20\x69\x73\x20\x63\x6c\x61\x73"
28063 "\x73\x69\x66\x69\x65\x64\x20\x77"
28064 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
28065 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
28066 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
28067 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
28068 "\x64\x20\x66\x6f\x78\x65\x73\x20"
28069 "\x69\x6e\x20\x74\x68\x65\x20\x74"
28070 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
28071 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
28072 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
28073 .ctext = "\x45\x59\xab\xba\x4e\x48\xc1\x61"
28074 "\x02\xe8\xbb\x2c\x05\xe6\x94\x7f"
28075 "\x50\xa7\x86\xde\x16\x2f\x9b\x0b"
28076 "\x7e\x59\x2a\x9b\x53\xd0\xd4\xe9"
28077 "\x8d\x8d\x64\x10\xd5\x40\xa1\xa6"
28078 "\x37\x5b\x26\xd8\x0d\xac\xe4\xfa"
28079 "\xb5\x23\x84\xc7\x31\xac\xbf\x16"
28080 "\xa5\x92\x3c\x0c\x48\xd3\x57\x5d"
28081 "\x4d\x0d\x2c\x67\x3b\x66\x6f\xaa"
28082 "\x73\x10\x61\x27\x77\x01\x09\x3a"
28083 "\x6b\xf7\xa1\x58\xa8\x86\x42\x92"
28084 "\xa4\x1c\x48\xe3\xa9\xb4\xc0\xda"
28085 "\xec\xe0\xf8\xd9\x8d\x0d\x7e\x05"
28086 "\xb3\x7a\x30\x7b\xbb\x66\x33\x31"
28087 "\x64\xec\x9e\x1b\x24\xea\x0d\x6c"
28088 "\x3f\xfd\xdc\xec\x4f\x68\xe7\x44"
28089 "\x30\x56\x19\x3a\x03\xc8\x10\xe1"
28090 "\x13\x44\xca\x06\xd8\xed\x8a\x2b"
28091 "\xfb\x1e\x8d\x48\xcf\xa6\xbc\x0e"
28092 "\xb4\xe2\x46\x4b\x74\x81\x42\x40"
28093 "\x7c\x9f\x43\x1a\xee\x76\x99\x60"
28094 "\xe1\x5b\xa8\xb9\x68\x90\x46\x6e"
28095 "\xf2\x45\x75\x99\x85\x23\x85\xc6"
28096 "\x61\xf7\x52\xce\x20\xf9\xda\x0c"
28097 "\x09\xab\x6b\x19\xdf\x74\xe7\x6a"
28098 "\x95\x96\x74\x46\xf8\xd0\xfd\x41"
28099 "\x5e\x7b\xee\x2a\x12\xa1\x14\xc2"
28100 "\x0e\xb5\x29\x2a\xe7\xa3\x49\xae"
28101 "\x57\x78\x20\xd5\x52\x0a\x1f\x3f"
28102 "\xb6\x2a\x17\xce\x6a\x7e\x68\xfa"
28103 "\x7c\x79\x11\x1d\x88\x60\x92\x0b"
28104 "\xc0\x48\xef\x43\xfe\x84\x48\x6c"
28105 "\xcb\x87\xc2\x5f\x0a\xe0\x45\xf0"
28106 "\xcc\xe1\xe7\x98\x9a\x9a\xa2\x20"
28107 "\xa2\x8b\xdd\x48\x27\xe7\x51\xa2"
28108 "\x4a\x6d\x5c\x62\xd7\x90\xa6\x63"
28109 "\x93\xb9\x31\x11\xc1\xa5\x5d\xd7"
28110 "\x42\x1a\x10\x18\x49\x74\xc7\xc5",
28111 .len = 304,
28112 }
de61d7ae
EB
28113};
28114
aa762409
EB
28115/*
28116 * Same as XChaCha20 test vectors above, but recomputed the ciphertext with
28117 * XChaCha12, using a modified libsodium.
28118 */
28119static const struct cipher_testvec xchacha12_tv_template[] = {
28120 {
28121 .key = "\x79\xc9\x97\x98\xac\x67\x30\x0b"
28122 "\xbb\x27\x04\xc9\x5c\x34\x1e\x32"
28123 "\x45\xf3\xdc\xb2\x17\x61\xb9\x8e"
28124 "\x52\xff\x45\xb2\x4f\x30\x4f\xc4",
28125 .klen = 32,
28126 .iv = "\xb3\x3f\xfd\x30\x96\x47\x9b\xcf"
28127 "\xbc\x9a\xee\x49\x41\x76\x88\xa0"
28128 "\xa2\x55\x4f\x8d\x95\x38\x94\x19"
28129 "\x00\x00\x00\x00\x00\x00\x00\x00",
28130 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28131 "\x00\x00\x00\x00\x00\x00\x00\x00"
28132 "\x00\x00\x00\x00\x00\x00\x00\x00"
28133 "\x00\x00\x00\x00\x00",
28134 .ctext = "\x1b\x78\x7f\xd7\xa1\x41\x68\xab"
28135 "\x3d\x3f\xd1\x7b\x69\x56\xb2\xd5"
28136 "\x43\xce\xeb\xaf\x36\xf0\x29\x9d"
28137 "\x3a\xfb\x18\xae\x1b",
28138 .len = 29,
28139 }, {
28140 .key = "\x9d\x23\xbd\x41\x49\xcb\x97\x9c"
28141 "\xcf\x3c\x5c\x94\xdd\x21\x7e\x98"
28142 "\x08\xcb\x0e\x50\xcd\x0f\x67\x81"
28143 "\x22\x35\xea\xaf\x60\x1d\x62\x32",
28144 .klen = 32,
28145 .iv = "\xc0\x47\x54\x82\x66\xb7\xc3\x70"
28146 "\xd3\x35\x66\xa2\x42\x5c\xbf\x30"
28147 "\xd8\x2d\x1e\xaf\x52\x94\x10\x9e"
28148 "\x00\x00\x00\x00\x00\x00\x00\x00",
28149 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28150 "\x00\x00\x00\x00\x00\x00\x00\x00"
28151 "\x00\x00\x00\x00\x00\x00\x00\x00"
28152 "\x00\x00\x00\x00\x00\x00\x00\x00"
28153 "\x00\x00\x00\x00\x00\x00\x00\x00"
28154 "\x00\x00\x00\x00\x00\x00\x00\x00"
28155 "\x00\x00\x00\x00\x00\x00\x00\x00"
28156 "\x00\x00\x00\x00\x00\x00\x00\x00"
28157 "\x00\x00\x00\x00\x00\x00\x00\x00"
28158 "\x00\x00\x00\x00\x00\x00\x00\x00"
28159 "\x00\x00\x00\x00\x00\x00\x00\x00"
28160 "\x00\x00\x00",
28161 .ctext = "\xfb\x32\x09\x1d\x83\x05\xae\x4c"
28162 "\x13\x1f\x12\x71\xf2\xca\xb2\xeb"
28163 "\x5b\x83\x14\x7d\x83\xf6\x57\x77"
28164 "\x2e\x40\x1f\x92\x2c\xf9\xec\x35"
28165 "\x34\x1f\x93\xdf\xfb\x30\xd7\x35"
28166 "\x03\x05\x78\xc1\x20\x3b\x7a\xe3"
28167 "\x62\xa3\x89\xdc\x11\x11\x45\xa8"
28168 "\x82\x89\xa0\xf1\x4e\xc7\x0f\x11"
28169 "\x69\xdd\x0c\x84\x2b\x89\x5c\xdc"
28170 "\xf0\xde\x01\xef\xc5\x65\x79\x23"
28171 "\x87\x67\xd6\x50\xd9\x8d\xd9\x92"
28172 "\x54\x5b\x0e",
28173 .len = 91,
28174 }, {
28175 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28176 "\x00\x00\x00\x00\x00\x00\x00\x00"
28177 "\x00\x00\x00\x00\x00\x00\x00\x00"
28178 "\x00\x00\x00\x00\x00\x00\x00\x00",
28179 .klen = 32,
28180 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28181 "\x00\x00\x00\x00\x67\xc6\x69\x73"
28182 "\x51\xff\x4a\xec\x29\xcd\xba\xab"
28183 "\x00\x00\x00\x00\x00\x00\x00\x00",
28184 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28185 "\x00\x00\x00\x00\x00\x00\x00\x00"
28186 "\x00\x00\x00\x00\x00\x00\x00\x00"
28187 "\x00\x00\x00\x00\x00\x00\x00\x00"
28188 "\x00\x00\x00\x00\x00\x00\x00\x00"
28189 "\x00\x00\x00\x00\x00\x00\x00\x00"
28190 "\x00\x00\x00\x00\x00\x00\x00\x00"
28191 "\x00\x00\x00\x00\x00\x00\x00\x00",
28192 .ctext = "\xdf\x2d\xc6\x21\x2a\x9d\xa1\xbb"
28193 "\xc2\x77\x66\x0c\x5c\x46\xef\xa7"
28194 "\x79\x1b\xb9\xdf\x55\xe2\xf9\x61"
28195 "\x4c\x7b\xa4\x52\x24\xaf\xa2\xda"
28196 "\xd1\x8f\x8f\xa2\x9e\x53\x4d\xc4"
28197 "\xb8\x55\x98\x08\x7c\x08\xd4\x18"
28198 "\x67\x8f\xef\x50\xb1\x5f\xa5\x77"
28199 "\x4c\x25\xe7\x86\x26\x42\xca\x44",
28200 .len = 64,
28201 }, {
28202 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28203 "\x00\x00\x00\x00\x00\x00\x00\x00"
28204 "\x00\x00\x00\x00\x00\x00\x00\x00"
28205 "\x00\x00\x00\x00\x00\x00\x00\x01",
28206 .klen = 32,
28207 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28208 "\x00\x00\x00\x02\xf2\xfb\xe3\x46"
28209 "\x7c\xc2\x54\xf8\x1b\xe8\xe7\x8d"
28210 "\x01\x00\x00\x00\x00\x00\x00\x00",
28211 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
28212 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
28213 "\x6f\x20\x74\x68\x65\x20\x49\x45"
28214 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
28215 "\x64\x65\x64\x20\x62\x79\x20\x74"
28216 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
28217 "\x69\x62\x75\x74\x6f\x72\x20\x66"
28218 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
28219 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
28220 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
28221 "\x20\x70\x61\x72\x74\x20\x6f\x66"
28222 "\x20\x61\x6e\x20\x49\x45\x54\x46"
28223 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
28224 "\x74\x2d\x44\x72\x61\x66\x74\x20"
28225 "\x6f\x72\x20\x52\x46\x43\x20\x61"
28226 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
28227 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
28228 "\x20\x6d\x61\x64\x65\x20\x77\x69"
28229 "\x74\x68\x69\x6e\x20\x74\x68\x65"
28230 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
28231 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
28232 "\x45\x54\x46\x20\x61\x63\x74\x69"
28233 "\x76\x69\x74\x79\x20\x69\x73\x20"
28234 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
28235 "\x65\x64\x20\x61\x6e\x20\x22\x49"
28236 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
28237 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
28238 "\x22\x2e\x20\x53\x75\x63\x68\x20"
28239 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28240 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
28241 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
28242 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
28243 "\x74\x73\x20\x69\x6e\x20\x49\x45"
28244 "\x54\x46\x20\x73\x65\x73\x73\x69"
28245 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
28246 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
28247 "\x77\x72\x69\x74\x74\x65\x6e\x20"
28248 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
28249 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
28250 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
28251 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
28252 "\x64\x65\x20\x61\x74\x20\x61\x6e"
28253 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
28254 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
28255 "\x20\x77\x68\x69\x63\x68\x20\x61"
28256 "\x72\x65\x20\x61\x64\x64\x72\x65"
28257 "\x73\x73\x65\x64\x20\x74\x6f",
28258 .ctext = "\xe4\xa6\xc8\x30\xc4\x23\x13\xd6"
28259 "\x08\x4d\xc9\xb7\xa5\x64\x7c\xb9"
28260 "\x71\xe2\xab\x3e\xa8\x30\x8a\x1c"
28261 "\x4a\x94\x6d\x9b\xe0\xb3\x6f\xf1"
28262 "\xdc\xe3\x1b\xb3\xa9\x6d\x0d\xd6"
28263 "\xd0\xca\x12\xef\xe7\x5f\xd8\x61"
28264 "\x3c\x82\xd3\x99\x86\x3c\x6f\x66"
28265 "\x02\x06\xdc\x55\xf9\xed\xdf\x38"
28266 "\xb4\xa6\x17\x00\x7f\xef\xbf\x4f"
28267 "\xf8\x36\xf1\x60\x7e\x47\xaf\xdb"
28268 "\x55\x9b\x12\xcb\x56\x44\xa7\x1f"
28269 "\xd3\x1a\x07\x3b\x00\xec\xe6\x4c"
28270 "\xa2\x43\x27\xdf\x86\x19\x4f\x16"
28271 "\xed\xf9\x4a\xf3\x63\x6f\xfa\x7f"
28272 "\x78\x11\xf6\x7d\x97\x6f\xec\x6f"
28273 "\x85\x0f\x5c\x36\x13\x8d\x87\xe0"
28274 "\x80\xb1\x69\x0b\x98\x89\x9c\x4e"
28275 "\xf8\xdd\xee\x5c\x0a\x85\xce\xd4"
28276 "\xea\x1b\x48\xbe\x08\xf8\xe2\xa8"
28277 "\xa5\xb0\x3c\x79\xb1\x15\xb4\xb9"
28278 "\x75\x10\x95\x35\x81\x7e\x26\xe6"
28279 "\x78\xa4\x88\xcf\xdb\x91\x34\x18"
28280 "\xad\xd7\x8e\x07\x7d\xab\x39\xf9"
28281 "\xa3\x9e\xa5\x1d\xbb\xed\x61\xfd"
28282 "\xdc\xb7\x5a\x27\xfc\xb5\xc9\x10"
28283 "\xa8\xcc\x52\x7f\x14\x76\x90\xe7"
28284 "\x1b\x29\x60\x74\xc0\x98\x77\xbb"
28285 "\xe0\x54\xbb\x27\x49\x59\x1e\x62"
28286 "\x3d\xaf\x74\x06\xa4\x42\x6f\xc6"
28287 "\x52\x97\xc4\x1d\xc4\x9f\xe2\xe5"
28288 "\x38\x57\x91\xd1\xa2\x28\xcc\x40"
28289 "\xcc\x70\x59\x37\xfc\x9f\x4b\xda"
28290 "\xa0\xeb\x97\x9a\x7d\xed\x14\x5c"
28291 "\x9c\xb7\x93\x26\x41\xa8\x66\xdd"
28292 "\x87\x6a\xc0\xd3\xc2\xa9\x3e\xae"
28293 "\xe9\x72\xfe\xd1\xb3\xac\x38\xea"
28294 "\x4d\x15\xa9\xd5\x36\x61\xe9\x96"
28295 "\x6c\x23\xf8\x43\xe4\x92\x29\xd9"
28296 "\x8b\x78\xf7\x0a\x52\xe0\x19\x5b"
28297 "\x59\x69\x5b\x5d\xa1\x53\xc4\x68"
28298 "\xe1\xbb\xac\x89\x14\xe2\xe2\x85"
28299 "\x41\x18\xf5\xb3\xd1\xfa\x68\x19"
28300 "\x44\x78\xdc\xcf\xe7\x88\x2d\x52"
28301 "\x5f\x40\xb5\x7e\xf8\x88\xa2\xae"
28302 "\x4a\xb2\x07\x35\x9d\x9b\x07\x88"
28303 "\xb7\x00\xd0\x0c\xb6\xa0\x47\x59"
28304 "\xda\x4e\xc9\xab\x9b\x8a\x7b",
28305
28306 .len = 375,
aa762409
EB
28307
28308 }, {
28309 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28310 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28311 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28312 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28313 .klen = 32,
28314 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28315 "\x00\x00\x00\x02\x76\x5a\x2e\x63"
28316 "\x33\x9f\xc9\x9a\x66\x32\x0d\xb7"
28317 "\x2a\x00\x00\x00\x00\x00\x00\x00",
28318 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
28319 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
28320 "\x6e\x64\x20\x74\x68\x65\x20\x73"
28321 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
28322 "\x76\x65\x73\x0a\x44\x69\x64\x20"
28323 "\x67\x79\x72\x65\x20\x61\x6e\x64"
28324 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
28325 "\x69\x6e\x20\x74\x68\x65\x20\x77"
28326 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
28327 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
28328 "\x65\x72\x65\x20\x74\x68\x65\x20"
28329 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
28330 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
28331 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
28332 "\x72\x61\x74\x68\x73\x20\x6f\x75"
28333 "\x74\x67\x72\x61\x62\x65\x2e",
28334 .ctext = "\xb9\x68\xbc\x6a\x24\xbc\xcc\xd8"
28335 "\x9b\x2a\x8d\x5b\x96\xaf\x56\xe3"
28336 "\x11\x61\xe7\xa7\x9b\xce\x4e\x7d"
28337 "\x60\x02\x48\xac\xeb\xd5\x3a\x26"
28338 "\x9d\x77\x3b\xb5\x32\x13\x86\x8e"
28339 "\x20\x82\x26\x72\xae\x64\x1b\x7e"
28340 "\x2e\x01\x68\xb4\x87\x45\xa1\x24"
28341 "\xe4\x48\x40\xf0\xaa\xac\xee\xa9"
28342 "\xfc\x31\xad\x9d\x89\xa3\xbb\xd2"
28343 "\xe4\x25\x13\xad\x0f\x5e\xdf\x3c"
28344 "\x27\xab\xb8\x62\x46\x22\x30\x48"
28345 "\x55\x2c\x4e\x84\x78\x1d\x0d\x34"
28346 "\x8d\x3c\x91\x0a\x7f\x5b\x19\x9f"
28347 "\x97\x05\x4c\xa7\x62\x47\x8b\xc5"
28348 "\x44\x2e\x20\x33\xdd\xa0\x82\xa9"
28349 "\x25\x76\x37\xe6\x3c\x67\x5b",
28350 .len = 127,
28351 }, {
28352 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
28353 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
28354 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
28355 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
28356 .klen = 32,
28357 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28358 "\x00\x00\x00\x01\x31\x58\xa3\x5a"
28359 "\x25\x5d\x05\x17\x58\xe9\x5e\xd4"
28360 "\x1c\x00\x00\x00\x00\x00\x00\x00",
28361 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
28362 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
28363 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
28364 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
28365 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
28366 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
28367 "\x01\xc6\x67\xda\x03\x91\x18\x90"
28368 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
28369 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
28370 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
28371 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
28372 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
28373 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
28374 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
28375 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
28376 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
28377 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
28378 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
28379 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
28380 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
28381 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
28382 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
28383 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
28384 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
28385 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
28386 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
28387 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
28388 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
28389 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
28390 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
28391 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
28392 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
28393 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
28394 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
28395 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
28396 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
28397 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
28398 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
28399 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
28400 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
28401 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
28402 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
28403 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
28404 "\x49\x46\x00\x88\x22\x8d\xce\xea"
28405 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
28406 "\x72\x11\xf5\x50\x73\x04\x40\x47"
28407 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
28408 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
28409 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
28410 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
28411 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
28412 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
28413 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
28414 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
28415 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
28416 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
28417 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
28418 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
28419 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
28420 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
28421 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
28422 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
28423 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
28424 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
28425 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
28426 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
28427 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
28428 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
28429 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
28430 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
28431 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
28432 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
28433 "\x65\x69\x8a\x45\x29\xef\x74\x85"
28434 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
28435 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
28436 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
28437 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
28438 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
28439 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
28440 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
28441 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
28442 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
28443 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
28444 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
28445 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
28446 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
28447 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
28448 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
28449 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
28450 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
28451 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
28452 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
28453 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
28454 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
28455 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
28456 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
28457 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
28458 "\x25\x94\x10\x5f\x40\x00\x64\x99"
28459 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
28460 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
28461 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
28462 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
28463 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
28464 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
28465 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
28466 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
28467 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
28468 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
28469 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
28470 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
28471 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
28472 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
28473 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
28474 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
28475 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
28476 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
28477 "\xb9\x83\x90\xef\x20\x59\x46\xff"
28478 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
28479 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
28480 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
28481 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
28482 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
28483 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
28484 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
28485 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
28486 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
28487 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
28488 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
28489 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
28490 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
28491 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
28492 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
28493 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
28494 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
28495 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
28496 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
28497 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
28498 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
28499 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
28500 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
28501 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
28502 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
28503 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
28504 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
28505 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
28506 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
28507 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
28508 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
28509 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
28510 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
28511 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
28512 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
28513 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
28514 "\xca\x34\x83\x27\x10\x5b\x68\x45"
28515 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
28516 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
28517 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
28518 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
28519 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
28520 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
28521 "\x72",
28522 .ctext = "\xe1\xb6\x8b\x5c\x80\xb8\xcc\x08"
28523 "\x1b\x84\xb2\xd1\xad\xa4\x70\xac"
28524 "\x67\xa9\x39\x27\xac\xb4\x5b\xb7"
28525 "\x4c\x26\x77\x23\x1d\xce\x0a\xbe"
28526 "\x18\x9e\x42\x8b\xbd\x7f\xd6\xf1"
28527 "\xf1\x6b\xe2\x6d\x7f\x92\x0e\xcb"
28528 "\xb8\x79\xba\xb4\xac\x7e\x2d\xc0"
28529 "\x9e\x83\x81\x91\xd5\xea\xc3\x12"
28530 "\x8d\xa4\x26\x70\xa4\xf9\x71\x0b"
28531 "\xbd\x2e\xe1\xb3\x80\x42\x25\xb3"
28532 "\x0b\x31\x99\xe1\x0d\xde\xa6\x90"
28533 "\xf2\xa3\x10\xf7\xe5\xf3\x83\x1e"
28534 "\x2c\xfb\x4d\xf0\x45\x3d\x28\x3c"
28535 "\xb8\xf1\xcb\xbf\x67\xd8\x43\x5a"
28536 "\x9d\x7b\x73\x29\x88\x0f\x13\x06"
28537 "\x37\x50\x0d\x7c\xe6\x9b\x07\xdd"
28538 "\x7e\x01\x1f\x81\x90\x10\x69\xdb"
28539 "\xa4\xad\x8a\x5e\xac\x30\x72\xf2"
28540 "\x36\xcd\xe3\x23\x49\x02\x93\xfa"
28541 "\x3d\xbb\xe2\x98\x83\xeb\xe9\x8d"
28542 "\xb3\x8f\x11\xaa\x53\xdb\xaf\x2e"
28543 "\x95\x13\x99\x3d\x71\xbd\x32\x92"
28544 "\xdd\xfc\x9d\x5e\x6f\x63\x2c\xee"
28545 "\x91\x1f\x4c\x64\x3d\x87\x55\x0f"
28546 "\xcc\x3d\x89\x61\x53\x02\x57\x8f"
28547 "\xe4\x77\x29\x32\xaf\xa6\x2f\x0a"
28548 "\xae\x3c\x3f\x3f\xf4\xfb\x65\x52"
28549 "\xc5\xc1\x78\x78\x53\x28\xad\xed"
28550 "\xd1\x67\x37\xc7\x59\x70\xcd\x0a"
28551 "\xb8\x0f\x80\x51\x9f\xc0\x12\x5e"
28552 "\x06\x0a\x7e\xec\x24\x5f\x73\x00"
28553 "\xb1\x0b\x31\x47\x4f\x73\x8d\xb4"
28554 "\xce\xf3\x55\x45\x6c\x84\x27\xba"
28555 "\xb9\x6f\x03\x4a\xeb\x98\x88\x6e"
28556 "\x53\xed\x25\x19\x0d\x8f\xfe\xca"
28557 "\x60\xe5\x00\x93\x6e\x3c\xff\x19"
28558 "\xae\x08\x3b\x8a\xa6\x84\x05\xfe"
28559 "\x9b\x59\xa0\x8c\xc8\x05\x45\xf5"
28560 "\x05\x37\xdc\x45\x6f\x8b\x95\x8c"
28561 "\x4e\x11\x45\x7a\xce\x21\xa5\xf7"
28562 "\x71\x67\xb9\xce\xd7\xf9\xe9\x5e"
28563 "\x60\xf5\x53\x7a\xa8\x85\x14\x03"
28564 "\xa0\x92\xec\xf3\x51\x80\x84\xc4"
28565 "\xdc\x11\x9e\x57\xce\x4b\x45\xcf"
28566 "\x90\x95\x85\x0b\x96\xe9\xee\x35"
28567 "\x10\xb8\x9b\xf2\x59\x4a\xc6\x7e"
28568 "\x85\xe5\x6f\x38\x51\x93\x40\x0c"
28569 "\x99\xd7\x7f\x32\xa8\x06\x27\xd1"
28570 "\x2b\xd5\xb5\x3a\x1a\xe1\x5e\xda"
28571 "\xcd\x5a\x50\x30\x3c\xc7\xe7\x65"
28572 "\xa6\x07\x0b\x98\x91\xc6\x20\x27"
28573 "\x2a\x03\x63\x1b\x1e\x3d\xaf\xc8"
28574 "\x71\x48\x46\x6a\x64\x28\xf9\x3d"
28575 "\xd1\x1d\xab\xc8\x40\x76\xc2\x39"
28576 "\x4e\x00\x75\xd2\x0e\x82\x58\x8c"
28577 "\xd3\x73\x5a\xea\x46\x89\xbe\xfd"
28578 "\x4e\x2c\x0d\x94\xaa\x9b\x68\xac"
28579 "\x86\x87\x30\x7e\xa9\x16\xcd\x59"
28580 "\xd2\xa6\xbe\x0a\xd8\xf5\xfd\x2d"
28581 "\x49\x69\xd2\x1a\x90\xd2\x1b\xed"
28582 "\xff\x71\x04\x87\x87\x21\xc4\xb8"
28583 "\x1f\x5b\x51\x33\xd0\xd6\x59\x9a"
28584 "\x03\x0e\xd3\x8b\xfb\x57\x73\xfd"
28585 "\x5a\x52\x63\x82\xc8\x85\x2f\xcb"
28586 "\x74\x6d\x4e\xd9\x68\x37\x85\x6a"
28587 "\xd4\xfb\x94\xed\x8d\xd1\x1a\xaf"
28588 "\x76\xa7\xb7\x88\xd0\x2b\x4e\xda"
28589 "\xec\x99\x94\x27\x6f\x87\x8c\xdf"
28590 "\x4b\x5e\xa6\x66\xdd\xcb\x33\x7b"
28591 "\x64\x94\x31\xa8\x37\xa6\x1d\xdb"
28592 "\x0d\x5c\x93\xa4\x40\xf9\x30\x53"
28593 "\x4b\x74\x8d\xdd\xf6\xde\x3c\xac"
28594 "\x5c\x80\x01\x3a\xef\xb1\x9a\x02"
28595 "\x0c\x22\x8e\xe7\x44\x09\x74\x4c"
28596 "\xf2\x9a\x27\x69\x7f\x12\x32\x36"
28597 "\xde\x92\xdf\xde\x8f\x5b\x31\xab"
28598 "\x4a\x01\x26\xe0\xb1\xda\xe8\x37"
28599 "\x21\x64\xe8\xff\x69\xfc\x9e\x41"
28600 "\xd2\x96\x2d\x18\x64\x98\x33\x78"
28601 "\x24\x61\x73\x9b\x47\x29\xf1\xa7"
28602 "\xcb\x27\x0f\xf0\x85\x6d\x8c\x9d"
28603 "\x2c\x95\x9e\xe5\xb2\x8e\x30\x29"
28604 "\x78\x8a\x9d\x65\xb4\x8e\xde\x7b"
28605 "\xd9\x00\x50\xf5\x7f\x81\xc3\x1b"
28606 "\x25\x85\xeb\xc2\x8c\x33\x22\x1e"
28607 "\x68\x38\x22\x30\xd8\x2e\x00\x98"
28608 "\x85\x16\x06\x56\xb4\x81\x74\x20"
28609 "\x95\xdb\x1c\x05\x19\xe8\x23\x4d"
28610 "\x65\x5d\xcc\xd8\x7f\xc4\x2d\x0f"
28611 "\x57\x26\x71\x07\xad\xaa\x71\x9f"
28612 "\x19\x76\x2f\x25\x51\x88\xe4\xc0"
28613 "\x82\x6e\x08\x05\x37\x04\xee\x25"
28614 "\x23\x90\xe9\x4e\xce\x9b\x16\xc1"
28615 "\x31\xe7\x6e\x2c\x1b\xe1\x85\x9a"
28616 "\x0c\x8c\xbb\x12\x1e\x68\x7b\x93"
28617 "\xa9\x3c\x39\x56\x23\x3e\x6e\xc7"
28618 "\x77\x84\xd3\xe0\x86\x59\xaa\xb9"
28619 "\xd5\x53\x58\xc9\x0a\x83\x5f\x85"
28620 "\xd8\x47\x14\x67\x8a\x3c\x17\xe0"
28621 "\xab\x02\x51\xea\xf1\xf0\x4f\x30"
28622 "\x7d\xe0\x92\xc2\x5f\xfb\x19\x5a"
28623 "\x3f\xbd\xf4\x39\xa4\x31\x0c\x39"
28624 "\xd1\xae\x4e\xf7\x65\x7f\x1f\xce"
28625 "\xc2\x39\xd1\x84\xd4\xe5\x02\xe0"
28626 "\x58\xaa\xf1\x5e\x81\xaf\x7f\x72"
28627 "\x0f\x08\x99\x43\xb9\xd8\xac\x41"
28628 "\x35\x55\xf2\xb2\xd4\x98\xb8\x3b"
28629 "\x2b\x3c\x3e\x16\x06\x31\xfc\x79"
28630 "\x47\x38\x63\x51\xc5\xd0\x26\xd7"
28631 "\x43\xb4\x2b\xd9\xc5\x05\xf2\x9d"
28632 "\x18\xc9\x26\x82\x56\xd2\x11\x05"
28633 "\xb6\x89\xb4\x43\x9c\xb5\x9d\x11"
28634 "\x6c\x83\x37\x71\x27\x1c\xae\xbf"
28635 "\xcd\x57\xd2\xee\x0d\x5a\x15\x26"
28636 "\x67\x88\x80\x80\x1b\xdc\xc1\x62"
28637 "\xdd\x4c\xff\x92\x5c\x6c\xe1\xa0"
28638 "\xe3\x79\xa9\x65\x8c\x8c\x14\x42"
28639 "\xe5\x11\xd2\x1a\xad\xa9\x56\x6f"
28640 "\x98\xfc\x8a\x7b\x56\x1f\xc6\xc1"
28641 "\x52\x12\x92\x9b\x41\x0f\x4b\xae"
28642 "\x1b\x4a\xbc\xfe\x23\xb6\x94\x70"
28643 "\x04\x30\x9e\x69\x47\xbe\xb8\x8f"
28644 "\xca\x45\xd7\x8a\xf4\x78\x3e\xaa"
28645 "\x71\x17\xd8\x1e\xb8\x11\x8f\xbc"
28646 "\xc8\x1a\x65\x7b\x41\x89\x72\xc7"
28647 "\x5f\xbe\xc5\x2a\xdb\x5c\x54\xf9"
28648 "\x25\xa3\x7a\x80\x56\x9c\x8c\xab"
28649 "\x26\x19\x10\x36\xa6\xf3\x14\x79"
28650 "\x40\x98\x70\x68\xb7\x35\xd9\xb9"
28651 "\x27\xd4\xe7\x74\x5b\x3d\x97\xb4"
28652 "\xd9\xaa\xd9\xf2\xb5\x14\x84\x1f"
28653 "\xa9\xde\x12\x44\x5b\x00\xc0\xbc"
28654 "\xc8\x11\x25\x1b\x67\x7a\x15\x72"
28655 "\xa6\x31\x6f\xf4\x68\x7a\x86\x9d"
28656 "\x43\x1c\x5f\x16\xd3\xad\x2e\x52"
28657 "\xf3\xb4\xc3\xfa\x27\x2e\x68\x6c"
28658 "\x06\xe7\x4c\x4f\xa2\xe0\xe4\x21"
28659 "\x5d\x9e\x33\x58\x8d\xbf\xd5\x70"
28660 "\xf8\x80\xa5\xdd\xe7\x18\x79\xfa"
28661 "\x7b\xfd\x09\x69\x2c\x37\x32\xa8"
28662 "\x65\xfa\x8d\x8b\x5c\xcc\xe8\xf3"
28663 "\x37\xf6\xa6\xc6\x5c\xa2\x66\x79"
28664 "\xfa\x8a\xa7\xd1\x0b\x2e\x1b\x5e"
28665 "\x95\x35\x00\x76\xae\x42\xf7\x50"
28666 "\x51\x78\xfb\xb4\x28\x24\xde\x1a"
28667 "\x70\x8b\xed\xca\x3c\x5e\xe4\xbd"
28668 "\x28\xb5\xf3\x76\x4f\x67\x5d\x81"
28669 "\xb2\x60\x87\xd9\x7b\x19\x1a\xa7"
28670 "\x79\xa2\xfa\x3f\x9e\xa9\xd7\x25"
28671 "\x61\xe1\x74\x31\xa2\x77\xa0\x1b"
28672 "\xf6\xf7\xcb\xc5\xaa\x9e\xce\xf9"
28673 "\x9b\x96\xef\x51\xc3\x1a\x44\x96"
28674 "\xae\x17\x50\xab\x29\x08\xda\xcc"
28675 "\x1a\xb3\x12\xd0\x24\xe4\xe2\xe0"
28676 "\xc6\xe3\xcc\x82\xd0\xba\x47\x4c"
28677 "\x3f\x49\xd7\xe8\xb6\x61\xaa\x65"
28678 "\x25\x18\x40\x2d\x62\x25\x02\x71"
28679 "\x61\xa2\xc1\xb2\x13\xd2\x71\x3f"
28680 "\x43\x1a\xc9\x09\x92\xff\xd5\x57"
28681 "\xf0\xfc\x5e\x1c\xf1\xf5\xf9\xf3"
28682 "\x5b",
28683 .len = 1281,
5569e8c0
EB
28684 }, {
28685 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
28686 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
28687 "\x90\x91\x92\x93\x94\x95\x96\x97"
28688 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
28689 .klen = 32,
28690 .iv = "\x40\x41\x42\x43\x44\x45\x46\x47"
28691 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28692 "\x50\x51\x52\x53\x54\x55\x56\x58"
28693 "\x00\x00\x00\x00\x00\x00\x00\x00",
28694 .ptext = "\x54\x68\x65\x20\x64\x68\x6f\x6c"
28695 "\x65\x20\x28\x70\x72\x6f\x6e\x6f"
28696 "\x75\x6e\x63\x65\x64\x20\x22\x64"
28697 "\x6f\x6c\x65\x22\x29\x20\x69\x73"
28698 "\x20\x61\x6c\x73\x6f\x20\x6b\x6e"
28699 "\x6f\x77\x6e\x20\x61\x73\x20\x74"
28700 "\x68\x65\x20\x41\x73\x69\x61\x74"
28701 "\x69\x63\x20\x77\x69\x6c\x64\x20"
28702 "\x64\x6f\x67\x2c\x20\x72\x65\x64"
28703 "\x20\x64\x6f\x67\x2c\x20\x61\x6e"
28704 "\x64\x20\x77\x68\x69\x73\x74\x6c"
28705 "\x69\x6e\x67\x20\x64\x6f\x67\x2e"
28706 "\x20\x49\x74\x20\x69\x73\x20\x61"
28707 "\x62\x6f\x75\x74\x20\x74\x68\x65"
28708 "\x20\x73\x69\x7a\x65\x20\x6f\x66"
28709 "\x20\x61\x20\x47\x65\x72\x6d\x61"
28710 "\x6e\x20\x73\x68\x65\x70\x68\x65"
28711 "\x72\x64\x20\x62\x75\x74\x20\x6c"
28712 "\x6f\x6f\x6b\x73\x20\x6d\x6f\x72"
28713 "\x65\x20\x6c\x69\x6b\x65\x20\x61"
28714 "\x20\x6c\x6f\x6e\x67\x2d\x6c\x65"
28715 "\x67\x67\x65\x64\x20\x66\x6f\x78"
28716 "\x2e\x20\x54\x68\x69\x73\x20\x68"
28717 "\x69\x67\x68\x6c\x79\x20\x65\x6c"
28718 "\x75\x73\x69\x76\x65\x20\x61\x6e"
28719 "\x64\x20\x73\x6b\x69\x6c\x6c\x65"
28720 "\x64\x20\x6a\x75\x6d\x70\x65\x72"
28721 "\x20\x69\x73\x20\x63\x6c\x61\x73"
28722 "\x73\x69\x66\x69\x65\x64\x20\x77"
28723 "\x69\x74\x68\x20\x77\x6f\x6c\x76"
28724 "\x65\x73\x2c\x20\x63\x6f\x79\x6f"
28725 "\x74\x65\x73\x2c\x20\x6a\x61\x63"
28726 "\x6b\x61\x6c\x73\x2c\x20\x61\x6e"
28727 "\x64\x20\x66\x6f\x78\x65\x73\x20"
28728 "\x69\x6e\x20\x74\x68\x65\x20\x74"
28729 "\x61\x78\x6f\x6e\x6f\x6d\x69\x63"
28730 "\x20\x66\x61\x6d\x69\x6c\x79\x20"
28731 "\x43\x61\x6e\x69\x64\x61\x65\x2e",
28732 .ctext = "\x9f\x1a\xab\x8a\x95\xf4\x7e\xcd"
28733 "\xee\x34\xc0\x39\xd6\x23\x43\x94"
28734 "\xf6\x01\xc1\x7f\x60\x91\xa5\x23"
28735 "\x4a\x8a\xe6\xb1\x14\x8b\xd7\x58"
28736 "\xee\x02\xad\xab\xce\x1e\x7d\xdf"
28737 "\xf9\x49\x27\x69\xd0\x8d\x0c\x20"
28738 "\x6e\x17\xc4\xae\x87\x7a\xc6\x61"
28739 "\x91\xe2\x8e\x0a\x1d\x61\xcc\x38"
28740 "\x02\x64\x43\x49\xc6\xb2\x59\x59"
28741 "\x42\xe7\x9d\x83\x00\x60\x90\xd2"
28742 "\xb9\xcd\x97\x6e\xc7\x95\x71\xbc"
28743 "\x23\x31\x58\x07\xb3\xb4\xac\x0b"
28744 "\x87\x64\x56\xe5\xe3\xec\x63\xa1"
28745 "\x71\x8c\x08\x48\x33\x20\x29\x81"
28746 "\xea\x01\x25\x20\xc3\xda\xe6\xee"
28747 "\x6a\x03\xf6\x68\x4d\x26\xa0\x91"
28748 "\x9e\x44\xb8\xc1\xc0\x8f\x5a\x6a"
28749 "\xc0\xcd\xbf\x24\x5e\x40\x66\xd2"
28750 "\x42\x24\xb5\xbf\xc1\xeb\x12\x60"
28751 "\x56\xbe\xb1\xa6\xc4\x0f\xfc\x49"
28752 "\x69\x9f\xcc\x06\x5c\xe3\x26\xd7"
28753 "\x52\xc0\x42\xe8\xb4\x76\xc3\xee"
28754 "\xb2\x97\xe3\x37\x61\x29\x5a\xb5"
28755 "\x8e\xe8\x8c\xc5\x38\xcc\xcb\xec"
28756 "\x64\x1a\xa9\x12\x5f\xf7\x79\xdf"
28757 "\x64\xca\x77\x4e\xbd\xf9\x83\xa0"
28758 "\x13\x27\x3f\x31\x03\x63\x30\x26"
28759 "\x27\x0b\x3e\xb3\x23\x13\x61\x0b"
28760 "\x70\x1d\xd4\xad\x85\x1e\xbf\xdf"
28761 "\xc6\x8e\x4d\x08\xcc\x7e\x77\xbd"
28762 "\x1e\x18\x77\x38\x3a\xfe\xc0\x5d"
28763 "\x16\xfc\xf0\xa9\x2f\xe9\x17\xc7"
28764 "\xd3\x23\x17\x18\xa3\xe6\x54\x77"
28765 "\x6f\x1b\xbe\x8a\x6e\x7e\xca\x97"
28766 "\x08\x05\x36\x76\xaf\x12\x7a\x42"
28767 "\xf7\x7a\xc2\x35\xc3\xb4\x93\x40"
28768 "\x54\x14\x90\xa0\x4d\x65\x1c\x37"
28769 "\x50\x70\x44\x29\x6d\x6e\x62\x68",
28770 .len = 304,
28771 }
aa762409
EB
28772};
28773
059c2a4d
EB
28774/* Adiantum test vectors from https://github.com/google/adiantum */
28775static const struct cipher_testvec adiantum_xchacha12_aes_tv_template[] = {
28776 {
28777 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
28778 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
28779 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
28780 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
28781 .klen = 32,
28782 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
28783 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
28784 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
28785 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
28786 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
28787 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
28788 .ctext = "\x6d\x32\x86\x18\x67\x86\x0f\x3f"
28789 "\x96\x7c\x9d\x28\x0d\x53\xec\x9f",
28790 .len = 16,
059c2a4d
EB
28791 }, {
28792 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
28793 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
28794 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
28795 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
28796 .klen = 32,
28797 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
28798 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
28799 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
28800 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
28801 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
28802 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
28803 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
28804 "\x43\x5a\x46\x06\x94\x2d\xf2",
28805 .ctext = "\xc7\xc6\xf1\x73\x8f\xc4\xff\x4a"
28806 "\x39\xbe\x78\xbe\x8d\x28\xc8\x89"
28807 "\x46\x63\xe7\x0c\x7d\x87\xe8\x4e"
28808 "\xc9\x18\x7b\xbe\x18\x60\x50",
28809 .len = 31,
28810 }, {
28811 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
28812 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
28813 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
28814 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
28815 .klen = 32,
28816 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
28817 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
28818 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
28819 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
28820 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
28821 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
28822 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
28823 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
28824 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
28825 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
28826 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
28827 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
28828 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
28829 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
28830 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
28831 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
28832 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
28833 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
28834 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
28835 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
28836 .ctext = "\x9e\x16\xab\xed\x4b\xa7\x42\x5a"
28837 "\xc6\xfb\x4e\x76\xff\xbe\x03\xa0"
28838 "\x0f\xe3\xad\xba\xe4\x98\x2b\x0e"
28839 "\x21\x48\xa0\xb8\x65\x48\x27\x48"
28840 "\x84\x54\x54\xb2\x9a\x94\x7b\xe6"
28841 "\x4b\x29\xe9\xcf\x05\x91\x80\x1a"
28842 "\x3a\xf3\x41\x96\x85\x1d\x9f\x74"
28843 "\x51\x56\x63\xfa\x7c\x28\x85\x49"
28844 "\xf7\x2f\xf9\xf2\x18\x46\xf5\x33"
28845 "\x80\xa3\x3c\xce\xb2\x57\x93\xf5"
28846 "\xae\xbd\xa9\xf5\x7b\x30\xc4\x93"
28847 "\x66\xe0\x30\x77\x16\xe4\xa0\x31"
28848 "\xba\x70\xbc\x68\x13\xf5\xb0\x9a"
28849 "\xc1\xfc\x7e\xfe\x55\x80\x5c\x48"
28850 "\x74\xa6\xaa\xa3\xac\xdc\xc2\xf5"
28851 "\x8d\xde\x34\x86\x78\x60\x75\x8d",
28852 .len = 128,
059c2a4d
EB
28853 }, {
28854 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
28855 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
28856 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
28857 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
28858 .klen = 32,
28859 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
28860 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
28861 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
28862 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
28863 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
28864 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
28865 "\x05\xa3\x69\x60\x91\x36\x98\x57"
28866 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
28867 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
28868 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
28869 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
28870 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
28871 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
28872 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
28873 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
28874 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
28875 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
28876 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
28877 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
28878 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
28879 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
28880 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
28881 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
28882 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
28883 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
28884 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
28885 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
28886 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
28887 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
28888 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
28889 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
28890 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
28891 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
28892 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
28893 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
28894 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
28895 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
28896 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
28897 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
28898 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
28899 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
28900 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
28901 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
28902 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
28903 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
28904 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
28905 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
28906 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
28907 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
28908 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
28909 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
28910 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
28911 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
28912 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
28913 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
28914 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
28915 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
28916 "\x17\x7c\x25\x48\x52\x67\x11\x27"
28917 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
28918 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
28919 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
28920 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
28921 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
28922 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
28923 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
28924 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
28925 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
28926 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
28927 .ctext = "\x15\x97\xd0\x86\x18\x03\x9c\x51"
28928 "\xc5\x11\x36\x62\x13\x92\xe6\x73"
28929 "\x29\x79\xde\xa1\x00\x3e\x08\x64"
28930 "\x17\x1a\xbc\xd5\xfe\x33\x0e\x0c"
28931 "\x7c\x94\xa7\xc6\x3c\xbe\xac\xa2"
28932 "\x89\xe6\xbc\xdf\x0c\x33\x27\x42"
28933 "\x46\x73\x2f\xba\x4e\xa6\x46\x8f"
28934 "\xe4\xee\x39\x63\x42\x65\xa3\x88"
28935 "\x7a\xad\x33\x23\xa9\xa7\x20\x7f"
28936 "\x0b\xe6\x6a\xc3\x60\xda\x9e\xb4"
28937 "\xd6\x07\x8a\x77\x26\xd1\xab\x44"
28938 "\x99\x55\x03\x5e\xed\x8d\x7b\xbd"
28939 "\xc8\x21\xb7\x21\x30\x3f\xc0\xb5"
28940 "\xc8\xec\x6c\x23\xa6\xa3\x6d\xf1"
28941 "\x30\x0a\xd0\xa6\xa9\x28\x69\xae"
28942 "\x2a\xe6\x54\xac\x82\x9d\x6a\x95"
28943 "\x6f\x06\x44\xc5\x5a\x77\x6e\xec"
28944 "\xf8\xf8\x63\xb2\xe6\xaa\xbd\x8e"
28945 "\x0e\x8a\x62\x00\x03\xc8\x84\xdd"
28946 "\x47\x4a\xc3\x55\xba\xb7\xe7\xdf"
28947 "\x08\xbf\x62\xf5\xe8\xbc\xb6\x11"
28948 "\xe4\xcb\xd0\x66\x74\x32\xcf\xd4"
28949 "\xf8\x51\x80\x39\x14\x05\x12\xdb"
28950 "\x87\x93\xe2\x26\x30\x9c\x3a\x21"
28951 "\xe5\xd0\x38\x57\x80\x15\xe4\x08"
28952 "\x58\x05\x49\x7d\xe6\x92\x77\x70"
28953 "\xfb\x1e\x2d\x6a\x84\x00\xc8\x68"
28954 "\xf7\x1a\xdd\xf0\x7b\x38\x1e\xd8"
28955 "\x2c\x78\x78\x61\xcf\xe3\xde\x69"
28956 "\x1f\xd5\x03\xd5\x1a\xb4\xcf\x03"
28957 "\xc8\x7a\x70\x68\x35\xb4\xf6\xbe"
28958 "\x90\x62\xb2\x28\x99\x86\xf5\x44"
28959 "\x99\xeb\x31\xcf\xca\xdf\xd0\x21"
28960 "\xd6\x60\xf7\x0f\x40\xb4\x80\xb7"
28961 "\xab\xe1\x9b\x45\xba\x66\xda\xee"
28962 "\xdd\x04\x12\x40\x98\xe1\x69\xe5"
28963 "\x2b\x9c\x59\x80\xe7\x7b\xcc\x63"
28964 "\xa6\xc0\x3a\xa9\xfe\x8a\xf9\x62"
28965 "\x11\x34\x61\x94\x35\xfe\xf2\x99"
28966 "\xfd\xee\x19\xea\x95\xb6\x12\xbf"
28967 "\x1b\xdf\x02\x1a\xcc\x3e\x7e\x65"
28968 "\x78\x74\x10\x50\x29\x63\x28\xea"
28969 "\x6b\xab\xd4\x06\x4d\x15\x24\x31"
28970 "\xc7\x0a\xc9\x16\xb6\x48\xf0\xbf"
28971 "\x49\xdb\x68\x71\x31\x8f\x87\xe2"
28972 "\x13\x05\x64\xd6\x22\x0c\xf8\x36"
28973 "\x84\x24\x3e\x69\x5e\xb8\x9e\x16"
28974 "\x73\x6c\x83\x1e\xe0\x9f\x9e\xba"
28975 "\xe5\x59\x21\x33\x1b\xa9\x26\xc2"
28976 "\xc7\xd9\x30\x73\xb6\xa6\x73\x82"
28977 "\x19\xfa\x44\x4d\x40\x8b\x69\x04"
28978 "\x94\x74\xea\x6e\xb3\x09\x47\x01"
28979 "\x2a\xb9\x78\x34\x43\x11\xed\xd6"
28980 "\x8c\x95\x65\x1b\x85\x67\xa5\x40"
28981 "\xac\x9c\x05\x4b\x57\x4a\xa9\x96"
28982 "\x0f\xdd\x4f\xa1\xe0\xcf\x6e\xc7"
28983 "\x1b\xed\xa2\xb4\x56\x8c\x09\x6e"
28984 "\xa6\x65\xd7\x55\x81\xb7\xed\x11"
28985 "\x9b\x40\x75\xa8\x6b\x56\xaf\x16"
28986 "\x8b\x3d\xf4\xcb\xfe\xd5\x1d\x3d"
28987 "\x85\xc2\xc0\xde\x43\x39\x4a\x96"
28988 "\xba\x88\x97\xc0\xd6\x00\x0e\x27"
28989 "\x21\xb0\x21\x52\xba\xa7\x37\xaa"
28990 "\xcc\xbf\x95\xa8\xf4\xd0\x91\xf6",
28991 .len = 512,
333e6647
EB
28992 }, {
28993 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
28994 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
28995 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
28996 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
28997 .klen = 32,
28998 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
28999 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
29000 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
29001 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
29002 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
29003 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
29004 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
29005 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
29006 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
29007 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
29008 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
29009 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
29010 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
29011 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
29012 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
29013 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
29014 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
29015 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
29016 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
29017 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
29018 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
29019 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
29020 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
29021 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
29022 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
29023 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
29024 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
29025 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
29026 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
29027 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
29028 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
29029 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
29030 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
29031 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
29032 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
29033 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
29034 "\x28\x04\x4c\xff\x98\x20\x08\x10"
29035 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
29036 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
29037 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
29038 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
29039 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
29040 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
29041 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
29042 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
29043 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
29044 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
29045 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
29046 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
29047 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
29048 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
29049 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
29050 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
29051 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
29052 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
29053 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
29054 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
29055 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
29056 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
29057 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
29058 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
29059 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
29060 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
29061 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
29062 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
29063 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
29064 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
29065 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
29066 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
29067 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
29068 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
29069 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
29070 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
29071 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
29072 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
29073 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
29074 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
29075 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
29076 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
29077 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
29078 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
29079 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
29080 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
29081 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
29082 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
29083 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
29084 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
29085 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
29086 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
29087 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
29088 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
29089 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
29090 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
29091 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
29092 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
29093 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
29094 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
29095 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
29096 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
29097 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
29098 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
29099 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
29100 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
29101 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
29102 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
29103 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
29104 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
29105 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
29106 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
29107 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
29108 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
29109 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
29110 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
29111 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
29112 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
29113 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
29114 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
29115 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
29116 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
29117 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
29118 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
29119 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
29120 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
29121 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
29122 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
29123 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
29124 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
29125 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
29126 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
29127 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
29128 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
29129 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
29130 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
29131 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
29132 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
29133 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
29134 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
29135 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
29136 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
29137 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
29138 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
29139 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
29140 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
29141 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
29142 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
29143 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
29144 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
29145 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
29146 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
29147 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
29148 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
29149 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
29150 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
29151 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
29152 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
29153 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
29154 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
29155 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
29156 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
29157 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
29158 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
29159 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
29160 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
29161 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
29162 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
29163 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
29164 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
29165 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
29166 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
29167 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
29168 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
29169 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
29170 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
29171 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
29172 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
29173 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
29174 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
29175 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
29176 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
29177 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
29178 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
29179 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
29180 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
29181 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
29182 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
29183 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
29184 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
29185 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
29186 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
29187 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
29188 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
29189 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
29190 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
29191 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
29192 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
29193 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
29194 .ctext = "\xcb\x78\x87\x9c\xc7\x13\xc1\x30"
29195 "\xdd\x2c\x7d\xb2\x97\xab\x06\x69"
29196 "\x47\x87\x8a\x12\x2b\x5d\x86\xd7"
29197 "\x2e\xe6\x7a\x0d\x58\x5d\xe7\x01"
29198 "\x78\x0e\xff\xc7\xc5\xd2\x94\xd6"
29199 "\xdd\x6b\x38\x1f\xa4\xe3\x3d\xe7"
29200 "\xc5\x8a\xb5\xbe\x65\x11\x2b\xe1"
29201 "\x2b\x8e\x84\xe8\xe0\x00\x7f\xdd"
29202 "\x15\x15\xab\xbd\x22\x94\xf7\xce"
29203 "\x99\x6f\xfd\x0e\x9b\x16\xeb\xeb"
29204 "\x24\xc7\xbb\xc6\xe1\x6c\x57\xba"
29205 "\x84\xab\x16\xf2\x57\xd6\x42\x9d"
29206 "\x56\x92\x5b\x44\x18\xd4\xa2\x1b"
29207 "\x1e\xa9\xdc\x7a\x16\x88\xc4\x4f"
29208 "\x6d\x77\x9a\x2e\x82\xa9\xc3\xee"
29209 "\xa4\xca\x05\x1b\x0e\xdc\x48\x96"
29210 "\xd0\x50\x21\x1f\x46\xc7\xc7\x70"
29211 "\x53\xcd\x1e\x4e\x5f\x2d\x4b\xb2"
29212 "\x86\xe5\x3a\xe6\x1d\xec\x7b\x9d"
29213 "\x8f\xd6\x41\xc6\xbb\x00\x4f\xe6"
29214 "\x02\x47\x07\x73\x50\x6b\xcf\xb2"
29215 "\x9e\x1c\x01\xc9\x09\xcc\xc3\x52"
29216 "\x27\xe6\x63\xe0\x5b\x55\x60\x4d"
29217 "\x72\xd0\xda\x4b\xec\xcb\x72\x5d"
29218 "\x37\x4a\xf5\xb8\xd9\xe2\x08\x10"
29219 "\xf3\xb9\xdc\x07\xc0\x02\x10\x14"
29220 "\x9f\xe6\x8f\xc4\xc4\xe1\x39\x7b"
29221 "\x47\xea\xae\x7c\xdd\x27\xa8\x4c"
29222 "\x6b\x0f\x4c\xf8\xff\x16\x4e\xcb"
29223 "\xec\x88\x33\x0d\x15\x10\x82\x66"
29224 "\xa7\x3d\x2c\xb6\xbc\x2e\xe4\xce"
29225 "\x4c\x2f\x4b\x46\x0f\x67\x78\xa5"
29226 "\xff\x6a\x7d\x0d\x5e\x6d\xab\xfb"
29227 "\x59\x99\xd8\x1f\x30\xd4\x33\xe8"
29228 "\x7d\x11\xae\xe3\xba\xd0\x3f\xa7"
29229 "\xa5\x5e\x43\xda\xf3\x0f\x3a\x5f"
29230 "\xba\xb0\x47\xb2\x08\x60\xf4\xed"
29231 "\x35\x23\x0c\xe9\x4f\x81\xc4\xc5"
29232 "\xa8\x35\xdc\x99\x52\x33\x19\xd4"
29233 "\x00\x01\x8d\x5a\x10\x82\x39\x78"
29234 "\xfc\x72\x24\x63\x4a\x38\xc5\x6f"
29235 "\xfe\xec\x2f\x26\x0c\x3c\x1c\xf6"
29236 "\x4d\x99\x7a\x77\x59\xfe\x10\xa5"
29237 "\xa1\x35\xbf\x2f\x15\xfa\x4e\x52"
29238 "\xe6\xd5\x1c\x88\x90\x75\xd5\xcc"
29239 "\xdb\x2a\xb1\xf0\x70\x54\x89\xc7"
29240 "\xeb\x1d\x6e\x61\x45\xa3\x50\x48"
29241 "\xcd\xdb\x32\xba\x7f\x6b\xaf\xef"
29242 "\x50\xcb\x0d\x36\xf7\x29\x3a\x10"
29243 "\x02\x73\xca\x8f\x3f\x5d\x82\x17"
29244 "\x91\x9a\xd8\x15\x15\xe3\xe1\x41"
29245 "\x43\xef\x85\xa6\xb0\xc7\x3b\x0f"
29246 "\xf0\xa5\xaa\x66\x77\x70\x5e\x70"
29247 "\xce\x17\x84\x68\x45\x39\x2c\x25"
29248 "\xc6\xc1\x5f\x7e\xe8\xfa\xe4\x3a"
29249 "\x47\x51\x7b\x9d\x54\x84\x98\x04"
29250 "\x5f\xf7\x5f\x3c\x34\xe7\xa3\x1d"
29251 "\xea\xb7\x6d\x05\xab\x28\xe4\x2c"
29252 "\xb1\x7f\x08\xa8\x5d\x07\xbf\xfe"
29253 "\x39\x72\x44\x87\x51\xc5\x73\xe4"
29254 "\x9a\x5f\xdd\x46\xbc\x4e\xb1\x39"
29255 "\xe4\x78\xb8\xbf\xdc\x5b\x88\x9b"
29256 "\xc1\x3f\xd9\xd0\xb3\x5a\xdf\xaa"
29257 "\x53\x6a\x91\x6d\x2a\x09\xf0\x0b"
29258 "\x5e\xe8\xb2\xa0\xb4\x73\x07\x1d"
29259 "\xc8\x33\x84\xe6\xda\xe6\xad\xd6"
29260 "\xad\x91\x01\x4e\x14\x42\x34\x2c"
29261 "\xe5\xf9\x99\x21\x56\x1f\x6c\x2b"
29262 "\x4c\xe3\xd5\x9e\x04\xdc\x9a\x16"
29263 "\xd1\x54\xe9\xc2\xf7\xc0\xd5\x06"
29264 "\x2f\xa1\x38\x2a\x55\x88\x23\xf8"
29265 "\xb0\xdb\x87\x32\xc9\x4e\xb0\x0c"
29266 "\xc5\x05\x78\x58\xa1\x2e\x75\x75"
29267 "\x68\xdc\xea\xdd\x0c\x33\x16\x5e"
29268 "\xe7\xdc\xfd\x42\x74\xbe\xae\x60"
29269 "\x3c\x37\x4b\x27\xf5\x2c\x5f\x55"
29270 "\x4a\x0b\x64\xfd\xa2\x01\x65\x9c"
29271 "\x27\x9f\x5e\x87\xd5\x95\x88\x66"
29272 "\x09\x84\x42\xab\x00\xe2\x58\xc3"
29273 "\x97\x45\xf1\x93\xe2\x34\x37\x3d"
29274 "\xfe\x93\x8c\x17\xb9\x79\x65\x06"
29275 "\xf7\x58\xe5\x1b\x3b\x4e\xda\x36"
29276 "\x17\xe3\x56\xec\x26\x0f\x2e\xfa"
29277 "\xd1\xb9\x2b\x3e\x7f\x1d\xe3\x4b"
29278 "\x67\xdf\x43\x53\x10\xba\xa3\xfb"
29279 "\x5d\x5a\xd8\xc4\xab\x19\x7e\x12"
29280 "\xaa\x83\xf1\xc0\xa1\xe0\xbf\x72"
29281 "\x5f\xe8\x68\x39\xef\x1a\xbe\xee"
29282 "\x6f\x47\x79\x19\xed\xf2\xa1\x4a"
29283 "\xe5\xfc\xb5\x58\xae\x63\x82\xcb"
29284 "\x16\x0b\x94\xbb\x3e\x02\x49\xc4"
29285 "\x3c\x33\xf1\xec\x1b\x11\x71\x9b"
29286 "\x5b\x80\xf1\x6f\x88\x1c\x05\x36"
29287 "\xa8\xd8\xee\x44\xb5\x18\xc3\x14"
29288 "\x62\xba\x98\xb9\xc0\x2a\x70\x93"
29289 "\xb3\xd8\x11\x69\x95\x1d\x43\x7b"
29290 "\x39\xc1\x91\x05\xc4\xe3\x1e\xc2"
29291 "\x1e\x5d\xe7\xde\xbe\xfd\xae\x99"
29292 "\x4b\x8f\x83\x1e\xf4\x9b\xb0\x2b"
29293 "\x66\x6e\x62\x24\x8d\xe0\x1b\x22"
29294 "\x59\xeb\xbd\x2a\x6b\x2e\x37\x17"
29295 "\x9e\x1f\x66\xcb\x66\xb4\xfb\x2c"
29296 "\x36\x22\x5d\x73\x56\xc1\xb0\x27"
29297 "\xe0\xf0\x1b\xe4\x47\x8b\xc6\xdc"
29298 "\x7c\x0c\x3d\x29\xcb\x33\x10\xfe"
29299 "\xc3\xc3\x1e\xff\x4c\x9b\x27\x86"
29300 "\xe2\xb0\xaf\xb7\x89\xce\x61\x69"
29301 "\xe7\x00\x3e\x92\xea\x5f\x9e\xc1"
29302 "\xfa\x6b\x20\xe2\x41\x23\x82\xeb"
29303 "\x07\x76\x4c\x4c\x2a\x96\x33\xbe"
29304 "\x89\xa9\xa8\xb9\x9a\x7d\x27\x18"
29305 "\x48\x23\x70\x46\xf3\x87\xa7\x91"
29306 "\x58\xb8\x74\xba\xed\xc6\xb2\xa1"
29307 "\x4d\xb6\x43\x9a\xe1\xa2\x41\xa5"
29308 "\x35\xd3\x90\x8a\xc7\x4d\xb7\x88"
29309 "\x0b\xe3\x74\x9f\x84\xfc\xd9\x73"
29310 "\xf2\x86\x0c\xad\xeb\x5d\x70\xac"
29311 "\x65\x07\x14\x8e\x57\xf6\xdc\xb4"
29312 "\xc2\x02\x7c\xd6\x89\xe2\x8a\x3e"
29313 "\x8e\x08\x3c\x12\x37\xaf\xe1\xa8"
29314 "\x04\x11\x5c\xae\x5a\x2b\x60\xa0"
29315 "\x03\x3c\x7a\xa2\x38\x92\xbe\xce"
29316 "\x09\xa2\x5e\x0f\xc2\xb2\xb5\x06"
29317 "\xc2\x97\x97\x9b\x09\x2f\x04\xfe"
29318 "\x2c\xe7\xa3\xc4\x42\xe9\xa3\x40"
29319 "\xa5\x52\x07\x2c\x3b\x89\x1a\xa5"
29320 "\x28\xb1\x93\x05\x98\x0c\x2f\x3d"
29321 "\xc6\xf5\x83\xac\x24\x1d\x28\x9f"
29322 "\x32\x66\x4d\x70\xb7\xe0\xab\xb8"
29323 "\x75\xc5\xf3\xd2\x7b\x26\x3e\xec"
29324 "\x64\xe6\xf7\x70\xe7\xf8\x10\x8e"
29325 "\x67\xd2\xb3\x87\x69\x40\x06\x9a"
29326 "\x2f\x6a\x1a\xfd\x62\x0c\xee\x31"
29327 "\x2e\xbe\x58\x97\x77\xd1\x09\x08"
29328 "\x1f\x8d\x42\x29\x34\xd5\xd8\xb5"
29329 "\x1f\xd7\x21\x18\xe3\xe7\x2e\x4a"
29330 "\x42\xfc\xdb\x19\xe9\xee\xb9\x22"
29331 "\xad\x5c\x07\xe9\xc8\x07\xe5\xe9"
29332 "\x95\xa2\x0d\x30\x46\xe2\x65\x51"
29333 "\x01\xa5\x74\x85\xe2\x52\x6e\x07"
29334 "\xc9\xf5\x33\x09\xde\x78\x62\xa9"
29335 "\x30\x2a\xd3\x86\xe5\x46\x2e\x60"
29336 "\xff\x74\xb0\x5f\xec\x76\xb7\xd1"
29337 "\x5e\x4d\x61\x97\x3c\x9c\x99\xc3"
29338 "\x41\x65\x21\x47\xf9\xb1\x06\xec"
29339 "\x18\xf8\x3f\xc7\x38\xfa\x7b\x14"
29340 "\x62\x79\x6a\x0b\x0c\xf5\x2c\xb7"
29341 "\xab\xcf\x63\x49\x6d\x1f\x46\xa8"
29342 "\xbc\x7d\x42\x53\x75\x6b\xca\x38"
29343 "\xac\x8b\xe7\xa1\xa1\x92\x19\x6b"
29344 "\x0d\x75\x80\x5b\x7d\x35\x86\x70"
29345 "\x12\x6b\xe5\x3e\xe5\x85\xa0\xa4"
29346 "\xd6\x77\x5e\x4d\x24\x57\x84\xa9"
29347 "\xe5\xa4\xbf\x25\xfb\x36\x65\x3b"
29348 "\x81\x39\x61\xec\x5e\x4a\x7e\x10"
29349 "\x58\x19\x13\x5c\x0f\x79\xec\xcf"
29350 "\xbb\x5f\x69\x21\xc3\xa7\x5a\xff"
29351 "\x3b\xc7\x85\x9b\x47\xbc\x3e\xad"
29352 "\xbf\x54\x60\xb6\x5b\x3f\xfc\x50"
29353 "\x68\x83\x76\x24\xb0\xc3\x3f\x93"
29354 "\x0d\xce\x36\x0a\x58\x9d\xcc\xe9"
29355 "\x52\xbb\xd0\x0b\x65\xe5\x0f\x62"
29356 "\x82\x16\xaa\xd2\xba\x5a\x4c\xd0"
29357 "\x67\xb5\x4e\x84\x1c\x02\x6e\xa3"
29358 "\xaa\x22\x54\x96\xc8\xd9\x9c\x58"
29359 "\x15\x63\xf4\x98\x1a\xa1\xd9\x11"
29360 "\x64\x25\x56\xb5\x03\x8e\x29\x85"
29361 "\x75\x88\xd1\xd2\xe4\xe6\x27\x48"
29362 "\x13\x9c\x2b\xaa\xfb\xd3\x6e\x2c"
29363 "\xe6\xd4\xe4\x8b\xd9\xf7\x01\x16"
29364 "\x46\xf9\x5c\x88\x7a\x93\x9e\x2d"
29365 "\xa6\xeb\x01\x2a\x72\xe4\x7f\xb4"
29366 "\x78\x0c\x50\x18\xd3\x8e\x65\xa7"
29367 "\x1b\xf9\x28\x5d\x89\x70\x96\x2f"
29368 "\xa1\xc2\x9b\x34\xfc\x7c\x27\x63"
29369 "\x93\xe6\xe3\xa4\x9d\x17\x97\x7e"
29370 "\x13\x79\x9c\x4b\x2c\x23\x91\x2c"
29371 "\x4f\xb1\x1d\x4b\xb4\x61\x6e\xe8"
29372 "\x32\x35\xc3\x41\x7a\x50\x60\xc8"
29373 "\x3e\xd8\x3f\x38\xfc\xc2\xa2\xe0"
29374 "\x3a\x21\x25\x8f\xc2\x22\xed\x04"
29375 "\x31\xb8\x72\x69\xaf\x6c\x6d\xab"
29376 "\x25\x16\x95\x87\x92\xc7\x46\x3f"
29377 "\x47\x05\x6c\xad\xa0\xa6\x1d\xf0"
29378 "\x66\x2e\x01\x1a\xc3\xbe\xe4\xf6"
29379 "\x51\xec\xa3\x95\x81\xe1\xcc\xab"
29380 "\xc1\x71\x65\x0a\xe6\x53\xfb\xb8"
29381 "\x53\x69\xad\x8b\xab\x8b\xa7\xcd"
29382 "\x8f\x15\x01\x25\xb1\x1f\x9c\x3b"
29383 "\x9b\x47\xad\x38\x38\x89\x6b\x1c"
29384 "\x8a\x33\xdd\x8a\x06\x23\x06\x0b"
29385 "\x7f\x70\xbe\x7e\xa1\x80\xbc\x7a",
29386 .len = 1536,
29387 }, {
29388 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
29389 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
29390 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
29391 "\x56\x95\x83\x98\x38\x80\x84\x8a",
29392 .klen = 32,
29393 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
29394 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
29395 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
29396 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
29397 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
29398 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
29399 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
29400 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
29401 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
29402 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
29403 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
29404 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
29405 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
29406 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
29407 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
29408 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
29409 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
29410 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
29411 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
29412 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
29413 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
29414 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
29415 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
29416 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
29417 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
29418 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
29419 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
29420 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
29421 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
29422 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
29423 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
29424 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
29425 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
29426 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
29427 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
29428 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
29429 "\x96\x87\xc9\x34\x02\x26\xde\x20"
29430 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
29431 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
29432 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
29433 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
29434 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
29435 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
29436 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
29437 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
29438 "\x85\xfd\x22\x08\x00\xae\x72\x10"
29439 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
29440 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
29441 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
29442 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
29443 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
29444 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
29445 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
29446 "\x21\x73\xbd\x81\x73\xac\x15\x74"
29447 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
29448 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
29449 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
29450 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
29451 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
29452 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
29453 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
29454 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
29455 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
29456 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
29457 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
29458 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
29459 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
29460 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
29461 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
29462 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
29463 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
29464 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
29465 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
29466 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
29467 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
29468 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
29469 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
29470 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
29471 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
29472 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
29473 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
29474 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
29475 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
29476 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
29477 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
29478 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
29479 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
29480 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
29481 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
29482 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
29483 "\x08\x67\x02\x01\xe3\x64\x82\xee"
29484 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
29485 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
29486 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
29487 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
29488 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
29489 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
29490 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
29491 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
29492 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
29493 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
29494 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
29495 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
29496 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
29497 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
29498 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
29499 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
29500 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
29501 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
29502 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
29503 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
29504 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
29505 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
29506 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
29507 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
29508 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
29509 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
29510 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
29511 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
29512 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
29513 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
29514 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
29515 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
29516 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
29517 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
29518 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
29519 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
29520 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
29521 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
29522 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
29523 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
29524 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
29525 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
29526 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
29527 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
29528 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
29529 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
29530 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
29531 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
29532 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
29533 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
29534 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
29535 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
29536 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
29537 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
29538 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
29539 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
29540 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
29541 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
29542 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
29543 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
29544 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
29545 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
29546 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
29547 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
29548 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
29549 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
29550 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
29551 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
29552 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
29553 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
29554 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
29555 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
29556 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
29557 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
29558 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
29559 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
29560 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
29561 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
29562 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
29563 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
29564 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
29565 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
29566 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
29567 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
29568 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
29569 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
29570 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
29571 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
29572 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
29573 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
29574 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
29575 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
29576 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
29577 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
29578 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
29579 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
29580 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
29581 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
29582 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
29583 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
29584 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
29585 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
29586 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
29587 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
29588 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
29589 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
29590 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
29591 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
29592 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
29593 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
29594 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
29595 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
29596 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
29597 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
29598 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
29599 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
29600 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
29601 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
29602 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
29603 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
29604 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
29605 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
29606 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
29607 "\x53\xf1\x61\x97\x63\x52\x38\x86"
29608 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
29609 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
29610 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
29611 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
29612 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
29613 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
29614 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
29615 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
29616 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
29617 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
29618 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
29619 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
29620 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
29621 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
29622 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
29623 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
29624 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
29625 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
29626 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
29627 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
29628 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
29629 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
29630 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
29631 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
29632 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
29633 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
29634 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
29635 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
29636 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
29637 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
29638 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
29639 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
29640 "\x20\x89\xef\x44\x22\x38\x3c\x14"
29641 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
29642 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
29643 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
29644 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
29645 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
29646 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
29647 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
29648 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
29649 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
29650 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
29651 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
29652 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
29653 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
29654 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
29655 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
29656 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
29657 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
29658 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
29659 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
29660 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
29661 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
29662 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
29663 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
29664 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
29665 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
29666 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
29667 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
29668 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
29669 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
29670 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
29671 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
29672 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
29673 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
29674 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
29675 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
29676 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
29677 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
29678 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
29679 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
29680 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
29681 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
29682 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
29683 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
29684 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
29685 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
29686 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
29687 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
29688 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
29689 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
29690 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
29691 "\xee\xad\x50\x68\x31\x26\x16\x0f"
29692 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
29693 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
29694 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
29695 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
29696 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
29697 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
29698 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
29699 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
29700 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
29701 "\x5a\x63\x94\x90\x22\x72\x54\x26"
29702 "\x93\x65\x99\x45\x55\xd3\x55\x56"
29703 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
29704 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
29705 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
29706 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
29707 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
29708 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
29709 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
29710 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
29711 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
29712 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
29713 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
29714 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
29715 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
29716 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
29717 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
29718 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
29719 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
29720 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
29721 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
29722 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
29723 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
29724 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
29725 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
29726 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
29727 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
29728 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
29729 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
29730 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
29731 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
29732 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
29733 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
29734 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
29735 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
29736 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
29737 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
29738 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
29739 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
29740 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
29741 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
29742 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
29743 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
29744 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
29745 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
29746 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
29747 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
29748 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
29749 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
29750 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
29751 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
29752 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
29753 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
29754 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
29755 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
29756 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
29757 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
29758 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
29759 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
29760 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
29761 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
29762 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
29763 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
29764 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
29765 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
29766 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
29767 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
29768 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
29769 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
29770 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
29771 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
29772 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
29773 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
29774 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
29775 "\x54\x14\x91\x12\x41\x41\x54\xa2"
29776 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
29777 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
29778 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
29779 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
29780 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
29781 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
29782 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
29783 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
29784 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
29785 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
29786 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
29787 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
29788 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
29789 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
29790 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
29791 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
29792 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
29793 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
29794 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
29795 "\x96\x59\xac\x34\x45\x29\xc6\x57"
29796 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
29797 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
29798 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
29799 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
29800 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
29801 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
29802 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
29803 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
29804 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
29805 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
29806 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
29807 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
29808 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
29809 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
29810 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
29811 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
29812 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
29813 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
29814 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
29815 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
29816 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
29817 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
29818 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
29819 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
29820 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
29821 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
29822 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
29823 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
29824 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
29825 "\x32\x06\x3f\x12\x23\x19\x22\x82"
29826 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
29827 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
29828 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
29829 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
29830 "\x35\x79\x84\x78\x06\x68\x97\x30"
29831 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
29832 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
29833 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
29834 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
29835 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
29836 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
29837 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
29838 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
29839 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
29840 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
29841 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
29842 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
29843 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
29844 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
29845 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
29846 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
29847 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
29848 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
29849 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
29850 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
29851 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
29852 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
29853 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
29854 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
29855 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
29856 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
29857 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
29858 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
29859 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
29860 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
29861 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
29862 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
29863 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
29864 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
29865 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
29866 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
29867 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
29868 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
29869 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
29870 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
29871 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
29872 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
29873 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
29874 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
29875 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
29876 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
29877 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
29878 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
29879 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
29880 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
29881 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
29882 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
29883 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
29884 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
29885 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
29886 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
29887 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
29888 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
29889 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
29890 "\x12\xab\x95\x66\xec\x09\x64\xea"
29891 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
29892 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
29893 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
29894 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
29895 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
29896 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
29897 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
29898 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
29899 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
29900 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
29901 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
29902 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
29903 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
29904 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
29905 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
29906 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
29907 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
29908 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
29909 .ctext = "\x57\xd1\xcf\x26\xe5\x07\x7a\x3f"
29910 "\xa5\x5e\xd4\xa8\x12\xe9\x4e\x36"
29911 "\x9c\x28\x65\xe0\xbd\xef\xf1\x49"
29912 "\x04\xd4\xd4\x01\x4d\xf5\xfc\x2a"
29913 "\x32\xd8\x19\x21\xcd\x58\x2a\x1a"
29914 "\x43\x78\xa4\x57\x69\xa0\x52\xeb"
29915 "\xcd\xa5\x9c\x4d\x03\x28\xef\x8b"
29916 "\x54\xc6\x6c\x31\xab\x3e\xaf\x6d"
29917 "\x0a\x87\x83\x3d\xb7\xea\x6b\x3d"
29918 "\x11\x58\x7d\x5f\xaf\xc9\xfc\x50"
29919 "\x58\x9a\x84\xa1\xcf\x76\xdc\x77"
29920 "\x83\x9a\x28\x74\x69\xc9\x0c\xc2"
29921 "\x7b\x1e\x4e\xe4\x25\x41\x23\x0d"
29922 "\x4e\x0e\x2d\x7a\x87\xaa\x0f\x7c"
29923 "\x98\xad\xf0\x6f\xbf\xcb\xd5\x1a"
29924 "\x3e\xcf\x0e\xc5\xde\xbd\x8d\xf1"
29925 "\xaa\x19\x16\xb8\xc5\x25\x02\x33"
29926 "\xbd\x5a\x85\xe2\xc0\x77\x71\xda"
29927 "\x12\x4c\xdf\x7f\xce\xc0\x32\x95"
29928 "\x1a\xde\xcb\x0a\x70\xd0\x9e\x89"
29929 "\xc5\x97\x18\x04\xab\x8c\x38\x56"
29930 "\x69\xe5\xf6\xa5\x76\x2c\x52\x7a"
29931 "\x49\xd2\x9a\x95\xa6\xa8\x82\x42"
29932 "\x20\x1f\x58\x57\x4e\x22\xdb\x92"
29933 "\xec\xbd\x4a\x21\x66\x9b\x7a\xcb"
29934 "\x73\xcd\x6d\x15\x07\xc9\x97\xb8"
29935 "\x11\x35\xee\x29\xa4\x90\xfc\x46"
29936 "\x0f\x39\x56\xc6\x4a\x3a\xcf\xcc"
29937 "\xb1\xbf\x62\x1c\x16\xc5\x12\x6c"
29938 "\x0e\x69\x89\xce\xcf\x11\x4e\xe5"
29939 "\x7e\x4e\x7c\x8f\xb4\xc9\xe6\x54"
29940 "\x42\x89\x28\x27\xe6\xec\x50\xb7"
29941 "\x69\x91\x44\x3e\x46\xd4\x64\xf6"
29942 "\x25\x4c\x4d\x2f\x60\xd9\x9a\xd3"
29943 "\x1c\x70\xf4\xd8\x24\x1e\xdb\xcf"
29944 "\xa8\xc0\x22\xe6\x82\x57\xf6\xf0"
29945 "\xe1\x1e\x38\x66\xec\xdc\x20\xdb"
29946 "\x6a\x57\x68\xb1\x43\x61\xe1\x12"
29947 "\x18\x5f\x31\x57\x39\xcb\xea\x3c"
29948 "\x6e\x5d\x9a\xe0\xa6\x70\x4d\xd8"
29949 "\xf9\x47\x4e\xef\x31\xa5\x66\x9b"
29950 "\xb7\xf1\xd9\x59\x85\xfc\xdb\x7e"
29951 "\xa2\x7a\x70\x25\x0c\xfd\x18\x0d"
29952 "\x00\x42\xc9\x48\x8a\xbd\x74\xc5"
29953 "\x3e\xe1\x20\x5a\x5d\x2e\xe5\x32"
29954 "\x1d\x1c\x08\x65\x80\x69\xae\x24"
29955 "\x80\xde\xb6\xdf\x97\xaa\x42\x8d"
29956 "\xce\x39\x07\xe6\x69\x94\x5a\x75"
29957 "\x39\xda\x5e\x1a\xed\x4a\x4c\x23"
29958 "\x66\x1f\xf3\xb1\x6e\x8f\x21\x94"
29959 "\x45\xc4\x63\xbd\x06\x93\x5e\x30"
29960 "\xe7\x8f\xcb\xe0\xbb\x2a\x27\xcf"
29961 "\x57\xa9\xa6\x28\xaf\xae\xcb\xa5"
29962 "\x7b\x36\x61\x77\x3a\x4f\xec\x51"
29963 "\x71\xfd\x52\x9e\x32\x7b\x98\x09"
29964 "\xae\x27\xbc\x93\x96\xab\xb6\x02"
29965 "\xf7\x21\xd3\x42\x00\x7e\x7a\x92"
29966 "\x17\xfe\x1b\x3d\xcf\xb6\xfe\x1e"
29967 "\x40\xc3\x10\x25\xac\x22\x9e\xcc"
29968 "\xc2\x02\x61\xf5\x0a\x4b\xc3\xec"
29969 "\xb1\x44\x06\x05\xb8\xd6\xcb\xd5"
29970 "\xf1\xf5\xb5\x65\xbc\x1a\x19\xa2"
29971 "\x7d\x60\x87\x11\x06\x83\x25\xe3"
29972 "\x5e\xf0\xeb\x15\x93\xb6\x8e\xab"
29973 "\x49\x52\xe8\xdb\xde\xd1\x8e\xa2"
29974 "\x3a\x64\x13\x30\xaa\x20\xaf\x81"
29975 "\x8d\x3c\x24\x2a\x76\x6d\xca\x32"
29976 "\x63\x51\x6b\x8e\x4b\xa7\xf6\xad"
29977 "\xa5\x94\x16\x82\xa6\x97\x3b\xe5"
29978 "\x41\xcd\x87\x33\xdc\xc1\x48\xca"
29979 "\x4e\xa2\x82\xad\x8e\x1b\xae\xcb"
29980 "\x12\x93\x27\xa3\x2b\xfa\xe6\x26"
29981 "\x43\xbd\xb0\x00\x01\x22\x1d\xd3"
29982 "\x28\x9d\x69\xe0\xd4\xf8\x5b\x01"
29983 "\x40\x7d\x54\xe5\xe2\xbd\x78\x5a"
29984 "\x0e\xab\x51\xfc\xd4\xde\xba\xbc"
29985 "\xa4\x7a\x74\x6d\xf8\x36\xc2\x70"
29986 "\x03\x27\x36\xa2\xc0\xde\xf2\xc7"
29987 "\x55\xd4\x66\xee\x9a\x9e\xaa\x99"
29988 "\x2b\xeb\xa2\x6f\x17\x80\x60\x64"
29989 "\xed\x73\xdb\xc1\x70\xda\xde\x67"
29990 "\xcd\x6e\xc9\xfa\x3f\xef\x49\xd9"
29991 "\x18\x42\xf1\x87\x6e\x2c\xac\xe1"
29992 "\x12\x26\x52\xbe\x3e\xf1\xcc\x85"
29993 "\x9a\xd1\x9e\xc1\x02\xd3\xca\x2b"
29994 "\x99\xe7\xe8\x95\x7f\x91\x4b\xc0"
29995 "\xab\xd4\x5a\xf7\x88\x1c\x7e\xea"
29996 "\xd3\x15\x38\x26\xb5\xa3\xf2\xfc"
29997 "\xc4\x12\x70\x5a\x37\x83\x49\xac"
29998 "\xf4\x5e\x4c\xc8\x64\x03\x98\xad"
29999 "\xd2\xbb\x8d\x90\x01\x80\xa1\x2a"
30000 "\x23\xd1\x8d\x26\x43\x7d\x2b\xd0"
30001 "\x87\xe1\x8e\x6a\xb3\x73\x9d\xc2"
30002 "\x66\x75\xee\x2b\x41\x1a\xa0\x3b"
30003 "\x1b\xdd\xb9\x21\x69\x5c\xef\x52"
30004 "\x21\x57\xd6\x53\x31\x67\x7e\xd1"
30005 "\xd0\x67\x8b\xc0\x97\x2c\x0a\x09"
30006 "\x1d\xd4\x35\xc5\xd4\x11\x68\xf8"
30007 "\x5e\x75\xaf\x0c\xc3\x9d\xa7\x09"
30008 "\x38\xf5\x77\xb9\x80\xa9\x6b\xbd"
30009 "\x0c\x98\xb4\x8d\xf0\x35\x5a\x19"
30010 "\x1d\xf8\xb3\x5b\x45\xad\x4e\x4e"
30011 "\xd5\x59\xf5\xd7\x53\x63\x3e\x97"
30012 "\x7f\x91\x50\x65\x61\x21\xa9\xb7"
30013 "\x65\x12\xdc\x01\x56\x40\xe0\xb1"
30014 "\xe1\x23\xba\x9d\xb9\xc4\x8b\x1f"
30015 "\xa6\xfe\x24\x19\xe9\x42\x9f\x9b"
30016 "\x02\x48\xaa\x60\x0b\xf5\x7f\x8f"
30017 "\x35\x70\xed\x85\xb8\xc4\xdc\xb7"
30018 "\x16\xb7\x03\xe0\x2e\xa0\x25\xab"
30019 "\x02\x1f\x97\x8e\x5a\x48\xb6\xdb"
30020 "\x25\x7a\x16\xf6\x4c\xec\xec\xa6"
30021 "\xc1\x4e\xe3\x4e\xe3\x27\x78\xc8"
30022 "\xb6\xd7\x01\x61\x98\x1b\x38\xaa"
30023 "\x36\x93\xac\x6d\x05\x61\x4d\x5a"
30024 "\xc9\xe5\x27\xa9\x22\xf2\x38\x5e"
30025 "\x9e\xe5\xf7\x4a\x64\xd2\x14\x15"
30026 "\x71\x7c\x65\x6e\x90\x31\xc7\x49"
30027 "\x25\xec\x9f\xf1\xb2\xd6\xbc\x20"
30028 "\x6a\x13\xd5\x70\x65\xfc\x8b\x66"
30029 "\x2c\xf1\x57\xc2\xe7\xb8\x89\xf7"
30030 "\x17\xb2\x45\x64\xe0\xb3\x8c\x0d"
30031 "\x69\x57\xf9\x5c\xff\xc2\x3c\x18"
30032 "\x1e\xfd\x4b\x5e\x0d\x20\x01\x1a"
30033 "\xa3\xa3\xb3\x76\x98\x9c\x92\x41"
30034 "\xb4\xcd\x9f\x8f\x88\xcb\xb1\xb5"
30035 "\x25\x87\x45\x4c\x07\xa7\x15\x99"
30036 "\x24\x85\x15\x9e\xfc\x28\x98\x2b"
30037 "\xd0\x22\x0a\xcc\x62\x12\x86\x0a"
30038 "\xa8\x0e\x7d\x15\x32\x98\xae\x2d"
30039 "\x95\x25\x55\x33\x41\x5b\x8d\x75"
30040 "\x46\x61\x01\xa4\xfb\xf8\x6e\xe5"
30041 "\xec\x24\xfe\xd2\xd2\x46\xe2\x3a"
30042 "\x77\xf3\xa1\x39\xd3\x39\x32\xd8"
30043 "\x2a\x6b\x44\xd7\x70\x36\x23\x89"
30044 "\x4f\x75\x85\x42\x70\xd4\x2d\x4f"
30045 "\xea\xfc\xc9\xfe\xb4\x86\xd8\x73"
30046 "\x1d\xeb\xf7\x54\x0a\x47\x7e\x2c"
30047 "\x04\x7b\x47\xea\x52\x8f\x13\x1a"
30048 "\xf0\x19\x65\xe2\x0a\x1c\xae\x89"
30049 "\xe1\xc5\x87\x6e\x5d\x7f\xf8\x79"
30050 "\x08\xbf\xd2\x7f\x2c\x95\x22\xba"
30051 "\x32\x78\xa9\xf6\x03\x98\x18\xed"
30052 "\x15\xbf\x49\xb0\x6c\xa1\x4b\xb0"
30053 "\xf3\x17\xd5\x35\x5d\x19\x57\x5b"
30054 "\xf1\x07\x1e\xaa\x4d\xef\xd0\xd6"
30055 "\x72\x12\x6b\xd9\xbc\x10\x49\xc5"
30056 "\x28\xd4\xec\xe9\x8a\xb1\x6d\x50"
30057 "\x4b\xf3\x44\xb8\x49\x04\x62\xe9"
30058 "\xa4\xd8\x5a\xe7\x90\x02\xb7\x1e"
30059 "\x66\x89\xbc\x5a\x71\x4e\xbd\xf8"
30060 "\x18\xfb\x34\x2f\x67\xa2\x65\x71"
30061 "\x00\x63\x22\xef\x3a\xa5\x18\x0e"
30062 "\x54\x76\xaa\x58\xae\x87\x23\x93"
30063 "\xb0\x3c\xa2\xa4\x07\x77\x3e\xd7"
30064 "\x1a\x9c\xfe\x32\xc3\x54\x04\x4e"
30065 "\xd6\x98\x44\xda\x98\xf8\xd3\xc8"
30066 "\x1c\x07\x4b\xcd\x97\x5d\x96\x95"
30067 "\x9a\x1d\x4a\xfc\x19\xcb\x0b\xd0"
30068 "\x6d\x43\x3a\x9a\x39\x1c\xa8\x90"
30069 "\x9f\x53\x8b\xc4\x41\x75\xb5\xb9"
30070 "\x91\x5f\x02\x0a\x57\x6c\x8f\xc3"
30071 "\x1b\x0b\x3a\x8b\x58\x3b\xbe\x2e"
30072 "\xdc\x4c\x23\x71\x2e\x14\x06\x21"
30073 "\x0b\x3b\x58\xb8\x97\xd1\x00\x62"
30074 "\x2e\x74\x3e\x6e\x21\x8a\xcf\x60"
30075 "\xda\x0c\xf8\x7c\xfd\x07\x55\x7f"
30076 "\xb9\x1d\xda\x34\xc7\x27\xbf\x2a"
30077 "\xd9\xba\x41\x9b\x37\xa1\xc4\x5d"
30078 "\x03\x01\xce\xbb\x58\xff\xee\x74"
30079 "\x08\xbd\x0b\x80\xb1\xd5\xf8\xb5"
30080 "\x92\xf9\xbb\xbe\x03\xb5\xec\xbe"
30081 "\x17\xee\xd7\x4e\x87\x2b\x61\x1b"
30082 "\x27\xc3\x51\x50\xa0\x02\x73\x00"
30083 "\x1a\xea\x2a\x2b\xf8\xf6\xe6\x96"
30084 "\x75\x00\x56\xcc\xcb\x7a\x24\x29"
30085 "\xe8\xdb\x95\xbf\x4e\x8f\x0a\x78"
30086 "\xb8\xeb\x5a\x90\x37\xd0\x21\x94"
30087 "\x6a\x89\x6b\x41\x3a\x1b\xa7\x20"
30088 "\x43\x37\xda\xad\x81\xdd\xb4\xfc"
30089 "\xe9\x60\x82\x77\x44\x3f\x89\x23"
30090 "\x35\x04\x8f\xa1\xe8\xc0\xb6\x9f"
30091 "\x56\xa7\x86\x3d\x65\x9c\x57\xbb"
30092 "\x27\xdb\xe1\xb2\x13\x07\x9c\xb1"
30093 "\x60\x8b\x38\x6b\x7f\x24\x28\x14"
30094 "\xfe\xbf\xc0\xda\x61\x6e\xc2\xc7"
30095 "\x63\x36\xa8\x02\x54\x93\xb0\xba"
30096 "\xbd\x4d\x29\x14\x5a\x8b\xbc\x78"
30097 "\xb3\xa6\xc5\x15\x5d\x36\x4d\x38"
30098 "\x20\x9c\x1e\x98\x2e\x16\x89\x33"
30099 "\x66\xa2\x54\x57\xcc\xde\x12\xa6"
30100 "\x3b\x44\xf1\xac\x36\x3b\x97\xc1"
30101 "\x96\x94\xf2\x67\x57\x23\x9c\x29"
30102 "\xcd\xb7\x24\x2a\x8c\x86\xee\xaa"
30103 "\x0f\xee\xaf\xa0\xec\x40\x8c\x08"
30104 "\x18\xa1\xb4\x2c\x09\x46\x11\x7e"
30105 "\x97\x84\xb1\x03\xa5\x3e\x59\x05"
30106 "\x07\xc5\xf0\xcc\xb6\x71\x72\x2a"
30107 "\xa2\x02\x78\x60\x0b\xc4\x47\x93"
30108 "\xab\xcd\x67\x2b\xf5\xc5\x67\xa0"
30109 "\xc0\x3c\x6a\xd4\x7e\xc9\x93\x0c"
30110 "\x02\xdc\x15\x87\x48\x16\x26\x18"
30111 "\x4e\x0b\x16\x0e\xb3\x02\x3e\x4b"
30112 "\xc2\xe4\x49\x08\x9f\xb9\x8b\x1a"
30113 "\xca\x10\xe8\x6c\x58\xa9\x7e\xb8"
30114 "\xbe\xff\x58\x0e\x8a\xfb\x35\x93"
30115 "\xcc\x76\x7d\xd9\x44\x7c\x31\x96"
30116 "\xc0\x29\x73\xd3\x91\x0a\xc0\x65"
30117 "\x5c\xbe\xe7\x4e\xda\x31\x85\xf2"
30118 "\x72\xee\x34\xbe\x41\x90\xd4\x07"
30119 "\x50\x64\x56\x81\xe3\x27\xfb\xcc"
30120 "\xb7\x5c\x36\xb4\x6e\xbd\x23\xf8"
30121 "\xe8\x71\xce\xa8\x73\x77\x82\x74"
30122 "\xab\x8d\x0e\xe5\x93\x68\xb1\xd2"
30123 "\x51\xc2\x18\x58\xd5\x3f\x29\x6b"
30124 "\x2e\xd0\x88\x7f\x4a\x9d\xa2\xb8"
30125 "\xae\x96\x09\xbf\x47\xae\x7d\x12"
30126 "\x70\x67\xf1\xdd\xda\xdf\x47\x57"
30127 "\xc9\x2c\x0f\xcb\xf3\x57\xd4\xda"
30128 "\x00\x2e\x13\x48\x8f\xc0\xaa\x46"
30129 "\xe1\xc1\x57\x75\x1e\xce\x74\xc2"
30130 "\x82\xef\x31\x85\x8e\x38\x56\xff"
30131 "\xcb\xab\xe0\x78\x40\x51\xd3\xc5"
30132 "\xc3\xb1\xee\x9b\xd7\x72\x7f\x13"
30133 "\x83\x7f\x45\x49\x45\xa1\x05\x8e"
30134 "\xdc\x83\x81\x3c\x24\x28\x87\x08"
30135 "\xa0\x70\x73\x80\x42\xcf\x5c\x26"
30136 "\x39\xa5\xc5\x90\x5c\x56\xda\x58"
30137 "\x93\x45\x5d\x45\x64\x59\x16\x3f"
30138 "\xf1\x20\xf7\xa8\x2a\xd4\x3d\xbd"
30139 "\x17\xfb\x90\x01\xcf\x1e\x71\xab"
30140 "\x22\xa2\x24\xb5\x80\xac\xa2\x9a"
30141 "\x9c\x2d\x85\x69\xa7\x87\x33\x55"
30142 "\x65\x72\xc0\x91\x2a\x3d\x05\x33"
30143 "\x25\x0d\x29\x25\x9f\x45\x4e\xfa"
30144 "\x5d\x90\x3f\x34\x08\x54\xdb\x7d"
30145 "\x94\x20\xa2\x3b\x10\x01\xa4\x89"
30146 "\x1e\x90\x4f\x36\x3f\xc2\x40\x07"
30147 "\x3f\xab\x2e\x89\xce\x80\xe1\xf5"
30148 "\xac\xaf\x17\x10\x18\x0f\x4d\xe3"
30149 "\xfc\x82\x2b\xbe\xe2\x91\xfa\x5b"
30150 "\x9a\x9b\x2a\xd7\x99\x8d\x8f\xdc"
30151 "\x54\x99\xc4\xa3\x97\xfd\xd3\xdb"
30152 "\xd1\x51\x7c\xce\x13\x5c\x3b\x74"
30153 "\xda\x9a\xe3\xdc\xdc\x87\x84\x98"
30154 "\x16\x6d\xb0\x3d\x65\x57\x0b\xb2"
30155 "\xb8\x04\xd4\xea\x49\x72\xc3\x66"
30156 "\xbc\xdc\x91\x05\x2b\xa6\x5e\xeb"
30157 "\x55\x72\x3e\x34\xd4\x28\x4b\x9c"
30158 "\x07\x51\xf7\x30\xf3\xca\x04\xc1"
30159 "\xd3\x69\x50\x2c\x27\x27\xc4\xb9"
30160 "\x56\xc7\xa2\xd2\x66\x29\xea\xe0"
30161 "\x25\xb8\x49\xd1\x60\xc9\x5e\xb5"
30162 "\xed\x87\xb8\x74\x98\x0d\x16\x86"
30163 "\x2a\x02\x24\xde\xb9\xa9\x5e\xf0"
30164 "\xdd\xf7\x55\xb0\x26\x7a\x93\xd4"
30165 "\xe6\x7d\xd2\x43\xb2\x8f\x7e\x9a"
30166 "\x5d\x81\xe6\x28\xe5\x96\x7d\xc8"
30167 "\x33\xe0\x56\x57\xe2\xa0\xf2\x1d"
30168 "\x61\x78\x60\xd5\x81\x70\xa4\x11"
30169 "\x43\x36\xe9\xd1\x68\x27\x21\x3c"
30170 "\xb2\xa2\xad\x5f\x04\xd4\x55\x00"
30171 "\x25\x71\x91\xed\x3a\xc9\x7b\x57"
30172 "\x7b\xd1\x8a\xfb\x0e\xf5\x7b\x08"
30173 "\xa9\x26\x4f\x24\x5f\xdd\x79\xed"
30174 "\x19\xc4\xe1\xd5\xa8\x66\x60\xfc"
30175 "\x5d\x48\x11\xb0\xa3\xc3\xe6\xc0"
30176 "\xc6\x16\x7d\x20\x3f\x7c\x25\x52"
30177 "\xdf\x05\xdd\xb5\x0b\x92\xee\xc5"
30178 "\xe6\xd2\x7c\x3e\x2e\xd5\xac\xda"
30179 "\xdb\x48\x31\xac\x87\x13\x8c\xfa"
30180 "\xac\x18\xbc\xd1\x7f\x2d\xc6\x19"
30181 "\x8a\xfa\xa0\x97\x89\x26\x50\x46"
30182 "\x9c\xca\xe1\x73\x97\x26\x0a\x50"
30183 "\x95\xec\x79\x19\xf6\xbd\x9a\xa1"
30184 "\xcf\xc9\xab\xf7\x85\x84\xb2\xf5"
30185 "\x2c\x7c\x73\xaa\xe2\xc2\xfb\xcd"
30186 "\x5f\x08\x46\x2f\x8e\xd9\xff\xfd"
30187 "\x19\xf6\xf4\x5d\x2b\x4b\x54\xe2"
30188 "\x27\xaa\xfd\x2c\x5f\x75\x7c\xf6"
30189 "\x2c\x95\x77\xcc\x90\xa2\xda\x1e"
30190 "\x85\x37\x18\x34\x1d\xcf\x1b\xf2"
30191 "\x86\xda\x71\xfb\x72\xab\x87\x0f"
30192 "\x1e\x10\xb3\xba\x51\xea\x29\xd3"
30193 "\x8c\x87\xce\x4b\x66\xbf\x60\x6d"
30194 "\x81\x7c\xb8\x9c\xcc\x2e\x35\x02"
30195 "\x02\x32\x4a\x7a\x24\xc4\x9f\xce"
30196 "\xf0\x8a\x85\x90\xf3\x24\x95\x02"
30197 "\xec\x13\xc1\xa4\xdd\x44\x01\xef"
30198 "\xf6\xaa\x30\x70\xbf\x4e\x1a\xb9"
30199 "\xc0\xff\x3b\x57\x5d\x12\xfe\xc3"
30200 "\x1d\x5c\x3f\x74\xf9\xd9\x64\x61"
30201 "\x20\xb2\x76\x79\x38\xd2\x21\xfb"
30202 "\xc9\x32\xe8\xcc\x8e\x5f\xd7\x01"
30203 "\x9e\x25\x76\x4d\xa7\xc1\x33\x21"
30204 "\xfa\xcf\x98\x40\xd2\x1d\x48\xbd"
30205 "\xd0\xc0\x38\x90\x27\x9b\x89\x4a"
30206 "\x10\x1e\xaf\xa0\x78\x7d\x87\x2b"
30207 "\x72\x10\x02\xf0\x5d\x22\x8b\x22"
30208 "\xd7\x56\x7c\xd7\x6d\xcd\x9b\xc6"
30209 "\xbc\xb2\xa6\x36\xde\xac\x87\x14"
30210 "\x92\x93\x47\xca\x7d\xf4\x0b\x88"
30211 "\xea\xbf\x3f\x2f\xa9\x94\x24\x13"
30212 "\xa1\x52\x29\xfd\x5d\xa9\x76\x85"
30213 "\x21\x62\x39\xa3\xf0\xf7\xb5\xa3"
30214 "\xe0\x6c\x1b\xcb\xdb\x41\x91\xc6"
30215 "\x4f\xaa\x26\x8b\x15\xd5\x84\x3a"
30216 "\xda\xd6\x05\xc8\x8c\x0f\xe9\x19"
30217 "\x00\x81\x38\xfb\x8f\xdf\xb0\x63"
30218 "\x75\xe0\xe8\x8f\xef\x4a\xe0\x83"
30219 "\x34\xe9\x4e\x06\xd7\xbb\xcd\xed"
30220 "\x70\x0c\x72\x80\x64\x94\x67\xad"
30221 "\x4a\xda\x82\xcf\x60\xfc\x92\x43"
30222 "\xe3\x2f\xd1\x1e\x81\x1d\xdc\x62"
30223 "\xec\xb1\xb0\xad\x4f\x43\x1d\x38"
30224 "\x4e\x0d\x90\x40\x29\x1b\x98\xf1"
30225 "\xbc\x70\x4e\x5a\x08\xbe\x88\x3a"
30226 "\x55\xfb\x8c\x33\x1f\x0a\x7d\x2d"
30227 "\xdc\x75\x03\xd2\x3b\xe8\xb8\x32"
30228 "\x13\xab\x04\xbc\xe2\x33\x44\xa6"
30229 "\xff\x6e\xba\xbd\xdc\xe2\xbf\x54"
30230 "\x99\x71\x76\x59\x3b\x7a\xbc\xde"
30231 "\xa1\x6e\x73\x62\x96\x73\x56\x66"
30232 "\xfb\x1a\x56\x91\x2a\x8b\x12\xb0"
30233 "\x82\x9f\x9b\x0c\x42\xc7\x22\x2c"
30234 "\xbc\x49\xc5\x3c\x3b\xbf\x52\x64"
30235 "\xd6\xd4\x03\x52\xf3\xfd\x13\x98"
30236 "\xcc\xd8\xaa\x3e\x1d\x1f\x04\x8a"
30237 "\x03\x41\x19\x5b\x31\xf3\x48\x83"
30238 "\x49\xa3\xdd\xc9\x7c\x01\x34\x64"
30239 "\xe5\xf3\xdf\xc9\x7f\x17\xa2\xf5"
30240 "\x9c\x21\x79\x93\x91\x93\xbf\x9b"
30241 "\xa5\xa5\xda\x1d\x55\x32\x72\x78"
30242 "\xa6\x45\x2d\x21\x97\x6b\xfe\xbc"
30243 "\xd0\xe7\x8e\x97\x66\x85\x9e\x41"
30244 "\xfa\x2c\x8a\xee\x0d\x5a\x18\xf2"
30245 "\x15\x89\x8f\xfb\xbc\xd8\xa6\x0c"
30246 "\x83\xcc\x20\x08\xce\x70\xe5\xe6"
30247 "\xbb\x7d\x9f\x11\x5f\x1e\x16\x68"
30248 "\x18\xad\xa9\x4b\x04\x97\x8c\x18"
30249 "\xed\x2a\x70\x79\x39\xcf\x36\x72"
30250 "\x1e\x3e\x6d\x3c\x19\xce\x13\x19"
30251 "\xb5\x13\xe7\x02\xd8\x5c\xec\x0c"
30252 "\x81\xc5\xe5\x86\x10\x83\x9e\x67"
30253 "\x3b\x74\x29\x63\xda\x23\xbc\x43"
30254 "\xe9\x73\xa6\x2d\x25\x77\x66\xd0"
30255 "\x2e\x05\x38\xae\x2e\x0e\x7f\xaf"
30256 "\x82\xed\xef\x28\x39\x4c\x4b\x6f"
30257 "\xdb\xa1\xb5\x79\xd0\x5b\x50\x77"
30258 "\x6d\x75\x9f\x3c\xcf\xde\x41\xb8"
30259 "\xa9\x13\x11\x60\x19\x23\xc7\x35"
30260 "\x48\xbc\x14\x08\xf9\x57\xfe\x15"
30261 "\xfd\xb2\xbb\x8c\x44\x3b\xf1\x62"
30262 "\xbc\x0e\x01\x45\x39\xc0\xbb\xce"
30263 "\xf5\xb7\xe1\x16\x7b\xcc\x8d\x7f"
30264 "\xd3\x15\x36\xef\x8e\x4b\xaa\xee"
30265 "\x49\x0c\x6e\x9b\x8c\x0e\x9f\xe0"
30266 "\xd5\x7b\xdd\xbc\xb3\x67\x53\x6d"
30267 "\x8b\xbe\xa3\xcd\x1e\x37\x9d\xc3"
30268 "\x61\x36\xf4\x77\xec\x2b\xc7\x8b"
30269 "\xd7\xad\x8d\x23\xdd\xf7\x9d\xf1"
30270 "\x61\x1c\xbf\x09\xa5\x5e\xb9\x14"
30271 "\xa6\x3f\x1a\xd9\x12\xb4\xef\x56"
30272 "\x20\xa0\x77\x3e\xab\xf1\xb9\x91"
30273 "\x5a\x92\x85\x5c\x92\x15\xb2\x1f"
30274 "\xaf\xb0\x92\x23\x2d\x27\x8b\x7e"
30275 "\x12\xcc\x56\xaa\x62\x85\x15\xd7"
30276 "\x41\x89\x62\xd6\xd9\xd0\x6d\xbd"
30277 "\x21\xa8\x49\xb6\x35\x40\x2f\x8d"
30278 "\x2e\xfa\x24\x1e\x30\x12\x9c\x05"
30279 "\x59\xfa\xe1\xad\xc0\x53\x09\xda"
30280 "\xc0\x2e\x9d\x24\x0e\x4b\x6e\xd7"
30281 "\x68\x32\x6a\xa0\x3c\x23\xb6\x5a"
30282 "\x90\xb1\x1f\x62\xc8\x37\x36\x88"
30283 "\xa4\x4d\x91\x12\x8d\x51\x8d\x81"
30284 "\x44\x21\xfe\xd3\x61\x8d\xea\x5b"
30285 "\x87\x24\xa9\xe9\x87\xde\x75\x77"
30286 "\xc6\xa0\xd3\xf6\x99\x8b\x32\x56"
30287 "\x47\xc6\x60\x65\xb6\x4f\xd1\x59"
30288 "\x08\xb2\xe0\x15\x3e\xcb\x2c\xd6"
30289 "\x8d\xc6\xbf\xda\x63\xe2\x04\x88"
30290 "\x30\x9f\x37\x38\x98\x1c\x3e\x7a"
30291 "\xa8\x8f\x3e\x2c\xcf\x90\x15\x6e"
30292 "\x5d\xe9\x76\xd5\xdf\xc6\x2f\xf6"
30293 "\xf5\x4a\x86\xbd\x36\x2a\xda\xdf"
30294 "\x2f\xd8\x6e\x15\x18\x6b\xe9\xdb"
30295 "\x26\x54\x6e\x60\x3b\xb8\xf9\x91"
30296 "\xc1\x1d\xc0\x4f\x26\x8b\xdf\x55"
30297 "\x47\x2f\xce\xdd\x4e\x93\x58\x3f"
30298 "\x70\xdc\xf9\x4e\x9b\x37\x5e\x4f"
30299 "\x39\xb9\x30\xe6\xce\xdb\xaf\x46"
30300 "\xca\xfa\x52\xc9\x75\x3e\xd6\x96"
30301 "\xe8\x97\xf1\xb1\x64\x31\x71\x1e"
30302 "\x9f\xb6\xff\x69\xd6\xcd\x85\x4e"
30303 "\x20\xf5\xfc\x84\x3c\xaf\xcc\x8d"
30304 "\x5b\x52\xb8\xa2\x1c\x38\x47\x82"
30305 "\x96\xff\x06\x4c\xaf\x8a\xf4\x8f"
30306 "\xf8\x15\x97\xf6\xc3\xbc\x8c\x9e"
30307 "\xc2\x06\xd9\x64\xb8\x1b\x0d\xd1"
30308 "\x53\x55\x83\x7d\xcb\x8b\x7d\x20"
30309 "\xa7\x70\xcb\xaa\x25\xae\x5a\x4f"
30310 "\xdc\x66\xad\xe4\x54\xff\x09\xef"
30311 "\x25\xcb\xac\x59\x89\x1d\x06\xcf"
30312 "\xc7\x74\xe0\x5d\xa6\xd0\x04\xb4"
30313 "\x41\x75\x34\x80\x6c\x4c\xc9\xd0"
30314 "\x51\x0c\x0f\x84\x26\x75\x69\x23"
30315 "\x81\x67\xde\xbf\x6c\x57\x8a\xc4"
30316 "\xba\x91\xba\x8c\x2c\x75\xeb\x55"
30317 "\xe5\x1b\x13\xbc\xaa\xec\x31\xdb"
30318 "\xcc\x00\x3b\xe6\x50\xd8\xc3\xcc"
30319 "\x9c\xb8\x6e\xb4\x9b\x16\xee\x74"
30320 "\x26\x51\xda\x39\xe6\x31\xa1\xb2"
30321 "\xd7\x6f\xcb\xae\x7d\x9f\x38\x7d"
30322 "\x86\x49\x2a\x16\x5c\xc0\x08\xea"
30323 "\x6b\x55\x85\x47\xbb\x90\xba\x69"
30324 "\x56\xa5\x44\x62\x5b\xe6\x3b\xcc"
30325 "\xe7\x6d\x1e\xca\x4b\xf3\x86\xe0"
30326 "\x09\x76\x51\x83\x0a\x46\x19\x61"
30327 "\xf0\xce\xe1\x06\x7d\x06\xb4\xfe"
30328 "\xd9\xd3\x64\x8e\x0f\xd9\x64\x9e"
30329 "\x74\x44\x97\x5d\x92\x7b\xe3\xcf"
30330 "\x51\x44\xe7\xf2\xe7\xc0\x0c\xc2"
30331 "\xf1\xf7\xa6\x36\x52\x2f\x7c\x09"
30332 "\xfe\x8c\x59\x77\x52\x6a\x7e\xb3"
30333 "\x2b\xb9\x17\x78\xe4\xf2\x82\x62"
30334 "\x7f\x68\x8e\x04\xb4\x8f\x60\xd2"
30335 "\xc6\x22\x1e\x0f\x3a\x8e\x3c\xb2"
30336 "\x60\xbc\xa9\xb3\xda\xbd\x50\xe4"
30337 "\x33\x98\xdd\x6f\xe9\x3b\x77\x57"
30338 "\xeb\x7c\x8f\xbc\xfc\x34\x34\xb9"
30339 "\x40\x31\x67\xcf\xfe\x22\x20\xa5"
30340 "\x97\xe8\x4c\xa2\xc3\x94\xc6\x28"
30341 "\xa6\x24\xe5\xa6\xb5\xd8\x24\xef"
30342 "\x16\xa1\xc9\xe5\x92\xe6\x8c\x45"
30343 "\x24\x24\x51\x22\x1e\xad\xef\x2f"
30344 "\xb6\xbe\xfc\x92\x20\xac\x45\xe6"
30345 "\xc0\xb0\xc8\xfb\x21\x34\xd4\x05"
30346 "\x54\xb3\x99\xa4\xfe\xa9\xd5\xb5"
30347 "\x3b\x72\x83\xf6\xe2\xf9\x88\x0e"
30348 "\x20\x80\x3e\x4e\x8f\xa1\x75\x69"
30349 "\x43\x5a\x7c\x38\x62\x51\xb5\xb7"
30350 "\x84\x95\x3f\x6d\x24\xcc\xfd\x4b"
30351 "\x4a\xaa\x97\x83\x6d\x16\xa8\xc5"
30352 "\x18\xd9\xb9\xfe\xe2\x3f\xe8\xbd"
30353 "\x37\x44\xdf\x79\x3b\x34\x19\x1a"
30354 "\x65\x5e\xc7\x61\x1f\x17\x5e\x84"
30355 "\x20\x72\x32\x98\x8c\x9e\xac\x1f"
30356 "\x6e\x32\xae\x86\x46\x4f\x0f\x64"
30357 "\x3f\xce\x96\xe6\x02\x41\x53\x1f"
30358 "\x35\x30\x57\x7f\xfe\xb7\x47\xb9"
30359 "\x0c\x2f\x14\x34\x9b\x1c\x88\x17"
30360 "\xb5\xe5\x94\x17\x3e\xdc\x4d\x49"
30361 "\xe1\x5d\x75\x3e\xa6\x16\x42\xd4"
30362 "\x59\xb5\x24\x7c\x4c\x54\x1c\xf9"
30363 "\xd6\xed\x69\x22\x5f\x74\xc9\xa9"
30364 "\x7c\xb8\x09\xa7\xf9\x2b\x0d\x5f"
30365 "\x42\xff\x4e\x57\xde\x0c\x67\x45"
30366 "\xa4\x6e\xa0\x7e\x28\x34\xc5\xfe"
30367 "\x58\x7e\xda\xec\x9f\x0b\x31\x2a"
30368 "\x1f\x1b\x98\xad\x14\xcf\x9f\x96"
30369 "\xf8\x87\x0e\x14\x19\x81\x23\x53"
30370 "\x5f\x38\x08\xd9\xc1\xcb\xb2\xc5"
30371 "\x19\x72\x75\x01\xd4\xcf\xd9\x91"
30372 "\xfc\x48\xcc\xa3\x3c\xe6\x4c\xc6"
30373 "\x73\xde\x5e\x90\xce\x6c\x85\x43"
30374 "\x0d\xdf\xe3\x8c\x02\x62\xef\xac"
30375 "\xb8\x05\x80\x81\xf6\x22\x30\xad"
30376 "\x30\xa8\xcb\x55\x1e\xe6\x05\x7f"
30377 "\xc5\x58\x1a\x78\xb7\x2f\x8e\x3c"
30378 "\x80\x09\xca\xa2\x9a\x72\xeb\x10"
30379 "\x84\x54\xaa\x98\x35\x5e\xb1\xc2"
30380 "\xb7\x73\x14\x69\xef\xf8\x28\x43"
30381 "\x36\xd3\x10\x0a\xd6\x69\xf8\xc8"
30382 "\xbb\xe9\xe9\xf9\x29\x52\xf8\x6f"
30383 "\x12\x78\xf9\xc6\xb2\x12\xfd\x39"
30384 "\xa9\xeb\xe2\x47\xb9\x22\xc5\x8f"
30385 "\x4d\xb1\x17\x40\x02\x84\xed\x53"
30386 "\xc5\xfa\xc1\xcd\x59\x56\x93\xaa"
30387 "\x3f\x23\x3f\x02\xb7\xe9\x6e\xa0"
30388 "\xbc\x96\xb8\xb2\xf8\x04\x19\x87"
30389 "\xe9\x4f\x29\xbf\x3a\xcb\x6d\x48"
30390 "\xc9\xe7\x1f\xb7\xa8\xf8\xd4\xb4"
30391 "\x6d\x0f\xb4\xf6\x44\x11\x0f\xf7"
30392 "\x3d\xd2\x36\x05\x67\xa1\x46\x81"
30393 "\x90\xe9\x60\x64\xfa\x52\x87\x37"
30394 "\x44\x01\xbd\x58\xe1\xda\xda\x1e"
30395 "\xa7\x09\xf7\x43\x31\x2b\x4b\x55"
30396 "\xbd\x0d\x53\x7f\x12\x6c\xf5\x07"
30397 "\xfc\x61\xda\xd6\x0a\xbd\x89\x5f"
30398 "\x2c\xf5\xa8\x1f\x0d\x60\xe4\x3c"
30399 "\x5d\x94\x8a\x1f\x64\xce\xd5\x16"
30400 "\x73\xbc\xbe\xb1\x85\x28\xcb\x0b"
30401 "\x47\x5c\x1f\x66\x25\x89\x61\x6a"
30402 "\xa7\xcd\xf8\x1b\x31\x88\x42\x71"
30403 "\x58\x65\x53\xd5\xc0\xa3\x56\x2e"
30404 "\xb6\x86\x9e\x13\x78\x34\x36\x85"
30405 "\xbb\xce\x6e\x54\x33\xb9\x97\xc5"
30406 "\x72\xb8\xe0\x13\x34\x04\xbf\x83"
30407 "\xbf\x78\x1d\x7c\x23\x34\x90\xe0"
30408 "\x57\xd4\x3f\xc6\x61\xe3\xca\x96"
30409 "\x13\xdd\x9e\x20\x51\x18\x73\x37"
30410 "\x69\x37\xfb\xe5\x60\x1f\xf2\xa1"
30411 "\xef\xa2\x6e\x16\x32\x8e\xc3\xb6"
30412 "\x21\x5e\xc2\x1c\xb6\xc6\x96\x72"
30413 "\x4f\xa6\x85\x69\xa9\x5d\xb2\x2e"
30414 "\xac\xfe\x6e\xc3\xe7\xb3\x51\x08"
30415 "\x66\x2a\xac\x59\xb3\x73\x86\xae"
30416 "\x6d\x85\x97\x37\x68\xef\xa7\x85"
30417 "\xb7\xdd\xdd\xd9\x85\xc9\x57\x01"
30418 "\x10\x2b\x9a\x1e\x44\x12\x87\xa5"
30419 "\x60\x1f\x88\xae\xbf\x14\x2d\x05"
30420 "\x4c\x60\x85\x8a\x45\xac\x0f\xc2",
30421 .len = 4096,
059c2a4d
EB
30422 }
30423};
30424
30425/* Adiantum with XChaCha20 instead of XChaCha12 */
30426/* Test vectors from https://github.com/google/adiantum */
30427static const struct cipher_testvec adiantum_xchacha20_aes_tv_template[] = {
30428 {
30429 .key = "\x9e\xeb\xb2\x49\x3c\x1c\xf5\xf4"
30430 "\x6a\x99\xc2\xc4\xdf\xb1\xf4\xdd"
30431 "\x75\x20\x57\xea\x2c\x4f\xcd\xb2"
30432 "\xa5\x3d\x7b\x49\x1e\xab\xfd\x0f",
30433 .klen = 32,
30434 .iv = "\xdf\x63\xd4\xab\xd2\x49\xf3\xd8"
30435 "\x33\x81\x37\x60\x7d\xfa\x73\x08"
30436 "\xd8\x49\x6d\x80\xe8\x2f\x62\x54"
30437 "\xeb\x0e\xa9\x39\x5b\x45\x7f\x8a",
30438 .ptext = "\x67\xc9\xf2\x30\x84\x41\x8e\x43"
30439 "\xfb\xf3\xb3\x3e\x79\x36\x7f\xe8",
30440 .ctext = "\xf6\x78\x97\xd6\xaa\x94\x01\x27"
30441 "\x2e\x4d\x83\xe0\x6e\x64\x9a\xdf",
30442 .len = 16,
059c2a4d
EB
30443 }, {
30444 .key = "\x36\x2b\x57\x97\xf8\x5d\xcd\x99"
30445 "\x5f\x1a\x5a\x44\x1d\x92\x0f\x27"
30446 "\xcc\x16\xd7\x2b\x85\x63\x99\xd3"
30447 "\xba\x96\xa1\xdb\xd2\x60\x68\xda",
30448 .klen = 32,
30449 .iv = "\xef\x58\x69\xb1\x2c\x5e\x9a\x47"
30450 "\x24\xc1\xb1\x69\xe1\x12\x93\x8f"
30451 "\x43\x3d\x6d\x00\xdb\x5e\xd8\xd9"
30452 "\x12\x9a\xfe\xd9\xff\x2d\xaa\xc4",
30453 .ptext = "\x5e\xa8\x68\x19\x85\x98\x12\x23"
30454 "\x26\x0a\xcc\xdb\x0a\x04\xb9\xdf"
30455 "\x4d\xb3\x48\x7b\xb0\xe3\xc8\x19"
30456 "\x43\x5a\x46\x06\x94\x2d\xf2",
30457 .ctext = "\x4b\xb8\x90\x10\xdf\x7f\x64\x08"
30458 "\x0e\x14\x42\x5f\x00\x74\x09\x36"
30459 "\x57\x72\xb5\xfd\xb5\x5d\xb8\x28"
30460 "\x0c\x04\x91\x14\x91\xe9\x37",
30461 .len = 31,
059c2a4d
EB
30462 }, {
30463 .key = "\xa5\x28\x24\x34\x1a\x3c\xd8\xf7"
30464 "\x05\x91\x8f\xee\x85\x1f\x35\x7f"
30465 "\x80\x3d\xfc\x9b\x94\xf6\xfc\x9e"
30466 "\x19\x09\x00\xa9\x04\x31\x4f\x11",
30467 .klen = 32,
30468 .iv = "\xa1\xba\x49\x95\xff\x34\x6d\xb8"
30469 "\xcd\x87\x5d\x5e\xfd\xea\x85\xdb"
30470 "\x8a\x7b\x5e\xb2\x5d\x57\xdd\x62"
30471 "\xac\xa9\x8c\x41\x42\x94\x75\xb7",
30472 .ptext = "\x69\xb4\xe8\x8c\x37\xe8\x67\x82"
30473 "\xf1\xec\x5d\x04\xe5\x14\x91\x13"
30474 "\xdf\xf2\x87\x1b\x69\x81\x1d\x71"
30475 "\x70\x9e\x9c\x3b\xde\x49\x70\x11"
30476 "\xa0\xa3\xdb\x0d\x54\x4f\x66\x69"
30477 "\xd7\xdb\x80\xa7\x70\x92\x68\xce"
30478 "\x81\x04\x2c\xc6\xab\xae\xe5\x60"
30479 "\x15\xe9\x6f\xef\xaa\x8f\xa7\xa7"
30480 "\x63\x8f\xf2\xf0\x77\xf1\xa8\xea"
30481 "\xe1\xb7\x1f\x9e\xab\x9e\x4b\x3f"
30482 "\x07\x87\x5b\x6f\xcd\xa8\xaf\xb9"
30483 "\xfa\x70\x0b\x52\xb8\xa8\xa7\x9e"
30484 "\x07\x5f\xa6\x0e\xb3\x9b\x79\x13"
30485 "\x79\xc3\x3e\x8d\x1c\x2c\x68\xc8"
30486 "\x51\x1d\x3c\x7b\x7d\x79\x77\x2a"
30487 "\x56\x65\xc5\x54\x23\x28\xb0\x03",
30488 .ctext = "\xb1\x8b\xa0\x05\x77\xa8\x4d\x59"
30489 "\x1b\x8e\x21\xfc\x3a\x49\xfa\xd4"
30490 "\xeb\x36\xf3\xc4\xdf\xdc\xae\x67"
30491 "\x07\x3f\x70\x0e\xe9\x66\xf5\x0c"
30492 "\x30\x4d\x66\xc9\xa4\x2f\x73\x9c"
30493 "\x13\xc8\x49\x44\xcc\x0a\x90\x9d"
30494 "\x7c\xdd\x19\x3f\xea\x72\x8d\x58"
30495 "\xab\xe7\x09\x2c\xec\xb5\x44\xd2"
30496 "\xca\xa6\x2d\x7a\x5c\x9c\x2b\x15"
30497 "\xec\x2a\xa6\x69\x91\xf9\xf3\x13"
30498 "\xf7\x72\xc1\xc1\x40\xd5\xe1\x94"
30499 "\xf4\x29\xa1\x3e\x25\x02\xa8\x3e"
30500 "\x94\xc1\x91\x14\xa1\x14\xcb\xbe"
30501 "\x67\x4c\xb9\x38\xfe\xa7\xaa\x32"
30502 "\x29\x62\x0d\xb2\xf6\x3c\x58\x57"
30503 "\xc1\xd5\x5a\xbb\xd6\xa6\x2a\xe5",
30504 .len = 128,
059c2a4d
EB
30505 }, {
30506 .key = "\xd3\x81\x72\x18\x23\xff\x6f\x4a"
30507 "\x25\x74\x29\x0d\x51\x8a\x0e\x13"
30508 "\xc1\x53\x5d\x30\x8d\xee\x75\x0d"
30509 "\x14\xd6\x69\xc9\x15\xa9\x0c\x60",
30510 .klen = 32,
30511 .iv = "\x65\x9b\xd4\xa8\x7d\x29\x1d\xf4"
30512 "\xc4\xd6\x9b\x6a\x28\xab\x64\xe2"
30513 "\x62\x81\x97\xc5\x81\xaa\xf9\x44"
30514 "\xc1\x72\x59\x82\xaf\x16\xc8\x2c",
30515 .ptext = "\xc7\x6b\x52\x6a\x10\xf0\xcc\x09"
30516 "\xc1\x12\x1d\x6d\x21\xa6\x78\xf5"
30517 "\x05\xa3\x69\x60\x91\x36\x98\x57"
30518 "\xba\x0c\x14\xcc\xf3\x2d\x73\x03"
30519 "\xc6\xb2\x5f\xc8\x16\x27\x37\x5d"
30520 "\xd0\x0b\x87\xb2\x50\x94\x7b\x58"
30521 "\x04\xf4\xe0\x7f\x6e\x57\x8e\xc9"
30522 "\x41\x84\xc1\xb1\x7e\x4b\x91\x12"
30523 "\x3a\x8b\x5d\x50\x82\x7b\xcb\xd9"
30524 "\x9a\xd9\x4e\x18\x06\x23\x9e\xd4"
30525 "\xa5\x20\x98\xef\xb5\xda\xe5\xc0"
30526 "\x8a\x6a\x83\x77\x15\x84\x1e\xae"
30527 "\x78\x94\x9d\xdf\xb7\xd1\xea\x67"
30528 "\xaa\xb0\x14\x15\xfa\x67\x21\x84"
30529 "\xd3\x41\x2a\xce\xba\x4b\x4a\xe8"
30530 "\x95\x62\xa9\x55\xf0\x80\xad\xbd"
30531 "\xab\xaf\xdd\x4f\xa5\x7c\x13\x36"
30532 "\xed\x5e\x4f\x72\xad\x4b\xf1\xd0"
30533 "\x88\x4e\xec\x2c\x88\x10\x5e\xea"
30534 "\x12\xc0\x16\x01\x29\xa3\xa0\x55"
30535 "\xaa\x68\xf3\xe9\x9d\x3b\x0d\x3b"
30536 "\x6d\xec\xf8\xa0\x2d\xf0\x90\x8d"
30537 "\x1c\xe2\x88\xd4\x24\x71\xf9\xb3"
30538 "\xc1\x9f\xc5\xd6\x76\x70\xc5\x2e"
30539 "\x9c\xac\xdb\x90\xbd\x83\x72\xba"
30540 "\x6e\xb5\xa5\x53\x83\xa9\xa5\xbf"
30541 "\x7d\x06\x0e\x3c\x2a\xd2\x04\xb5"
30542 "\x1e\x19\x38\x09\x16\xd2\x82\x1f"
30543 "\x75\x18\x56\xb8\x96\x0b\xa6\xf9"
30544 "\xcf\x62\xd9\x32\x5d\xa9\xd7\x1d"
30545 "\xec\xe4\xdf\x1b\xbe\xf1\x36\xee"
30546 "\xe3\x7b\xb5\x2f\xee\xf8\x53\x3d"
30547 "\x6a\xb7\x70\xa9\xfc\x9c\x57\x25"
30548 "\xf2\x89\x10\xd3\xb8\xa8\x8c\x30"
30549 "\xae\x23\x4f\x0e\x13\x66\x4f\xe1"
30550 "\xb6\xc0\xe4\xf8\xef\x93\xbd\x6e"
30551 "\x15\x85\x6b\xe3\x60\x81\x1d\x68"
30552 "\xd7\x31\x87\x89\x09\xab\xd5\x96"
30553 "\x1d\xf3\x6d\x67\x80\xca\x07\x31"
30554 "\x5d\xa7\xe4\xfb\x3e\xf2\x9b\x33"
30555 "\x52\x18\xc8\x30\xfe\x2d\xca\x1e"
30556 "\x79\x92\x7a\x60\x5c\xb6\x58\x87"
30557 "\xa4\x36\xa2\x67\x92\x8b\xa4\xb7"
30558 "\xf1\x86\xdf\xdc\xc0\x7e\x8f\x63"
30559 "\xd2\xa2\xdc\x78\xeb\x4f\xd8\x96"
30560 "\x47\xca\xb8\x91\xf9\xf7\x94\x21"
30561 "\x5f\x9a\x9f\x5b\xb8\x40\x41\x4b"
30562 "\x66\x69\x6a\x72\xd0\xcb\x70\xb7"
30563 "\x93\xb5\x37\x96\x05\x37\x4f\xe5"
30564 "\x8c\xa7\x5a\x4e\x8b\xb7\x84\xea"
30565 "\xc7\xfc\x19\x6e\x1f\x5a\xa1\xac"
30566 "\x18\x7d\x52\x3b\xb3\x34\x62\x99"
30567 "\xe4\x9e\x31\x04\x3f\xc0\x8d\x84"
30568 "\x17\x7c\x25\x48\x52\x67\x11\x27"
30569 "\x67\xbb\x5a\x85\xca\x56\xb2\x5c"
30570 "\xe6\xec\xd5\x96\x3d\x15\xfc\xfb"
30571 "\x22\x25\xf4\x13\xe5\x93\x4b\x9a"
30572 "\x77\xf1\x52\x18\xfa\x16\x5e\x49"
30573 "\x03\x45\xa8\x08\xfa\xb3\x41\x92"
30574 "\x79\x50\x33\xca\xd0\xd7\x42\x55"
30575 "\xc3\x9a\x0c\x4e\xd9\xa4\x3c\x86"
30576 "\x80\x9f\x53\xd1\xa4\x2e\xd1\xbc"
30577 "\xf1\x54\x6e\x93\xa4\x65\x99\x8e"
30578 "\xdf\x29\xc0\x64\x63\x07\xbb\xea",
30579 .ctext = "\xe0\x33\xf6\xe0\xb4\xa5\xdd\x2b"
30580 "\xdd\xce\xfc\x12\x1e\xfc\x2d\xf2"
30581 "\x8b\xc7\xeb\xc1\xc4\x2a\xe8\x44"
30582 "\x0f\x3d\x97\x19\x2e\x6d\xa2\x38"
30583 "\x9d\xa6\xaa\xe1\x96\xb9\x08\xe8"
30584 "\x0b\x70\x48\x5c\xed\xb5\x9b\xcb"
30585 "\x8b\x40\x88\x7e\x69\x73\xf7\x16"
30586 "\x71\xbb\x5b\xfc\xa3\x47\x5d\xa6"
30587 "\xae\x3a\x64\xc4\xe7\xb8\xa8\xe7"
30588 "\xb1\x32\x19\xdb\xe3\x01\xb8\xf0"
30589 "\xa4\x86\xb4\x4c\xc2\xde\x5c\xd2"
30590 "\x6c\x77\xd2\xe8\x18\xb7\x0a\xc9"
30591 "\x3d\x53\xb5\xc4\x5c\xf0\x8c\x06"
30592 "\xdc\x90\xe0\x74\x47\x1b\x0b\xf6"
30593 "\xd2\x71\x6b\xc4\xf1\x97\x00\x2d"
30594 "\x63\x57\x44\x1f\x8c\xf4\xe6\x9b"
30595 "\xe0\x7a\xdd\xec\x32\x73\x42\x32"
30596 "\x7f\x35\x67\x60\x0d\xcf\x10\x52"
30597 "\x61\x22\x53\x8d\x8e\xbb\x33\x76"
30598 "\x59\xd9\x10\xce\xdf\xef\xc0\x41"
30599 "\xd5\x33\x29\x6a\xda\x46\xa4\x51"
30600 "\xf0\x99\x3d\x96\x31\xdd\xb5\xcb"
30601 "\x3e\x2a\x1f\xc7\x5c\x79\xd3\xc5"
30602 "\x20\xa1\xb1\x39\x1b\xc6\x0a\x70"
30603 "\x26\x39\x95\x07\xad\x7a\xc9\x69"
30604 "\xfe\x81\xc7\x88\x08\x38\xaf\xad"
30605 "\x9e\x8d\xfb\xe8\x24\x0d\x22\xb8"
30606 "\x0e\xed\xbe\x37\x53\x7c\xa6\xc6"
30607 "\x78\x62\xec\xa3\x59\xd9\xc6\x9d"
30608 "\xb8\x0e\x69\x77\x84\x2d\x6a\x4c"
30609 "\xc5\xd9\xb2\xa0\x2b\xa8\x80\xcc"
30610 "\xe9\x1e\x9c\x5a\xc4\xa1\xb2\x37"
30611 "\x06\x9b\x30\x32\x67\xf7\xe7\xd2"
30612 "\x42\xc7\xdf\x4e\xd4\xcb\xa0\x12"
30613 "\x94\xa1\x34\x85\x93\x50\x4b\x0a"
30614 "\x3c\x7d\x49\x25\x01\x41\x6b\x96"
30615 "\xa9\x12\xbb\x0b\xc0\xd7\xd0\x93"
30616 "\x1f\x70\x38\xb8\x21\xee\xf6\xa7"
30617 "\xee\xeb\xe7\x81\xa4\x13\xb4\x87"
30618 "\xfa\xc1\xb0\xb5\x37\x8b\x74\xa2"
30619 "\x4e\xc7\xc2\xad\x3d\x62\x3f\xf8"
30620 "\x34\x42\xe5\xae\x45\x13\x63\xfe"
30621 "\xfc\x2a\x17\x46\x61\xa9\xd3\x1c"
30622 "\x4c\xaf\xf0\x09\x62\x26\x66\x1e"
30623 "\x74\xcf\xd6\x68\x3d\x7d\xd8\xb7"
30624 "\xe7\xe6\xf8\xf0\x08\x20\xf7\x47"
30625 "\x1c\x52\xaa\x0f\x3e\x21\xa3\xf2"
30626 "\xbf\x2f\x95\x16\xa8\xc8\xc8\x8c"
30627 "\x99\x0f\x5d\xfb\xfa\x2b\x58\x8a"
30628 "\x7e\xd6\x74\x02\x60\xf0\xd0\x5b"
30629 "\x65\xa8\xac\xea\x8d\x68\x46\x34"
30630 "\x26\x9d\x4f\xb1\x9a\x8e\xc0\x1a"
30631 "\xf1\xed\xc6\x7a\x83\xfd\x8a\x57"
30632 "\xf2\xe6\xe4\xba\xfc\xc6\x3c\xad"
30633 "\x5b\x19\x50\x2f\x3a\xcc\x06\x46"
30634 "\x04\x51\x3f\x91\x97\xf0\xd2\x07"
30635 "\xe7\x93\x89\x7e\xb5\x32\x0f\x03"
30636 "\xe5\x58\x9e\x74\x72\xeb\xc2\x38"
30637 "\x00\x0c\x91\x72\x69\xed\x7d\x6d"
30638 "\xc8\x71\xf0\xec\xff\x80\xd9\x1c"
30639 "\x9e\xd2\xfa\x15\xfc\x6c\x4e\xbc"
30640 "\xb1\xa6\xbd\xbd\x70\x40\xca\x20"
30641 "\xb8\x78\xd2\xa3\xc6\xf3\x79\x9c"
30642 "\xc7\x27\xe1\x6a\x29\xad\xa4\x03",
30643 .len = 512,
333e6647
EB
30644 }, {
30645 .key = "\xeb\xe5\x11\x3a\x72\xeb\x10\xbe"
30646 "\x70\xcf\xe3\xea\xc2\x74\xa4\x48"
30647 "\x29\x0f\x8f\x3f\xcf\x4c\x28\x2a"
30648 "\x4e\x1e\x3c\xc3\x27\x9f\x16\x13",
30649 .klen = 32,
30650 .iv = "\x84\x3e\xa2\x7c\x06\x72\xb2\xad"
30651 "\x88\x76\x65\xb4\x1a\x29\x27\x12"
30652 "\x45\xb6\x8d\x0e\x4b\x87\x04\xfc"
30653 "\xb5\xcd\x1c\x4d\xe8\x06\xf1\xcb",
30654 .ptext = "\x8e\xb6\x07\x9b\x7c\xe4\xa4\xa2"
30655 "\x41\x6c\x24\x1d\xc0\x77\x4e\xd9"
30656 "\x4a\xa4\x2c\xb6\xe4\x55\x02\x7f"
30657 "\xc4\xec\xab\xc2\x5c\x63\x40\x92"
30658 "\x38\x24\x62\xdb\x65\x82\x10\x7f"
30659 "\x21\xa5\x39\x3a\x3f\x38\x7e\xad"
30660 "\x6c\x7b\xc9\x3f\x89\x8f\xa8\x08"
30661 "\xbd\x31\x57\x3c\x7a\x45\x67\x30"
30662 "\xa9\x27\x58\x34\xbe\xe3\xa4\xc3"
30663 "\xff\xc2\x9f\x43\xf0\x04\xba\x1e"
30664 "\xb6\xf3\xc4\xce\x09\x7a\x2e\x42"
30665 "\x7d\xad\x97\xc9\x77\x9a\x3a\x78"
30666 "\x6c\xaf\x7c\x2a\x46\xb4\x41\x86"
30667 "\x1a\x20\xf2\x5b\x1a\x60\xc9\xc4"
30668 "\x47\x5d\x10\xa4\xd2\x15\x6a\x19"
30669 "\x4f\xd5\x51\x37\xd5\x06\x70\x1a"
30670 "\x3e\x78\xf0\x2e\xaa\xb5\x2a\xbd"
30671 "\x83\x09\x7c\xcb\x29\xac\xd7\x9c"
30672 "\xbf\x80\xfd\x9d\xd4\xcf\x64\xca"
30673 "\xf8\xc9\xf1\x77\x2e\xbb\x39\x26"
30674 "\xac\xd9\xbe\xce\x24\x7f\xbb\xa2"
30675 "\x82\xba\xeb\x5f\x65\xc5\xf1\x56"
30676 "\x8a\x52\x02\x4d\x45\x23\x6d\xeb"
30677 "\xb0\x60\x7b\xd8\x6e\xb2\x98\xd2"
30678 "\xaf\x76\xf2\x33\x9b\xf3\xbb\x95"
30679 "\xc0\x50\xaa\xc7\x47\xf6\xb3\xf3"
30680 "\x77\x16\xcb\x14\x95\xbf\x1d\x32"
30681 "\x45\x0c\x75\x52\x2c\xe8\xd7\x31"
30682 "\xc0\x87\xb0\x97\x30\x30\xc5\x5e"
30683 "\x50\x70\x6e\xb0\x4b\x4e\x38\x19"
30684 "\x46\xca\x38\x6a\xca\x7d\xfe\x05"
30685 "\xc8\x80\x7c\x14\x6c\x24\xb5\x42"
30686 "\x28\x04\x4c\xff\x98\x20\x08\x10"
30687 "\x90\x31\x03\x78\xd8\xa1\xe6\xf9"
30688 "\x52\xc2\xfc\x3e\xa7\x68\xce\xeb"
30689 "\x59\x5d\xeb\xd8\x64\x4e\xf8\x8b"
30690 "\x24\x62\xcf\x17\x36\x84\xc0\x72"
30691 "\x60\x4f\x3e\x47\xda\x72\x3b\x0e"
30692 "\xce\x0b\xa9\x9c\x51\xdc\xa5\xb9"
30693 "\x71\x73\x08\x4e\x22\x31\xfd\x88"
30694 "\x29\xfc\x8d\x17\x3a\x7a\xe5\xb9"
30695 "\x0b\x9c\x6d\xdb\xce\xdb\xde\x81"
30696 "\x73\x5a\x16\x9d\x3c\x72\x88\x51"
30697 "\x10\x16\xf3\x11\x6e\x32\x5f\x4c"
30698 "\x87\xce\x88\x2c\xd2\xaf\xf5\xb7"
30699 "\xd8\x22\xed\xc9\xae\x68\x7f\xc5"
30700 "\x30\x62\xbe\xc9\xe0\x27\xa1\xb5"
30701 "\x57\x74\x36\x60\xb8\x6b\x8c\xec"
30702 "\x14\xad\xed\x69\xc9\xd8\xa5\x5b"
30703 "\x38\x07\x5b\xf3\x3e\x74\x48\x90"
30704 "\x61\x17\x23\xdd\x44\xbc\x9d\x12"
30705 "\x0a\x3a\x63\xb2\xab\x86\xb8\x67"
30706 "\x85\xd6\xb2\x5d\xde\x4a\xc1\x73"
30707 "\x2a\x7c\x53\x8e\xd6\x7d\x0e\xe4"
30708 "\x3b\xab\xc5\x3d\x32\x79\x18\xb7"
30709 "\xd6\x50\x4d\xf0\x8a\x37\xbb\xd3"
30710 "\x8d\xd8\x08\xd7\x7d\xaa\x24\x52"
30711 "\xf7\x90\xe3\xaa\xd6\x49\x7a\x47"
30712 "\xec\x37\xad\x74\x8b\xc1\xb7\xfe"
30713 "\x4f\x70\x14\x62\x22\x8c\x63\xc2"
30714 "\x1c\x4e\x38\xc3\x63\xb7\xbf\x53"
30715 "\xbd\x1f\xac\xa6\x94\xc5\x81\xfa"
30716 "\xe0\xeb\x81\xe9\xd9\x1d\x32\x3c"
30717 "\x85\x12\xca\x61\x65\xd1\x66\xd8"
30718 "\xe2\x0e\xc3\xa3\xff\x0d\xd3\xee"
30719 "\xdf\xcc\x3e\x01\xf5\x9b\x45\x5c"
30720 "\x33\xb5\xb0\x8d\x36\x1a\xdf\xf8"
30721 "\xa3\x81\xbe\xdb\x3d\x4b\xf6\xc6"
30722 "\xdf\x7f\xb0\x89\xbd\x39\x32\x50"
30723 "\xbb\xb2\xe3\x5c\xbb\x4b\x18\x98"
30724 "\x08\x66\x51\xe7\x4d\xfb\xfc\x4e"
30725 "\x22\x42\x6f\x61\xdb\x7f\x27\x88"
30726 "\x29\x3f\x02\xa9\xc6\x83\x30\xcc"
30727 "\x8b\xd5\x64\x7b\x7c\x76\x16\xbe"
30728 "\xb6\x8b\x26\xb8\x83\x16\xf2\x6b"
30729 "\xd1\xdc\x20\x6b\x42\x5a\xef\x7a"
30730 "\xa9\x60\xb8\x1a\xd3\x0d\x4e\xcb"
30731 "\x75\x6b\xc5\x80\x43\x38\x7f\xad"
30732 "\x9c\x56\xd9\xc4\xf1\x01\x74\xf0"
30733 "\x16\x53\x8d\x69\xbe\xf2\x5d\x92"
30734 "\x34\x38\xc8\x84\xf9\x1a\xfc\x26"
30735 "\x16\xcb\xae\x7d\x38\x21\x67\x74"
30736 "\x4c\x40\xaa\x6b\x97\xe0\xb0\x2f"
30737 "\xf5\x3e\xf6\xe2\x24\xc8\x22\xa4"
30738 "\xa8\x88\x27\x86\x44\x75\x5b\x29"
30739 "\x34\x08\x4b\xa1\xfe\x0c\x26\xe5"
30740 "\xac\x26\xf6\x21\x0c\xfb\xde\x14"
30741 "\xfe\xd7\xbe\xee\x48\x93\xd6\x99"
30742 "\x56\x9c\xcf\x22\xad\xa2\x53\x41"
30743 "\xfd\x58\xa1\x68\xdc\xc4\xef\x20"
30744 "\xa1\xee\xcf\x2b\x43\xb6\x57\xd8"
30745 "\xfe\x01\x80\x25\xdf\xd2\x35\x44"
30746 "\x0d\x15\x15\xc3\xfc\x49\xbf\xd0"
30747 "\xbf\x2f\x95\x81\x09\xa6\xb6\xd7"
30748 "\x21\x03\xfe\x52\xb7\xa8\x32\x4d"
30749 "\x75\x1e\x46\x44\xbc\x2b\x61\x04"
30750 "\x1b\x1c\xeb\x39\x86\x8f\xe9\x49"
30751 "\xce\x78\xa5\x5e\x67\xc5\xe9\xef"
30752 "\x43\xf8\xf1\x35\x22\x43\x61\xc1"
30753 "\x27\xb5\x09\xb2\xb8\xe1\x5e\x26"
30754 "\xcc\xf3\x6f\xb2\xb7\x55\x30\x98"
30755 "\x87\xfc\xe7\xa8\xc8\x94\x86\xa1"
30756 "\xd9\xa0\x3c\x74\x16\xb3\x25\x98"
30757 "\xba\xc6\x84\x4a\x27\xa6\x58\xfe"
30758 "\xe1\x68\x04\x30\xc8\xdb\x44\x52"
30759 "\x4e\xb2\xa4\x6f\xf7\x63\xf2\xd6"
30760 "\x63\x36\x17\x04\xf8\x06\xdb\xeb"
30761 "\x99\x17\xa5\x1b\x61\x90\xa3\x9f"
30762 "\x05\xae\x3e\xe4\xdb\xc8\x1c\x8e"
30763 "\x77\x27\x88\xdf\xd3\x22\x5a\xc5"
30764 "\x9c\xd6\x22\xf8\xc4\xd8\x92\x9d"
30765 "\x16\xcc\x54\x25\x3b\x6f\xdb\xc0"
30766 "\x78\xd8\xe3\xb3\x03\x69\xd7\x5d"
30767 "\xf8\x08\x04\x63\x61\x9d\x76\xf9"
30768 "\xad\x1d\xc4\x30\x9f\x75\x89\x6b"
30769 "\xfb\x62\xba\xae\xcb\x1b\x6c\xe5"
30770 "\x7e\xea\x58\x6b\xae\xce\x9b\x48"
30771 "\x4b\x80\xd4\x5e\x71\x53\xa7\x24"
30772 "\x73\xca\xf5\x3e\xbb\x5e\xd3\x1c"
30773 "\x33\xe3\xec\x5b\xa0\x32\x9d\x25"
30774 "\x0e\x0c\x28\x29\x39\x51\xc5\x70"
30775 "\xec\x60\x8f\x77\xfc\x06\x7a\x33"
30776 "\x19\xd5\x7a\x6e\x94\xea\xa3\xeb"
30777 "\x13\xa4\x2e\x09\xd8\x81\x65\x83"
30778 "\x03\x63\x8b\xb5\xc9\x89\x98\x73"
30779 "\x69\x53\x8e\xab\xf1\xd2\x2f\x67"
30780 "\xbd\xa6\x16\x6e\xd0\x8b\xc1\x25"
30781 "\x93\xd2\x50\x7c\x1f\xe1\x11\xd0"
30782 "\x58\x0d\x2f\x72\xe7\x5e\xdb\xa2"
30783 "\x55\x9a\xe0\x09\x21\xac\x61\x85"
30784 "\x4b\x20\x95\x73\x63\x26\xe3\x83"
30785 "\x4b\x5b\x40\x03\x14\xb0\x44\x16"
30786 "\xbd\xe0\x0e\xb7\x66\x56\xd7\x30"
30787 "\xb3\xfd\x8a\xd3\xda\x6a\xa7\x3d"
30788 "\x98\x09\x11\xb7\x00\x06\x24\x5a"
30789 "\xf7\x42\x94\xa6\x0e\xb1\x6d\x48"
30790 "\x74\xb1\xa7\xe6\x92\x0a\x15\x9a"
30791 "\xf5\xfa\x55\x1a\x6c\xdd\x71\x08"
30792 "\xd0\xf7\x8d\x0e\x7c\x67\x4d\xc6"
30793 "\xe6\xde\x78\x88\x88\x3c\x5e\x23"
30794 "\x46\xd2\x25\xa4\xfb\xa3\x26\x3f"
30795 "\x2b\xfd\x9c\x20\xda\x72\xe1\x81"
30796 "\x8f\xe6\xae\x08\x1d\x67\x15\xde"
30797 "\x86\x69\x1d\xc6\x1e\x6d\xb7\x5c"
30798 "\xdd\x43\x72\x5a\x7d\xa7\xd8\xd7"
30799 "\x1e\x66\xc5\x90\xf6\x51\x76\x91"
30800 "\xb3\xe3\x39\x81\x75\x08\xfa\xc5"
30801 "\x06\x70\x69\x1b\x2c\x20\x74\xe0"
30802 "\x53\xb0\x0c\x9d\xda\xa9\x5b\xdd"
30803 "\x1c\x38\x6c\x9e\x3b\xc4\x7a\x82"
30804 "\x93\x9e\xbb\x75\xfb\x19\x4a\x55"
30805 "\x65\x7a\x3c\xda\xcb\x66\x5c\x13"
30806 "\x17\x97\xe8\xbd\xae\x24\xd9\x76"
30807 "\xfb\x8c\x73\xde\xbd\xb4\x1b\xe0"
30808 "\xb9\x2c\xe8\xe0\x1d\x3f\xa8\x2c"
30809 "\x1e\x81\x5b\x77\xe7\xdf\x6d\x06"
30810 "\x7c\x9a\xf0\x2b\x5d\xfc\x86\xd5"
30811 "\xb1\xad\xbc\xa8\x73\x48\x61\x67"
30812 "\xd6\xba\xc8\xe8\xe2\xb8\xee\x40"
30813 "\x36\x22\x3e\x61\xf6\xc8\x16\xe4"
30814 "\x0e\x88\xad\x71\x53\x58\xe1\x6c"
30815 "\x8f\x4f\x89\x4b\x3e\x9c\x7f\xe9"
30816 "\xad\xc2\x28\xc2\x3a\x29\xf3\xec"
30817 "\xa9\x28\x39\xba\xc2\x86\xe1\x06"
30818 "\xf3\x8b\xe3\x95\x0c\x87\xb8\x1b"
30819 "\x72\x35\x8e\x8f\x6d\x18\xc8\x1c"
30820 "\xa5\x5d\x57\x9d\x73\x8a\xbb\x9e"
30821 "\x21\x05\x12\xd7\xe0\x21\x1c\x16"
30822 "\x3a\x95\x85\xbc\xb0\x71\x0b\x36"
30823 "\x6c\x44\x8d\xef\x3b\xec\x3f\x8e"
30824 "\x24\xa9\xe3\xa7\x63\x23\xca\x09"
30825 "\x62\x96\x79\x0c\x81\x05\x41\xf2"
30826 "\x07\x20\x26\xe5\x8e\x10\x54\x03"
30827 "\x05\x7b\xfe\x0c\xcc\x8c\x50\xe5"
30828 "\xca\x33\x4d\x48\x7a\x03\xd5\x64"
30829 "\x49\x09\xf2\x5c\x5d\xfe\x2b\x30"
30830 "\xbf\x29\x14\x29\x8b\x9b\x7c\x96"
30831 "\x47\x07\x86\x4d\x4e\x4d\xf1\x47"
30832 "\xd1\x10\x2a\xa8\xd3\x15\x8c\xf2"
30833 "\x2f\xf4\x3a\xdf\xd0\xa7\xcb\x5a"
30834 "\xad\x99\x39\x4a\xdf\x60\xbe\xf9"
30835 "\x91\x4e\xf5\x94\xef\xc5\x56\x32"
30836 "\x33\x86\x78\xa3\xd6\x4c\x29\x7c"
30837 "\xe8\xac\x06\xb5\xf5\x01\x5c\x9f"
30838 "\x02\xc8\xe8\xbf\x5c\x1a\x7f\x4d"
30839 "\x28\xa5\xb9\xda\xa9\x5e\xe7\x4b"
30840 "\xf4\x3d\xe9\x1d\x28\xaa\x1a\x8a"
30841 "\x76\xc8\x6c\x19\x61\x3c\x9e\x29"
30842 "\xcd\xbe\xff\xe0\x1c\xb8\x67\xb5"
30843 "\xa4\x46\xf8\xb9\x8a\xa2\xf6\x7c"
30844 "\xef\x23\x73\x0c\xe9\x72\x0a\x0d"
30845 "\x9b\x40\xd8\xfb\x0c\x9c\xab\xa8",
30846 .ctext = "\xfc\x02\x83\x13\x73\x06\x70\x3f"
30847 "\x71\x28\x98\x61\xe5\x2c\x45\x49"
30848 "\x18\xa2\x0e\x17\xc9\xdb\x4d\xf6"
30849 "\xbe\x05\x02\x35\xc1\x18\x61\x28"
30850 "\xff\x28\x0a\xd9\x00\xb8\xed\xec"
30851 "\x14\x80\x88\x56\xcf\x98\x32\xcc"
30852 "\xb0\xee\xb4\x5e\x2d\x61\x59\xcb"
30853 "\x48\xc9\x25\xaa\x7e\x5f\xe5\x4f"
30854 "\x95\x8f\x5d\x47\xe8\xc3\x09\xb4"
30855 "\xce\xe7\x74\xcd\xc6\x09\x5c\xfc"
30856 "\xc7\x79\xc9\x39\xe4\xe3\x9b\x59"
30857 "\x67\x61\x10\xc9\xb7\x7a\xa8\x11"
30858 "\x59\xf6\x7a\x67\x1c\x3a\x70\x76"
30859 "\x2e\x0e\xbd\x10\x93\x01\x06\xea"
30860 "\x51\xc6\x5c\xa7\xda\xd1\x7d\x06"
30861 "\x8b\x1d\x5b\xb6\x87\xf0\x32\xbe"
30862 "\xff\x55\xaa\x58\x5a\x28\xd1\x64"
30863 "\x45\x3b\x0b\x5c\xee\xc4\x12\x2d"
30864 "\x1f\xb7\xa5\x73\xf5\x20\xf5\xa8"
30865 "\x10\x9d\xd8\x16\xd2\x05\x4d\x49"
30866 "\x99\x4a\x71\x56\xec\xa3\xc7\x27"
30867 "\xb0\x98\xcd\x59\x3c\x8a\xd1\x9e"
30868 "\x33\xa5\x92\xf2\xb7\x87\x23\x5d"
30869 "\x53\x9a\x8e\x7c\x63\x57\x5e\x9a"
30870 "\x21\x54\x7a\x3c\x5a\xd5\x68\x69"
30871 "\x35\x17\x51\x06\x19\x82\x9d\x44"
30872 "\x9e\x8a\x75\xc5\x16\x55\xa4\x78"
30873 "\x95\x63\xc3\xf0\x91\x73\x77\x44"
30874 "\x0c\xff\xb9\xb3\xa7\x5f\xcf\x2a"
30875 "\xa2\x54\x9c\xe3\x8b\x7e\x9d\x65"
30876 "\xe5\x64\x8b\xbe\x06\x3a\x90\x31"
30877 "\xdb\x42\x78\xe9\xe6\x8a\xae\xba"
30878 "\x8f\xfb\xc9\x3d\xd9\xc2\x3e\x57"
30879 "\xd5\x58\xfe\x70\x44\xe5\x2a\xd5"
30880 "\x87\xcf\x9f\x6a\x02\xde\x48\xe9"
30881 "\x13\xed\x8d\x2b\xf2\xa1\x56\x07"
30882 "\x36\x2d\xcf\xc3\x5c\xd4\x4b\x20"
30883 "\xb0\xdf\x1a\x70\xed\x0a\xe4\x2e"
30884 "\x9a\xfc\x88\xa1\xc4\x2d\xd6\xb8"
30885 "\xf1\x6e\x2c\x5c\xdc\x0e\xb0\x21"
30886 "\x2d\x76\xb8\xc3\x05\x4c\xf5\xc5"
30887 "\x9a\x14\xab\x08\xc2\x67\x59\x30"
30888 "\x7a\xef\xd8\x4a\x89\x49\xd4\xf0"
30889 "\x22\x39\xf2\x61\xaa\x70\x36\xcf"
30890 "\x65\xee\x43\x83\x2e\x32\xe4\xc9"
30891 "\xc2\xf1\xc7\x08\x28\x59\x10\x6f"
30892 "\x7a\xeb\x8f\x78\x9e\xdf\x07\x0f"
30893 "\xca\xc7\x02\x6a\x2e\x2a\xf0\x64"
30894 "\xfa\x4c\x8c\x4c\xfc\x13\x23\x63"
30895 "\x54\xeb\x1d\x41\xdf\x88\xd6\x66"
30896 "\xae\x5e\x31\x74\x5d\x84\x65\xb8"
30897 "\x61\x1c\x88\x1b\x8f\xb6\x14\x4e"
30898 "\x73\x23\x27\x71\x85\x04\x07\x59"
30899 "\x18\xa3\x2b\x69\x2a\x42\x81\xbf"
30900 "\x40\xf4\x40\xdf\x04\xb8\x6c\x2e"
30901 "\x21\x5b\x22\x25\x61\x01\x96\xce"
30902 "\xfb\xbc\x75\x25\x2c\x03\x55\xea"
30903 "\xb6\x56\x31\x03\xc8\x98\x77\xd6"
30904 "\x30\x19\x9e\x45\x05\xfd\xca\xdf"
30905 "\xae\x89\x30\xa3\xc1\x65\x41\x67"
30906 "\x12\x8e\xa4\x61\xd0\x87\x04\x0a"
30907 "\xe6\xf3\x43\x3a\x38\xce\x22\x36"
30908 "\x41\xdc\xe1\x7d\xd2\xa6\xe2\x66"
30909 "\x21\x8d\xc9\x59\x73\x52\x34\xd8"
30910 "\x1f\xf1\x87\x00\x9b\x12\x74\xeb"
30911 "\xbb\xa9\x34\x0c\x8e\x79\x74\x64"
30912 "\xbf\x94\x97\xe4\x94\xda\xf0\x39"
30913 "\x66\xa8\xd9\x82\xe3\x11\x3d\xe7"
30914 "\xb3\x9a\x40\x7a\x6f\x71\xc7\x0f"
30915 "\x7b\x6d\x59\x79\x18\x2f\x11\x60"
30916 "\x1e\xe0\xae\x1b\x1b\xb4\xad\x4d"
30917 "\x63\xd9\x3e\xa0\x8f\xe3\x66\x8c"
30918 "\xfe\x5a\x73\x07\x95\x27\x1a\x07"
30919 "\x6e\xd6\x14\x3f\xbe\xc5\x99\x94"
30920 "\xcf\x40\xf4\x39\x1c\xf2\x99\x5b"
30921 "\xb7\xfb\xb4\x4e\x5f\x21\x10\x04"
30922 "\x24\x08\xd4\x0d\x10\x7a\x2f\x52"
30923 "\x7d\x91\xc3\x38\xd3\x16\xf0\xfd"
30924 "\x53\xba\xda\x88\xa5\xf6\xc7\xfd"
30925 "\x63\x4a\x9f\x48\xb5\x31\xc2\xe1"
30926 "\x7b\x3e\xac\x8d\xc9\x95\x02\x92"
30927 "\xcc\xbd\x0e\x15\x2d\x97\x08\x82"
30928 "\xa6\x99\xbc\x2c\x96\x91\xde\xa4"
30929 "\x9c\xf5\x2c\xef\x12\x29\xb0\x72"
30930 "\x5f\x60\x5d\x3d\xf3\x85\x59\x79"
30931 "\xac\x06\x63\x74\xcc\x1a\x8d\x0e"
30932 "\xa7\x5f\xd9\x3e\x84\xf7\xbb\xde"
30933 "\x06\xd9\x4b\xab\xee\xb2\x03\xbe"
30934 "\x68\x49\x72\x84\x8e\xf8\x45\x2b"
30935 "\x59\x99\x17\xd3\xe9\x32\x79\xc3"
30936 "\x83\x4c\x7a\x6c\x71\x53\x8c\x09"
30937 "\x76\xfb\x3e\x80\x99\xbc\x2c\x7d"
30938 "\x42\xe5\x70\x08\x80\xc7\xaf\x15"
30939 "\x90\xda\x98\x98\x81\x04\x1c\x4d"
30940 "\x78\xf1\xf3\xcc\x1b\x3a\x7b\xef"
30941 "\xea\xe1\xee\x0e\xd2\x32\xb6\x63"
30942 "\xbf\xb2\xb5\x86\x8d\x16\xd3\x23"
30943 "\x04\x59\x51\xbb\x17\x03\xc0\x07"
30944 "\x93\xbf\x72\x58\x30\xf2\x0a\xa2"
30945 "\xbc\x60\x86\x3b\x68\x91\x67\x14"
30946 "\x10\x76\xda\xa3\x98\x2d\xfc\x8a"
30947 "\xb8\x95\xf7\xd2\x8b\x97\x8b\xfc"
30948 "\xf2\x9e\x86\x20\xb6\xdf\x93\x41"
30949 "\x06\x5e\x37\x3e\xe2\xb8\xd5\x06"
30950 "\x59\xd2\x8d\x43\x91\x5a\xed\x94"
30951 "\x54\xc2\x77\xbc\x0b\xb4\x29\x80"
30952 "\x22\x19\xe7\x35\x1f\x29\x4f\xd8"
30953 "\x02\x98\xee\x83\xca\x4c\x94\xa3"
30954 "\xec\xde\x4b\xf5\xca\x57\x93\xa3"
30955 "\x72\x69\xfe\x27\x7d\x39\x24\x9a"
30956 "\x60\x19\x72\xbe\x24\xb2\x2d\x99"
30957 "\x8c\xb7\x32\xf8\x74\x77\xfc\x8d"
30958 "\xb2\xc1\x7a\x88\x28\x26\xea\xb7"
30959 "\xad\xf0\x38\x49\x88\x78\x73\xcd"
30960 "\x01\xef\xb9\x30\x1a\x33\xa3\x24"
30961 "\x9b\x0b\xc5\x89\x64\x3f\xbe\x76"
30962 "\xd5\xa5\x28\x74\xa2\xc6\xa0\xa0"
30963 "\xdd\x13\x81\x64\x2f\xd1\xab\x15"
30964 "\xab\x13\xb5\x68\x59\xa4\x9f\x0e"
30965 "\x1e\x0a\xaf\xf7\x0b\x6e\x6b\x0b"
30966 "\xf7\x95\x4c\xbc\x1d\x40\x6d\x9c"
30967 "\x08\x42\xef\x07\x03\xb7\xa3\xea"
30968 "\x2a\x5f\xec\x41\x3c\x72\x31\x9d"
30969 "\xdc\x6b\x3a\x5e\x35\x3d\x12\x09"
30970 "\x27\xe8\x63\xbe\xcf\xb3\xbc\x01"
30971 "\x2d\x0c\x86\xb2\xab\x4a\x69\xe5"
30972 "\xf8\x45\x97\x76\x0e\x31\xe5\xc6"
30973 "\x4c\x4f\x94\xa5\x26\x19\x9f\x1b"
30974 "\xe1\xf4\x79\x04\xb4\x93\x92\xdc"
30975 "\xa5\x2a\x66\x25\x0d\xb2\x9e\xea"
30976 "\xa8\xf6\x02\x77\x2d\xd1\x3f\x59"
30977 "\x5c\x04\xe2\x36\x52\x5f\xa1\x27"
30978 "\x0a\x07\x56\xb6\x2d\xd5\x90\x32"
30979 "\x64\xee\x3f\x42\x8f\x61\xf8\xa0"
30980 "\xc1\x8b\x1e\x0b\xa2\x73\xa9\xf3"
30981 "\xc9\x0e\xb1\x96\x3a\x67\x5f\x1e"
30982 "\xd1\x98\x57\xa2\xba\xb3\x23\x9d"
30983 "\xa3\xc6\x3c\x7d\x5e\x3e\xb3\xe8"
30984 "\x80\xae\x2d\xda\x85\x90\x69\x3c"
30985 "\xf0\xe7\xdd\x9e\x20\x10\x52\xdb"
30986 "\xc3\xa0\x15\x73\xee\xb1\xf1\x0f"
30987 "\xf1\xf8\x3f\x40\xe5\x17\x80\x4e"
30988 "\x91\x95\xc7\xec\xd1\x9c\xd9\x1a"
30989 "\x8b\xac\xec\xc9\x0c\x07\xf4\xdc"
30990 "\x77\x2d\xa2\xc4\xf8\x27\xb5\x41"
30991 "\x2f\x85\xa6\x48\xad\x2a\x58\xc5"
30992 "\xea\xfa\x1c\xdb\xfd\xb7\x70\x45"
30993 "\xfc\xad\x11\xaf\x05\xed\xbf\xb6"
30994 "\x3c\xe1\x57\xb8\x72\x4a\xa0\x6b"
30995 "\x40\xd3\xda\xa9\xbc\xa5\x02\x95"
30996 "\x8c\xf0\x4e\x67\xb2\x58\x66\xea"
30997 "\x58\x0e\xc4\x88\xbc\x1d\x3b\x15"
30998 "\x17\xc8\xf5\xd0\x69\x08\x0a\x01"
30999 "\x80\x2e\x9e\x69\x4c\x37\x0b\xba"
31000 "\xfb\x1a\xa9\xc3\x5f\xec\x93\x7c"
31001 "\x4f\x72\x68\x1a\x05\xa1\x32\xe1"
31002 "\x16\x57\x9e\xa6\xe0\x42\xfa\x76"
31003 "\xc2\xf6\xd3\x9b\x37\x0d\xa3\x58"
31004 "\x30\x27\xe7\xea\xb1\xc3\x43\xfb"
31005 "\x67\x04\x70\x86\x0a\x71\x69\x34"
31006 "\xca\xb1\xe3\x4a\x56\xc9\x29\xd1"
31007 "\x12\x6a\xee\x89\xfd\x27\x83\xdf"
31008 "\x32\x1a\xc2\xe9\x94\xcc\x44\x2e"
31009 "\x0f\x3e\xc8\xc1\x70\x5b\xb0\xe8"
31010 "\x6d\x47\xe3\x39\x75\xd5\x45\x8a"
31011 "\x48\x4c\x64\x76\x6f\xae\x24\x6f"
31012 "\xae\x77\x33\x5b\xf5\xca\x9c\x30"
31013 "\x2c\x27\x15\x5e\x9c\x65\xad\x2a"
31014 "\x88\xb1\x36\xf6\xcd\x5e\x73\x72"
31015 "\x99\x5c\xe2\xe4\xb8\x3e\x12\xfb"
31016 "\x55\x86\xfa\xab\x53\x12\xdc\x6a"
31017 "\xe3\xfe\x6a\xeb\x9b\x5d\xeb\x72"
31018 "\x9d\xf1\xbb\x80\x80\x76\x2d\x57"
31019 "\x11\xde\xcf\xae\x46\xad\xdb\xcd"
31020 "\x62\x66\x3d\x7b\x7f\xcb\xc4\x43"
31021 "\x81\x0c\x7e\xb9\xb7\x47\x1a\x40"
31022 "\xfd\x08\x51\xbe\x01\x1a\xd8\x31"
31023 "\x43\x5e\x24\x91\xa2\x53\xa1\xc5"
31024 "\x8a\xe4\xbc\x00\x8e\xf7\x0c\x30"
31025 "\xdf\x03\x34\x2f\xce\xe4\x2e\xda"
31026 "\x2b\x87\xfc\xf8\x9b\x50\xd5\xb0"
31027 "\x5b\x08\xc6\x17\xa0\xae\x6b\x24"
31028 "\xe2\x1d\xd0\x47\xbe\xc4\x8f\x62"
31029 "\x1d\x12\x26\xc7\x78\xd4\xf2\xa3"
31030 "\xea\x39\x8c\xcb\x54\x3e\x2b\xb9"
31031 "\x9a\x8f\x97\xcf\x68\x53\x40\x02"
31032 "\x56\xac\x52\xbb\x62\x3c\xc6\x3f"
31033 "\x3a\x53\x3c\xe8\x21\x9a\x60\x65"
31034 "\x10\x6e\x59\xc3\x4f\xc3\x07\xc8"
31035 "\x61\x1c\xea\x62\x6e\xa2\x5a\x12"
31036 "\xd6\x10\x91\xbe\x5e\x58\x73\xbe"
31037 "\x77\xb8\xb7\x98\xc7\x7e\x78\x9a",
31038 .len = 1536,
31039 }, {
31040 .key = "\x60\xd5\x36\xb0\x8e\x5d\x0e\x5f"
31041 "\x70\x47\x8c\xea\x87\x30\x1d\x58"
31042 "\x2a\xb2\xe8\xc6\xcb\x60\xe7\x6f"
31043 "\x56\x95\x83\x98\x38\x80\x84\x8a",
31044 .klen = 32,
31045 .iv = "\x43\xfe\x63\x3c\xdc\x9e\x0c\xa6"
31046 "\xee\x9c\x0b\x97\x65\xc2\x56\x1d"
31047 "\x5d\xd0\xbf\xa3\x9f\x1e\xfb\x78"
31048 "\xbf\x51\x1b\x18\x73\x27\x27\x8c",
31049 .ptext = "\x0b\x77\xd8\xa3\x8c\xa6\xb2\x2d"
31050 "\x3e\xdd\xcc\x7c\x4a\x3e\x61\xc4"
31051 "\x9a\x7f\x73\xb0\xb3\x29\x32\x61"
31052 "\x13\x25\x62\xcc\x59\x4c\xf4\xdb"
31053 "\xd7\xf5\xf4\xac\x75\x51\xb2\x83"
31054 "\x64\x9d\x1c\x8b\xd1\x8b\x0c\x06"
31055 "\xf1\x9f\xba\x9d\xae\x62\xd4\xd8"
31056 "\x96\xbe\x3c\x4c\x32\xe4\x82\x44"
31057 "\x47\x5a\xec\xb8\x8a\x5b\xd5\x35"
31058 "\x57\x1e\x5c\x80\x6f\x77\xa9\xb9"
31059 "\xf2\x4f\x71\x1e\x48\x51\x86\x43"
31060 "\x0d\xd5\x5b\x52\x30\x40\xcd\xbb"
31061 "\x2c\x25\xc1\x47\x8b\xb7\x13\xc2"
31062 "\x3a\x11\x40\xfc\xed\x45\xa4\xf0"
31063 "\xd6\xfd\x32\x99\x13\x71\x47\x2e"
31064 "\x4c\xb0\x81\xac\x95\x31\xd6\x23"
31065 "\xa4\x2f\xa9\xe8\x5a\x62\xdc\x96"
31066 "\xcf\x49\xa7\x17\x77\x76\x8a\x8c"
31067 "\x04\x22\xaf\xaf\x6d\xd9\x16\xba"
31068 "\x35\x21\x66\x78\x3d\xb6\x65\x83"
31069 "\xc6\xc1\x67\x8c\x32\xd6\xc0\xc7"
31070 "\xf5\x8a\xfc\x47\xd5\x87\x09\x2f"
31071 "\x51\x9d\x57\x6c\x29\x0b\x1c\x32"
31072 "\x47\x6e\x47\xb5\xf3\x81\xc8\x82"
31073 "\xca\x5d\xe3\x61\x38\xa0\xdc\xcc"
31074 "\x35\x73\xfd\xb3\x92\x5c\x72\xd2"
31075 "\x2d\xad\xf6\xcd\x20\x36\xff\x49"
31076 "\x48\x80\x21\xd3\x2f\x5f\xe9\xd8"
31077 "\x91\x20\x6b\xb1\x38\x52\x1e\xbc"
31078 "\x88\x48\xa1\xde\xc0\xa5\x46\xce"
31079 "\x9f\x32\x29\xbc\x2b\x51\x0b\xae"
31080 "\x7a\x44\x4e\xed\xeb\x95\x63\x99"
31081 "\x96\x87\xc9\x34\x02\x26\xde\x20"
31082 "\xe4\xcb\x59\x0c\xb5\x55\xbd\x55"
31083 "\x3f\xa9\x15\x25\xa7\x5f\xab\x10"
31084 "\xbe\x9a\x59\x6c\xd5\x27\xf3\xf0"
31085 "\x73\x4a\xb3\xe4\x08\x11\x00\xeb"
31086 "\xf1\xae\xc8\x0d\xef\xcd\xb5\xfc"
31087 "\x0d\x7e\x03\x67\xad\x0d\xec\xf1"
31088 "\x9a\xfd\x31\x60\x3e\xa2\xfa\x1c"
31089 "\x93\x79\x31\x31\xd6\x66\x7a\xbd"
31090 "\x85\xfd\x22\x08\x00\xae\x72\x10"
31091 "\xd6\xb0\xf4\xb8\x4a\x72\x5b\x9c"
31092 "\xbf\x84\xdd\xeb\x13\x05\x28\xb7"
31093 "\x61\x60\xfd\x7f\xf0\xbe\x4d\x18"
31094 "\x7d\xc9\xba\xb0\x01\x59\x74\x18"
31095 "\xe4\xf6\xa6\x74\x5d\x3f\xdc\xa0"
31096 "\x9e\x57\x93\xbf\x16\x6c\xf6\xbd"
31097 "\x93\x45\x38\x95\xb9\x69\xe9\x62"
31098 "\x21\x73\xbd\x81\x73\xac\x15\x74"
31099 "\x9e\x68\x28\x91\x38\xb7\xd4\x47"
31100 "\xc7\xab\xc9\x14\xad\x52\xe0\x4c"
31101 "\x17\x1c\x42\xc1\xb4\x9f\xac\xcc"
31102 "\xc8\x12\xea\xa9\x9e\x30\x21\x14"
31103 "\xa8\x74\xb4\x74\xec\x8d\x40\x06"
31104 "\x82\xb7\x92\xd7\x42\x5b\xf2\xf9"
31105 "\x6a\x1e\x75\x6e\x44\x55\xc2\x8d"
31106 "\x73\x5b\xb8\x8c\x3c\xef\x97\xde"
31107 "\x24\x43\xb3\x0e\xba\xad\x63\x63"
31108 "\x16\x0a\x77\x03\x48\xcf\x02\x8d"
31109 "\x76\x83\xa3\xba\x73\xbe\x80\x3f"
31110 "\x8f\x6e\x76\x24\xc1\xff\x2d\xb4"
31111 "\x20\x06\x9b\x67\xea\x29\xb5\xe0"
31112 "\x57\xda\x30\x9d\x38\xa2\x7d\x1e"
31113 "\x8f\xb9\xa8\x17\x64\xea\xbe\x04"
31114 "\x84\xd1\xce\x2b\xfd\x84\xf9\x26"
31115 "\x1f\x26\x06\x5c\x77\x6d\xc5\x9d"
31116 "\xe6\x37\x76\x60\x7d\x3e\xf9\x02"
31117 "\xba\xa6\xf3\x7f\xd3\x95\xb4\x0e"
31118 "\x52\x1c\x6a\x00\x8f\x3a\x0b\xce"
31119 "\x30\x98\xb2\x63\x2f\xff\x2d\x3b"
31120 "\x3a\x06\x65\xaf\xf4\x2c\xef\xbb"
31121 "\x88\xff\x2d\x4c\xa9\xf4\xff\x69"
31122 "\x9d\x46\xae\x67\x00\x3b\x40\x94"
31123 "\xe9\x7a\xf7\x0b\xb7\x3c\xa2\x2f"
31124 "\xc3\xde\x5e\x29\x01\xde\xca\xfa"
31125 "\xc6\xda\xd7\x19\xc7\xde\x4a\x16"
31126 "\x93\x6a\xb3\x9b\x47\xe9\xd2\xfc"
31127 "\xa1\xc3\x95\x9c\x0b\xa0\x2b\xd4"
31128 "\xd3\x1e\xd7\x21\x96\xf9\x1e\xf4"
31129 "\x59\xf4\xdf\x00\xf3\x37\x72\x7e"
31130 "\xd8\xfd\x49\xd4\xcd\x61\x7b\x22"
31131 "\x99\x56\x94\xff\x96\xcd\x9b\xb2"
31132 "\x76\xca\x9f\x56\xae\x04\x2e\x75"
31133 "\x89\x4e\x1b\x60\x52\xeb\x84\xf4"
31134 "\xd1\x33\xd2\x6c\x09\xb1\x1c\x43"
31135 "\x08\x67\x02\x01\xe3\x64\x82\xee"
31136 "\x36\xcd\xd0\x70\xf1\x93\xd5\x63"
31137 "\xef\x48\xc5\x56\xdb\x0a\x35\xfe"
31138 "\x85\x48\xb6\x97\x97\x02\x43\x1f"
31139 "\x7d\xc9\xa8\x2e\x71\x90\x04\x83"
31140 "\xe7\x46\xbd\x94\x52\xe3\xc5\xd1"
31141 "\xce\x6a\x2d\x6b\x86\x9a\xf5\x31"
31142 "\xcd\x07\x9c\xa2\xcd\x49\xf5\xec"
31143 "\x01\x3e\xdf\xd5\xdc\x15\x12\x9b"
31144 "\x0c\x99\x19\x7b\x2e\x83\xfb\xd8"
31145 "\x89\x3a\x1c\x1e\xb4\xdb\xeb\x23"
31146 "\xd9\x42\xae\x47\xfc\xda\x37\xe0"
31147 "\xd2\xb7\x47\xd9\xe8\xb5\xf6\x20"
31148 "\x42\x8a\x9d\xaf\xb9\x46\x80\xfd"
31149 "\xd4\x74\x6f\x38\x64\xf3\x8b\xed"
31150 "\x81\x94\x56\xe7\xf1\x1a\x64\x17"
31151 "\xd4\x27\x59\x09\xdf\x9b\x74\x05"
31152 "\x79\x6e\x13\x29\x2b\x9e\x1b\x86"
31153 "\x73\x9f\x40\xbe\x6e\xff\x92\x4e"
31154 "\xbf\xaa\xf4\xd0\x88\x8b\x6f\x73"
31155 "\x9d\x8b\xbf\xe5\x8a\x85\x45\x67"
31156 "\xd3\x13\x72\xc6\x2a\x63\x3d\xb1"
31157 "\x35\x7c\xb4\x38\xbb\x31\xe3\x77"
31158 "\x37\xad\x75\xa9\x6f\x84\x4e\x4f"
31159 "\xeb\x5b\x5d\x39\x6d\xed\x0a\xad"
31160 "\x6c\x1b\x8e\x1f\x57\xfa\xc7\x7c"
31161 "\xbf\xcf\xf2\xd1\x72\x3b\x70\x78"
31162 "\xee\x8e\xf3\x4f\xfd\x61\x30\x9f"
31163 "\x56\x05\x1d\x7d\x94\x9b\x5f\x8c"
31164 "\xa1\x0f\xeb\xc3\xa9\x9e\xb8\xa0"
31165 "\xc6\x4e\x1e\xb1\xbc\x0a\x87\xa8"
31166 "\x52\xa9\x1e\x3d\x58\x8e\xc6\x95"
31167 "\x85\x58\xa3\xc3\x3a\x43\x32\x50"
31168 "\x6c\xb3\x61\xe1\x0c\x7d\x02\x63"
31169 "\x5f\x8b\xdf\xef\x13\xf8\x66\xea"
31170 "\x89\x00\x1f\xbd\x5b\x4c\xd5\x67"
31171 "\x8f\x89\x84\x33\x2d\xd3\x70\x94"
31172 "\xde\x7b\xd4\xb0\xeb\x07\x96\x98"
31173 "\xc5\xc0\xbf\xc8\xcf\xdc\xc6\x5c"
31174 "\xd3\x7d\x78\x30\x0e\x14\xa0\x86"
31175 "\xd7\x8a\xb7\x53\xa3\xec\x71\xbf"
31176 "\x85\xf2\xea\xbd\x77\xa6\xd1\xfd"
31177 "\x5a\x53\x0c\xc3\xff\xf5\x1d\x46"
31178 "\x37\xb7\x2d\x88\x5c\xeb\x7a\x0c"
31179 "\x0d\x39\xc6\x40\x08\x90\x1f\x58"
31180 "\x36\x12\x35\x28\x64\x12\xe7\xbb"
31181 "\x50\xac\x45\x15\x7b\x16\x23\x5e"
31182 "\xd4\x11\x2a\x8e\x17\x47\xe1\xd0"
31183 "\x69\xc6\xd2\x5c\x2c\x76\xe6\xbb"
31184 "\xf7\xe7\x34\x61\x8e\x07\x36\xc8"
31185 "\xce\xcf\x3b\xeb\x0a\x55\xbd\x4e"
31186 "\x59\x95\xc9\x32\x5b\x79\x7a\x86"
31187 "\x03\x74\x4b\x10\x87\xb3\x60\xf6"
31188 "\x21\xa4\xa6\xa8\x9a\xc9\x3a\x6f"
31189 "\xd8\x13\xc9\x18\xd4\x38\x2b\xc2"
31190 "\xa5\x7e\x6a\x09\x0f\x06\xdf\x53"
31191 "\x9a\x44\xd9\x69\x2d\x39\x61\xb7"
31192 "\x1c\x36\x7f\x9e\xc6\x44\x9f\x42"
31193 "\x18\x0b\x99\xe6\x27\xa3\x1e\xa6"
31194 "\xd0\xb9\x9a\x2b\x6f\x60\x75\xbd"
31195 "\x52\x4a\x91\xd4\x7b\x8f\x95\x9f"
31196 "\xdd\x74\xed\x8b\x20\x00\xdd\x08"
31197 "\x6e\x5b\x61\x7b\x06\x6a\x19\x84"
31198 "\x1c\xf9\x86\x65\xcd\x1c\x73\x3f"
31199 "\x28\x5c\x8a\x93\x1a\xf3\xa3\x6c"
31200 "\x6c\xa9\x7c\xea\x3c\xd4\x15\x45"
31201 "\x7f\xbc\xe3\xbb\x42\xf0\x2e\x10"
31202 "\xcd\x0c\x8b\x44\x1a\x82\x83\x0c"
31203 "\x58\xb1\x24\x28\xa0\x11\x2f\x63"
31204 "\xa5\x82\xc5\x9f\x86\x42\xf4\x4d"
31205 "\x89\xdb\x76\x4a\xc3\x7f\xc4\xb8"
31206 "\xdd\x0d\x14\xde\xd2\x62\x02\xcb"
31207 "\x70\xb7\xee\xf4\x6a\x09\x12\x5e"
31208 "\xd1\x26\x1a\x2c\x20\x71\x31\xef"
31209 "\x7d\x65\x57\x65\x98\xff\x8b\x02"
31210 "\x9a\xb5\xa4\xa1\xaf\x03\xc4\x50"
31211 "\x33\xcf\x1b\x25\xfa\x7a\x79\xcc"
31212 "\x55\xe3\x21\x63\x0c\x6d\xeb\x5b"
31213 "\x1c\xad\x61\x0b\xbd\xb0\x48\xdb"
31214 "\xb3\xc8\xa0\x87\x7f\x8b\xac\xfd"
31215 "\xd2\x68\x9e\xb4\x11\x3c\x6f\xb1"
31216 "\xfe\x25\x7d\x84\x5a\xae\xc9\x31"
31217 "\xc3\xe5\x6a\x6f\xbc\xab\x41\xd9"
31218 "\xde\xce\xf9\xfa\xd5\x7c\x47\xd2"
31219 "\x66\x30\xc9\x97\xf2\x67\xdf\x59"
31220 "\xef\x4e\x11\xbc\x4e\x70\xe3\x46"
31221 "\x53\xbe\x16\x6d\x33\xfb\x57\x98"
31222 "\x4e\x34\x79\x3b\xc7\x3b\xaf\x94"
31223 "\xc1\x87\x4e\x47\x11\x1b\x22\x41"
31224 "\x99\x12\x61\xe0\xe0\x8c\xa9\xbd"
31225 "\x79\xb6\x06\x4d\x90\x3b\x0d\x30"
31226 "\x1a\x00\xaa\x0e\xed\x7c\x16\x2f"
31227 "\x0d\x1a\xfb\xf8\xad\x51\x4c\xab"
31228 "\x98\x4c\x80\xb6\x92\x03\xcb\xa9"
31229 "\x99\x9d\x16\xab\x43\x8c\x3f\x52"
31230 "\x96\x53\x63\x7e\xbb\xd2\x76\xb7"
31231 "\x6b\x77\xab\x52\x80\x33\xe3\xdf"
31232 "\x4b\x3c\x23\x1a\x33\xe1\x43\x40"
31233 "\x39\x1a\xe8\xbd\x3c\x6a\x77\x42"
31234 "\x88\x9f\xc6\xaa\x65\x28\xf2\x1e"
31235 "\xb0\x7c\x8e\x10\x41\x31\xe9\xd5"
31236 "\x9d\xfd\x28\x7f\xfb\x61\xd3\x39"
31237 "\x5f\x7e\xb4\xfb\x9c\x7d\x98\xb7"
31238 "\x37\x2f\x18\xd9\x3b\x83\xaf\x4e"
31239 "\xbb\xd5\x49\x69\x46\x93\x3a\x21"
31240 "\x46\x1d\xad\x84\xb5\xe7\x8c\xff"
31241 "\xbf\x81\x7e\x22\xf6\x88\x8c\x82"
31242 "\xf5\xde\xfe\x18\xc9\xfb\x58\x07"
31243 "\xe4\x68\xff\x9c\xf4\xe0\x24\x20"
31244 "\x90\x92\x01\x49\xc2\x38\xe1\x7c"
31245 "\xac\x61\x0b\x96\x36\xa4\x77\xe9"
31246 "\x29\xd4\x97\xae\x15\x13\x7c\x6c"
31247 "\x2d\xf1\xc5\x83\x97\x02\xa8\x2e"
31248 "\x0b\x0f\xaf\xb5\x42\x18\x8a\x8c"
31249 "\xb8\x28\x85\x28\x1b\x2a\x12\xa5"
31250 "\x4b\x0a\xaf\xd2\x72\x37\x66\x23"
31251 "\x28\xe6\x71\xa0\x77\x85\x7c\xff"
31252 "\xf3\x8d\x2f\x0c\x33\x30\xcd\x7f"
31253 "\x61\x64\x23\xb2\xe9\x79\x05\xb8"
31254 "\x61\x47\xb1\x2b\xda\xf7\x9a\x24"
31255 "\x94\xf6\xcf\x07\x78\xa2\x80\xaa"
31256 "\x6e\xe9\x58\x97\x19\x0c\x58\x73"
31257 "\xaf\xee\x2d\x6e\x26\x67\x18\x8a"
31258 "\xc6\x6d\xf6\xbc\x65\xa9\xcb\xe7"
31259 "\x53\xf1\x61\x97\x63\x52\x38\x86"
31260 "\x0e\xdd\x33\xa5\x30\xe9\x9f\x32"
31261 "\x43\x64\xbc\x2d\xdc\x28\x43\xd8"
31262 "\x6c\xcd\x00\x2c\x87\x9a\x33\x79"
31263 "\xbd\x63\x6d\x4d\xf9\x8a\x91\x83"
31264 "\x9a\xdb\xf7\x9a\x11\xe1\xd1\x93"
31265 "\x4a\x54\x0d\x51\x38\x30\x84\x0b"
31266 "\xc5\x29\x8d\x92\x18\x6c\x28\xfe"
31267 "\x1b\x07\x57\xec\x94\x74\x0b\x2c"
31268 "\x21\x01\xf6\x23\xf9\xb0\xa0\xaf"
31269 "\xb1\x3e\x2e\xa8\x0d\xbc\x2a\x68"
31270 "\x59\xde\x0b\x2d\xde\x74\x42\xa1"
31271 "\xb4\xce\xaf\xd8\x42\xeb\x59\xbd"
31272 "\x61\xcc\x27\x28\xc6\xf2\xde\x3e"
31273 "\x68\x64\x13\xd3\xc3\xc0\x31\xe0"
31274 "\x5d\xf9\xb4\xa1\x09\x20\x46\x8b"
31275 "\x48\xb9\x27\x62\x00\x12\xc5\x03"
31276 "\x28\xfd\x55\x27\x1c\x31\xfc\xdb"
31277 "\xc1\xcb\x7e\x67\x91\x2e\x50\x0c"
31278 "\x61\xf8\x9f\x31\x26\x5a\x3d\x2e"
31279 "\xa0\xc7\xef\x2a\xb6\x24\x48\xc9"
31280 "\xbb\x63\x99\xf4\x7c\x4e\xc5\x94"
31281 "\x99\xd5\xff\x34\x93\x8f\x31\x45"
31282 "\xae\x5e\x7b\xfd\xf4\x81\x84\x65"
31283 "\x5b\x41\x70\x0b\xe5\xaa\xec\x95"
31284 "\x6b\x3d\xe3\xdc\x12\x78\xf8\x28"
31285 "\x26\xec\x3a\x64\xc4\xab\x74\x97"
31286 "\x3d\xcf\x21\x7d\xcf\x59\xd3\x15"
31287 "\x47\x94\xe4\xd9\x48\x4c\x02\x49"
31288 "\x68\x50\x22\x16\x96\x2f\xc4\x23"
31289 "\x80\x47\x27\xd1\xee\x10\x3b\xa7"
31290 "\x19\xae\xe1\x40\x5f\x3a\xde\x5d"
31291 "\x97\x1c\x59\xce\xe1\xe7\x32\xa7"
31292 "\x20\x89\xef\x44\x22\x38\x3c\x14"
31293 "\x99\x3f\x1b\xd6\x37\xfe\x93\xbf"
31294 "\x34\x13\x86\xd7\x9b\xe5\x2a\x37"
31295 "\x72\x16\xa4\xdf\x7f\xe4\xa4\x66"
31296 "\x9d\xf2\x0b\x29\xa1\xe2\x9d\x36"
31297 "\xe1\x9d\x56\x95\x73\xe1\x91\x58"
31298 "\x0f\x64\xf8\x90\xbb\x0c\x48\x0f"
31299 "\xf5\x52\xae\xd9\xeb\x95\xb7\xdd"
31300 "\xae\x0b\x20\x55\x87\x3d\xf0\x69"
31301 "\x3c\x0a\x54\x61\xea\x00\xbd\xba"
31302 "\x5f\x7e\x25\x8c\x3e\x61\xee\xb2"
31303 "\x1a\xc8\x0e\x0b\xa5\x18\x49\xf2"
31304 "\x6e\x1d\x3f\x83\xc3\xf1\x1a\xcb"
31305 "\x9f\xc9\x82\x4e\x7b\x26\xfd\x68"
31306 "\x28\x25\x8d\x22\x17\xab\xf8\x4e"
31307 "\x1a\xa9\x81\x48\xb0\x9f\x52\x75"
31308 "\xe4\xef\xdd\xbd\x5b\xbe\xab\x3c"
31309 "\x43\x76\x23\x62\xce\xb8\xc2\x5b"
31310 "\xc6\x31\xe6\x81\xb4\x42\xb2\xfd"
31311 "\xf3\x74\xdd\x02\x3c\xa0\xd7\x97"
31312 "\xb0\xe7\xe9\xe0\xce\xef\xe9\x1c"
31313 "\x09\xa2\x6d\xd3\xc4\x60\xd6\xd6"
31314 "\x9e\x54\x31\x45\x76\xc9\x14\xd4"
31315 "\x95\x17\xe9\xbe\x69\x92\x71\xcb"
31316 "\xde\x7c\xf1\xbd\x2b\xef\x8d\xaf"
31317 "\x51\xe8\x28\xec\x48\x7f\xf8\xfa"
31318 "\x9f\x9f\x5e\x52\x61\xc3\xfc\x9a"
31319 "\x7e\xeb\xe3\x30\xb6\xfe\xc4\x4a"
31320 "\x87\x1a\xff\x54\x64\xc7\xaa\xa2"
31321 "\xfa\xb7\xb2\xe7\x25\xce\x95\xb4"
31322 "\x15\x93\xbd\x24\xb6\xbc\xe4\x62"
31323 "\x93\x7f\x44\x40\x72\xcb\xfb\xb2"
31324 "\xbf\xe8\x03\xa5\x87\x12\x27\xfd"
31325 "\xc6\x21\x8a\x8f\xc2\x48\x48\xb9"
31326 "\x6b\xb6\xf0\xf0\x0e\x0a\x0e\xa4"
31327 "\x40\xa9\xd8\x23\x24\xd0\x7f\xe2"
31328 "\xf9\xed\x76\xf0\x91\xa5\x83\x3c"
31329 "\x55\xe1\x92\xb8\xb6\x32\x9e\x63"
31330 "\x60\x81\x75\x29\x9e\xce\x2a\x70"
31331 "\x28\x0c\x87\xe5\x46\x73\x76\x66"
31332 "\xbc\x4b\x6c\x37\xc7\xd0\x1a\xa0"
31333 "\x9d\xcf\x04\xd3\x8c\x42\xae\x9d"
31334 "\x35\x5a\xf1\x40\x4c\x4e\x81\xaa"
31335 "\xfe\xd5\x83\x4f\x29\x19\xf3\x6c"
31336 "\x9e\xd0\x53\xe5\x05\x8f\x14\xfb"
31337 "\x68\xec\x0a\x3a\x85\xcd\x3e\xb4"
31338 "\x4a\xc2\x5b\x92\x2e\x0b\x58\x64"
31339 "\xde\xca\x64\x86\x53\xdb\x7f\x4e"
31340 "\x54\xc6\x5e\xaa\xe5\x82\x3b\x98"
31341 "\x5b\x01\xa7\x1f\x7b\x3d\xcc\x19"
31342 "\xf1\x11\x02\x64\x09\x25\x7c\x26"
31343 "\xee\xad\x50\x68\x31\x26\x16\x0f"
31344 "\xb6\x7b\x6f\xa2\x17\x1a\xba\xbe"
31345 "\xc3\x60\xdc\xd2\x44\xe0\xb4\xc4"
31346 "\xfe\xff\x69\xdb\x60\xa6\xaf\x39"
31347 "\x0a\xbd\x6e\x41\xd1\x9f\x87\x71"
31348 "\xcc\x43\xa8\x47\x10\xbc\x2b\x7d"
31349 "\x40\x12\x43\x31\xb8\x12\xe0\x95"
31350 "\x6f\x9d\xf8\x75\x51\x3d\x61\xbe"
31351 "\xa0\xd1\x0b\x8d\x50\xc7\xb8\xe7"
31352 "\xab\x03\xda\x41\xab\xc5\x4e\x33"
31353 "\x5a\x63\x94\x90\x22\x72\x54\x26"
31354 "\x93\x65\x99\x45\x55\xd3\x55\x56"
31355 "\xc5\x39\xe4\xb4\xb1\xea\xd8\xf9"
31356 "\xb5\x31\xf7\xeb\x80\x1a\x9e\x8d"
31357 "\xd2\x40\x01\xea\x33\xb9\xf2\x7a"
31358 "\x43\x41\x72\x0c\xbf\x20\xab\xf7"
31359 "\xfa\x65\xec\x3e\x35\x57\x1e\xef"
31360 "\x2a\x81\xfa\x10\xb2\xdb\x8e\xfa"
31361 "\x7f\xe7\xaf\x73\xfc\xbb\x57\xa2"
31362 "\xaf\x6f\x41\x11\x30\xd8\xaf\x94"
31363 "\x53\x8d\x4c\x23\xa5\x20\x63\xcf"
31364 "\x0d\x00\xe0\x94\x5e\x92\xaa\xb5"
31365 "\xe0\x4e\x96\x3c\xf4\x26\x2f\xf0"
31366 "\x3f\xd7\xed\x75\x2c\x63\xdf\xc8"
31367 "\xfb\x20\xb5\xae\x44\x83\xc0\xab"
31368 "\x05\xf9\xbb\xa7\x62\x7d\x21\x5b"
31369 "\x04\x80\x93\x84\x5f\x1d\x9e\xcd"
31370 "\xa2\x07\x7e\x22\x2f\x55\x94\x23"
31371 "\x74\x35\xa3\x0f\x03\xbe\x07\x62"
31372 "\xe9\x16\x69\x7e\xae\x38\x0e\x9b"
31373 "\xad\x6e\x83\x90\x21\x10\xb8\x07"
31374 "\xdc\xc1\x44\x20\xa5\x88\x00\xdc"
31375 "\xe1\x82\x16\xf1\x0c\xdc\xed\x8c"
31376 "\x32\xb5\x49\xab\x11\x41\xd5\xd2"
31377 "\x35\x2c\x70\x73\xce\xeb\xe3\xd6"
31378 "\xe4\x7d\x2c\xe8\x8c\xec\x8a\x92"
31379 "\x50\x87\x51\xbd\x2d\x9d\xf2\xf0"
31380 "\x3c\x7d\xb1\x87\xf5\x01\xb0\xed"
31381 "\x02\x5a\x20\x4d\x43\x08\x71\x49"
31382 "\x77\x72\x9b\xe6\xef\x30\xc9\xa2"
31383 "\x66\x66\xb8\x68\x9d\xdf\xc6\x16"
31384 "\xa5\x78\xee\x3c\x47\xa6\x7a\x31"
31385 "\x07\x6d\xce\x7b\x86\xf8\xb2\x31"
31386 "\xa8\xa4\x77\x3c\x63\x36\xe8\xd3"
31387 "\x7d\x40\x56\xd8\x48\x56\x9e\x3e"
31388 "\x56\xf6\x3d\xd2\x12\x6e\x35\x29"
31389 "\xd4\x7a\xdb\xff\x97\x4c\xeb\x3c"
31390 "\x28\x2a\xeb\xe9\x43\x40\x61\x06"
31391 "\xb8\xa8\x6d\x18\xc8\xbc\xc7\x23"
31392 "\x53\x2b\x8b\xcc\xce\x88\xdf\xf8"
31393 "\xff\xf8\x94\xe4\x5c\xee\xcf\x39"
31394 "\xe0\xf6\x1a\xae\xf2\xd5\x41\x6a"
31395 "\x09\x5a\x50\x66\xc4\xf4\x66\xdc"
31396 "\x6a\x69\xee\xc8\x47\xe6\x87\x52"
31397 "\x9e\x28\xe4\x39\x02\x0d\xc4\x7e"
31398 "\x18\xe6\xc6\x09\x07\x03\x30\xb9"
31399 "\xd1\xb0\x48\xe6\x80\xe8\x8c\xe6"
31400 "\xc7\x2c\x33\xca\x64\xe5\xc0\x6e"
31401 "\xac\x14\x4b\xe1\xf6\xeb\xce\xe4"
31402 "\xc1\x8c\xea\x5b\x8d\x3c\x86\x91"
31403 "\xd1\xd7\x16\x9c\x09\x9c\x6a\x51"
31404 "\xe5\xcd\xe3\xb0\x33\x1f\x03\xcd"
31405 "\xe5\xd8\x40\x9b\xdc\x29\xbe\xfa"
31406 "\x24\xcc\xf1\x55\x68\x3a\x89\x0d"
31407 "\x08\x48\xfd\x9b\x47\x41\x10\xae"
31408 "\x53\x3a\x83\x87\xd4\x89\xe7\x38"
31409 "\x47\xee\xd7\xbe\xe2\x58\x37\xd2"
31410 "\xfc\x21\x1d\x20\xa5\x2d\x69\x0c"
31411 "\x36\x5b\x2f\xcd\xa1\xa6\xe4\xa1"
31412 "\x00\x4d\xf7\xc8\x2d\xc7\x16\x6c"
31413 "\x6d\xad\x32\x8c\x8f\x74\xf9\xfa"
31414 "\x78\x1c\x9a\x0f\x6e\x93\x9c\x20"
31415 "\x43\xb9\xe4\xda\xc4\xc7\x90\x47"
31416 "\x86\x68\xb7\x6f\x82\x59\x4a\x30"
31417 "\xf1\xfd\x31\x0f\xa1\xea\x9b\x6b"
31418 "\x18\x5c\x39\xb0\xc7\x80\x64\xff"
31419 "\x6d\x5b\xb4\x8b\xba\x90\xea\x4e"
31420 "\x9a\x04\xd2\x68\x18\x50\xb5\x91"
31421 "\x45\x4f\x58\x5a\xe5\xc6\x7c\xab"
31422 "\x61\x3e\x3d\xec\x18\x87\xfc\xea"
31423 "\x26\x35\x4c\x99\x8a\x3f\x00\x7b"
31424 "\xf5\x89\x62\xda\xdd\xf1\x43\xef"
31425 "\x2c\x1d\x92\xfa\x9a\xd0\x37\x03"
31426 "\x69\x9c\xd8\x1f\x41\x44\xb7\x73"
31427 "\x54\x14\x91\x12\x41\x41\x54\xa2"
31428 "\x91\x55\xb6\xf7\x23\x41\xc9\xc2"
31429 "\x5b\x53\xf2\x61\x63\x0d\xa9\x87"
31430 "\x1a\xbb\x11\x1f\x3c\xbb\xa8\x1f"
31431 "\xe2\x66\x56\x88\x06\x3c\xd2\x0f"
31432 "\x3b\xc4\xd6\x8c\xbe\x54\x9f\xa8"
31433 "\x9c\x89\xfb\x88\x05\xef\xcd\xe7"
31434 "\xc1\xc4\x21\x36\x22\x8d\x9a\x5d"
31435 "\x1b\x1e\x4a\xc0\x89\xdd\x76\x16"
31436 "\x5a\xce\xcd\x1e\x6a\x1f\xa0\x2b"
31437 "\x83\xf6\x5e\x28\x8e\x65\xb5\x86"
31438 "\x72\x8f\xc5\xf2\x54\x81\x10\x8d"
31439 "\x63\x7b\x42\x7d\x06\x08\x16\xb3"
31440 "\xb0\x60\x65\x41\x49\xdb\x0d\xc1"
31441 "\xe2\xef\x72\x72\x06\xe7\x60\x5c"
31442 "\x95\x1c\x7d\x52\xec\x82\xee\xd3"
31443 "\x5b\xab\x61\xa4\x1f\x61\x64\x0c"
31444 "\x28\x32\x21\x7a\x81\xe7\x81\xf3"
31445 "\xdb\xc0\x18\xd9\xae\x0b\x3c\x9a"
31446 "\x58\xec\x70\x4f\x40\x25\x2b\xba"
31447 "\x96\x59\xac\x34\x45\x29\xc6\x57"
31448 "\xc1\xc3\x93\x60\x77\x92\xbb\x83"
31449 "\x8a\xa7\x72\x45\x2a\xc9\x35\xe7"
31450 "\x66\xd6\xa9\xe9\x43\x87\x20\x11"
31451 "\x6a\x2f\x87\xac\xe0\x93\x82\xe5"
31452 "\x6c\x57\xa9\x4c\x9e\x56\x57\x33"
31453 "\x1c\xd8\x7e\x25\x27\x41\x89\x97"
31454 "\xea\xa5\x56\x02\x5b\x93\x13\x46"
31455 "\xdc\x53\x3d\x95\xef\xaf\x9f\xf0"
31456 "\x0a\x8a\xfe\x0c\xbf\xf0\x25\x5f"
31457 "\xb4\x9f\x1b\x72\x9c\x37\xba\x46"
31458 "\x4e\xcc\xcc\x02\x5c\xec\x3f\x98"
31459 "\xff\x56\x1a\xc2\x7a\x65\x8f\xf6"
31460 "\xd2\x81\x37\x7a\x0a\xfc\x79\xb9"
31461 "\xcb\x8c\xc8\x1a\xd0\xba\x5d\x55"
31462 "\xbc\x6d\x2e\xb2\x2f\x75\x29\x3f"
31463 "\x1a\x4b\xa8\xd7\xe8\xf6\xf4\x2a"
31464 "\xa5\xa1\x68\xec\xf3\xd5\xdd\x0f"
31465 "\xad\x57\xae\x98\x83\xd5\x92\x4e"
31466 "\x76\x86\x8e\x5e\x4b\x87\x7b\xf7"
31467 "\x2d\x79\x3f\x12\x6a\x24\x58\xc8"
31468 "\xab\x9a\x65\x75\x82\x6f\xa5\x39"
31469 "\x72\xb0\xdf\x93\xb5\xa2\xf3\xdd"
31470 "\x1f\x32\xfa\xdb\xfe\x1b\xbf\x0a"
31471 "\xd9\x95\xdd\x02\xf1\x23\x54\xb1"
31472 "\xa5\xbb\x24\x04\x5c\x2a\x97\x92"
31473 "\xe6\xe0\x10\x61\xe3\x46\xc7\x0c"
31474 "\xcb\xbc\x51\x9a\x35\x16\xd9\x42"
31475 "\x62\xb3\x5e\xa4\x3c\x84\xa0\x7f"
31476 "\xb8\x7f\x70\xd1\x8b\x03\xdf\x27"
31477 "\x32\x06\x3f\x12\x23\x19\x22\x82"
31478 "\x2d\x37\xa5\x00\x31\x9b\xa9\x21"
31479 "\x8e\x34\x8c\x8e\x4f\xe8\xd4\x63"
31480 "\x6c\xb2\xa9\x6e\xf6\x7c\x96\xf1"
31481 "\x0e\x64\xab\x14\x3d\x8f\x74\xb3"
31482 "\x35\x79\x84\x78\x06\x68\x97\x30"
31483 "\xe0\x22\x55\xd6\xc5\x5b\x38\xb2"
31484 "\x75\x24\x0c\x52\xb6\x57\xcc\x0a"
31485 "\xbd\x3c\xd0\x73\x47\xd1\x25\xd6"
31486 "\x1c\xfd\x27\x05\x3f\x70\xe1\xa7"
31487 "\x69\x3b\xee\xc9\x9f\xfd\x2a\x7e"
31488 "\xab\x58\xe6\x0b\x35\x5e\x52\xf9"
31489 "\xff\xac\x5b\x82\x88\xa7\x65\xbc"
31490 "\x61\x29\xdc\xa1\x94\x42\xd1\xd3"
31491 "\xa0\xd8\xba\x3b\x49\xc8\xa7\xce"
31492 "\x01\x6c\xb7\x3f\xe3\x98\x4d\xd1"
31493 "\x9f\x46\x0d\xb3\xf2\x43\x33\x49"
31494 "\xb7\x27\xbd\xba\xcc\x3f\x09\x56"
31495 "\xfa\x64\x18\xb8\x17\x28\xde\x0d"
31496 "\x29\xfa\x1f\xad\x60\x3b\x90\xa7"
31497 "\x05\x9f\x4c\xc4\xdc\x05\x3b\x17"
31498 "\x58\xea\x99\xfd\x6b\x8a\x93\x77"
31499 "\xa5\x44\xbd\x8d\x29\x44\x29\x89"
31500 "\x52\x1d\x89\x8b\x44\x8f\xb9\x68"
31501 "\xeb\x93\xfd\x92\xd9\x14\x35\x9c"
31502 "\x28\x3a\x9f\x1d\xd8\xe0\x2a\x76"
31503 "\x51\xc1\xf0\xa9\x1d\xb4\xf8\xb9"
31504 "\xfc\x14\x78\x5a\xa2\xb1\xdb\x94"
31505 "\xcb\x18\xb9\x34\xbd\x0c\x65\x1d"
31506 "\x64\xde\xd0\x3a\xe4\x68\x0e\xbc"
31507 "\x13\xa7\x47\x89\x62\xa3\x03\x19"
31508 "\x64\xa1\x02\x27\x3a\x8d\x43\xfa"
31509 "\x68\xff\xda\x8b\x40\xe9\x19\x8b"
31510 "\x56\xbe\x1c\x9b\xe6\xf6\x3f\x60"
31511 "\xdb\x7a\xd5\xab\x82\xd8\xd9\x99"
31512 "\xe3\x5b\x0c\x0c\x69\x18\x5c\xed"
31513 "\x03\xf9\xc1\x61\xc4\x7b\xd4\x90"
31514 "\x43\xc3\x39\xec\xac\xcb\x1f\x4b"
31515 "\x23\xf8\xa9\x98\x2f\xf6\x48\x90"
31516 "\x6c\x2b\x94\xad\x14\xdd\xcc\xa2"
31517 "\x3d\xc7\x86\x0f\x7f\x1c\x0b\x93"
31518 "\x4b\x74\x1f\x80\x75\xb4\x91\xdf"
31519 "\xa8\x26\xf9\x06\x2b\x3a\x2c\xfd"
31520 "\x3c\x31\x40\x1e\x5b\xa6\x86\x01"
31521 "\xc4\xa2\x80\x4f\xf5\xa2\xf4\xff"
31522 "\xf6\x07\x8c\x92\xf7\x74\xbd\x42"
31523 "\xb0\x3f\x6b\x05\xca\x40\xeb\x04"
31524 "\x20\xa9\x37\x78\x32\x03\x60\xcc"
31525 "\xf3\xec\xb2\x2d\xb5\x80\x7c\xe4"
31526 "\x37\x53\x25\xd1\xe8\x91\x6a\xe5"
31527 "\xdf\xdd\xb0\xab\x69\xc7\xa1\xb2"
31528 "\xfc\xb3\xd1\x9e\xda\xa8\x0d\x68"
31529 "\xfe\x7d\xdc\x56\x33\x65\x99\xd2"
31530 "\xec\xa5\xa0\xa1\x26\xc9\xec\xbd"
31531 "\x22\x20\x5e\x0d\xcb\x93\x64\x7a"
31532 "\x56\x75\xed\xe5\x45\xa2\xbd\x16"
31533 "\x59\xf7\x43\xd9\x5b\x2c\xdd\xb6"
31534 "\x1d\xa8\x05\x89\x2f\x65\x2e\x66"
31535 "\xfe\xad\x93\xeb\x85\x8f\xe8\x4c"
31536 "\x00\x44\x71\x03\x0e\x26\xaf\xfd"
31537 "\xfa\x56\x0f\xdc\x9c\xf3\x2e\xab"
31538 "\x88\x26\x61\xc6\x13\xfe\xba\xc1"
31539 "\xd8\x8a\x38\xc3\xb6\x4e\x6d\x80"
31540 "\x4c\x65\x93\x2f\xf5\x54\xff\x63"
31541 "\xbe\xdf\x9a\xe3\x4f\xca\xc9\x71"
31542 "\x12\xab\x95\x66\xec\x09\x64\xea"
31543 "\xdc\x9f\x01\x61\x24\x88\xd1\xa7"
31544 "\xd0\x69\x26\xf0\x80\xb0\xec\x86"
31545 "\xc2\x58\x2f\x6a\xc5\xfd\xfc\x2a"
31546 "\xf6\x3e\x23\x77\x3b\x7e\xc5\xc5"
31547 "\xe7\xf9\x4d\xcc\x68\x53\x11\xc8"
31548 "\x5b\x44\xbd\x48\x0f\xb3\x35\x1a"
31549 "\x93\x4a\x80\x16\xa3\x0d\x50\x85"
31550 "\xa6\xc4\xd4\x74\x4d\x87\x59\x51"
31551 "\xd7\xf7\x7d\xee\xd0\x9b\xd1\x83"
31552 "\x25\x2b\xc6\x39\x27\x6a\xb3\x41"
31553 "\x5f\xd2\x24\xd4\xd6\xfa\x8c\x3e"
31554 "\xb2\xf9\x11\x71\x7a\x9e\x5e\x7b"
31555 "\x5b\x9a\x47\x80\xca\x1c\xbe\x04"
31556 "\x5d\x34\xc4\xa2\x2d\x41\xfe\x73"
31557 "\x53\x15\x9f\xdb\xe7\x7d\x82\x19"
31558 "\x21\x1b\x67\x2a\x74\x7a\x21\x4a"
31559 "\xc4\x96\x6f\x00\x92\x69\xf1\x99"
31560 "\x50\xf1\x4a\x16\x11\xf1\x16\x51",
31561 .ctext = "\x2c\xf5\x4c\xc9\x99\x19\x83\x84"
31562 "\x09\xbc\xe6\xad\xbe\xb6\x6b\x1b"
31563 "\x75\x0b\x3d\x33\x10\xb4\x8b\xf7"
31564 "\xa7\xc7\xba\x9f\x6e\xd7\xc7\xfd"
31565 "\x58\xef\x24\xf4\xdc\x26\x3f\x35"
31566 "\x02\x98\xf2\x8c\x96\xca\xfc\xca"
31567 "\xca\xfa\x27\xe6\x23\x1f\xf0\xc7"
31568 "\xe3\x46\xbf\xca\x7b\x4e\x24\xcd"
31569 "\xd0\x13\x3f\x80\xd6\x5b\x0b\xdc"
31570 "\xad\xc6\x49\x77\xd7\x58\xf5\xfd"
31571 "\x58\xba\x72\x0d\x9e\x0b\x63\xc3"
31572 "\x86\xac\x06\x97\x70\x42\xec\x3a"
31573 "\x0d\x53\x27\x17\xbd\x3e\xcb\xe0"
31574 "\xaa\x19\xb4\xfe\x5d\x1b\xcb\xd7"
31575 "\x99\xc3\x19\x45\x6f\xdf\x64\x44"
31576 "\x9f\xf8\x55\x1b\x72\x8d\x78\x51"
31577 "\x3c\x83\x48\x8f\xaf\x05\x60\x7d"
31578 "\x22\xce\x07\x53\xfd\x91\xcf\xfa"
31579 "\x5f\x86\x66\x3e\x72\x67\x7f\xc1"
31580 "\x49\x82\xc7\x1c\x91\x1e\x48\xcd"
31581 "\x5e\xc6\x5f\xd9\xc9\x43\x88\x35"
31582 "\x80\xba\x91\xe1\x54\x4b\x14\xbe"
31583 "\xbd\x75\x48\xb8\xde\x22\x64\xb5"
31584 "\x8c\xcb\x5e\x92\x99\x8f\x4a\xab"
31585 "\x00\x6c\xb4\x2e\x03\x3b\x0e\xee"
31586 "\x4d\x39\x05\xbc\x94\x80\xbb\xb2"
31587 "\x36\x16\xa3\xd9\x8f\x61\xd7\x67"
31588 "\xb5\x90\x46\x85\xe1\x4e\x71\x84"
31589 "\xd0\x84\xc0\xc0\x8f\xad\xdb\xeb"
31590 "\x44\xf4\x66\x35\x3f\x92\xa2\x05"
31591 "\xa4\x9c\xb8\xdc\x77\x6c\x85\x34"
31592 "\xd2\x6a\xea\x32\xb8\x08\xf6\x13"
31593 "\x78\x1e\x29\xef\x12\x54\x16\x28"
31594 "\x25\xf8\x32\x0e\x4f\x94\xe6\xb3"
31595 "\x0b\x97\x79\x97\xb3\xb0\x37\x61"
31596 "\xa4\x10\x6f\x15\x9c\x7d\x22\x41"
31597 "\xe2\xd7\xa7\xa0\xfc\xc5\x62\x55"
31598 "\xed\x68\x39\x7b\x09\xd2\x17\xaa"
31599 "\xf2\xb8\xc9\x1d\xa2\x23\xfd\xaa"
31600 "\x9c\x57\x16\x0d\xe3\x63\x3c\x2b"
31601 "\x13\xdd\xa2\xf0\x8e\xd3\x02\x81"
31602 "\x09\xba\x80\x02\xdb\x97\xfe\x0f"
31603 "\x77\x8d\x18\xf1\xf4\x59\x27\x79"
31604 "\xa3\x46\x88\xda\x51\x67\xd0\xe9"
31605 "\x5d\x22\x98\xc1\xe4\xea\x08\xda"
31606 "\xf7\xb9\x16\x71\x36\xbd\x43\x8a"
31607 "\x4b\x6e\xf3\xaa\xb0\xba\x1a\xbc"
31608 "\xaa\xca\xde\x5c\xc0\xa5\x11\x6d"
31609 "\x8a\x8f\xcc\x04\xfc\x6c\x89\x75"
31610 "\x4b\x2c\x29\x6f\x41\xc7\x6e\xda"
31611 "\xea\xa6\xaf\xb0\xb1\x46\x9e\x30"
31612 "\x5e\x11\x46\x07\x3b\xd6\xaa\x36"
31613 "\xa4\x01\x84\x1d\xb9\x8e\x58\x9d"
31614 "\xa9\xb6\x1c\x56\x5c\x5a\xde\xfa"
31615 "\x66\x96\xe6\x29\x26\xd4\x68\xd0"
31616 "\x1a\xcb\x98\xbb\xce\x19\xbb\x87"
31617 "\x00\x6c\x59\x17\xe3\xd1\xe6\x5c"
31618 "\xd0\x98\xe1\x91\xc4\x28\xaf\xbf"
31619 "\xbb\xdf\x75\x4e\xd9\x9d\x99\x0f"
31620 "\xc6\x0c\x03\x24\x3e\xb6\xd7\x3f"
31621 "\xd5\x43\x4a\x47\x26\xab\xf6\x3f"
31622 "\x7f\xf1\x15\x0c\xde\x68\xa0\x5f"
31623 "\x63\xf9\xe2\x5e\x5d\x42\xf1\x36"
31624 "\x38\x90\x06\x18\x84\xf2\xfa\x81"
31625 "\x36\x33\x29\x18\xaa\x8c\x49\x0e"
31626 "\xda\x27\x38\x9c\x12\x8b\x83\xfa"
31627 "\x40\xd0\xb6\x0a\x72\x85\xf0\xc7"
31628 "\xaa\x5f\x30\x1a\x6f\x45\xe4\x35"
31629 "\x4c\xf3\x4c\xe4\x1c\xd7\x48\x77"
31630 "\xdd\x3e\xe4\x73\x44\xb1\xb8\x1c"
31631 "\x42\x40\x90\x61\xb1\x6d\x8b\x20"
31632 "\x2d\x30\x63\x01\x26\x71\xbc\x5a"
31633 "\x76\xce\xc1\xfb\x13\xf9\x4c\x6e"
31634 "\x7a\x16\x8a\x53\xcb\x07\xaa\xa1"
31635 "\xba\xd0\x68\x7a\x2d\x25\x48\x85"
31636 "\xb7\x6b\x0a\x05\xf2\xdf\x0e\x46"
31637 "\x4e\xc8\xcd\x59\x5b\x9a\x2e\x9e"
31638 "\xdb\x4a\xf6\xfd\x7b\xa4\x5c\x4d"
31639 "\x78\x8d\xe7\xb0\x84\x3f\xf0\xc1"
31640 "\x47\x39\xbf\x1e\x8c\xc2\x11\x0d"
31641 "\x90\xd1\x17\x42\xb3\x50\xeb\xaa"
31642 "\xcd\xc0\x98\x36\x84\xd0\xfe\x75"
31643 "\xf8\x8f\xdc\xa0\xa1\x53\xe5\x8c"
31644 "\xf2\x0f\x4a\x31\x48\xae\x3d\xaf"
31645 "\x19\x4b\x75\x2e\xc1\xe3\xcd\x4d"
31646 "\x2c\xa4\x54\x7b\x4d\x5e\x93\xa2"
31647 "\xe7\x1f\x34\x19\x9f\xb2\xbf\x22"
31648 "\x65\x1a\x03\x48\x12\x66\x50\x3e"
31649 "\x0e\x5d\x60\x29\x44\x69\x90\xee"
31650 "\x9d\x8b\x55\x78\xdf\x63\x31\xc3"
31651 "\x1b\x21\x7d\x06\x21\x86\x60\xb0"
31652 "\x9d\xdb\x3d\xcc\xe2\x20\xf4\x88"
31653 "\x20\x62\x2e\xe8\xa9\xea\x42\x41"
31654 "\xb0\xab\x73\x61\x40\x39\xac\x11"
31655 "\x55\x27\x51\x5f\x11\xef\xb1\x23"
31656 "\xff\x81\x99\x86\x0c\x6f\x16\xaf"
31657 "\xf6\x89\x86\xd8\xf6\x41\xc2\x80"
31658 "\x21\xf4\xd5\x6d\xef\xa3\x0c\x4d"
31659 "\x59\xfd\xdc\x93\x1a\x4f\xe6\x22"
31660 "\x83\x40\x0c\x98\x67\xba\x7c\x93"
31661 "\x0b\xa9\x89\xfc\x3e\xff\x84\x12"
31662 "\x3e\x27\xa3\x8a\x48\x17\xd6\x08"
31663 "\x85\x2f\xf1\xa8\x90\x90\x71\xbe"
31664 "\x44\xd6\x34\xbf\x74\x52\x0a\x17"
31665 "\x39\x64\x78\x1a\xbc\x81\xbe\xc8"
31666 "\xea\x7f\x0b\x5a\x2c\x77\xff\xac"
31667 "\xdd\x37\x35\x78\x09\x28\x29\x4a"
31668 "\xd1\xd6\x6c\xc3\xd5\x70\xdd\xfc"
31669 "\x21\xcd\xce\xeb\x51\x11\xf7\xbc"
31670 "\x12\x43\x1e\x6c\xa1\xa3\x79\xe6"
31671 "\x1d\x63\x52\xff\xf0\xbb\xcf\xec"
31672 "\x56\x58\x63\xe2\x21\x0b\x2d\x5c"
31673 "\x64\x09\xf3\xee\x05\x42\x34\x93"
31674 "\x38\xa8\x60\xea\x1d\x95\x90\x65"
31675 "\xad\x2f\xda\x1d\xdd\x21\x1a\xf1"
31676 "\x94\xe0\x6a\x81\xa1\xd3\x63\x31"
31677 "\x45\x73\xce\x54\x4e\xb1\x75\x26"
31678 "\x59\x18\xc2\x31\x73\xe6\xf5\x7d"
31679 "\x06\x5b\x65\x67\xe5\x69\x90\xdf"
31680 "\x27\x6a\xbf\x81\x7d\x92\xbe\xd1"
31681 "\x4e\x0b\xa8\x18\x94\x72\xe1\xd0"
31682 "\xb6\x2a\x16\x08\x7a\x34\xb8\xf2"
31683 "\xe1\xac\x08\x66\xe6\x78\x66\xfd"
31684 "\x36\xbd\xee\xc6\x71\xa4\x09\x4e"
31685 "\x3b\x09\xf2\x8e\x3a\x90\xba\xa0"
31686 "\xc2\x1d\x9f\xad\x52\x0e\xc9\x10"
31687 "\x99\x40\x90\xd5\x7d\x73\x56\xef"
31688 "\x48\x1e\x56\x5c\x7d\x3c\xcb\x84"
31689 "\x10\x0a\xcc\xda\xce\xad\xd8\xa8"
31690 "\x79\xc7\x29\x95\x31\x3b\xd9\x9b"
31691 "\xb6\x84\x3e\x03\x74\xc5\x76\xba"
31692 "\x4b\xd9\x4f\x7c\xc4\x5f\x7f\x70"
31693 "\xc5\xe3\x6e\xd0\x14\x32\xec\x60"
31694 "\xb0\x69\x78\xb7\xef\xda\x5a\xe7"
31695 "\x4e\x50\x97\xd4\x94\x58\x67\x57"
31696 "\x4e\x7c\x75\xe0\xcf\x8d\xe1\x78"
31697 "\x97\x52\xc8\x73\x81\xf9\xb6\x02"
31698 "\x54\x72\x6d\xc0\x70\xff\xe2\xeb"
31699 "\x6c\xe1\x30\x0a\x94\xd0\x55\xec"
31700 "\xed\x61\x9c\x6d\xd9\xa0\x92\x62"
31701 "\x4e\xfd\xd8\x79\x27\x02\x4e\x13"
31702 "\xb2\x04\xba\x00\x9a\x77\xed\xc3"
31703 "\x5b\xa4\x22\x02\xa9\xed\xaf\xac"
31704 "\x4f\xe1\x74\x73\x51\x36\x78\x8b"
31705 "\xdb\xf5\x32\xfd\x0d\xb9\xcb\x15"
31706 "\x4c\xae\x43\x72\xeb\xbe\xc0\xf8"
31707 "\x91\x67\xf1\x4f\x5a\xd4\xa4\x69"
31708 "\x8f\x3e\x16\xd2\x09\x31\x72\x5a"
31709 "\x5e\x0a\xc4\xbc\x44\xd4\xbb\x82"
31710 "\x7a\xdf\x52\x25\x8c\x45\xdc\xe4"
31711 "\xe0\x71\x84\xe4\xe0\x3d\x59\x30"
31712 "\x5b\x94\x12\x33\x78\x85\x90\x84"
31713 "\x52\x05\x33\xa7\xa7\x16\xe0\x4d"
31714 "\x6a\xf7\xfa\x03\x98\x6c\x4f\xb0"
31715 "\x06\x66\x06\xa1\xdd\x3c\xbe\xbb"
31716 "\xb2\x62\xab\x64\xd3\xbf\x2c\x30"
31717 "\x0e\xfc\xd9\x95\x32\x32\xf3\x3b"
31718 "\x39\x7e\xda\x62\x62\x0f\xc3\xfe"
31719 "\x55\x76\x09\xf5\x8a\x09\x91\x93"
31720 "\x32\xea\xbc\x2b\x0b\xcf\x1d\x65"
31721 "\x48\x33\xba\xeb\x0f\xd4\xf9\x3b"
31722 "\x1e\x90\x74\x6d\x93\x52\x61\x81"
31723 "\xa3\xf2\xb5\xea\x1d\x61\x86\x68"
31724 "\x00\x40\xcc\x58\xdd\xf2\x64\x01"
31725 "\xab\xfd\x94\xc0\xa3\x83\x83\x33"
31726 "\xa4\xb0\xb8\xd3\x9d\x08\x3c\x7f"
31727 "\x8e\xa8\xaf\x87\xa5\xe7\xcd\x36"
31728 "\x92\x96\xdc\xa1\xf2\xea\xe6\xd1"
31729 "\x1e\xe9\x65\xa4\xff\xda\x17\x96"
31730 "\xad\x91\x4a\xc5\x26\xb4\x1d\x1c"
31731 "\x2b\x50\x48\x26\xc8\x86\x3f\x05"
31732 "\xb8\x87\x1b\x3f\xee\x2e\x55\x61"
31733 "\x0d\xdc\xcf\x56\x0e\xe2\xcc\xda"
31734 "\x87\xee\xc5\xcd\x0e\xf4\xa4\xaf"
31735 "\x8a\x02\xee\x16\x0b\xc4\xdd\x6d"
31736 "\x80\x3e\xf3\xfe\x95\xb4\xfe\x97"
31737 "\x0d\xe2\xab\xbb\x27\x84\xee\x25"
31738 "\x39\x74\xb0\xfb\xdc\x5a\x0f\x65"
31739 "\x31\x2a\x89\x08\xa4\x8c\x9f\x25"
31740 "\x5f\x93\x83\x39\xda\xb4\x22\x17"
31741 "\xbd\xd2\x0d\xfc\xde\xf8\x00\x34"
31742 "\xc2\x48\x55\x06\x4c\x8b\x79\xe5"
31743 "\xba\x0c\x50\x4f\x98\xa3\x59\x3d"
31744 "\xc4\xec\xd1\x85\xf3\x60\x41\x16"
31745 "\x0a\xe2\xf4\x38\x33\x24\xc1\xe0"
31746 "\x0d\x86\x1f\x5a\xd2\xba\x7c\x5f"
31747 "\x97\x60\x54\xa3\x52\x31\x78\x57"
31748 "\x7a\xc0\xc7\x1e\xd4\x11\x8f\xef"
31749 "\x86\x0a\x60\x26\x4a\x8f\x06\xf7"
31750 "\x1f\x47\x45\x6e\x87\x13\x15\xf3"
31751 "\x91\x08\xbf\x2a\x6e\x71\x21\x8e"
31752 "\x92\x90\xde\x01\x97\x81\x46\x87"
31753 "\x8a\xfc\xab\x12\x0c\x60\x3e\x9d"
31754 "\xbd\x40\x0a\x45\x3f\x5b\x83\x04"
31755 "\xb5\x8f\x42\x78\x68\xfe\x3a\xd1"
31756 "\x59\xf7\x12\xaa\x86\x86\x1c\x77"
31757 "\xfc\xc6\x64\x47\x0f\x7e\xd3\xbc"
31758 "\x95\x90\x23\xb3\x60\xdc\x0d\xf4"
31759 "\x67\xe6\x32\xee\xad\xbf\x60\x07"
31760 "\xbd\xdb\x6e\x3f\x55\x88\xdb\x93"
31761 "\x62\x41\xd6\xeb\x34\xd6\xa3\x96"
31762 "\xd2\xbc\x29\xaa\x75\x65\x41\x9f"
31763 "\x70\x43\xbb\x6d\xd9\xa5\x95\x22"
31764 "\x3e\xf9\x07\xa0\x7d\x75\xba\xb8"
31765 "\xcd\x81\x3b\x94\x01\x19\xc3\x67"
31766 "\x9d\xa4\x7f\xa0\x99\xcc\x4a\xc4"
31767 "\xfa\x76\x3f\xab\x5c\xea\x26\xdf"
31768 "\xa2\x4c\x5b\x11\x55\xa3\x6a\x70"
31769 "\xcb\xbc\x93\x11\x48\x38\x73\x7a"
31770 "\x40\xbf\xbc\x04\x05\xb0\x2d\x9b"
31771 "\x9a\x23\x57\xa5\xf6\x63\xfa\xc7"
31772 "\xd8\x4d\xc2\xc0\xf8\xbd\xfb\x7d"
31773 "\xea\x20\xa2\xe0\x4d\xaa\x63\x1e"
31774 "\x9a\xa2\xed\x54\xe6\x49\xaf\x52"
31775 "\xaf\x7e\x94\x57\x19\x07\x06\x74"
31776 "\x57\x5b\x62\x61\x99\x20\xe7\x95"
31777 "\x14\x19\xcf\x42\x83\x6a\x94\xf5"
31778 "\xab\xa7\xf2\x48\xf6\x0b\x40\x3d"
31779 "\x93\x8d\x3d\x14\x5d\xf2\x45\x2c"
31780 "\xac\x1c\x0b\x12\xc9\x56\x3f\x7c"
31781 "\x17\xeb\x1d\xed\x7e\x5c\xaa\x37"
31782 "\xe3\xb4\x56\xf9\x0e\xb9\x8e\xc8"
31783 "\x16\x70\x3e\xff\x95\xb9\x89\x9c"
31784 "\x19\x0d\x0d\x48\xbd\xb9\xe3\x73"
31785 "\xdf\x4e\x67\x9d\x93\x6c\x0b\x75"
31786 "\x8a\x2d\x89\x5c\x32\x9d\x75\x05"
31787 "\xd9\x13\xbe\x14\x5f\xf0\xb7\xb4"
31788 "\xd9\x2c\x02\x22\x41\xf2\x9c\x1f"
31789 "\xc1\x8c\xf5\x6a\x8c\xd5\xa5\x6b"
31790 "\x54\x47\xec\x3a\x76\x08\xf6\xf7"
31791 "\xed\x7c\x7e\x3b\x55\xb8\xa9\x20"
31792 "\xa6\xec\x2d\x8c\x03\x38\x9d\x74"
31793 "\xe9\x36\xe7\x05\x40\xec\xf4\xa1"
31794 "\xa7\x70\xa7\x6f\x1f\x93\xc2\x1d"
31795 "\x2c\x4e\x5f\xe8\x04\x6d\x91\x67"
31796 "\x23\xd9\x47\xb4\xf6\xbc\x35\x25"
31797 "\x1b\xa8\xe1\x17\xa8\x21\x38\xd8"
31798 "\x7a\x55\xd9\xc6\x6f\x0a\x1b\xcb"
31799 "\xde\xf8\x1e\x20\x8c\xa1\x14\x49"
31800 "\x49\x00\x00\x31\x0f\xa8\x24\x67"
31801 "\x97\x7a\x1f\x04\xb9\x6b\x60\xd0"
31802 "\x32\xc3\xf4\xf9\x4f\xb2\xfd\x7b"
31803 "\xf9\xb3\x43\xd8\x23\xaa\x21\x37"
31804 "\x9e\x91\xc5\xa4\xce\xd8\xe4\xf5"
31805 "\x55\x3e\xc9\xe4\xc5\x51\xd3\x4d"
31806 "\xc6\x83\xe9\x23\x8e\x3e\x21\xe0"
31807 "\x40\x23\x4e\x2b\x2d\x89\xc4\x5d"
31808 "\x58\xdc\x43\x03\x8e\x9a\xfb\xef"
31809 "\x76\xac\x78\x57\xc3\xb8\xf7\x9f"
31810 "\xf5\xb1\xc2\xa4\x0c\xee\x58\x52"
31811 "\x45\xdf\x1a\xd9\x0e\xe0\x56\x1f"
31812 "\x23\x79\x99\x5f\x34\xad\x9f\x41"
31813 "\x67\x2a\xc7\x8b\xe7\x82\x6e\x67"
31814 "\x58\xb5\xae\x18\xd7\x2f\x8f\x57"
31815 "\x0e\xa4\x21\x3c\x84\x21\x05\x50"
31816 "\x57\xb0\xd1\xb1\xc8\x9d\xd4\x44"
31817 "\x25\x40\x6b\xd5\x6f\x18\x92\x89"
31818 "\x6d\x5b\xe9\x5a\x3c\x74\xc0\x33"
31819 "\x2c\x7a\xa7\x99\x71\x4e\x9d\x1b"
31820 "\xe1\x1d\xcb\x62\x8b\x3c\x07\x07"
31821 "\x67\xf6\xa6\x54\x10\x72\x3f\xea"
31822 "\xe5\xcd\xe6\xf1\xeb\x3d\x43\x0b"
31823 "\xfe\x4b\xc7\x1d\x3d\xd9\xa3\xe2"
31824 "\x9b\x79\x47\xc7\xab\x28\xcc\x4d"
31825 "\xa8\x77\x9c\xec\xef\x56\xf8\x92"
31826 "\x07\x48\x1b\x21\x04\xa8\x24\xb0"
31827 "\x82\x7d\xd1\x17\xa4\xaf\x5f\xfa"
31828 "\x92\xbf\x6a\xb7\x7e\xc7\xb7\x75"
31829 "\x40\x3c\x14\x09\x57\xae\xe0\x4e"
31830 "\xf8\xc9\xda\x1e\x5d\x27\xc4\x8c"
31831 "\x27\xe3\x4d\xe3\x55\x8c\xd2\xef"
31832 "\x0c\xab\x67\x53\x96\xd3\x48\xfb"
31833 "\x75\x4f\x74\x9e\xcb\x82\xa4\x96"
31834 "\x91\x41\x48\xaa\x65\xdb\x34\x72"
31835 "\xc9\xee\xa2\x77\x8b\x6e\x44\x12"
31836 "\x4e\x51\x51\xc3\xf5\xef\x6a\x50"
31837 "\x99\x26\x41\x1e\x66\xa4\x2b\xb9"
31838 "\x21\x15\x38\xc2\x0b\x7f\x37\xb6"
31839 "\x89\x8b\x27\x70\xae\xa1\x90\x28"
31840 "\x04\xe7\xd5\x17\xcb\x60\x99\xb4"
31841 "\xe2\xd7\x04\xd3\x11\x27\x86\xe4"
31842 "\xd0\x0d\x36\x04\x68\xe0\xb4\x71"
31843 "\xe8\x86\x4b\x9f\xa3\xd2\xda\x87"
31844 "\xc2\x2c\xad\x66\xfa\x53\x18\xf8"
31845 "\xec\x10\x74\xc5\xb6\x53\x09\x93"
31846 "\x21\x09\xbd\x77\x2d\x2a\x12\x4c"
31847 "\x86\xfe\x50\x8e\xd1\x16\xab\xb1"
31848 "\xfd\xd7\x87\xde\xc3\x6f\x7c\x16"
31849 "\xe2\x88\x3d\x41\xac\x36\x7e\xf8"
31850 "\xc2\x3b\x46\xd5\x44\x3d\x9d\xe8"
31851 "\xe9\x0c\xb7\xb3\xc6\xb9\xe5\xe7"
31852 "\x27\x17\x78\x03\xd4\xda\xe4\x73"
31853 "\x38\x34\xe7\x53\x29\xc4\xcb\x93"
31854 "\xc9\xa1\x10\x8a\xb2\xfc\x0b\x07"
31855 "\x47\xb8\xb1\x13\x49\x86\x24\x8b"
31856 "\x10\xb1\xd9\x5f\xbb\xd8\x90\x37"
31857 "\x06\x03\xe0\x76\xff\x19\x1a\x16"
31858 "\xd8\x2d\xa7\x4a\xea\x22\x64\xbe"
31859 "\xed\x1c\xc8\x33\xb4\xf4\xb1\x48"
31860 "\x95\xb5\x2f\xaa\x05\xc7\x03\xa0"
31861 "\xf1\xa4\xf3\x63\x4b\xbe\x79\xb9"
31862 "\x4b\x67\x7e\x4e\x3e\x81\x8f\xef"
31863 "\xe9\x55\x99\x30\xd0\x26\xec\x5d"
31864 "\x89\xb6\x3f\x28\x38\x81\x7a\x00"
31865 "\x89\x85\xb8\xff\x19\x0f\x8f\x5d"
31866 "\x5c\x6d\x6a\x3d\x6c\xb9\xfb\x7c"
31867 "\x0c\x4b\x7e\xbc\x0c\xc4\xad\xbb"
31868 "\x0a\x8b\xc8\x48\xb7\xfa\x4d\x53"
31869 "\x82\x10\xd6\x29\x58\x83\x50\x3c"
31870 "\xd4\x5a\xfd\x14\xa3\xb5\x88\xfb"
31871 "\x23\xee\xc9\xcc\xab\x92\x52\xb3"
31872 "\x0b\x07\xf3\x1e\x9a\x2a\x2e\x35"
31873 "\x32\x37\xa5\x86\xd0\xe5\x5f\xdd"
31874 "\x3d\x67\x70\xb4\x9a\xc9\x93\xdc"
31875 "\x31\x33\xe3\x3a\xc5\xcf\xd9\x44"
31876 "\x2f\x3f\x87\xb2\x0c\x36\x55\x17"
31877 "\xa9\xda\xb1\xca\x00\x09\x87\xe6"
31878 "\x66\x34\xb3\x9f\x52\x37\x98\x10"
31879 "\x2e\x5d\xa4\x14\x7f\x63\xa6\xcd"
31880 "\x6c\x2d\x7c\x74\x4c\xae\x9c\x65"
31881 "\xe0\x79\xc0\xd6\xc3\xfe\xa8\xf4"
31882 "\x1a\x4f\xf5\xbc\xea\x7a\x92\x40"
31883 "\x51\xa7\x05\x45\x40\xd8\x9c\x3c"
31884 "\xde\x5f\x0b\x6e\x10\x5c\x1c\xdc"
31885 "\xd2\x65\x60\xbb\x70\x68\x5c\xa9"
31886 "\x59\x25\x0e\x4e\x93\xb8\x49\x89"
31887 "\xf6\xae\xeb\x1f\x8b\x56\xc8\x56"
31888 "\xb0\xb5\xc9\xee\xa5\x15\x07\x4d"
31889 "\x8a\xcc\xad\x04\x4d\x99\x8c\x49"
31890 "\x8d\x7c\xe0\xa5\x7d\x7f\x33\x61"
31891 "\xf2\xfc\xe7\x88\x3f\x2b\x73\xab"
31892 "\x2e\x38\x17\x48\xa9\x86\xdd\x81"
31893 "\x21\x45\xbc\x98\x1d\xe5\xa5\xbc"
31894 "\x0d\x0b\x18\x8e\x86\x1e\x76\x0a"
31895 "\x30\x12\x21\xf0\x51\xed\xc1\xcd"
31896 "\x9a\xf1\x7e\x7e\x64\xb2\xa3\xd6"
31897 "\x37\xe7\xc6\xde\x97\xb9\x5d\x05"
31898 "\xf5\x50\xe2\x0a\xaa\x68\x16\xa6"
31899 "\x26\x9c\x7d\xff\x4c\x05\xce\x48"
31900 "\xa7\xff\x10\x19\x5e\xef\x46\x54"
31901 "\xec\xe4\x7b\xb6\x12\x23\xae\x93"
31902 "\x4f\x79\xf8\x3c\x1c\x07\x15\x66"
31903 "\x07\xc1\x52\xde\x7f\xda\x51\x7b"
31904 "\xfe\x13\x67\xab\x8d\x56\xdc\xc1"
31905 "\x70\x4b\x13\xd2\x30\x00\xc1\x97"
31906 "\x22\xa7\x83\xf8\x18\xd9\x6d\x40"
31907 "\x54\xe0\xc1\xdb\x3e\x83\x73\x12"
31908 "\xe1\x48\x49\xb9\xd4\x20\x0c\x06"
31909 "\x1c\x82\xb5\xbe\x5a\xae\x60\x5e"
31910 "\xe2\x09\xba\x05\xbb\x9a\x80\x63"
31911 "\xf2\xc4\x4b\x41\x39\x16\x76\x26"
31912 "\xb1\x03\x06\x23\x65\x37\x33\x92"
31913 "\xca\xf9\x72\xf5\xcd\x95\xc1\xc0"
31914 "\x91\x5a\xfd\x28\xb9\x62\x59\x84"
31915 "\x87\x9d\x82\xcb\xe0\x67\x7c\x26"
31916 "\xb8\x00\x16\xd9\x5d\xb4\x74\xd4"
31917 "\x75\x8c\x75\xf8\x87\x3b\xa8\x77"
31918 "\xcd\x82\x3d\x7b\xb9\x63\x44\x0f"
31919 "\x44\x83\x55\x5b\xc7\xdc\x18\x0b"
31920 "\x8c\x36\xb3\x59\xeb\x58\x13\x38"
31921 "\x4b\x8a\xb7\xa3\x9a\xa2\xf3\xeb"
31922 "\xc6\x30\x84\x86\x0a\xcf\x8b\xfa"
31923 "\x36\x66\x26\xbc\xd0\x96\xa3\xb4"
31924 "\x8d\x6b\xf7\x5b\x75\x59\xbb\xd3"
31925 "\x14\x78\x57\x2f\x27\xa8\x95\xcf"
31926 "\xa2\xa5\x76\x28\xbd\xab\x8b\x59"
31927 "\x04\x91\x8a\xc5\x3c\xc3\xa7\xcf"
31928 "\xe0\xfb\xdd\x7a\xbb\x10\xde\x36"
31929 "\x43\x1c\x59\xf7\x41\xb6\xa5\x80"
31930 "\x72\x7b\xe3\x7a\xa3\x01\xc3\x8c"
31931 "\x7e\xf3\xf2\x42\x1a\x0c\x7e\xf3"
31932 "\xfc\x5b\x6e\x1f\x20\xf1\x32\x76"
31933 "\x83\x71\x36\x3e\x7e\xa7\xf7\xdd"
31934 "\x25\x2e\xe6\x04\xe2\x5b\x44\xb5"
31935 "\x16\xfb\xdf\x9b\x46\x2a\xa8\x81"
31936 "\x89\x15\x3e\xb5\xb0\x09\x40\x33"
31937 "\x60\xc7\x37\x63\x14\x09\xc1\x6e"
31938 "\x56\x52\xbe\xe4\x88\xe0\x75\xbc"
31939 "\x49\x62\x8c\xf1\xdf\x62\xe6\xac"
31940 "\xd5\x87\xf7\xc9\x92\x52\x36\x59"
31941 "\x22\x6f\x31\x99\x76\xdb\x41\xb6"
31942 "\x26\x91\x79\x7e\xd2\x78\xaf\x07"
31943 "\x78\x4b\xed\x54\x30\xb2\xff\xbc"
31944 "\x2c\x0a\x1a\xbe\xbf\xd5\x5a\x4d"
31945 "\xd1\xbc\x30\xc2\xf4\xf1\xc1\x9e"
31946 "\x9a\x96\x89\x00\x50\xfc\xf6\xaf"
31947 "\xfa\x60\xbf\x1a\x32\x8f\x57\x36"
31948 "\x2f\x02\xb7\x28\x50\xc3\xd3\xfd"
31949 "\x6b\xc4\xe6\xbb\xc9\xec\xed\x86"
31950 "\xdf\x27\x45\x2c\x0c\x6d\x65\x3b"
31951 "\x6e\x63\x96\xc7\xd6\xb5\xb2\x05"
31952 "\x8b\xe0\x02\x2a\xfa\x20\x0c\x82"
31953 "\xa5\x45\x75\x12\x01\x40\xff\x3e"
31954 "\xfd\xfc\xfb\xbc\x30\x49\xe8\x99"
31955 "\x8d\x48\x8e\x49\x65\x2a\xe3\xa5"
31956 "\x06\xe3\x22\x68\x3b\xd9\xa4\xcf"
31957 "\x84\x6f\xfa\x2b\xb1\xd8\x8c\x30"
31958 "\xd5\x5d\x0c\x63\x32\x59\x28\x6e"
31959 "\x2a\x60\xa4\x57\x12\xf8\xc2\x95"
31960 "\x0a\xf6\xc6\x48\x23\xce\x72\x40"
31961 "\x0d\x75\xa0\xd4\x48\x03\xf5\xc4"
31962 "\xcd\x26\xe7\x83\xcc\x0d\xcf\x7f"
31963 "\x22\x5f\x91\xb3\x42\x02\x9a\x26"
31964 "\x12\x26\x68\x12\x25\x0b\x08\x61"
31965 "\xcb\x25\x86\x95\xfc\x57\x4d\xb6"
31966 "\x36\x6c\xb4\xdc\xa9\x2d\x76\x7f"
31967 "\x25\x06\xa2\x08\x69\x09\xd9\x09"
31968 "\x3c\x40\xe1\xfd\x30\x8f\xc2\x13"
31969 "\x92\xd4\xb5\x3b\x0c\xb2\x32\x4f"
31970 "\x10\xc9\x1a\x41\xa6\xb2\x11\xf6"
31971 "\x3b\x1b\x88\x56\xbf\x61\x3c\xb2"
31972 "\xe6\xdb\x24\x9a\x55\x7e\x35\xf8"
31973 "\x82\x5e\x52\xe3\xf2\xb3\x40\x1c"
31974 "\xdd\xe3\x29\x37\xe0\x85\x08\x8b"
31975 "\xb2\x8b\x09\x38\xac\xa9\x85\xe5"
31976 "\x9e\x36\xb8\x95\x0b\x84\x9d\x10"
31977 "\xcc\xae\xe2\x06\x56\x3c\x85\xce"
31978 "\xc0\xdc\x36\x59\x17\xf9\x48\xf4"
31979 "\x5b\x08\x8e\x86\x00\xa0\xf5\xdd"
31980 "\x0c\xb6\x63\xfd\x5a\xe5\x1e\xa6"
31981 "\x0a\xef\x76\xc2\xc7\x9b\x96\x2f"
31982 "\x66\x2b\x7d\x50\xa6\x0c\x42\xc6"
31983 "\xa5\x05\x05\x10\xeb\xd8\xda\x15"
31984 "\x03\xbe\x2f\x24\x34\x8f\x84\xd8"
31985 "\x58\xb8\xa3\xf2\x63\xc8\xc3\xf6"
31986 "\xc2\xde\x27\x58\x69\xf9\x07\xca"
31987 "\x12\x3e\xe2\xf4\xc8\x29\x60\x30"
31988 "\x2f\x87\xf4\x50\xc2\x25\xcc\xfd"
31989 "\xdc\x76\x4f\x56\x1c\xb2\xd9\x78"
31990 "\x11\x6b\x6e\xb4\x67\xbf\x25\xc4"
31991 "\xae\x7d\x50\x7f\xb2\x5c\x69\x26"
31992 "\xed\x6b\xd2\x3b\x42\x64\xe3\x0c"
31993 "\x15\xa6\xd1\xb6\x3e\x23\x76\x09"
31994 "\x48\xd2\x08\x41\x76\xc9\x7d\x5f"
31995 "\x50\x5d\x8e\xf9\x04\x96\xed\x3a"
31996 "\xf8\x7c\x3b\x7d\x84\xba\xea\xe6"
31997 "\x24\xd2\x0f\x7f\x5a\x0b\x6f\xd9"
31998 "\x33\x14\x67\xfb\x9f\xe7\x44\x4e"
31999 "\x3b\x4b\x06\xaa\xb4\x7a\x8b\x83"
32000 "\x82\x74\xa6\x5e\x10\xea\xd6\x4b"
32001 "\x56\x32\xd7\x79\x7c\x05\xf4\x64"
32002 "\x9c\x64\x25\x9c\xc2\xda\x21\x9a"
32003 "\xd8\xde\x37\x83\x3f\xd8\x83\xa2"
32004 "\x1e\x3c\x1e\x41\x7e\xf2\x97\x84"
32005 "\xe5\xa2\x02\x2b\x6e\xc5\xd7\x91"
32006 "\x24\x66\xc1\xf0\x05\x1c\x0f\x3d"
32007 "\xcf\x63\x94\x10\x2e\x0e\x89\xda"
32008 "\x0d\xe9\x58\x2a\x48\x0c\xc8\x36"
32009 "\xc4\x7b\xf0\xd3\xe2\x5b\xf1\xf6"
32010 "\xad\x3d\xe7\x25\x6b\x83\x08\x5c"
32011 "\xd9\x79\xde\x93\x37\x93\x92\x46"
32012 "\xe7\xf4\x1c\x9e\x94\x91\x30\xd9"
32013 "\xb6\x57\xf1\x04\xb5\x2f\xe3\xb9"
32014 "\x0a\x78\xfe\xcb\xb5\x31\xc1\xc6"
32015 "\x99\xb3\xaf\x73\xfb\x69\xcb\x49"
32016 "\xd2\xec\xea\xd3\x0f\x45\x13\x23"
32017 "\xc8\xae\x92\x29\xce\x71\xd0\xba"
32018 "\xcf\xfd\xb2\x14\x61\xfd\xf6\x7b"
32019 "\xdf\x05\xe5\xbb\x58\xf7\x41\x3b"
32020 "\x6e\xd2\x14\x28\x7c\x15\xb7\x70"
32021 "\xca\xc7\x7a\xd7\x4e\x4b\x35\x6e"
32022 "\x9e\x09\x24\x33\xaf\xca\x41\x1f"
32023 "\x0d\xe3\xf1\x7c\x35\xcb\xe2\x0a"
32024 "\xb2\xeb\x94\x7a\xbc\x53\xd7\xe1"
32025 "\x5e\xbc\xa1\x55\xef\x3c\x37\xef"
32026 "\x6d\xfe\x3a\xcd\xcf\x48\x36\x26"
32027 "\xdb\x3e\x44\xdd\xc8\x03\xa6\xa6"
32028 "\x85\xb5\xfe\xf3\xec\x44\xb3\x22"
32029 "\x9d\x21\x82\xc6\x0b\x1a\x7c\xc6"
32030 "\xf7\xa9\x8e\x7e\x13\x1a\x85\x1f"
32031 "\x93\x81\x38\x47\xc0\x83\x21\xa3"
32032 "\xde\xec\xc0\x8f\x4c\x3b\x57\x2f"
32033 "\x92\xbb\x66\xe3\x24\xeb\xae\x1e"
32034 "\xb3\x18\x57\xf2\xf3\x4a\x50\x52"
32035 "\xe9\x91\x08\x1f\x85\x44\xc1\x07"
32036 "\xa1\xd3\x62\xe9\xe0\x82\x38\xfd"
32037 "\x27\x3f\x7e\x10\x7d\xaf\xa1\x7a"
32038 "\xf0\xaa\x79\xee\x6e\xa2\xc0\xbb"
32039 "\x01\xda\xfb\xc4\x85\x26\x85\x31"
32040 "\x15\xf4\x3c\xe0\x96\x79\x0e\xd7"
32041 "\x50\x68\x37\x57\xb5\x31\xf7\x3c"
32042 "\xbd\xaa\xcc\x2c\x8f\x57\x59\xa5"
32043 "\xd4\x4b\xc6\x45\xc0\x32\x3d\x85"
32044 "\x6d\xee\xf4\x6b\x63\xf9\x3a\xfb"
32045 "\x2f\xdb\xb8\x42\x19\x8e\x88\x1f"
32046 "\xfd\x7d\x0b\x69\x14\x8f\x36\xb2"
32047 "\xd9\x27\x34\x53\x9c\x52\x00\x94"
32048 "\xcc\x8b\x37\x82\xaf\x8e\xb3\xc0"
32049 "\x8a\xcf\x44\xc6\x3a\x19\xbe\x1f"
32050 "\x23\x33\x68\xc4\xb6\xbb\x13\x20"
32051 "\xec\x6a\x87\x5b\xc2\x7c\xd3\x04"
32052 "\x34\x97\x32\xd5\x11\x02\x06\x45"
32053 "\x98\x0b\xaa\xab\xbe\xfb\xd0\x2c"
32054 "\x0e\xf1\x8b\x7f\x1c\x70\x85\x67"
32055 "\x60\x50\x66\x79\xbb\x45\x21\xc4"
32056 "\xb5\xd3\xb9\x4f\xe5\x41\x49\x86"
32057 "\x6b\x20\xef\xac\x16\x74\xe9\x23"
32058 "\xa5\x2d\x5c\x2b\x85\xb2\x33\xe8"
32059 "\x2a\xd1\x24\xd1\x5b\x9b\x7f\xfc"
32060 "\x2f\x3b\xf7\x6a\x8b\xde\x55\x7e"
32061 "\xda\x13\x1b\xd6\x90\x74\xb0\xbe"
32062 "\x46\x0d\xcf\xc7\x78\x33\x31\xdc"
32063 "\x6a\x6a\x50\x3e\x4c\xe2\xab\x48"
32064 "\xbc\x4e\x7d\x62\xb9\xfc\xdd\x85"
32065 "\x1c\x5d\x93\x15\x5e\x01\xd9\x2b"
32066 "\x48\x71\x82\xd6\x44\xd6\x0e\x92"
32067 "\x6e\x75\xc9\x3c\x1d\x31\x18\x6f"
32068 "\x8b\xd7\x18\xf3\x09\x08\x45\xb1"
32069 "\x3e\xa4\x25\xc6\x34\x48\xaf\x42"
32070 "\x77\x33\x03\x65\x3e\x2f\xff\x8f"
32071 "\xe9\xe1\xa0\xfe\xb2\xc3\x80\x77"
32072 "\x20\x05\xe4\x9b\x47\x3b\xb2\xbd",
32073 .len = 4096,
059c2a4d
EB
32074 }
32075};
32076
da7f033d
HX
32077/*
32078 * CTS (Cipher Text Stealing) mode tests
32079 */
92a4c9fe 32080static const struct cipher_testvec cts_mode_tv_template[] = {
da7f033d
HX
32081 { /* from rfc3962 */
32082 .klen = 16,
32083 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32084 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32085 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32086 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32087 "\x20",
92a4c9fe
EB
32088 .len = 17,
32089 .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
da7f033d
HX
32090 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
32091 "\x97",
32092 }, {
32093 .klen = 16,
32094 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32095 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32096 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32097 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32098 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32099 "\x20\x47\x61\x75\x27\x73\x20",
92a4c9fe
EB
32100 .len = 31,
32101 .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
da7f033d
HX
32102 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
32103 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32104 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
32105 }, {
32106 .klen = 16,
32107 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32108 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32109 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32110 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32111 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32112 "\x20\x47\x61\x75\x27\x73\x20\x43",
92a4c9fe
EB
32113 .len = 32,
32114 .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
da7f033d
HX
32115 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
32116 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32117 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
32118 }, {
32119 .klen = 16,
32120 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32121 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32122 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32123 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32124 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32125 "\x20\x47\x61\x75\x27\x73\x20\x43"
32126 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
32127 "\x70\x6c\x65\x61\x73\x65\x2c",
92a4c9fe
EB
32128 .len = 47,
32129 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
da7f033d
HX
32130 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
32131 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
32132 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
32133 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32134 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
32135 }, {
32136 .klen = 16,
32137 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32138 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32139 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32140 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32141 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32142 "\x20\x47\x61\x75\x27\x73\x20\x43"
32143 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
32144 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
92a4c9fe
EB
32145 .len = 48,
32146 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
da7f033d
HX
32147 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
32148 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
32149 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
32150 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32151 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
32152 }, {
32153 .klen = 16,
32154 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32155 "\x74\x65\x72\x69\x79\x61\x6b\x69",
92a4c9fe 32156 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
da7f033d
HX
32157 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32158 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32159 "\x20\x47\x61\x75\x27\x73\x20\x43"
32160 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
32161 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
32162 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
32163 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
92a4c9fe
EB
32164 .len = 64,
32165 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
da7f033d
HX
32166 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
32167 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32168 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
32169 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
32170 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
32171 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
32172 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
32173 }
32174};
32175
32176/*
32177 * Compression stuff.
32178 */
32179#define COMP_BUF_SIZE 512
32180
32181struct comp_testvec {
32182 int inlen, outlen;
32183 char input[COMP_BUF_SIZE];
32184 char output[COMP_BUF_SIZE];
32185};
32186
32187/*
32188 * Deflate test vectors (null-terminated strings).
bcf84a38 32189 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
da7f033d 32190 */
0c01aed5 32191
b13b1e0c 32192static const struct comp_testvec deflate_comp_tv_template[] = {
da7f033d
HX
32193 {
32194 .inlen = 70,
32195 .outlen = 38,
32196 .input = "Join us now and share the software "
32197 "Join us now and share the software ",
32198 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
32199 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
32200 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
32201 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
32202 "\x71\xbc\x08\x2b\x01\x00",
32203 }, {
32204 .inlen = 191,
32205 .outlen = 122,
32206 .input = "This document describes a compression method based on the DEFLATE"
32207 "compression algorithm. This document defines the application of "
32208 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
32209 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
32210 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
32211 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
32212 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
32213 "\x68\x12\x51\xae\x76\x67\xd6\x27"
32214 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
32215 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
32216 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
32217 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
32218 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
32219 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
32220 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
32221 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
32222 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
32223 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
32224 "\xfa\x02",
32225 },
32226};
32227
b13b1e0c 32228static const struct comp_testvec deflate_decomp_tv_template[] = {
da7f033d
HX
32229 {
32230 .inlen = 122,
32231 .outlen = 191,
32232 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
32233 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
32234 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
32235 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
32236 "\x68\x12\x51\xae\x76\x67\xd6\x27"
32237 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
32238 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
32239 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
32240 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
32241 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
32242 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
32243 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
32244 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
32245 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
32246 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
32247 "\xfa\x02",
32248 .output = "This document describes a compression method based on the DEFLATE"
32249 "compression algorithm. This document defines the application of "
32250 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
32251 }, {
32252 .inlen = 38,
32253 .outlen = 70,
32254 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
32255 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
32256 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
32257 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
0c01aed5
GU
32258 "\x71\xbc\x08\x2b\x01\x00",
32259 .output = "Join us now and share the software "
32260 "Join us now and share the software ",
32261 },
32262};
32263
a368f43d
GC
32264static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
32265 {
32266 .inlen = 70,
32267 .outlen = 44,
32268 .input = "Join us now and share the software "
32269 "Join us now and share the software ",
32270 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
32271 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
32272 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
32273 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
32274 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
32275 "\x7c\x65\x19\x3d",
32276 }, {
32277 .inlen = 191,
32278 .outlen = 129,
32279 .input = "This document describes a compression method based on the DEFLATE"
32280 "compression algorithm. This document defines the application of "
32281 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
32282 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
32283 "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
32284 "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
32285 "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
32286 "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
32287 "\xee\x20\x9f\x64\x20\x6a\x78\x17"
32288 "\xae\x86\xc8\x23\x74\x59\x78\x80"
32289 "\x10\xb4\xb4\xce\x63\x88\x56\x14"
32290 "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
32291 "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
32292 "\xae\x51\x7e\x69\x17\x4b\x65\x02"
32293 "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
32294 "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
32295 "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
32296 "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
32297 "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
32298 "\x4e",
32299 },
32300};
32301
32302static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
32303 {
32304 .inlen = 128,
32305 .outlen = 191,
32306 .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
32307 "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
32308 "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
32309 "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
32310 "\xef\x49\x68\x12\x51\xae\x76\x67"
32311 "\xd6\x27\x19\x88\x1a\xde\x85\xab"
32312 "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
32313 "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
32314 "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
32315 "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
32316 "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
32317 "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
32318 "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
32319 "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
32320 "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
32321 "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
32322 .output = "This document describes a compression method based on the DEFLATE"
32323 "compression algorithm. This document defines the application of "
32324 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
32325 }, {
32326 .inlen = 44,
32327 .outlen = 70,
32328 .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
32329 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
32330 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
32331 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
32332 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
32333 "\x7c\x65\x19\x3d",
32334 .output = "Join us now and share the software "
32335 "Join us now and share the software ",
32336 },
32337};
32338
da7f033d
HX
32339/*
32340 * LZO test vectors (null-terminated strings).
32341 */
b13b1e0c 32342static const struct comp_testvec lzo_comp_tv_template[] = {
da7f033d
HX
32343 {
32344 .inlen = 70,
0ec73820 32345 .outlen = 57,
da7f033d
HX
32346 .input = "Join us now and share the software "
32347 "Join us now and share the software ",
32348 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
0ec73820
MO
32349 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
32350 "\x64\x20\x73\x68\x61\x72\x65\x20"
32351 "\x74\x68\x65\x20\x73\x6f\x66\x74"
32352 "\x77\x70\x01\x32\x88\x00\x0c\x65"
32353 "\x20\x74\x68\x65\x20\x73\x6f\x66"
32354 "\x74\x77\x61\x72\x65\x20\x11\x00"
32355 "\x00",
da7f033d
HX
32356 }, {
32357 .inlen = 159,
0ec73820 32358 .outlen = 131,
da7f033d
HX
32359 .input = "This document describes a compression method based on the LZO "
32360 "compression algorithm. This document defines the application of "
32361 "the LZO algorithm used in UBIFS.",
0ec73820 32362 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
da7f033d
HX
32363 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
32364 "\x64\x65\x73\x63\x72\x69\x62\x65"
32365 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
32366 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
32367 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
32368 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
0ec73820
MO
32369 "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
32370 "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
32371 "\x72\x69\x74\x68\x6d\x2e\x20\x20"
32372 "\x2e\x54\x01\x03\x66\x69\x6e\x65"
32373 "\x73\x20\x74\x06\x05\x61\x70\x70"
32374 "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
32375 "\x66\x88\x02\x60\x09\x27\xf0\x00"
32376 "\x0c\x20\x75\x73\x65\x64\x20\x69"
32377 "\x6e\x20\x55\x42\x49\x46\x53\x2e"
32378 "\x11\x00\x00",
da7f033d
HX
32379 },
32380};
32381
b13b1e0c 32382static const struct comp_testvec lzo_decomp_tv_template[] = {
da7f033d
HX
32383 {
32384 .inlen = 133,
32385 .outlen = 159,
32386 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
32387 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
32388 "\x64\x65\x73\x63\x72\x69\x62\x65"
32389 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
32390 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
32391 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
32392 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
32393 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
32394 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
32395 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
32396 "\x68\x69\x73\x2a\x54\x01\x02\x66"
32397 "\x69\x6e\x65\x73\x94\x06\x05\x61"
32398 "\x70\x70\x6c\x69\x63\x61\x74\x76"
32399 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
32400 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
32401 "\x20\x69\x6e\x20\x55\x42\x49\x46"
32402 "\x53\x2e\x11\x00\x00",
32403 .output = "This document describes a compression method based on the LZO "
32404 "compression algorithm. This document defines the application of "
32405 "the LZO algorithm used in UBIFS.",
32406 }, {
32407 .inlen = 46,
32408 .outlen = 70,
32409 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
32410 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
32411 "\x64\x20\x73\x68\x61\x72\x65\x20"
32412 "\x74\x68\x65\x20\x73\x6f\x66\x74"
32413 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
32414 "\x3d\x88\x00\x11\x00\x00",
32415 .output = "Join us now and share the software "
32416 "Join us now and share the software ",
32417 },
32418};
32419
32420/*
32421 * Michael MIC test vectors from IEEE 802.11i
32422 */
32423#define MICHAEL_MIC_TEST_VECTORS 6
32424
b13b1e0c 32425static const struct hash_testvec michael_mic_tv_template[] = {
da7f033d
HX
32426 {
32427 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
32428 .ksize = 8,
32429 .plaintext = zeroed_string,
32430 .psize = 0,
32431 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
32432 },
32433 {
32434 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
32435 .ksize = 8,
32436 .plaintext = "M",
32437 .psize = 1,
32438 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
32439 },
32440 {
32441 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
32442 .ksize = 8,
32443 .plaintext = "Mi",
32444 .psize = 2,
32445 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
32446 },
32447 {
32448 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
32449 .ksize = 8,
32450 .plaintext = "Mic",
32451 .psize = 3,
32452 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
32453 },
32454 {
32455 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
32456 .ksize = 8,
32457 .plaintext = "Mich",
32458 .psize = 4,
32459 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
32460 },
32461 {
32462 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
32463 .ksize = 8,
32464 .plaintext = "Michael",
32465 .psize = 7,
32466 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
32467 }
32468};
32469
ebb3472f
AB
32470/*
32471 * CRC32 test vectors
32472 */
b13b1e0c 32473static const struct hash_testvec crc32_tv_template[] = {
9f50fd5b
EB
32474 {
32475 .psize = 0,
32476 .digest = "\x00\x00\x00\x00",
32477 },
32478 {
32479 .plaintext = "abcdefg",
32480 .psize = 7,
32481 .digest = "\xd8\xb5\x46\xac",
32482 },
ebb3472f
AB
32483 {
32484 .key = "\x87\xa9\xcb\xed",
32485 .ksize = 4,
32486 .psize = 0,
32487 .digest = "\x87\xa9\xcb\xed",
32488 },
32489 {
32490 .key = "\xff\xff\xff\xff",
32491 .ksize = 4,
32492 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
32493 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
32494 "\x11\x12\x13\x14\x15\x16\x17\x18"
32495 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
32496 "\x21\x22\x23\x24\x25\x26\x27\x28",
32497 .psize = 40,
32498 .digest = "\x3a\xdf\x4b\xb0",
32499 },
32500 {
32501 .key = "\xff\xff\xff\xff",
32502 .ksize = 4,
32503 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32504 "\x31\x32\x33\x34\x35\x36\x37\x38"
32505 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32506 "\x41\x42\x43\x44\x45\x46\x47\x48"
32507 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
32508 .psize = 40,
32509 .digest = "\xa9\x7a\x7f\x7b",
32510 },
32511 {
32512 .key = "\xff\xff\xff\xff",
32513 .ksize = 4,
32514 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
32515 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32516 "\x61\x62\x63\x64\x65\x66\x67\x68"
32517 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32518 "\x71\x72\x73\x74\x75\x76\x77\x78",
32519 .psize = 40,
32520 .digest = "\xba\xd3\xf8\x1c",
32521 },
32522 {
32523 .key = "\xff\xff\xff\xff",
32524 .ksize = 4,
32525 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32526 "\x81\x82\x83\x84\x85\x86\x87\x88"
32527 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32528 "\x91\x92\x93\x94\x95\x96\x97\x98"
32529 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
32530 .psize = 40,
32531 .digest = "\xa8\xa9\xc2\x02",
32532 },
32533 {
32534 .key = "\xff\xff\xff\xff",
32535 .ksize = 4,
32536 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32537 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32538 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32539 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32540 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
32541 .psize = 40,
32542 .digest = "\x27\xf0\x57\xe2",
32543 },
32544 {
32545 .key = "\xff\xff\xff\xff",
32546 .ksize = 4,
32547 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32548 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32549 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32550 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32551 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32552 .psize = 40,
32553 .digest = "\x49\x78\x10\x08",
32554 },
32555 {
32556 .key = "\x80\xea\xd3\xf1",
32557 .ksize = 4,
32558 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32559 "\x31\x32\x33\x34\x35\x36\x37\x38"
32560 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32561 "\x41\x42\x43\x44\x45\x46\x47\x48"
32562 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
32563 .psize = 40,
32564 .digest = "\x9a\xb1\xdc\xf0",
32565 },
32566 {
32567 .key = "\xf3\x4a\x1d\x5d",
32568 .ksize = 4,
32569 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
32570 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32571 "\x61\x62\x63\x64\x65\x66\x67\x68"
32572 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32573 "\x71\x72\x73\x74\x75\x76\x77\x78",
32574 .psize = 40,
32575 .digest = "\xb4\x97\xcc\xd4",
32576 },
32577 {
32578 .key = "\x2e\x80\x04\x59",
32579 .ksize = 4,
32580 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32581 "\x81\x82\x83\x84\x85\x86\x87\x88"
32582 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32583 "\x91\x92\x93\x94\x95\x96\x97\x98"
32584 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
32585 .psize = 40,
32586 .digest = "\x67\x9b\xfa\x79",
32587 },
32588 {
32589 .key = "\xa6\xcc\x19\x85",
32590 .ksize = 4,
32591 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32592 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32593 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32594 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32595 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
32596 .psize = 40,
32597 .digest = "\x24\xb5\x16\xef",
32598 },
32599 {
32600 .key = "\x41\xfc\xfe\x2d",
32601 .ksize = 4,
32602 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32603 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32604 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32605 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32606 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32607 .psize = 40,
32608 .digest = "\x15\x94\x80\x39",
32609 },
32610 {
32611 .key = "\xff\xff\xff\xff",
32612 .ksize = 4,
32613 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
32614 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
32615 "\x11\x12\x13\x14\x15\x16\x17\x18"
32616 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
32617 "\x21\x22\x23\x24\x25\x26\x27\x28"
32618 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32619 "\x31\x32\x33\x34\x35\x36\x37\x38"
32620 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32621 "\x41\x42\x43\x44\x45\x46\x47\x48"
32622 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
32623 "\x51\x52\x53\x54\x55\x56\x57\x58"
32624 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32625 "\x61\x62\x63\x64\x65\x66\x67\x68"
32626 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32627 "\x71\x72\x73\x74\x75\x76\x77\x78"
32628 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32629 "\x81\x82\x83\x84\x85\x86\x87\x88"
32630 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32631 "\x91\x92\x93\x94\x95\x96\x97\x98"
32632 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
32633 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32634 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32635 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32636 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32637 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
32638 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32639 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32640 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32641 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32642 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32643 .psize = 240,
32644 .digest = "\x6c\xc6\x56\xde",
ebb3472f
AB
32645 }, {
32646 .key = "\xff\xff\xff\xff",
32647 .ksize = 4,
32648 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
32649 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
32650 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
32651 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
32652 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
32653 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
32654 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
32655 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
32656 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
32657 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
32658 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
32659 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
32660 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
32661 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
32662 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
32663 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
32664 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
32665 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
32666 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
32667 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
32668 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
32669 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
32670 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
32671 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
32672 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
32673 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
32674 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
32675 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
32676 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
32677 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
32678 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
32679 "\x47\xde\x75\x0c\x80\x17\xae\x22"
32680 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
32681 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
32682 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
32683 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
32684 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
32685 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
32686 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
32687 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
32688 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
32689 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
32690 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
32691 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
32692 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
32693 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
32694 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
32695 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
32696 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
32697 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
32698 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
32699 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
32700 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
32701 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
32702 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
32703 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
32704 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
32705 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
32706 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
32707 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
32708 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
32709 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
32710 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
32711 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
32712 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
32713 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
32714 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
32715 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
32716 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
32717 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
32718 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
32719 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
32720 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
32721 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
32722 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
32723 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
32724 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
32725 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
32726 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
32727 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
32728 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
32729 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
32730 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
32731 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
32732 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
32733 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
32734 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
32735 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
32736 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
32737 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
32738 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
32739 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
32740 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
32741 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
32742 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
32743 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
32744 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
32745 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
32746 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
32747 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
32748 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
32749 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
32750 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
32751 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
32752 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
32753 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
32754 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
32755 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
32756 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
32757 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
32758 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
32759 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
32760 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
32761 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
32762 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
32763 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
32764 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
32765 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
32766 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
32767 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
32768 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
32769 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
32770 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
32771 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
32772 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
32773 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
32774 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
32775 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
32776 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
32777 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
32778 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
32779 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
32780 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
32781 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
32782 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
32783 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
32784 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
32785 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
32786 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
32787 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
32788 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
32789 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
32790 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
32791 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
32792 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
32793 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
32794 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
32795 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
32796 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
32797 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
32798 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
32799 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
32800 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
32801 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
32802 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
32803 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
32804 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
32805 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
32806 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
32807 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
32808 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
32809 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
32810 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
32811 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
32812 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
32813 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
32814 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
32815 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
32816 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
32817 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
32818 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
32819 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
32820 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
32821 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
32822 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
32823 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
32824 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
32825 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
32826 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
32827 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
32828 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
32829 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
32830 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
32831 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
32832 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
32833 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
32834 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
32835 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
32836 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
32837 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
32838 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
32839 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
32840 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
32841 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
32842 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
32843 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
32844 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
32845 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
32846 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
32847 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
32848 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
32849 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
32850 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
32851 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
32852 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
32853 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
32854 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
32855 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
32856 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
32857 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
32858 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
32859 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
32860 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
32861 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
32862 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
32863 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
32864 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
32865 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
32866 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
32867 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
32868 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
32869 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
32870 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
32871 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
32872 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
32873 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
32874 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
32875 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
32876 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
32877 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
32878 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
32879 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
32880 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
32881 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
32882 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
32883 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
32884 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
32885 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
32886 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
32887 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
32888 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
32889 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
32890 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
32891 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
32892 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
32893 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
32894 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
32895 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
32896 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
32897 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
32898 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
32899 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
32900 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
32901 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
32902 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
32903 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
32904 .psize = 2048,
32905 .digest = "\xfb\x3a\x7a\xda",
32906 }
32907};
32908
da7f033d
HX
32909/*
32910 * CRC32C test vectors
32911 */
b13b1e0c 32912static const struct hash_testvec crc32c_tv_template[] = {
da7f033d
HX
32913 {
32914 .psize = 0,
32915 .digest = "\x00\x00\x00\x00",
32916 },
9f50fd5b
EB
32917 {
32918 .plaintext = "abcdefg",
32919 .psize = 7,
32920 .digest = "\x41\xf4\x27\xe6",
32921 },
da7f033d
HX
32922 {
32923 .key = "\x87\xa9\xcb\xed",
32924 .ksize = 4,
32925 .psize = 0,
32926 .digest = "\x78\x56\x34\x12",
32927 },
32928 {
32929 .key = "\xff\xff\xff\xff",
32930 .ksize = 4,
32931 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
32932 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
32933 "\x11\x12\x13\x14\x15\x16\x17\x18"
32934 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
32935 "\x21\x22\x23\x24\x25\x26\x27\x28",
32936 .psize = 40,
32937 .digest = "\x7f\x15\x2c\x0e",
32938 },
32939 {
32940 .key = "\xff\xff\xff\xff",
32941 .ksize = 4,
32942 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32943 "\x31\x32\x33\x34\x35\x36\x37\x38"
32944 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
32945 "\x41\x42\x43\x44\x45\x46\x47\x48"
32946 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
32947 .psize = 40,
32948 .digest = "\xf6\xeb\x80\xe9",
32949 },
32950 {
32951 .key = "\xff\xff\xff\xff",
32952 .ksize = 4,
32953 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
32954 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
32955 "\x61\x62\x63\x64\x65\x66\x67\x68"
32956 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
32957 "\x71\x72\x73\x74\x75\x76\x77\x78",
32958 .psize = 40,
32959 .digest = "\xed\xbd\x74\xde",
32960 },
32961 {
32962 .key = "\xff\xff\xff\xff",
32963 .ksize = 4,
32964 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
32965 "\x81\x82\x83\x84\x85\x86\x87\x88"
32966 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
32967 "\x91\x92\x93\x94\x95\x96\x97\x98"
32968 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
32969 .psize = 40,
32970 .digest = "\x62\xc8\x79\xd5",
32971 },
32972 {
32973 .key = "\xff\xff\xff\xff",
32974 .ksize = 4,
32975 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
32976 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
32977 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
32978 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
32979 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
32980 .psize = 40,
32981 .digest = "\xd0\x9a\x97\xba",
32982 },
32983 {
32984 .key = "\xff\xff\xff\xff",
32985 .ksize = 4,
32986 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
32987 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
32988 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
32989 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
32990 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
32991 .psize = 40,
32992 .digest = "\x13\xd9\x29\x2b",
32993 },
32994 {
32995 .key = "\x80\xea\xd3\xf1",
32996 .ksize = 4,
32997 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
32998 "\x31\x32\x33\x34\x35\x36\x37\x38"
32999 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33000 "\x41\x42\x43\x44\x45\x46\x47\x48"
33001 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33002 .psize = 40,
33003 .digest = "\x0c\xb5\xe2\xa2",
33004 },
33005 {
33006 .key = "\xf3\x4a\x1d\x5d",
33007 .ksize = 4,
33008 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33009 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33010 "\x61\x62\x63\x64\x65\x66\x67\x68"
33011 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33012 "\x71\x72\x73\x74\x75\x76\x77\x78",
33013 .psize = 40,
33014 .digest = "\xd1\x7f\xfb\xa6",
33015 },
33016 {
33017 .key = "\x2e\x80\x04\x59",
33018 .ksize = 4,
33019 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33020 "\x81\x82\x83\x84\x85\x86\x87\x88"
33021 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33022 "\x91\x92\x93\x94\x95\x96\x97\x98"
33023 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33024 .psize = 40,
33025 .digest = "\x59\x33\xe6\x7a",
33026 },
33027 {
33028 .key = "\xa6\xcc\x19\x85",
33029 .ksize = 4,
33030 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33031 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33032 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33033 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33034 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33035 .psize = 40,
33036 .digest = "\xbe\x03\x01\xd2",
33037 },
33038 {
33039 .key = "\x41\xfc\xfe\x2d",
33040 .ksize = 4,
33041 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33042 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33043 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33044 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33045 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33046 .psize = 40,
33047 .digest = "\x75\xd3\xc5\x24",
33048 },
33049 {
33050 .key = "\xff\xff\xff\xff",
33051 .ksize = 4,
33052 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33053 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33054 "\x11\x12\x13\x14\x15\x16\x17\x18"
33055 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33056 "\x21\x22\x23\x24\x25\x26\x27\x28"
33057 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33058 "\x31\x32\x33\x34\x35\x36\x37\x38"
33059 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33060 "\x41\x42\x43\x44\x45\x46\x47\x48"
33061 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33062 "\x51\x52\x53\x54\x55\x56\x57\x58"
33063 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33064 "\x61\x62\x63\x64\x65\x66\x67\x68"
33065 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33066 "\x71\x72\x73\x74\x75\x76\x77\x78"
33067 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33068 "\x81\x82\x83\x84\x85\x86\x87\x88"
33069 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33070 "\x91\x92\x93\x94\x95\x96\x97\x98"
33071 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33072 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33073 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33074 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33075 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33076 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33077 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33078 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33079 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33080 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33081 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33082 .psize = 240,
33083 .digest = "\x75\xd3\xc5\x24",
6726ec42
JK
33084 }, {
33085 .key = "\xff\xff\xff\xff",
33086 .ksize = 4,
33087 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33088 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33089 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33090 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33091 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33092 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33093 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33094 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33095 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33096 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33097 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33098 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33099 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33100 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33101 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33102 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33103 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33104 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33105 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33106 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
33107 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33108 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
33109 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33110 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33111 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33112 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33113 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33114 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33115 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33116 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
33117 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33118 "\x47\xde\x75\x0c\x80\x17\xae\x22"
33119 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33120 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33121 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33122 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33123 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33124 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33125 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33126 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33127 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33128 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33129 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33130 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33131 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33132 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33133 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33134 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33135 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33136 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33137 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33138 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33139 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33140 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33141 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33142 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33143 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33144 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33145 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33146 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33147 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33148 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33149 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33150 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33151 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33152 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33153 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33154 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33155 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33156 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33157 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33158 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33159 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33160 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33161 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33162 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33163 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33164 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33165 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33166 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33167 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33168 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33169 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33170 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33171 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33172 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33173 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33174 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33175 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33176 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33177 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33178 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33179 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33180 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33181 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33182 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33183 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33184 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33185 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33186 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33187 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33188 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33189 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33190 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33191 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33192 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33193 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33194 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33195 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33196 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33197 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33198 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33199 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33200 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33201 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33202 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33203 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33204 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33205 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33206 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33207 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33208 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33209 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33210 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33211 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33212 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33213 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33214 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33215 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33216 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33217 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33218 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33219 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33220 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33221 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33222 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33223 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33224 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33225 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33226 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33227 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33228 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33229 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33230 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33231 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33232 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33233 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33234 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33235 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33236 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33237 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33238 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33239 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33240 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33241 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33242 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33243 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33244 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33245 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
33246 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33247 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33248 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33249 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33250 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33251 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33252 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33253 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33254 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33255 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
33256 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33257 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33258 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33259 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33260 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33261 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33262 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33263 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33264 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33265 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33266 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33267 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33268 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33269 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
33270 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33271 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
33272 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33273 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33274 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33275 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33276 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33277 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33278 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33279 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
33280 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33281 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
33282 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33283 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33284 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33285 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
33286 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33287 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33288 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33289 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33290 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33291 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33292 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33293 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33294 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33295 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33296 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33297 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33298 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33299 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33300 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33301 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33302 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33303 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33304 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33305 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33306 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33307 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33308 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33309 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33310 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
33311 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
33312 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
33313 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
33314 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
33315 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
33316 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
33317 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
33318 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
33319 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
33320 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
33321 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
33322 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
33323 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
33324 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
33325 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
33326 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
33327 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
33328 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
33329 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
33330 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
33331 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
33332 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
33333 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
33334 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
33335 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
33336 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
33337 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
33338 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
33339 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
33340 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
33341 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
33342 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
33343 .psize = 2048,
33344 .digest = "\xec\x26\x4d\x95",
33345 }
da7f033d
HX
33346};
33347
b13b1e0c 33348static const struct comp_testvec lz4_comp_tv_template[] = {
1443cc9b 33349 {
73a15ac6
SS
33350 .inlen = 255,
33351 .outlen = 218,
33352 .input = "LZ4 is lossless compression algorithm, providing"
33353 " compression speed at 400 MB/s per core, scalable "
33354 "with multi-cores CPU. It features an extremely fast "
33355 "decoder, with speed in multiple GB/s per core, "
33356 "typically reaching RAM speed limits on multi-core "
33357 "systems.",
33358 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
33359 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
33360 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
33361 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
33362 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
33363 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
33364 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
33365 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
33366 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
33367 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
33368 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
33369 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
33370 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
33371 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
33372 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
33373 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
33374 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
33375
1443cc9b
KK
33376 },
33377};
33378
b13b1e0c 33379static const struct comp_testvec lz4_decomp_tv_template[] = {
1443cc9b 33380 {
73a15ac6
SS
33381 .inlen = 218,
33382 .outlen = 255,
33383 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
33384 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
33385 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
33386 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
33387 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
33388 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
33389 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
33390 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
33391 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
33392 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
33393 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
33394 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
33395 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
33396 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
33397 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
33398 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
33399 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
33400 .output = "LZ4 is lossless compression algorithm, providing"
33401 " compression speed at 400 MB/s per core, scalable "
33402 "with multi-cores CPU. It features an extremely fast "
33403 "decoder, with speed in multiple GB/s per core, "
33404 "typically reaching RAM speed limits on multi-core "
33405 "systems.",
1443cc9b
KK
33406 },
33407};
33408
b13b1e0c 33409static const struct comp_testvec lz4hc_comp_tv_template[] = {
1443cc9b 33410 {
73a15ac6
SS
33411 .inlen = 255,
33412 .outlen = 216,
33413 .input = "LZ4 is lossless compression algorithm, providing"
33414 " compression speed at 400 MB/s per core, scalable "
33415 "with multi-cores CPU. It features an extremely fast "
33416 "decoder, with speed in multiple GB/s per core, "
33417 "typically reaching RAM speed limits on multi-core "
33418 "systems.",
33419 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
33420 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
33421 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
33422 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
33423 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
33424 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
33425 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
33426 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
33427 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
33428 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
33429 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
33430 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
33431 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
33432 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
33433 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
33434 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
33435 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
33436
1443cc9b
KK
33437 },
33438};
33439
b13b1e0c 33440static const struct comp_testvec lz4hc_decomp_tv_template[] = {
1443cc9b 33441 {
73a15ac6
SS
33442 .inlen = 216,
33443 .outlen = 255,
33444 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
33445 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
33446 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
33447 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
33448 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
33449 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
33450 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
33451 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
33452 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
33453 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
33454 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
33455 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
33456 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
33457 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
33458 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
33459 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
33460 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
33461 .output = "LZ4 is lossless compression algorithm, providing"
33462 " compression speed at 400 MB/s per core, scalable "
33463 "with multi-cores CPU. It features an extremely fast "
33464 "decoder, with speed in multiple GB/s per core, "
33465 "typically reaching RAM speed limits on multi-core "
33466 "systems.",
1443cc9b
KK
33467 },
33468};
33469
d28fc3db
NT
33470static const struct comp_testvec zstd_comp_tv_template[] = {
33471 {
33472 .inlen = 68,
33473 .outlen = 39,
33474 .input = "The algorithm is zstd. "
33475 "The algorithm is zstd. "
33476 "The algorithm is zstd.",
33477 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
33478 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
33479 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
33480 ,
33481 },
33482 {
33483 .inlen = 244,
33484 .outlen = 151,
33485 .input = "zstd, short for Zstandard, is a fast lossless "
33486 "compression algorithm, targeting real-time "
33487 "compression scenarios at zlib-level and better "
33488 "compression ratios. The zstd compression library "
33489 "provides in-memory compression and decompression "
33490 "functions.",
33491 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
33492 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
33493 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
33494 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
33495 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
33496 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
33497 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
33498 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
33499 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
33500 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
33501 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
33502 "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
33503 },
33504};
33505
33506static const struct comp_testvec zstd_decomp_tv_template[] = {
33507 {
33508 .inlen = 43,
33509 .outlen = 68,
33510 .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
33511 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
33512 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
33513 "\x6b\xf4\x13\x35",
33514 .output = "The algorithm is zstd. "
33515 "The algorithm is zstd. "
33516 "The algorithm is zstd.",
33517 },
33518 {
33519 .inlen = 155,
33520 .outlen = 244,
33521 .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
33522 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
33523 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
33524 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
33525 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
33526 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
33527 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
33528 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
33529 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
33530 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
33531 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
33532 "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
33533 .output = "zstd, short for Zstandard, is a fast lossless "
33534 "compression algorithm, targeting real-time "
33535 "compression scenarios at zlib-level and better "
33536 "compression ratios. The zstd compression library "
33537 "provides in-memory compression and decompression "
33538 "functions.",
33539 },
33540};
da7f033d 33541#endif /* _CRYPTO_TESTMGR_H */